History | View | Annotate | Download (34.1 KB)
Several fixed to the recent SSSP overhaul
Major SSSP overhaul:- SSSP no works even without Bootloader (AMiRo-OS implements startup and shutdown phases)- MSI and calendar synchronization are currently not available (WIP)- lots of minor changes
Massive overhaul:- updated to a new version of AMiRo-LLD- tests (formerly unit tests) are now split onto multiple parts: - there are "global" tests for each driver etc. - there is an individual part for each module, e.g. if there are multiple instances of the same periphery...
Updated to AMiRo-LLD 1.1:- Implementation of periphAL has been modified accordingly.- GPIOs are not encoded as port/pad tuple, but as lines- Some unittests have been updated due to driver changes.
CAN is now optional.If disabled, CAN start and stop functions are removed, SSSP startup stage 3 is skipped and RTC is not synchronized during startup.
All preprocessor directives without arguments (e.g. #endif) are now followed by a comment, indicating where it belongs to (e.g. the preceding #if).
Using a RTC is now no mandatory feature anymore, but optional
Enhanced the #include tree. 'amiroos.h' is now the central header, which includes all dependencies.
Applied a file structure template to all source files.
optimized the order in which tasks are performed during system startup.
Optimized the #include tree
Enhanced the AMiRo-OS configuration: When AMIROOS_CFG_TESTS_ENABLE is set, the shell is enabled implicitely by AMiRo-OS.Before, this logic was handled in the aosconf.h file.
Having a CAN driver enabled is only mandatory if SSSP is activated.
Modified the MODULE_MAIN_LOOP_IO_EVENT() hook, so applications cannot modify the eventmask variable.
Fixed an issue where date/time synchronization timed out in debug mode.
renamed a variable
Enhanced the main thread IO event configuration.Therefore a new macro AMIROOS_CFG_MAIN_LOOP_IOEVENT_MASK has been introduced.
updated all file headers to 2019
- Several enhancements/fixes regarding the SSSP stack initialization.- When SSSP is disables the system:shutdown command is simplified and named "module:shutdown"
added some further SSSP and bootloader checks
Introduced a switch to completely disable SSSP (thanks to S. Welzel)
All contents of the os/ folder has been moved one directory up.