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
Shell: "fixed" the HOME and END escape sequences, which were not ANSI compliant.
Reordered some configuration files.The BOARD_VERSION macro has been removed. Instead the version is now encoded in the other BOARD_XXX macros.
Debug output functionality reintroduced:
From now on there is a distinction between kernel checks and AMiRo-OS checks.Kernel checks are much more critical and will not print anything on failure.AMiRo-OS checks print an error message and cause the according thread to exit execution immediately.
slightly optimized thread sleep functions
removed some unaffective 'inline' keywords
Enhanced the #include tree. 'amiroos.h' is now the central header, which includes all dependencies.
Applied a file structure template to all source files.
Changed all header guards so they will not use unserscores as pre- and postfix.
If no bootloader is available, AMiRo-OS will now shutdown the system properly.
Completely disabled debug output for now, due to incompatibility issues.
optimized the order in which tasks are performed during system startup.
slightly enhanced shell info output
Reverted recent modifications of the debug system, since the modifications were faulty.Unfortunately, the implementation now is specific to the UART driver and thus not portable.Needs to be fixed asap! =(
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.
Enhanced some debug functions to improve portability.
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.
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 an issue where date/time synchronization timed out in debug mode.
The makefiles for core/ and unittests/ have been enhanced for convenience.
renamed a variable
Fixed a error that AMiRo-OS would not compile when AMIROOS_CFG_DBG was set to false.
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
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.
Fixed an occasional error where 'struct tm' could not be resolved correctly.
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()
Minor fixes and enhancements.
Minor optimizations regarding memory utilization.
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.
minor enhancement of the shell thread main function declaration
All contents of the os/ folder has been moved one directory up.