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

679 Commits

Author SHA1 Message Date
Hauke Petersen
26dfa7c89c Merge pull request #1464 from PeterKietzmann/stm32f4_spi_driver
Initial Stm32f4 spi driver
2014-09-30 13:40:01 +02:00
PeterKietzmann
d481af752f initial import of stm32f4discovery spi low-level driver 2014-09-30 13:18:27 +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
Ludwig Ortmann
f539f30691 Merge pull request #1698 from Kijewski/ssize_t-for-all
core: Provide ssize_t in a common place
2014-09-27 00:26:34 -07: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
Thomas Eichinger
fc3864756f stm32f3: be UART0 aware 2014-09-26 14:16:31 +02:00
Thomas Eichinger
aefa818338 stm32f4: be UART0 aware 2014-09-26 14:16:31 +02:00
Thomas Eichinger
8fc2e61e20 stm32f0: be UART0 aware 2014-09-26 14:16:31 +02:00
René Kijewski
4e50d74272 core: Provide ssize_t in a common place
Now you can include `kernel_types.h` if you need the `ssize_t`, without
 facing problems due to the terrible MSP toolchain.
2014-09-26 14:04:30 +02:00
Thomas Eichinger
bf256f63a3 samr21-xpro: initial import for the samr21-xpro board 2014-09-25 14:37:47 +02:00
Hauke Petersen
d7741efa03 cpu/stm32f1: added missing spi function 2014-09-25 14:25:04 +02:00
Hauke Petersen
934eb44c13 Merge pull request #1488 from haukepetersen/add_stm32f0_spi
board/cpu: added SPI driver for the stm32f0discovery
2014-09-25 11:59:11 +02:00
Ludwig Ortmann
bd0ff3712e Merge pull request #1706 from locicontrols/sam3x8e-break
cpu/sam3x8e bug: missing break statements in gpio_set() and gpio_clear()
2014-09-25 01:42:46 -07:00
René Kijewski
d4f144eb47 Add license statement to {msp430_types,net_help}.h 2014-09-25 10:14:58 +02:00
Ian Martin
ab3b731ca8 cpu/sam3x8e bug: missing break statements in gpio_set() and gpio_clear() 2014-09-24 14:26:36 -04:00
Hauke Petersen
3d797d8f4b cpu/stm32f4: fixed doxygen 2014-09-24 17:51:37 +02:00
Hauke Petersen
127095ada0 [SQUASH ME] cpu: removed slave mode 2014-09-24 15:41:48 +02:00
Hauke Petersen
cdb335e21d [SQUASH ME] stm32f0: substantial fixes to SPI driver 2014-09-24 15:41:48 +02:00
Hauke Petersen
7904076668 cpu: mini cleanup to spi driver 2014-09-24 15:41:48 +02:00
Hauke Petersen
7d5b3263d5 SPI: more fixes including DEBUG info 2014-09-24 15:41:48 +02:00
Hauke Petersen
ff4854341a [SQUASH ME] finished 0.1 of spi driver 2014-09-24 15:41:47 +02:00
Hauke Petersen
c494e3ab09 board/cpu: added SPI driver for stm32f0discovery 2014-09-24 15:41:47 +02:00
Hauke Petersen
34aaa61eb0 Merge pull request #1486 from haukepetersen/fix_sam3x_finish_gpio
cpu/boards: completed GPIO driver for sam3x8e
2014-09-19 13:21:09 +02:00
Hauke Petersen
4411b6b53f cpu/nrf51822: adjusted default stack sizes 2014-09-19 13:02:23 +02:00
Ludwig Ortmann
d7cdc85758 Merge pull request #1677 from LudwigOrtmann/headers
doc: add license headers to some .h files
2014-09-18 10:47:30 -07:00
Hauke Petersen
50ba74b7dc cpu/boards: completed GPIO driver for sam3x8e
- adjusted peripheral conf for udoo and arduino-due
- added gpio_init_int()
- added interrupt service routines
- fixed gpio_read()
- added clock enable for gpio_init_in()
2014-09-18 18:29:02 +02:00
Ludwig Ortmann
289c4c0ee4 doc: add license headers to some .h files 2014-09-18 17:45:11 +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
d5fe9de5e5 cpu: change __ASM to asm (cppcheck uninitvar error) 2014-09-17 00:20:20 +02:00
Ludwig Ortmann
651cb6ca9f doc: tailor CMSIS doxygen for license checker
Remove '@par' within the license header to allow the existing regular
expression to match it.
2014-09-15 08:27:59 +02:00
René Kijewski
ba07d6a5a2 Merge pull request #1664 from N8Fear/unsignedLessThanZero
lint: _sbrk_r: change parameter type from size_t to ptrdiff_t
2014-09-14 23:33:17 +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
Hinnerk van Bruinehsen
9933dd0b78 cpu: arm/cortex-mX/atmega: use uintptr_t for sp cast 2014-09-14 02:34:04 +02:00
Hinnerk van Bruinehsen
4d2ca13fcf lint: lpc1768/msp430: remove arith ops on void ptrs 2014-09-14 02:33:44 +02:00
Hinnerk van Bruinehsen
68e3e68ce1 Merge pull request #1657 from N8Fear/scope
lint: reduce scope (2)
2014-09-13 20:06:45 +02:00
Hinnerk van Bruinehsen
57b998e4a1 cpu/examples/sys/drivers: reduce scope of variables 2014-09-13 19:03:40 +02:00
Oleg Hahm
fa8c70bbb8 Merge pull request #1618 from rousselk/msp430-fix-thread-yield
Fix thread_yield() on MSP430 platforms
2014-09-12 20:14:18 +02:00
Hinnerk van Bruinehsen
5aa9b8449b cpu: lpc_common: reduce indentation level in iap.c 2014-09-12 11:50:12 +02:00
René Kijewski
0cc699c0ce lint: reduce scope
Fix some lint warnings of kind
```
style (variableScope): The scope of the variable '…' can be reduced
```
2014-09-12 11:50:12 +02:00
Kévin Roussel
a691d0798a Fixed comments 2014-09-09 13:18:39 +02:00
Hinnerk van Bruinehsen
3d686c7cf1 cpu: atmega: doxygen: blacklist upstream headers 2014-09-06 12:38:04 +02:00
Ludwig Ortmann
3d29a9e3d3 native: add support for Linux on ARM 2014-09-04 16:39:33 +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
Fabian Nack
edb6a4ddf4 cpu - stm32f4: added support for more channels/devices in periph impls 2014-09-01 21:29:56 +02:00
Fabian Nack
47657ac7d9 cpu - stm32f4: add support for stm32f415rg 2014-09-01 21:29:56 +02:00
Kévin Roussel
4421de003b Fix the race condition when an interruption occured at the beginning
of thread_yield(), i.e.: just after SR(R2) was pushed but before
the rest of the suspended thread's context was pushed!
2014-08-29 15:09:23 +02:00