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
Fixed a compatibility issue introduced by the recent modifications to the Makefiles
Introduced a new (preliminary) test for the new DW1000v2 driver (WIP!).
Makefiles revisedAMiRo-LLD updated
added DW1000 test and demo on top of Light Ring module
moved hardware pacific function reset_DW1000() to module
Merge branch 'master' of http://openresearch.cit-ec.de/git/amiro-os.amiro-os
fixed some typos in comments
aosSysGetStdIntCallback() function renamed to aosSysGetStdExtiCallback()
Broken LightRing 1.2 module fixed (DW1000 test has been removed for now)
add DW1000 test
adapt sample of DW1000 with current format on NUCLEO_F103RB
slight cleanup to all chconf.h files
Updated AMiRo-BLT submodule and removed any code which was meant to ignore PAL initialization.Since all periphery (AHBx, APBx) is reset on startup of ChibiOS, any previous pin configuration is lost and can not be recovered in a trivial way.
Signed-off-by: Thomas Schöpping <tschoepp@cit-ec.uni-bielefeld.de>
QEI driver patch enhanced.The MODULE_INIT_HAL_EXTRA() hook is not required anymore for the DiWheelDrive modules.
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...
LightRing 1.2: Disabled 4.2V power switch due to a hardware bug.
The TLC5947 unit test will now always take the same time, regardless the number of LEDs.Added the LIGHT_XLAT signal to LightRing v1.0 and v1.2 modules.
Introduced optional CH_CFG_ST_TIMEDELTA definition per module.If no value is specified by the module, a conservative fallback of 1000µs is set.
Enhanced the shell so that CTRL + arrow key will jump wordwise through the current input
Introduced the NUCLEO-F767ZI (STM32F767 Nucleo-144 devboard) module.
Expected jitter was increased to 50 us again, since slow MCUs failed even with 30 us.
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.
Fixed some erroneous module versions.
Slightly increased expected jitter (20us -> 30us) due to timing issues on STM32F1 MCUs.
Introduced most drivers and according unit tests to the LightRing v1.2 module.
Initial support for the new LightRing v1.2 module (not all hardware supported yet).
Introduced DiWheelDrive v1.2 module.Note that the new BNO055 IMU is not available yet.
Introduced PowerManagement v1.2 module.Also adapted PowerManagement v1.1 and ADC unit test.
AMiRo-BLT and AMiRo-LLD updated as preparation for introduction of new AMiRo v1.2 modules.fixed typos.
NUCLEO-F103RB: fixed a typo
Update to the LLDs and the DW1000 unit test (removed deprecated files).
removed some redundant GCC optimization parameters
modified some Makefiles to properly use the BUILDDIR variable
Introduced the NUCLEO-F401RE module
Default shell configurations have been changed:Now the input line buffer can hold 128 characters (up from 64) and there can be up to 16 arguments per line (up from 4)
Changed the AMiRo-OS version back to 2.0.1 (from 2.1.0).This was done, because an increment in the minor version implies an API change, which is not present yet.
Enhanced the Makefiles to consistently use the BUIDDIR variable.
updated all aosconf.h files to AMiRo-OS 2.1
Very minor enhancements.
reduced the CH_CFG_ST_TIMEDELTA value to 20us as it seems to be working fine with the new ChibiOS
Fixed recently broken Makefiles (sry!)
Slightly optimized all Makefiles
ChibiOS updated to version stable_19.1.x.NOTE: ChibiOS 19.1.x seems to contain some issues as of now.
All preprocessor directives without arguments (e.g. #endif) are now followed by a comment, indicating where it belongs to (e.g. the preceding #if).
Makefiles enhanced: the targets 'all' and 'clean' will now be executed in parallel with as many threads as there are modules (= folders in modules/)
Reordered some configuration files.The BOARD_VERSION macro has been removed. Instead the version is now encoded in the other BOARD_XXX macros.
Applied AMiRo-OS header to sime files, which still held the ChibiOS header.
DW1000 unit test updated
fixed naming
NUCLEO-L476RH: fixed I2C initialization for MPU6050 unit test
Added DW1000 demo app on top of NUCLEO_F103RB example
Updated AMiRo-LLD and adapted the MPU6050 unit test accordingly.NOTE: Unfortunately, the unit test fails =(
Enhanced the periphAL debug implementation to apply to tze new AMiRo-OS debug API
set the C standard to C17 (ISO), although this does not make any difference according to GCC documentation
Introduced the CORTEX_ENABLE_WFI_IDLE flag in all chconf.h files, so the MCUs will enter sleep mode whenever the system is idle.
updated AMiRo-LLD and applied all required changes to AMiRo-OS and all modules.
Renamed two modules:- STM32L476RG-NUCLEO64 > NUCLEO-L476RG STM32F4Discovery -> STM32F407G-DISC1
Enhanced and fixed several module specific files.
Enhanced the #include tree. 'amiroos.h' is now the central header, which includes all dependencies.
Changed all header guards so they will not use unserscores as pre- and postfix.
Introduced support the STM32F103 NUCLEO module.
cleanup of the STM32L4 module after the recent introduction to the master branch
Completely disabled debug output for now, due to incompatibility issues.
minor enhancements
Merge remote-tracking branch 'origin/stm32l4'
STM32L4: Makefile now supports OpenOCD; Button polarity fixed
Makefiles slightly enhanced
STM32F4Discovery: fixed an alignment error
renamed the STM32L4 module directory.
Cleanup of the STM32L4 module.Applied several recent changes in AMiRo-OS to this module.
Merge branch 'master' into stm32l4
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.
STM32F4Discovery demo fixed and enhanced
Added missing files
Re-Added files to a newer version of AMiRo-OS
Fixed an issue, making the STM32F4Discovery module imcompatible with recent modifications of the core.
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.
All board.mk files have been integrated into the module Makefiles.
Added C++ system calls to the build toolchain in order to make AMiRo-OS fully compatible with C++ code.
Added new periphery hardware (PCAL6524 GPIO extender and AT42QT1050 touch sensor) to the PowerManagement, including unit tests.
PowerManagement: Introduced a configuration (board.h) to select the attached sensor ring module.
PowerManagement: fixed incorrect configuration for event propagation
Enhanced the main thread IO event configuration.Therefore a new macro AMIROOS_CFG_MAIN_LOOP_IOEVENT_MASK has been introduced.
PowerManagement: improved macros for selecting RAM regions
updated all file headers to 2019
Removed modules/flash.mk since flashing procedures highly depend on hardware.
Introduced a new module: STM32F4Discovery
all halconf.h files: removed redundant HAL_USE_QEU settings
Introduced a switch to completely disable SSSP (thanks to S. Welzel)
Added ChibiOS license handling to the makefiles.
Serial print now works. Shell is not started though.