Joakim Gebart
21fc1bd7a6
cpu/stm32f1: Reduce scope of ret variable in spi_transfer_bytes.
...
Reduced scope to inside the while loop as per comments in RIOT-OS/RIOT#1630
Signed-off-by: Joakim Gebart <joakim@gebart.se>
2014-09-03 10:28:33 +02:00
Joakim Gebart
a12b879027
cpu/stm32f1: spi_transfer_bytes proper counting.
...
The transferred bytes were being counted more than once because of a +=
when calling spi_transfer_byte().
This patch should also handle errors from spi_transfer_byte() better
since it is now possible to detect errors _after_ the first byte has
been successfully sent.
Signed-off-by: Joakim Gebart <joakim@gebart.se>
2014-09-02 17:17:21 +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