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

193 Commits

Author SHA1 Message Date
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
65520865b1 cpu/stm32f1: adjusted to RTT interface changes 2014-11-07 12:29:31 +01:00
Hauke Petersen
72b68bc9f0 cpu: adjusted IRQ stack sizes for Cortex CPUs 2014-11-06 15:16:33 +01:00
Thomas Eichinger
d43367e0a2 cpu/stm32f1: fix wrong bit operation in SPI init 2014-11-06 15:09:35 +01:00
benpicco
cedc588d77 Merge pull request #1782 from benpicco/fix_malloc
check if the requested memory is really available in _sbrk_r
2014-11-05 13:21:40 +01:00
Benjamin Valentin
879768397e malloc: check if the requested memory is really available 2014-11-05 12:11:24 +01:00
Hauke Petersen
ac2ff23020 cpu/stm32f1: fixes to i2c driver
- fixes BUSY on initialization
2014-11-04 21:09:40 +01:00
Thomas Eichinger
76d0d6c4a2 cpu/stm32f1: fixes for the cpuid driver 2014-11-04 13:11:30 +01:00
Christian Mehlis
f3b1753ac7 added spark core board 2014-11-02 14:36:42 +01:00
Hinnerk van Bruinehsen
9ba980dfd9 cpu: stm32f1 spi: fix typos 2014-10-31 01:24:32 +01:00
Hinnerk van Bruinehsen
aca4724447 lint: fix warnings of possible nullPointer dereferences 2014-10-31 01:24:30 +01:00
Hinnerk van Bruinehsen
a5aeaab87b lint: fix unreadVariable warnings 2014-10-31 01:24:30 +01:00
Hinnerk van Bruinehsen
2103249815 lint: fix unassignedVariable warnings in stm32f1 2014-10-31 01:24:28 +01:00
Hauke Petersen
56062b0f23 Merge pull request #1872 from thomaseichinger/stm32f1-i2c-multibyte-fix
cpu/stm32f1: fix i2c master read for N=2 and N>2 bytes
2014-10-30 23:24:00 +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
Thomas Eichinger
ede33a6364 cpu/stm32f1: fix i2c read for N=2 bytes 2014-10-24 14:48:31 +02:00
Thomas Eichinger
414be5257d cpu/stm32f1: fix i2c master read for N>2 bytes
This fixes reading more than 2 bytes from the slave device.
In the current implementation the last byte was not read from
data register and the termination sequence buggy.
2014-10-24 14:08:27 +02: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
Fabian Nack
45b3da9be7 cpu - multiple: adapt spi drivers to interface extension 2014-10-16 17:47:10 +02:00
Hauke Petersen
0fed9a438c cpu/stm32f1: added low-level I2C driver 2014-10-15 14:50:14 +02:00
Thomas Eichinger
420f20f4bc cpu/stm32f1: overwrite HWTIMER_WAIT_OVERHEAD 2014-10-10 11:43:02 +02:00
Thomas Eichinger
19db6ded85 cpu/stm32f1:board/iot-lab_M3: fix and cleanup for GPIO low level driver 2014-10-10 11:42:08 +02:00
Thomas Eichinger
a16d326bf0 stm32f1: implement RTT driver 2014-10-09 11:13:06 +02:00
Hauke Petersen
f3d8f05d6e cpu/stm32f1: fixed gpio driver
- changed #ifdef to #if for device filter
- guarded file in case no GPIO device is defined
- added guards around interrupts
2014-10-01 22:01:46 +02:00
Thomas Eichinger
fccfce2d59 stm32f1: implement 32bit hwtimer by cascading two timers 2014-10-01 20:54:14 +02:00
Hauke Petersen
25c891ecdd Merge pull request #1736 from haukepetersen/fix_stm32f1_somecleanup
board/iot-lab_M3: cleanup of SPI and radio driver
2014-09-30 12:02:42 +02:00
Hauke Petersen
c7807517da cpu/stm32f1: added clock config to cpu.c 2014-09-30 11:25:56 +02:00
Hauke Petersen
6ee15ea6df cpu/stm32f1: cleanup in SPI driver
- made config more versatile
- added pin configuration to spi_init()
2014-09-30 11:19:16 +02:00
Thomas Eichinger
d0b0af6d81 stm32f*: rename STDIO buffer and enable getchar with UART0 2014-09-26 14:16:59 +02:00
Thomas Eichinger
c83e4cb361 stm32f1: unify UART0 use 2014-09-26 14:16:59 +02:00
Hauke Petersen
d7741efa03 cpu/stm32f1: added missing spi function 2014-09-25 14:25:04 +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
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