Commit Graph

159 Commits

Author SHA1 Message Date
Kelvin Lawson
5181143343 ARMv7A Port: Add contact details for contributer to README. 2012-07-13 22:20:31 +01:00
Kelvin Lawson
34e989424f Add extern "C" modifiers to main public header files for mixing C/C++. Minor modifications to pull request from @bacek. 2012-07-13 22:13:21 +01:00
Kelvin Lawson
43df30809c STM8: Correct pinout for UART. 2012-06-22 01:23:53 +01:00
Kelvin Lawson
6ce391f581 AVR port: introduce simulator for all automated tests, allowing the full test suite to be run within a simulator for continuous integration. 2012-06-21 23:32:44 +01:00
Kelvin Lawson
7ce220e42f AVR expect script for test runs: Add description header. 2012-06-21 22:41:53 +01:00
Kelvin Lawson
b47b9697a5 AVR: Add expect script to run test in simavr and check for success. 2012-06-21 22:39:25 +01:00
Kelvin Lawson
97a15799b4 AVR port: instructions for using PART= to change the CPU target during make.
Also add TESTS_LOG_STACK parameter so that stack-usage logging can be enabled without editing Makefile.
2012-06-21 21:29:18 +01:00
Kelvin Lawson
22a5af0eae Use near_func to work with later versions of IAR EWSTM8 (1.20+). Project files upgraded to EWSTM8 1.30. 2011-09-16 22:55:40 +01:00
Kelvin Lawson
b812419f4a README: Add instructions for creating armv7a boards. 2011-08-01 01:11:34 +01:00
Kelvin Lawson
b298144baa Merge pull request #4 from avpatel/master
Minor refactor in build process to support adding of new board directories under ARMv7a
2011-07-31 05:44:15 -07:00
Anup Patel
49f27eff8d Minor refactoring in the build process.
Signed-off-by: Anup Patel <anup@brainfault.org>
2011-07-29 09:31:06 +05:30
Anup Patel
a44a38190b Merge branch 'master', remote branch 'upstream/master' 2011-07-29 09:09:08 +05:30
Kelvin Lawson
511187c7bd Use consistent include formatting. 2011-07-28 22:26:43 +01:00
Kelvin Lawson
8de14626d0 Remove unnecessary mods from the MIPS pull request (kernel and tests folder changes are not required, only the MIPS port folder is necessary). 2011-07-28 22:22:52 +01:00
Kelvin Lawson
743ce54031 Merge remote branch 'hschauhan/master' 2011-07-28 22:20:20 +01:00
Himanshu Chauhan
6af5014e9f Merge branch 'mips-port' into atomthreads-mips
Signed-off-by: Himanshu Chauhan <hschauhan@nulltrace.org>
2011-07-23 13:05:31 +05:30
Himanshu Chauhan
48fe6bc12a Fixed Context switch and timer-delay problem with MIPS.
Signed-off-by: Himanshu Chauhan <hschauhan@nulltrace.org>
2011-07-22 23:36:17 +05:30
Anup Patel
19536e1fc7 Merge branch 'master', remote branch 'upstream/master' 2011-07-20 09:28:05 +05:30
Kelvin Lawson
f9a16861b9 Cosmetic changes for consistency with other architecture ports. 2011-07-19 23:19:21 +01:00
Kelvin Lawson
fc53574c12 Remove TODO, functionality completed. 2011-07-19 22:53:30 +01:00
Kelvin Lawson
1ca423d8f6 Minor changes for consistency with other ports. 2011-07-19 22:51:54 +01:00
Kelvin Lawson
0ec7a4629e Change avr folders to armv7a. 2011-07-19 22:50:11 +01:00
Kelvin Lawson
d64a524522 Add qemu/ddd instructions to MIPS readme. 2011-07-19 21:56:07 +01:00
Kelvin Lawson
a96a1afbc7 Remove AVR-specific comments from MIPS Makefile. 2011-07-19 21:54:29 +01:00
Anup Patel
2e075ad413 Added .bin file generation for .elf files for convinence in Makefile.
Signed-off-by: Anup Patel <anup@brainfault.org>
2011-07-13 16:30:04 +05:30
Anup Patel
112928594c Updated archLongJump make is more stable. All test cases from testsuite work properly. 2011-07-09 10:43:27 +05:30
Anup Patel
f36452df66 Adding file to armv7a directory.
Signed-off-by: Anup Patel <anup@brainfault.org>
2011-07-07 17:37:12 +05:30
Anup Patel
1239eb1827 Renamed directory from arm7a to armv7a to mean "ARM v7 Application" Architecture.
Signed-off-by: Anup Patel <anup@brainfault.org>
2011-07-07 17:35:38 +05:30
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
ac0643a959 First draft of MIPS port from Himanshu. Some local mods to more closely resemble the headers and layout of the AVR and STM8 ports. 2011-06-02 22:32:49 +01: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
Himanshu Chauhan
711ce0e469 Changed the default stack size for threads.
Fixed the critical section problems.

Signed-off-by: Himanshu Chauhan <hschauhan@nulltrace.org>
2011-06-02 20:15:11 +05:30
Himanshu Chauhan
b9931b4c38 Changes rebased to lastest API changes for STACK_ALIGN
Signed-off-by: Himanshu Chauhan <hschauhan@nulltrace.org>
2011-05-29 09:01:23 +05:30
Kelvin Lawson
546990788d Use info@atomthreads.com email address throughout documentation. 2011-05-28 17:28:21 +01:00
Himanshu Chauhan
8dfd1f4c0f Deleting atom-types.h not required anymore.
Signed-off-by: Himanshu Chauhan <hschauhan@nulltrace.org>
2011-05-28 10:02:43 +05:30
Himanshu Chauhan
9fe564e674 Merge branch 'mips32-port'
Conflicts:
	kernel/atomsem.c
	ports/mips/tests-main.c

Signed-off-by: Himanshu Chauhan <hschauhan@nulltrace.org>
2011-05-28 09:11:17 +05:30
Himanshu Chauhan
c7bc5cf396 Change related to upstream merge.
* STAND_ALONE conditional compilation is removed.
* Previous interim commits are squashed.
* printk.h is included from atomport.h
* atom-types.h and atommport-types.h have been removed.

Signed-off-by: Himanshu Chauhan <hschauhan@nulltrace.org>
2011-05-28 09:03:27 +05:30
Kelvin Lawson
4fbbe465ee 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-28 09:02:27 +05:30
Himanshu Chauhan
fe6232c981 Half way debug code of context switching.
Main thread comes up but the secondary threads doesn't
get scheduled.

Signed-off-by: Himanshu Chauhan <hschauhan@nulltrace.org>
2011-05-28 09:02:27 +05:30
Himanshu Chauhan
9a4dac8c76 Compilable MIPS code.
Signed-off-by: Himanshu Chauhan <hschauhan@nulltrace.org>
2011-05-28 08:58:18 +05:30
Kelvin Lawson
d06cbdc16a Add comments to critical region regarding nesting requirement. 2011-05-28 08:38:10 +05:30