Merged several modifications from master-branch.
Fixed a common typo in several comments.
timer and periodic timer have been unified in a single functional unit: timer.
The resulting timer object is slightly larger than one-shot timers have been, but much smaller than periodic timers.Size of resulting binary has been slightly decreased as well.
Introduced a new system shell command 'module:spuload' to read out CPU load
shell: fixed minor issues with auto completion and suggest functionality
All copyright forms updated to 2020.
Major overhaul of the shell.A new configuration option allows to set the shell history length.
shell: argument buffer is now a stack variable of the thread.
slightly restructured aos_types.h to match the actual content structure
SSSP: BCB message type (aos_ssspbcbmessage_t) is now packed
MSI implemented
SSSP system synchronization is now handled in aos_sssp.h/.c
Merge branch 'master' into SSSPwoBLT
minor code optimizations to get rid or clang warnings
renamed all AOS_SYSTEM_EVENTFLAGS_... macros for better consistency
Renamed all GPIO related signals etc. from "...io..." to "...gpio..."
Shell is not implicitly enabled when tests are activated anymore.
Merge remote-tracking branch 'origin/master' into SSSPwoBLT
aos_time.h: added comments to all macros.
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
Introduced a function to initialize aos_testresult_t objects: aosTestResultInit()
aosSysGetStdIntCallback() function renamed to aosSysGetStdExtiCallback()
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.
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
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.
Completely disabled debug output for now, due to incompatibility issues.
minor enhancements
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
Introduced a switch to completely disable SSSP (thanks to S. Welzel)
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.
Minor fixes and enhancements.
Minor optimizations regarding memory utilization.
All contents of the os/ folder has been moved one directory up.