avrtos v1.2.0
Key Features:
- I2C: Introduced a comprehensive I2C driver, and a minimal TCN75 device driver.
- SPI Driver Refactor: Enhanced the SPI driver by introducing the
spi_regs
intermediate structure, which holds SPI registers. - Work Queue: Added support for delayable work queue items, with a sample demonstrating this feature.
Minor Changes:
- Stored MCUSR at startup using the
CONFIG_KERNEL_MINICORE_SAVE_RESET_CAUSE
option. - Introduced new configuration options:
- Management of reset cause with
CONFIG_KERNEL_MINICORE_SAVE_RESET_CAUSE
andCONFIG_KERNEL_CLEAR_WDT_ON_INIT
. - Addition of an idle hook through
CONFIG_IDLE_HOOK
. - Enabling of the delayable work feature with
CONFIG_WORKQUEUE_DELAYABLE
. CONFIG_SERIAL_AUTO_INIT
.- Banner configuration options
CONFIG_AVRTOS_BANNER_ENABLE
andCONFIG_AVRTOS_BANNER
. - Various options for the I2C driver.
- Management of reset cause with
- Updated samples and documentation.
- Removed unused USART functions and eradicated obsolete code.
- Moved assembly files to
src/arch
. - Improved overall error code returns and extended support for
CONFIG_KERNEL_ARGS_CHECK
.
Bug Fixes:
- Fixed
CONFIG_KERNEL_AUTO_INIT
with the Arduino framework by utilizing theinitVariant()
function.
Documentation and Samples:
- Enhanced documentation.
- Added new samples demonstrating various features:
MCP3008
andTCN75
driver samples.- Arduino sample
MinimalExample
.
Full Changelog: v1.1.0...v1.2.0