Statistics
| Branch: | Tag: | Revision:

amiro-os / modules / PowerManagement_1-1 @ 4e8e8462

# Date Author Comment
42247107 2020-01-20 14:54 Thomas Schöpping

AMiRo Modules: real-time capabilities analysed and timings set accordingly tight

96621a83 2020-01-17 12:57 Thomas Schöpping

All copyright forms updated to 2020.

697dba3c 2020-01-17 10:58 Thomas Schöpping

Major overhaul of the shell.
A new configuration option allows to set the shell history length.

08d86900 2019-11-13 16:42 Thomas Schöpping

introduced a new hook 'AMIROOS_CFG_SYSINFO_HOOK' to add module specific code when printing system information

dd56d656 2019-11-13 13:35 Thomas Schöpping

Updated AMiRo-LLD and applied to the new interface structure.

c7cd988c 2019-11-12 15:31 Thomas Schöpping

Makefile structure revised:
- Module specific tests nor come with individual makefiles, which include the general test code.
- Board configuration (e.g. connected breakout module) can now be set in Makefile or via CLI.

c53ef0b1 2019-11-11 16:33 Thomas Schöpping

MSI implemented

afcf6d89 2019-10-31 15:22 Thomas Schöpping

Merge branch 'master' into SSSPwoBLT

  1. Conflicts:
  2. core/inc/aos_confcheck.h
  3. core/inc/aos_system.h
  4. core/src/aos_main.cpp
  5. core/src/aos_system.c
  6. modules/DiWheelDrive_1-1/module.h
  7. modules/DiWheelDrive_1-2/module.h
  8. modules/LightRing_1-0/module.h
  9. modules/LightRing_1-2/module.h...
78b92b33 2019-10-31 14:40 Thomas Schöpping

removed the CORTEX_VTOR_INIT macro from all chconf.h files since this setting is deprecated (information is now retrieved from linker files)

6a5c36eb 2019-10-31 14:39 Thomas Schöpping

modified the structure of board.h and .c files to be consistent with ChibiOS

1a8fb642 2019-10-31 14:35 Thomas Schöpping

Renamed all GPIO related signals etc. from "...io..." to "...gpio..."

47e89ebf 2019-10-31 14:19 Thomas Schöpping

Shell is not implicitly enabled when tests are activated anymore.

0aed1f1b 2019-10-28 18:37 Thomas Schöpping

All tests now come with a .mk file, so they can be included more easily for each module.

510b93cc 2019-10-28 15:48 Thomas Schöpping

Several fixed to the recent SSSP overhaul

cda14729 2019-10-28 11:15 Thomas Schöpping

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

e7b5a625 2019-10-15 17:08 Thomas Schöpping

Fixed a compatibility issue introduced by the recent modifications to the Makefiles

efe86ca9 2019-10-15 13:59 Thomas Schöpping

Makefiles revised
AMiRo-LLD updated

243fb4e2 2019-08-08 10:39 Thomas Schöpping

fixed some typos in comments

56dc4779 2019-08-07 17:32 Thomas Schöpping

aosSysGetStdIntCallback() function renamed to aosSysGetStdExtiCallback()

4d8d8663 2019-07-22 16:56 Thomas Schöpping

slight cleanup to all chconf.h files

340f2bdf 2019-07-19 16:47 Thomas Schöpping

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 <>

4c72a54c 2019-07-15 13:21 Thomas Schöpping

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...

91bdafd4 2019-04-26 11:16 Thomas Schöpping

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.

cc33217b 2019-04-26 10:35 Thomas Schöpping

Enhanced the shell so that CTRL + arrow key will jump wordwise through the current input

3106e8cc 2019-03-21 17:48 Thomas Schöpping

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.

916f8d28 2019-03-21 17:43 Thomas Schöpping

aos_status_t type optimized for smaller memory footprint.

b010278f 2019-03-08 11:19 Thomas Schöpping

Introduced PowerManagement v1.2 module.
Also adapted PowerManagement v1.1 and ADC unit test.

9af9aaea 2019-03-08 11:17 Thomas Schöpping

AMiRo-BLT and AMiRo-LLD updated as preparation for introduction of new AMiRo v1.2 modules.
fixed typos.

00843891 2019-03-06 10:20 Thomas Schöpping

removed some redundant GCC optimization parameters

b0ede265 2019-03-05 16:23 Thomas Schöpping

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)

6a95db23 2019-03-05 16:22 Thomas Schöpping

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.

2f5f6722 2019-03-05 11:57 Thomas Schöpping

Enhanced the Makefiles to consistently use the BUIDDIR variable.

1c777686 2019-03-05 09:58 Thomas Schöpping

updated all aosconf.h files to AMiRo-OS 2.1

e9ca986c 2019-02-25 17:35 Thomas Schöpping

Fixed recently broken Makefiles (sry!)

2a9f9ad7 2019-02-25 16:16 Thomas Schöpping

Slightly optimized all Makefiles

732a4657 2019-02-25 13:42 Thomas Schöpping

ChibiOS updated to version stable_19.1.x.
NOTE: ChibiOS 19.1.x seems to contain some issues as of now.

7de0cc90 2019-02-21 18:04 Thomas Schöpping

All preprocessor directives without arguments (e.g. #endif) are now followed by a comment, indicating where it belongs to (e.g. the preceding #if).

3cb82b1a 2019-02-14 11:10 Thomas Schöpping

Reordered some configuration files.
The BOARD_VERSION macro has been removed. Instead the version is now encoded in the other BOARD_XXX macros.

67dfe414 2019-02-11 16:17 Felix Wittenfeld

Merge branch 'master' of http://openresearch.cit-ec.de/git/amiro-os.amiro-os

052ee695 2019-02-11 16:15 Felix Wittenfeld

fixed naming

126ace3c 2019-02-08 15:20 Thomas Schöpping

Updated AMiRo-LLD and adapted the MPU6050 unit test accordingly.
NOTE: Unfortunately, the unit test fails =(

1f94ac64 2019-02-07 18:13 Thomas Schöpping

Enhanced the periphAL debug implementation to apply to tze new AMiRo-OS debug API

691a0632 2019-02-06 17:53 Thomas Schöpping

set the C standard to C17 (ISO), although this does not make any difference according to GCC documentation

fa64dbd6 2019-02-06 15:06 Thomas Schöpping

Introduced the CORTEX_ENABLE_WFI_IDLE flag in all chconf.h files, so the MCUs will enter sleep mode whenever the system is idle.

ddf34c3d 2019-02-06 13:55 Thomas Schöpping

updated AMiRo-LLD and applied all required changes to AMiRo-OS and all modules.

7da800ab 2019-02-04 18:12 Thomas Schöpping

Enhanced and fixed several module specific files.

3940ba8a 2019-02-04 18:10 Thomas Schöpping

Enhanced the #include tree. 'amiroos.h' is now the central header, which includes all dependencies.

6ff06bbf 2019-02-04 17:56 Thomas Schöpping

Changed all header guards so they will not use unserscores as pre- and postfix.

6b1000b5 2019-01-28 13:08 Thomas Schöpping

Makefiles slightly enhanced

e2d7143f 2019-01-25 13:57 Thomas Schöpping

Optimized the #include tree

2dd2e257 2019-01-25 13:56 Thomas Schöpping

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.

dada2194 2019-01-23 11:06 Thomas Schöpping

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.

bf15b7d9 2019-01-22 18:29 Thomas Schöpping

All board.mk files have been integrated into the module Makefiles.

f1f56ad4 2019-01-17 13:14 Thomas Schöpping

Added C++ system calls to the build toolchain in order to make AMiRo-OS fully compatible with C++ code.

bffb3465 2019-01-14 11:15 Thomas Schöpping

Added new periphery hardware (PCAL6524 GPIO extender and AT42QT1050 touch sensor) to the PowerManagement, including unit tests.

8be006e0 2019-01-08 15:24 Thomas Schöpping

PowerManagement: Introduced a configuration (board.h) to select the attached sensor ring module.

05b882c0 2019-01-08 15:18 Thomas Schöpping

PowerManagement: fixed incorrect configuration for event propagation

2920c6b7 2019-01-08 15:06 Thomas Schöpping

Enhanced the main thread IO event configuration.
Therefore a new macro AMIROOS_CFG_MAIN_LOOP_IOEVENT_MASK has been introduced.

1c1b3372 2019-01-08 10:29 Thomas Schöpping

PowerManagement: improved macros for selecting RAM regions

84f0ce9e 2019-01-07 11:58 Thomas Schöpping

updated all file headers to 2019

2c89d7e2 2018-12-17 15:35 Thomas Schöpping

Removed modules/flash.mk since flashing procedures highly depend on hardware.

11adbe34 2018-12-12 14:16 Thomas Schöpping

all halconf.h files: removed redundant HAL_USE_QEU settings

9ebb11a9 2018-12-12 14:05 Thomas Schöpping

Introduced a switch to completely disable SSSP (thanks to S. Welzel)

f39a7138 2018-12-10 17:28 Thomas Schöpping

Added ChibiOS license handling to the makefiles.

9ff01927 2018-11-13 11:34 Thomas Schöpping

Minor fixes and enhancements.

6ec8d60d 2018-11-12 09:57 Thomas Schöpping

removed ChibiOS dependencies from build-tree: C++ wrappers and shell

a4a18efc 2018-11-05 16:59 Thomas Schöpping

Removed the extension of the optional BUILDDIR variable in the module makefiles.

acc97cbf 2018-10-19 17:20 Thomas Schöpping

Minor optimizations regarding memory utilization.

9f224ade 2018-10-12 12:46 Thomas Schöpping

Some minor fixes and enhancements.
Most importantly, the expected jitter (CH_CFG_ST_TIMEDELTA) was increased form 20 to 50us.

b309b751 2018-09-17 16:27 Thomas Schöpping

All contents of the os/ folder has been moved one directory up.

5d929a9e 2018-09-17 15:47 Thomas Schöpping

Reworked linker scripts.
the os/hal/ directory was removed completely.
Each module now has its own linker script, which again includes the fundamental liner scripts within ChibiOS.
All makefiles have been adapted accordingly.

eedb8e58 2018-09-17 15:45 Thomas Schöpping

Review of the QEI driver patch (minor changes).

1fa17188 2018-09-17 13:57 Thomas Schöpping

optimized fan out calculation of masks for GPIO initialization.

37bacabf 2018-09-14 16:15 Thomas Schöpping

Added some basics to mask pads during GPIO initialization (wip)

53710ca3 2018-09-13 15:09 Marc Rothmann

Doxygen file documentation and modules.

1e5f7648 2018-09-05 17:22 Thomas Schöpping

Major rework of the recent changes.
- optimized interrupt system (removed aos_interrupt.h/c)
- updated AMiRo-LLD submodule
- updated all config files to match the latest templates by ChibiOS
- fixed several issues regarding the new timer system (intervals)

0128be0f 2018-08-29 16:41 Marc Rothmann

Updated Chibi-OS to version 18.2 and adapted AMiRo-OS accordingly:
- Switched to new time conversion macros
- Use PAL for interrupts instead of the EXT Driver
- Use new kernel tests

3e1a9c79 2018-08-23 16:33 Thomas Schöpping

Introduced an mechanism to measure clock skew during operation phase, if AMIROOS_CFG_PROFILE is enabled (non-master modules only).
The low-pass filtered skew is printed via the module:info shell command.

9461fadc 2018-08-20 18:52 Thomas Schöpping

RTC date/time is now synchronized on startup from the SSSP master module.
Further changes:
- several enhancements to the newly introduced module stack initialization procedure
- several minor enhancements to core functionality

933df08e 2018-08-17 14:48 Thomas Schöpping

Introduced SSSP stage 3 of the startup phase (module stack initialization).

6b53f6bf 2018-07-10 19:15 Thomas Schöpping

Several enhancements to memory structure, naming and code quality.
AMiRo-OS is now prepared so the SSSP startup stage 3 (module stack initialization can be implemented).

8399aeae 2018-07-09 13:12 Thomas Schöpping

Introduced the capability to set and get a date&time value via the shell.

512abac1 2018-07-05 14:48 Thomas Schöpping

prepended several macros with the 'AOS_' prefix

a7e67622 2018-06-29 11:33 Thomas Schöpping

modified all relevant makefiles to adopt the new file structure

5b0a8e7b 2018-06-29 10:41 Thomas Schöpping

moved the /os/modles directory to /modules