309 Commits

Author SHA1 Message Date
Kelvin Lawson
1a2f9bae75 Merge pull request #33 from jacquesg/somefixes
C++ and AVR fixes
2017-08-27 11:12:56 +01:00
Jacques Germishuys
6eb64f4414 move AVR port's timers to a different translation unit
this gives greater flexibility in terms of timer choices
2017-08-21 08:53:33 +02:00
Jacques Germishuys
3f68de64b6 guard uart functions with extern "C" 2017-08-20 19:07:56 +02:00
Jacques Germishuys
f9d5f0a10c use F_CPU for the AVR CPU frequency (if available) 2017-08-20 19:07:50 +02:00
Kelvin Lawson
97679e316a Merge pull request #24 from spth/master
Make STM8 port compile with SDCC
2017-08-06 22:24:31 +01:00
Jacques Germishuys
7dfe7bd496 guard avrInitSystemTickTimer with extern "C" 2017-08-04 21:01:10 +02:00
Kelvin Lawson
265d050e2c dm36x-io.h: Correct McBSP register names. 2017-05-23 21:22:11 +01:00
Kelvin Lawson
402fe20926 dm36x-io.h: Add McBSP to Power/Sleep Controller. 2017-04-05 00:35:02 +01:00
Kelvin Lawson
d1dbe313ec dm36x-io.h: MCBPSP should be MCBsP. 2017-04-04 19:26:54 +01:00
Kelvin Lawson
c9dd755f1e dm36x-io.h: Add McBSP registers. 2017-04-03 23:12:28 +01:00
Kelvin Lawson
c6070ee4d7 atomkernel: Initialise new terminated flag in atomThreadCreate(). 2017-01-13 17:57:23 +00:00
Kelvin Lawson
864666d0fa dm36x-io.h: Add DM36x GPIO interrupt handline registers. 2017-01-13 17:08:20 +00:00
Kelvin Lawson
d617014298 dm36x: Add GPIO interrupts. 2017-01-13 06:27:14 +00:00
Kelvin Lawson
097fdb9006 Disable cortex-m CI. 2016-07-14 13:20:11 +01:00
Kelvin Lawson
eda014d8e3 Add cortex-m to CI. 2016-07-14 12:55:04 +01:00
Kelvin Lawson
1adb1e3148 commit-tests-avr: Remove unnecessary cd.
commit-tests-cortex-m: Created.
2016-07-14 12:44:11 +01:00
Kelvin Lawson
a4fefefec2 Rename commit-tests-qemu-arm. 2016-07-14 12:41:38 +01:00
Kelvin Lawson
8d7d07c202 Separate scripts for AVR and QEMU-ARM commit hooks. 2016-07-13 10:43:13 +01:00
Kelvin Lawson
eaf8ea3740 Formatting. 2016-07-13 09:02:28 +01:00
Kelvin Lawson
67a8d8eac2 Use markdown formatting for README. 2016-07-13 09:00:35 +01:00
Kelvin Lawson
3303dc739f Switch to Markdown README. 2016-07-13 08:58:17 +01:00
Kelvin Lawson
f169ebe477 Add travis-ci.org build state image 2016-07-13 08:57:08 +01:00
Kelvin Lawson
35a1bac968 Trial Travis-ci config. 2016-07-13 08:48:36 +01:00
Philipp Klaus Krause
099a3d0a92 Refactor STM8 documentation 2016-06-23 10:34:22 +02:00
Philipp Klaus Krause
ee591c7a51 Refactor STM8 documentation 2016-06-23 10:31:01 +02:00
Philipp Klaus Krause
969e7fa165 Use stdint.h by default 2016-06-23 10:11:52 +02:00
Philipp Klaus Krause
e21c3defc6 Adjust test thread stack size, make all tests pass 2016-06-23 09:56:41 +02:00
Philipp Klaus Krause
7894d81367 Increase main thread stack size due to expensive printf() 2016-06-21 16:49:37 +02:00
Philipp Klaus Krause
2944d95d86 Fix kernel/atom.h extra semicolon 2016-06-18 22:19:58 +02:00
Philipp Klaus Krause
529a386a7a Add debug flags to debug build 2016-06-16 21:53:22 +02:00
Philipp Klaus Krause
ba550c8df7 Make atomthreads run with SDCC 2016-06-16 21:21:06 +02:00
Philipp Klaus Krause
9251272859 Make atomthreads link with SDCC 2016-06-16 21:01:38 +02:00
Philipp Klaus Krause
7e03729526 Make atomthreads assemble with SDCC 2016-06-16 20:59:11 +02:00
Philipp Klaus Krause
a013142b7e Make atomthreads compile with SDCC 2016-06-16 20:37:19 +02:00
Kelvin Lawson
f29a33fd62 timer8.c: Add automated test to check for the behaviour fixed in future. 2016-05-25 20:03:43 +01:00
Kelvin Lawson
01f23be93d Merge branch 'simonccn-master' 2016-05-25 19:44:36 +01:00
Kelvin Lawson
d9b1891eb3 Merge branch 'master' of https://github.com/simonccn/atomthreads into simonccn-master 2016-05-25 19:23:06 +01:00
Kelvin Lawson
100de97d92 Merge pull request #19 from tidklaas/master
Fix potential TCB loss
2016-05-24 23:22:56 +01:00
Tido Klaassen
a710eaed0a Fix potential TCB loss
Always clear "suspended" flag in atomThreadSwitch(), even if new
and old TCB are identical. Otherwise TCB could get lost during
next task scheduling.
2016-05-24 17:57:49 +02:00
Kelvin Lawson
b0afc266d1 atomkernel: Support thread entry points running to completion. Ports which use a thread_shell() can allow the entry point to finish and return back to the thread_shell(), which sets the terminated flag and calls the scheduler to force another thread to be scheduled in. Currently implemented in the ARM and AVR ports. 2016-05-23 20:50:51 +01:00
chencn
9afe5d329c Fixed:Can't register the same timer again at timeout handle function 2016-03-23 10:20:32 +08:00
Kelvin Lawson
e99d05582f ARM reent stdout: Set unbuffered. 2016-03-20 22:44:25 +00:00
Kelvin Lawson
2f858283f1 ARM port reentrancy: Close per-thread stdout when runs to completion. 2016-03-20 22:00:48 +00:00
Kelvin Lawson
2c0965c4a9 ARM port: Support newlib thread reentrancy with thread-specific struct _reent. Tested on qemu_integratorcp. 2016-01-03 00:10:39 +00:00
Kelvin Lawson
da01dde1f9 Makefile: typo leftover from avr port. 2016-01-02 23:12:30 +00:00
Kelvin Lawson
3dbce9b055 ports/arm/atomport-asm.s: Comment change only. 2015-12-03 22:01:38 +00:00
Kelvin Lawson
f47b0b5b3d Formatting change only. 2015-12-02 00:28:53 +00:00
Kelvin Lawson
7f53aa96f2 Merge pull request #14 from tidklaas/master
Making Cortex-M Port Thread Safe
2015-12-02 00:11:45 +00:00
Kelvin Lawson
9ae404ef47 dm36x exception handler matches archIRQHandler() 2015-11-03 23:58:59 +00:00
Kelvin Lawson
e1879ab56b qemu_integratorcp uart.c: Uninit status. 2015-10-20 13:40:09 +01:00