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
aosSysGetStdIntCallback() function renamed to aosSysGetStdExtiCallback()
minor enhancement to the set date/time shell command output
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...
Enhanced the shell so that CTRL + arrow key will jump wordwise through the current input
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.
aos_status_t type optimized for smaller memory footprint.
startup prompt and module:info command now print the date in ISO format (YYYY-MM-DD).
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
Reordered some configuration files.The BOARD_VERSION macro has been removed. Instead the version is now encoded in the other BOARD_XXX macros.
Enhanced the #include tree. 'amiroos.h' is now the central header, which includes all dependencies.
Applied a file structure template to all source files.
If no bootloader is available, AMiRo-OS will now shutdown the system properly.
slightly enhanced shell info output
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.
Introduced a macro AOS_IOEVENT_FLAG() in aos_types.h.This macro acts similar to EVENT_MASK() and should help to simplify development.The new macro was applied to existing code wherever possible.
Fixed a error that AMiRo-OS would not compile when AMIROOS_CFG_DBG was set to false.
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
suppress some warnings in case no GPIO signals have been defined
Introduced a switch to completely disable SSSP (thanks to S. Welzel)
The BOARD_VERSION macro is now optional.
Introduced some basic stack introspection functionality to threads.According information is now given for the shell thread via the 'module:info' command.
replaced calls of 'currp' by the correct access function chThdGetSelfX()
Introduced a POSIX-like thread hierarchy system in ChibiOS (addad a patch) and adapted AMiRo-OS accordingly.In the process ChibiOS has been updated as well.
All contents of the os/ folder has been moved one directory up.