Aliases for old names were added, marked as deprecated and are scheduled to be removed after v0.7.0. Renamed STM32’s SPIv1 and SPIv2 distortos::chip::ChipSpiMasterLowLevel classes to distortos::chip::SpiMasterLowLevelInterruptBased to make it consistent with newly added distortos::chip::SpiMasterLowLevelDmaBased. Replaced distortos::devices::SpiMasterOperation and distortos::devices::SpiMasterOperationRange with distortos::devices::SpiMasterTransfer and distortos::devices::SpiMasterTransfersRange respectively.Improved performance of interrupt-based STM32’s SPIv1 and SPIv2 drivers.Numerous changes to SPI-based devices and SPI APIs:.Check README.md for more details about usage. The new CMake workflow does not need Kconfig or any shell tools – just CMake (version 3.7 or later), build tool (it is recommended to use Ninja) and arm-none-eabi bleeding-edge-toolchain ( GCC version 5 or later). Implemented full support for configuring and building with CMake.::ValueType type alias for all non-raw variants of FIFO and message queues. In case of static queue variants, both of these accessors are also available as constexpr static member functions. ::getElementSize() accessor for all raw variants of FIFO and message queues. ::getCapacity() accessor for all variants of FIFO and message queues. Added distortos::Semaphore::getMaxValue() accessor and its C-API equivalent distortos_Semaphore_getMaxValue(). You will then be able to use new coverage target to generate detailed HTML coverage reports with gcovr in build folder of unit test subproject. Enable it by setting CMake variable COVERAGE of unit test subproject. Added option to test coverage in unit tests.Added estd/extractBitField.hpp, which provides a completely “inline-able” (with enabled optimizations) function template to extract bit field from array of raw data.Added estd/TypeFromSize.hpp with estd::TypeFromSize template, which selects fixed width type from requested byte size.Added estd/log2u.hpp with log2()-like constexpr function for unsigned int.Added estd/EnumClassFlags.hpp which provides templated bitwise operators for enum class flags.Added unit tests of all estd::ContiguousRange constructor overloads.Added unit tests of STM32’s SPIv1 and SPIv2 drivers.Added unit tests of distortos::devices::BlockDeviceToMemoryTechnologyDevice and distortos::devices::SdCard classes.Added sys/dirent.h and sys/statvfs.h headers, which are not provided by newlib.This allows using distortos::Mutex with all mutex helpers from header: std::lock_guard, std::unique_lock, std::scoped_lock, std::try_lock() and std::lock(). Added distortos::Mutex::try_lock(), distortos::Mutex::try_lock_for() and distortos::Mutex::try_lock_until() wrappers, which implement APIs of std::mutex::try_lock(), std::timed_mutex::try_lock_for() and std::timed_mutex::try_lock_until() respectively.Added configuration of STM32F7’s PLLI2S, PLLSAI and PLL48CLK to CMake.Added support for littlefs-v1 file system, provided by distortos::Littlefs1FileSystem, distortos::Littlefs1File and distortos::Littlefs1Directory classes, which implement interface of distortos::FileSystem, distortos::File and distortos::Directory classes.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |