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

9 Commits

Author SHA1 Message Date
4b15cc635e cpu: stm32f4: use periph_common SPI functions 2015-08-14 14:46:35 +02:00
Joakim Gebart
18ea5561f8 stm32f4: spi_transfer_bytes fix sign-compare, reduce scope 2015-05-29 14:23:02 +02:00
Hauke Petersen
70a5df67a5 cpu/stm32f4: made SPI driver thread safe 2015-01-17 15:13:51 +01:00
Fabian Nack
672a362f2e cpu/stm32f4: Corrected wrong spi baud rate control settings 2015-01-16 09:24:48 +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
Hauke Petersen
616ff64929 Merge pull request #1771 from PeterKietzmann/correct_stm32f4_spi_return_values
cpu/stm32f4: Changed SPI return values to API definitions
2014-10-24 15:37:22 +02:00
Fabian Nack
45b3da9be7 cpu - multiple: adapt spi drivers to interface extension 2014-10-16 17:47:10 +02:00
PeterKietzmann
4da6329684 cpu/stm32f4 changed SPI-return values to API defs 2014-10-07 12:16:37 +02:00
PeterKietzmann
d481af752f initial import of stm32f4discovery spi low-level driver 2014-09-30 13:18:27 +02:00