Commit Graph

14 Commits

Author SHA1 Message Date
Philipp Klaus Krause
969e7fa165 Use stdint.h by default 2016-06-23 10:11:52 +02:00
Philipp Klaus Krause
7894d81367 Increase main thread stack size due to expensive printf() 2016-06-21 16:49:37 +02:00
Kelvin Lawson
7bc40f9d62 Formatting changes. 2011-06-02 22:23:57 +01:00
Kelvin Lawson
fae8dd7516 Formatting changes only. 2011-06-02 22:12:56 +01:00
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
8b1739e8f4 STM8: Remove deprecated stack reference. 2011-05-25 23:00:21 +01:00
Kelvin Lawson
2ec7fd2d8c STM8: Rename "data" parameters to "param" (Raisonance STM8 does not allow parameters named "data"). 2010-06-07 21:30:16 +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
02bdad201f STM8 port: Now supports the new stack usage analysis API. All automated tests pass. 2010-03-01 21:04:42 +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
d20004e3a4 Reduce stack size for STM8S test threads to 128 bytes. Update stack usage description in READMEs. 2010-02-18 00:41:09 +00:00
Kelvin Lawson
2124b5f5a1 Add STM8 port (Cosmic compiler). Modify timer4 automated test now that timer API has changed to take ticks as parameter. 2010-02-16 23:07:48 +00:00