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

40 Commits

Author SHA1 Message Date
Hauke Petersen
02831e325f cpu/nrf51822: use of core_panic in startup code 2015-02-10 09:40:35 +01:00
Hauke Petersen
21dd39249f cpu/nrf51822: raised default stack size 2015-02-07 13:22:18 +01:00
Christian Mehlis
3cd370ff6b Merge pull request #2005 from haukepetersen/fix_nrf_enablehfclk
cpu/nrf51822: added HFCLK initialization
2014-11-25 23:41:34 +01:00
DangNhat Pham-Huu
785fc1f5a8 Merge pull request #1803 from BytesGalore/extern_C_in_headers_cpus
cpu: added `extern "C"` to headers
2014-11-25 08:49:57 +07:00
BytesGalore
a4d2ee307c cpu: added extern "C" to headers 2014-11-24 19:10:15 +01:00
René Kijewski
f258c3e7ac nrf51822: Suppress unused argument warnings 2014-11-24 18:43:14 +01:00
René Kijewski
7d7002305d nrf51822: error was not checked b/c of wrong signedness 2014-11-24 16:23:58 +01:00
René Kijewski
96fe9f012c nrf51822: Fix indentation in lpm_arch.c 2014-11-24 16:23:58 +01:00
René Kijewski
6f8377cf26 nrf51822: test arguments for read/write even in stubs 2014-11-24 16:23:58 +01:00
Hauke Petersen
2220a9fab0 core/cpu/boards: removed fw_puts from RIOT 2014-11-21 13:09:02 +01:00
Hauke Petersen
62b6522e01 cpu: moved reboot_arch for cortex cpus 2014-11-20 17:22:39 +01:00
Hauke Petersen
58fffcb50f Merge pull request #2030 from haukepetersen/fix_nrf_cpp
boards: added C++ support for NRF51822 based boards
2014-11-19 15:59:42 +01:00
Hauke Petersen
ebf572d2d3 cpu/nrf51822: added made _kill(_r) syscall weak 2014-11-19 15:40:28 +01:00
9ce0b676b4 core: sys: move ringbuffer to core 2014-11-19 14:18:39 +01:00
Christian Mehlis
d56ebcbff2 Merge pull request #1932 from haukepetersen/fix_nrf_isrstacksize
cpu/nrf51822: changed ISR stack size to 512 byte
2014-11-16 17:44:20 +01:00
Hauke Petersen
a3061bccc2 Merge pull request #1827 from haukepetersen/fix_nrf_timer
cpu/nrf51822: fixed timers
2014-11-12 13:21:44 +01:00
Hauke Petersen
2278e72952 cpu/nrf51822: added HFCLK initialization 2014-11-12 13:17:13 +01:00
Ian Martin
7bbdbcc7cb Allow the application's makefile to specify a custom linker script, for example:
LINKERSCRIPT = custom-linkerscript.ld
2014-11-10 14:28:35 -05:00
Hauke Petersen
636287a1aa cpu/nrf51822: adjusted to RTT interface changes 2014-11-07 12:29:31 +01:00
Benjamin Valentin
879768397e malloc: check if the requested memory is really available 2014-11-05 12:11:24 +01:00
Hauke Petersen
1b1f44c899 cpu/nrf51822: fixed timers
- changed TIMER_0 to be a 24-bit timer -> see Nordic PAN #32
- cleaned up timer initialization code
- added check if an interrupt channel was active
2014-11-04 18:18:23 +01:00
Hauke Petersen
505e184ee5 cpu/nrf51822: changed ISR stack size to 512 byte 2014-11-04 14:50:44 +01:00
Hinnerk van Bruinehsen
a5aeaab87b lint: fix unreadVariable warnings 2014-10-31 01:24:30 +01:00
Hauke Petersen
64c5ee3322 cpu/nrf51822: made syscalls aware of uart0 2014-10-30 21:51:31 +01:00
Hauke Petersen
2bab8aed2e cpu/nrf51822: added interrupt mode to UART driver 2014-10-30 21:51:31 +01:00
Hauke Petersen
e7fbaf3815 cpu: removed NAKED attribute from ISRs
- removed the __attribute__((naked)) from ISRs
- removed ISR_ENTER() and ISR_EXIT() macros

Rationale: Cortex-Mx MCUs save registers R0-R4 automatically
on calling ISRs. The naked attribute tells the compiler not
to save any other registers. This is fine, as long as the
code in the ISR is not nested. If nested, it will use also
R4 and R5, which will then lead to currupted registers on
exit of the ISR. Removing the naked will fix this.
2014-10-30 19:33:32 +01:00
Oleg Hahm
481d4f2ee3 doc: fix ambiguous file name warnings
doxygen does a good job itself, identifying the unique part of the path
to identify a file.
2014-10-23 20:53:00 +02:00
Oleg Hahm
6d8c0d74c3 doc: some doxygen cleanups
* removed RIOT unrelated cpu documentation
* introduced cpu_specific prefix to mark such documentation
* put oneway_malloc and crypto into sys group
2014-10-23 17:29:25 +02:00
Hauke Petersen
d75a85a2aa cpu/nrf51822: fixed issue with disabled RAM
- on certain devices the second RAM bank might be disabled after
  reset, this fix makes sure its enabled
2014-10-13 13:04:39 +02:00
Hauke Petersen
964c145eef cpu/nrf51822: fixed gpio driver 2014-09-26 17:25:21 +02:00
Hauke Petersen
4411b6b53f cpu/nrf51822: adjusted default stack sizes 2014-09-19 13:02:23 +02:00
Hauke Petersen
c9c7bfad38 cpu/nrf51822: some fixes and clean up
- enabled power for uart and timer
- outsourced timer config values to periph_conf.h
- made linkerscript better readable
- adjusted default stack-sizes
- let RED_LED blink on hard_fault
2014-09-17 14:44:13 +02:00
Hinnerk van Bruinehsen
129e9b0bfa cpu: multiple: change size_t to ptrdiff_t for_sbrk_r 2014-09-14 22:07:05 +02:00
Hauke Petersen
1de3deff81 cpu/nrf51822: added driver to get CPUID 2014-08-27 15:12:59 +02:00
Hauke Petersen
82eebeb2cc cpu/nrf51822: added RNG driver 2014-08-23 13:29:14 +02:00
Hauke Petersen
744ce78e12 cpu/nrf51822: added RTT driver implementation 2014-08-22 00:40:50 +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
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
037820d6a6 board/cpu: adjusted uart driver implementations
for
- sam3x8e
- stm32f0
- stm32f4
- sam3x8e
- nrf51822
2014-08-11 15:08:20 +02:00
epiktet
1154bd5a50 cpu/nrf51822: squash added support for nrf51822 cpu 2014-08-04 13:42:06 +02:00