Anup Patel
a88b9b542e
Reverted kern3 and kern4 test.
...
Fixed main_thread_func() to call test_start() only once.
Signed-off-by: Anup Patel <anup@brainfault.org >
2011-07-07 14:42:37 +05:30
Anup Patel
3468a0d479
Fixed kern3 and kern4 tests. (These test were creating multiple threads with same stack)
...
Refactored code to have seperate directory for each ARM7a based board.
Redesigned makefile for ARM7a port.
Signed-off-by: Anup Patel <anup@brainfault.org >
2011-07-07 12:12:57 +05:30
Anup Patel
d97eac380e
Converted context switching functions in terms of setjump and longjump primitives.
...
Signed-off-by: Anup Patel <anup@brainfault.org >
2011-07-06 21:23:04 +05:30
Anup Patel
32fc47ef89
Got kern1 and kern2 test working with ARM port.
...
Signed-off-by: Anup Patel <anup@brainfault.org >
2011-07-05 23:25:33 +05:30
Anup Patel
a4a35ddf86
Minor refactoring of code.
...
Signed-off-by: Anup Patel <anup@brainfault.org >
2011-07-05 17:35:41 +05:30
Anup Patel
0ee1eb55c5
Got one thread working.
...
Signed-off-by: Anup Patel <anup@brainfault.org >
2011-07-05 17:03:21 +05:30
Anup Patel
2df02ed0ad
Fixed CRITICAL section macros.
...
Signed-off-by: Anup Patel <anup@brainfault.org >
2011-07-05 14:27:30 +05:30
Anup Patel
b213428c24
Fixed ARM7a makefile.
2011-07-04 20:09:40 +05:30
Anup Patel
c031dcf641
Initial code for ARM7a port.
...
Signed-off-by: Anup Patel <anup@brainfault.org >
2011-07-04 19:35:16 +05:30
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
546990788d
Use info@atomthreads.com email address throughout documentation.
2011-05-28 17:28:21 +01:00
Kelvin Lawson
a630a8945d
Add comments to critical region regarding nesting requirement.
2011-05-27 17:35:56 +01:00
Kelvin Lawson
02660d0c80
AVR flash-program now checks sizes against the architecture.
2011-05-27 17:15:38 +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
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
89f8775011
Use new build-cosmic output directory for Cosmic build objects.
2011-05-25 23:49:44 +01:00
Kelvin Lawson
8b1739e8f4
STM8: Remove deprecated stack reference.
2011-05-25 23:00:21 +01:00
Kelvin Lawson
916dc11a0c
STM8: Add README for Raisonance RKit-STM8 RTOS port.
2010-06-28 22:38:48 +01:00
Kelvin Lawson
b4bc5a9c53
STM8: Add Raisonance Makefile.
2010-06-28 21:33:16 +01:00
Kelvin Lawson
e218dbb7be
STM8: Update Makefile comments.
2010-06-22 00:19:55 +01:00
Kelvin Lawson
545a6932a4
STM8: Rename STVD sample workspace to atomthreads-sample-stvd.stw. This now contains separate projects for both the Cosmic and Raisonance compilers.
2010-06-21 22:32:41 +01:00
Kelvin Lawson
912c83f74e
STM8: Add Raisonance sample project.
2010-06-21 22:21:31 +01:00
Kelvin Lawson
e34c5a0ffa
STM8: Add Raisonance STM8 assembler layer.
2010-06-21 22:11:13 +01:00
Kelvin Lawson
9e4da88b1d
STM8: Add support for Raisonance STM8 compiler in C RTOS port layer.
2010-06-21 21:52:28 +01:00
Kelvin Lawson
d25a49edeb
STM8: Macro to specify interrupt handlers on Raisonance STM8.
2010-06-21 21:47:11 +01:00
Kelvin Lawson
c9ae8200db
STM8: Add UART putchar() for Raisonance STM8 compiler.
2010-06-21 21:43:53 +01:00
Kelvin Lawson
61e6ca0b10
STM8: Add critical region macros for Raisonance STM8 compiler.
2010-06-21 21:43:07 +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
5bc174d316
STM8: Use new Makefile names.
2010-06-03 23:04:11 +01:00
Kelvin Lawson
babfd6b9c5
STM8: Correct IAR Makefile object paths for SREC build.
2010-06-03 23:00:20 +01:00
Kelvin Lawson
7f2b53dd61
STM8: Suppress IAR warnings about volatile ordering on logger messages.
2010-06-03 22:59:01 +01:00
Kelvin Lawson
4b42544c3c
STM8: Formatting changes only.
2010-06-03 22:58:44 +01:00
Kelvin Lawson
af47062d90
STM8: Add GNU make path to README.
2010-06-03 22:22:49 +01:00
Kelvin Lawson
b39b4eac47
STM8: Add details on Makefile builds to IAR README.
2010-06-03 22:05:39 +01:00
Kelvin Lawson
91793d1398
STM8: Merge IAR and Cosmic Makefiles.
2010-06-03 21:24:45 +01:00
Kelvin Lawson
f050c44d73
STM8: Separate Cosmic and IAR Makefiles.
2010-06-03 21:09:14 +01:00
Kelvin Lawson
98547058bf
STM8: Add Makefile for IAR EWSTM8 compiler.
2010-06-03 01:19:22 +01:00
Kelvin Lawson
0a2df500dc
STM8: Point out that CPU registers are CPU-saved on interrupts on the STM8.
2010-06-01 22:48:04 +01:00
Kelvin Lawson
d4f68440a2
STM8 port: Seperate IAR and Cosmic compiler README files.
2010-06-01 22:41:21 +01:00
Kelvin Lawson
02c9cd040c
STM8: Add README for IAR EWSTM8 compiler.
2010-06-01 22:40:54 +01:00
Kelvin Lawson
973e2fb4aa
STM8: Enable linker dead-stripping on Cosmic compiler.
2010-05-27 23:03:19 +01:00
Kelvin Lawson
205c05dc25
STM8: New name for Cosmic assembler file.
2010-05-27 00:55:39 +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
c0c953b476
STM8 port: Update IAR assembler comments. The IAR compiler is saving ?b0:?b7 in interrupt handlers as expected.
2010-05-25 00:57:14 +01:00
Kelvin Lawson
619c8c3e4a
STM8 port: Rename Cosmic/STVD project to atomthreads-sample-cosmic to differentiate from new IAR project.
2010-05-25 00:25:36 +01:00
Kelvin Lawson
08098370d4
STM8/IAR port: Remove unnecessary .dep file.
2010-05-25 00:16:03 +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
538a535fe9
STM8: Remove unused code from STM8S peripheral library. Reduces footprint for the benefit of the Cosmic STM8 compiler which does not perform linker dead-stripping.
2010-05-18 00:07:20 +01:00
Kelvin Lawson
18ffc47807
STM8 uart.c: Return mutex to allow multiple threads access to the UART.
2010-05-03 12:57:41 +01:00