1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

630 Commits

Author SHA1 Message Date
Kévin Roussel
4421de003b Fix the race condition when an interruption occured at the beginning
of thread_yield(), i.e.: just after SR(R2) was pushed but before
the rest of the suspended thread's context was pushed!
2014-08-29 15:09:23 +02:00
Kévin Roussel
3df5a2745f Prevent the compiler to add an unwanted prologue in thread_yield() 2014-08-29 15:09:22 +02:00
Kévin Roussel
cf683d9866 Fix thread_yield by avoiding the (too) early re-enablement of IRQ,
that is: before the newly selected thread's context is totally restored
2014-08-29 15:09:22 +02:00
Martine Lenders
752fe547ca Merge pull request #1624 from LudwigOrtmann/headacheheaders
doc: fix more license headers
2014-08-28 12:34:55 +02:00
Ludwig Ortmann
2439bd839c doc: fix more license headers
Remove some cruft, set correct lgpl versions, update to lgpl where
this had been overlooked in the past, fix odd comment style...
2014-08-27 19:20:49 +02:00
Hauke Petersen
ae23d813b1 Merge pull request #1621 from haukepetersen/add_nrf_cpuid
cpu/nrf51822: added cpuid driver
2014-08-27 19:11:04 +02:00
Hinnerk van Bruinehsen
223e22ac1e board: arduino-mega2560: Initial import 2014-08-27 16:39:40 +02:00
Hinnerk van Bruinehsen
7b70f64d84 cpu: atmega2560: Initial import 2014-08-27 16:39:23 +02:00
Hinnerk van Bruinehsen
a6b77b4745 cpu: atmega_common: Initial import 2014-08-27 16:22:48 +02:00
Hauke Petersen
1de3deff81 cpu/nrf51822: added driver to get CPUID 2014-08-27 15:12:59 +02:00
Ludwig Ortmann
fc0b0bcc29 Merge pull request #1608 from LudwigOrtmann/fixmorelicenseheaders
Fix more license headers
2014-08-26 13:48:59 +02:00
Thomas Eichinger
6f83609107 Merge pull request #1607 from haukepetersen/add_nrf_random
cpu/nrf51822: added random number generator driver
2014-08-25 14:51:18 +02:00
Hauke Petersen
373e69e5c9 cpu/stm32f4: added random number generator driver 2014-08-25 13:54:15 +02:00
Ludwig Ortmann
b7992922ce fix license headers in non-.c files 2014-08-23 16:16:26 +02:00
Hauke Petersen
82eebeb2cc cpu/nrf51822: added RNG driver 2014-08-23 13:29:14 +02:00
Hauke Petersen
addfaefe8a Merge pull request #1598 from haukepetersen/add_nrf_rtt
cpu/board: added RTT driver for NRF51822
2014-08-22 02:13:43 +02:00
003dd1969c Merge pull request #1566 from Kijewski/undef_is_null
core: let PIDs begin with 1
2014-08-22 00:43:04 +02:00
Hauke Petersen
744ce78e12 cpu/nrf51822: added RTT driver implementation 2014-08-22 00:40:50 +02:00
Hauke Petersen
bd86eb28c9 cpu/sam3x8e: added random number generator driver 2014-08-21 20:18:02 +02:00
René Kijewski
639dae4a1d Merge pull request #1575 from Kijewski/use-sched_active_pid
all over the place: use sched_active_pid
2014-08-21 19:09:40 +02:00
Thomas Eichinger
0e79a01cd2 stm32f1: SPI: implement speed setting properly 2014-08-21 17:53:38 +02:00
Thomas Eichinger
6b43b3f587 stm32f1: implement new cpuid_get 2014-08-21 17:53:38 +02:00
Thomas Eichinger
c28aebf105 at86rf231: handle rx tx state changes correctly 2014-08-21 17:53:38 +02:00
Thomas Eichinger
b6abdc9519 stm32f1: implement SPI register access functions 2014-08-21 17:53:38 +02:00
Thomas Eichinger
e59bc2eb9d iot-lab_M3: refactor at86rf231 driver 2014-08-21 17:53:37 +02:00
Thomas Eichinger
b86b78bcb2 stm32f1: implement missing UART0 parts 2014-08-21 17:53:37 +02:00
Thomas Eichinger
aaa2c2e8ba boards: initial import of iot-lab_M3 2014-08-21 17:53:37 +02:00
Thomas Eichinger
37611db41c cpu: initial import of stm32f1 2014-08-21 17:53:37 +02:00
René Kijewski
2cb4166c3e all over the place: use sched_active_pid
In many places we needlessly use `sched_active_thread->pid` whilst we
already have `sched_active_pid` with the same value, and one less
indirection.

`thread_getpid()` is made `static inline` so that there is no penalty in
using this function over accessing `sched_active_pid` directly.
2014-08-17 21:04:25 +02:00
René Kijewski
427a5fbaef core: let valid PIDs start with 1 2014-08-17 19:51:03 +02:00
Hauke Petersen
13894fa70c cpus: adjusted uart implementations for changed IF
- adjusted stm32f0
- adjusted stm32f3
- adjusted stm32f4
- adjusted sam3x8e
- adjusted nrf51822
2014-08-15 12:23:39 +02:00
Hauke Petersen
ea96af4d53 cpu/stm32f3: let LD3 blink on hardFault 2014-08-15 10:38:34 +02:00
René Kijewski
a79d9c8562 native: remove redeclarations of sched_active_thread 2014-08-14 13:21:17 +02:00
Hauke Petersen
037820d6a6 board/cpu: adjusted uart driver implementations
for
- sam3x8e
- stm32f0
- stm32f4
- sam3x8e
- nrf51822
2014-08-11 15:08:20 +02:00
Oleg Hahm
1de5c2b4a0 fixed remaining variables to kernel_pid_t 2014-08-07 17:29:53 +02:00
Oleg Hahm
aa2ecf6216 initialize kernel_pid_t correctly 2014-08-07 16:31:27 +02:00
Oleg Hahm
c2b0423918 core: renamed KERNEL_PID_NULL to KERNEL_PID_UNDEF
As @authmillenon pointed out the "null" in the old name is somewhat
misleading, since the actual value is -1.
2014-08-07 16:31:27 +02:00
Hauke Petersen
cc6ee1dc05 board/cpu: added pwm driver for stm32f4discovery 2014-08-07 16:15:39 +02:00
Hauke Petersen
9a90eae1ba cpu: adjusted pwm driver impl for lpc2387 2014-08-07 16:14:09 +02:00
Ludwig Ortmann
14e8abed05 Merge pull request #1525 from LudwigOrtmann/morning-cleanup
doc, boards/cpu: cleanup
2014-08-05 19:28:24 +02:00
Hauke Petersen
d9b0927b57 Merge pull request #1547 from haukepetersen/fix_cortex_threadarch
cpu/cortex-mX_common: bugfix to arch_stack_init
2014-08-05 18:59:17 +02:00
Ludwig Ortmann
1df6505db9 boards/cpu: fix some warnings 2014-08-05 18:52:26 +02:00
Ludwig Ortmann
c883c33d83 doc: fix flashrom doxygen 2014-08-05 18:52:26 +02:00
Hauke Petersen
be46f2047a cpu/cortex-mX_common: bugfix to arch_stack_init
- fixed cortex-[m0|m3|m4]
2014-08-05 18:38:06 +02:00
Ludwig Ortmann
1c3f481702 tests, native: fixup for cpuid
- adopt test name to new scheme
- make cppcheck happy / dont overwrite the target memory location twice
- fix license header
- don't redefine define if it already exists
- don't write more cpuid than is defined as size
2014-08-05 16:55:42 +02:00
epiktet
1154bd5a50 cpu/nrf51822: squash added support for nrf51822 cpu 2014-08-04 13:42:06 +02:00
Cenk Gündoğan
5429035b1c cpu: removing tabs from asm files (#1439)
```find . -name "*.[sS]" -exec grep -l $'\t' {} \;``` and ```ack --asm -l "\t"```
revealed three more files with tabs.
2014-08-02 12:47:02 +02:00
Oleg Hahm
983d056c75 core: harmonizes the data type for the process ID
Instead of using differing integer types use kernel_pid_t for process
identifier. This type is introduced in a new header file to avoid
circular dependencies.
2014-08-01 12:02:54 +02:00
Hauke Petersen
938c61a5a2 Merge pull request #1456 from haukepetersen/board_stm32f3discovery
board/cpu: Added support for the stm32f3discovery board and stm32f3 cpu
2014-07-31 23:55:05 +02:00
Martine Lenders
b1bc11c7fc native: cpu: Add documentatiton for CPUID_ID_LEN 2014-07-31 23:27:38 +02:00