Joseph Noir
bddaee751d
Add replacement headers for thread, mutex and cond
...
These headers do not provide full stl functionality,
but a small subset:
* thread and this_thread
* condition_variable (some timed functions are missing)
* mutex, lock_guard and unique_lock
8 years ago
Joakim Gebart
43b9150460
stm32f4: pwm_init: return actual frequency
8 years ago
Joakim Gebart
cc27846ac3
cpu/stm32f4/include/stm32f415xx.h: Trailing whitespace
8 years ago
James Hollister
722835989d
cpu/stm32f4: added cpuid_get to stm32f4
8 years ago
Ludwig Ortmann
cec87139a5
core, cpu, drivers, tests: remove trailing space
8 years ago
Fabian Nack
36025280de
cpu/stm32f4: Add low power mode implementation
8 years ago
Fabian Nack
870a695a38
cpu/stm32f4: Adapt PWM implementation to allow timers with < 4 channels
8 years ago
Thomas Eichinger
8821e0edcf
cpu/stm32f4: make i2c thread-safe
8 years ago
Hauke Petersen
70a5df67a5
cpu/stm32f4: made SPI driver thread safe
8 years ago
Fabian Nack
672a362f2e
cpu/stm32f4: Corrected wrong spi baud rate control settings
8 years ago
Hauke Petersen
23ecb09f12
cpu/stm32f4: added lost port clock eanble
8 years ago
Fabian Nack
dc658f8be0
boards - msbiot: prepare msbiot for new cc110x driver
8 years ago
Simon Brummer
5a4b966d9c
Basic DAC Driver, implementation on stm32f4discovery
8 years ago
BytesGalore
a4d2ee307c
cpu: added `extern "C"` to headers
8 years ago
Hauke Petersen
2220a9fab0
core/cpu/boards: removed fw_puts from RIOT
8 years ago
Hauke Petersen
62b6522e01
cpu: moved reboot_arch for cortex cpus
8 years ago
PeterKietzmann
6d091245a4
Initial import of i2c lowlevel driver for stm32f4
8 years ago
Kaspar Schleiser
9ce0b676b4
core: sys: move ringbuffer to core
8 years ago
BytesGalore
8c5418e9e5
initial support for c++ for this cpu/board
8 years ago
Ian Martin
7bbdbcc7cb
Allow the application's makefile to specify a custom linker script, for example:
...
LINKERSCRIPT = custom-linkerscript.ld
8 years ago
Hauke Petersen
72b68bc9f0
cpu: adjusted IRQ stack sizes for Cortex CPUs
8 years ago
Benjamin Valentin
879768397e
malloc: check if the requested memory is really available
8 years ago
Hinnerk van Bruinehsen
e3aa222d6c
lint: fix nullPointer errors
8 years ago
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.
8 years ago
Hauke Petersen
a51bfeb5d7
SQUASH: cpu/f4: changed order of irq enabling seq
8 years ago
Hauke Petersen
a057f3aa74
SQUASH: cpu: fixed some typos
8 years ago
Hauke Petersen
4546a87ded
cpu/stm32f4: optimized GPIO driver implementation
8 years ago
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
8 years ago
Fabian Nack
45b3da9be7
cpu - multiple: adapt spi drivers to interface extension
8 years ago
PeterKietzmann
4da6329684
cpu/stm32f4 changed SPI-return values to API defs
8 years ago
PeterKietzmann
d481af752f
initial import of stm32f4discovery spi low-level driver
8 years ago
Thomas Eichinger
d0b0af6d81
stm32f*: rename STDIO buffer and enable getchar with UART0
8 years ago
Thomas Eichinger
c83e4cb361
stm32f1: unify UART0 use
8 years ago
Thomas Eichinger
aefa818338
stm32f4: be UART0 aware
8 years ago
Hauke Petersen
3d797d8f4b
cpu/stm32f4: fixed doxygen
8 years ago
Hinnerk van Bruinehsen
129e9b0bfa
cpu: multiple: change size_t to ptrdiff_t for_sbrk_r
9 years ago
Hinnerk van Bruinehsen
57b998e4a1
cpu/examples/sys/drivers: reduce scope of variables
9 years ago
Fabian Nack
edb6a4ddf4
cpu - stm32f4: added support for more channels/devices in periph impls
9 years ago
Fabian Nack
47657ac7d9
cpu - stm32f4: add support for stm32f415rg
9 years ago
Hauke Petersen
373e69e5c9
cpu/stm32f4: added random number generator driver
9 years ago
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.
9 years ago
Hauke Petersen
13894fa70c
cpus: adjusted uart implementations for changed IF
...
- adjusted stm32f0
- adjusted stm32f3
- adjusted stm32f4
- adjusted sam3x8e
- adjusted nrf51822
9 years ago
Hauke Petersen
037820d6a6
board/cpu: adjusted uart driver implementations
...
for
- sam3x8e
- stm32f0
- stm32f4
- sam3x8e
- nrf51822
9 years ago
Hauke Petersen
cc6ee1dc05
board/cpu: added pwm driver for stm32f4discovery
9 years ago
Cenk Gündoğan
3989945679
converting tabs to spaces in cpu ( #1439 )
...
This PR converts tabs to white spaces.
The statement I used for the conversion:
```find . -name "*.[ch]" -exec zsh -c 'expand -t 4 "$0" > /tmp/e && mv /tmp/e "$0"' {} \;```
Afterwards, I had a quick overview of the converted files to prevent odd indentation.
9 years ago
Hauke Petersen
b451de05e4
cpu/board: added ADC driver for stm32f4discovery
9 years ago
Hauke Petersen
2fa9b4de82
cpu: Initial import of stm32f4
9 years ago