Commit Graph

14 Commits

Author SHA1 Message Date
Kelvin Lawson
af84aa9848 Add support for architectures with stack alignment requirements in preparation for various 32 bit ports.
NOTE: The atomThreadCreate() and atmoOSInit() APIs have changed to take stack_bottom rather than stack_top and to allow optional stack-checking on a per-thread basis.
2011-05-27 16:41:18 +01:00
Kelvin Lawson
be6e60bf2f Improve support for platforms without stddef.h. NULL definition should now be provided by architecture port file atomport.h, which in most cases can just include stddef.h. 2011-05-25 23:52:11 +01:00
Kelvin Lawson
eafe07cea9 TESTS: Function parameters cannot be named "data" when using Raisonance STM8 compiler. 2010-06-07 21:13:25 +01:00
Kelvin Lawson
5635706d4b TESTS: Remove unused variable. 2010-06-03 22:59:47 +01:00
Kelvin Lawson
62c2ae9fec STM8: logger warnings. 2010-06-03 22:29:01 +01:00
Kelvin Lawson
5402faf224 STM8: Cosmic compiler: save virtual register c_lreg. Add details on Cosmic virtual registers to documentation. IAR compiler: Add __task to entry points to reduce unnecessary stack usage. 2010-05-27 00:38:45 +01:00
Kelvin Lawson
394e04ec4a STM8 port: Add RTOS port for IAR EWSTM8 compiler.
* Split assembler routines into -cosmic.s and -iar.s.
* Split Cosmic and IAR specific code using __CSMC__ and __IAR_SYSTEMS_ICC__.
* Context-switch virtual registers on IAR.
* Add detailed description of IAR context-switch scheme.
* Add sample IAR project.
* Add support for IAR to STM8S peripheral driver modules.
* Fix EWSTM8 compiler warnings.
2010-05-24 22:54:40 +01:00
Kelvin Lawson
7d56170c40 STM8 port: Add UART support. Make use of full 1KB on Discovery. Improve documentation. 2010-03-09 00:37:46 +00:00
Kelvin Lawson
2d909ba279 Add stack usage analysis. Used for all automated test modules (if enabled) such that the automated tests can now trap some classes of thread stack overflow. ATmega port now tested on both ATMega16 and ATmega32. STM8 port not yet modified to support the new stack-checking API. 2010-03-01 20:01:10 +00:00
Kelvin Lawson
c00ce7c1ec Timer4 automated test: Modify since timer API changed.
STM8 port: Add README file.
2010-02-17 00:41:26 +00:00
Kelvin Lawson
5665974ca7 Include stddef.h for NULL definition 2010-02-16 22:55:55 +00:00
Kelvin Lawson
f023bf26de Put port-specific test configuration in atomport-tests.h. Rename atomuser.h to atomport.h. Non-exported port header renamed to atomport-private.h. 2010-02-01 22:49:04 +00:00
Kelvin Lawson
248e1318fb Add README for all source folders 2010-01-21 21:42:10 +00:00
Kelvin Lawson
6d599c6729 Add Atomthreads RTOS source files. 2010-01-14 01:53:45 +00:00