Kees Bakker
9fc6cdeae4
boards/sodaq-autonomo: use comma on last element of a list too
2016-10-10 22:03:16 +02:00
Hauke Petersen
b514c2eb09
boards/arduino-zero: adapted periph_conf
...
- changed names of pad selection macros according to
the CPU changes
2016-10-07 11:09:09 +02:00
Hauke Petersen
76b0835d4e
boards/sodaq-autonomo: adapted uart and spi config
...
adjusted names for spi and uart pad selections
2016-10-07 11:09:09 +02:00
Hauke Petersen
93869e5e5b
boards/samr21-xpro: adapted uart and spi config
...
adjusted names for spi and uart pad selections
2016-10-07 11:09:08 +02:00
Francisco Acosta
ba6a8e06b0
Merge pull request #5475 from aabadie/arduino_zero
...
boards/arduino-zero: add initial support
2016-10-06 20:26:33 +02:00
e10fe92027
Merge pull request #5902 from keestux/autonomo-openocd
...
board/sodaq-autonomo: correct openocd configuration
2016-10-04 20:52:48 +02:00
68acc8857e
boards/arduino-zero: add initial support
2016-10-04 18:34:51 +02:00
ab2a255f5e
Merge pull request #5893 from jfbortolotti/nRF52_flashing
...
nRF52: Fix softdevice.hex flashing issue
2016-10-04 14:23:01 +02:00
Kees Bakker
ac11aa70df
board/sodaq-autonomo: correct openocd configuration (with example command)
2016-09-29 22:17:29 +02:00
Jeff Bortolotti
fd87e3dae8
nRF52 Fix softdevice.hex flashing issue
2016-09-29 22:02:36 +02:00
f2c5314643
Merge pull request #5860 from keestux/add-sodaq-autonomo
...
boards: add sodaq autonomo
2016-09-29 22:00:38 +02:00
Peter Kietzmann
d33786d0c7
Merge pull request #5706 from aabadie/nucleo_f446
...
boards: initial support of ST Nucleo f446
2016-09-29 13:25:45 +02:00
Hauke Petersen
fc243f1841
boards: removed some superfluous definitions
...
- removed UART_STDIO_DEV as they use the default value
- removed BTN_B1_PIN for nucleo-207, as its already defined in the common header
2016-09-29 11:21:48 +02:00
Martine Lenders
fc1e974102
Merge pull request #5493 from OlegHahm/silent_valgrind
...
native: let valgrind print the leak summary at the end
2016-09-29 08:41:35 +02:00
Oleg Hahm
7767d5a101
native: enable valgrind's leak summary
2016-09-29 00:37:33 +02:00
Kees Bakker
076d5bda11
boards: add support for SODAQ Autonomo
...
The following features were tested (briefly):
* UART (the first)
* I2C using a BMP180 on a SODAQ TPH board
* SPI0, connected to the on-board serial data flash (only DevID was read
using the periph_spi test program)
* xtimer is working (it's the same code as in samr21)
boards/sodaq-autonomo: Disable the "big" unittests because it does not fit
2016-09-28 18:02:16 +02:00
d93d2e73a3
boards/nucleo-f446: initial support
2016-09-28 17:00:56 +02:00
0e45604765
Merge pull request #5743 from keestux/refactor-samd21
...
Refactor samd21
2016-09-22 14:54:57 +02:00
b2b42c7b71
Merge pull request #5451 from mali/uno
...
boards: add arduino uno and duemilanove support
2016-09-22 09:29:49 +02:00
Laurent Navet
5b8cfb0b58
boards/arduino-common: use software interrupt for context swap
2016-09-21 22:44:05 +02:00
Ludwig Knüpfer
6d30ced410
Merge pull request #5763 from jthacker/avr_thread_arch_isr_stack_usage
...
atmega: use software interrupt for context swap
2016-09-21 21:13:05 +02:00
Laurent Navet
80cf8389a8
boards: add arduino uno and duemilanove support
...
Uno and Duemilanove(atmega328p version) are nearly the same boards.
The only difference is that the Duemilanove use an FTDI usb chip,
while the Uno use an Atmel which acts as USB/Serial converter.
All of the code needed to support these boards is in arduino-common.
2016-09-21 21:11:01 +02:00
Kees Bakker
ea8b90fa5f
cpu/samd21: uart: now using padd setting from board config
...
Notice the extra fields in uart_conf_t for rx_pad and tx_pad.
2016-09-21 20:34:22 +02:00
Kees Bakker
845ef0decd
cpu/samd21: Refactor spi using ArduinoCore as example
...
The pinmux is now part of the board config. The pad setting is done with
clear names instead of numbers.
2016-09-21 20:34:22 +02:00
Kees Bakker
2a4655b6f8
cpu/samd21: rewrite i2c_init_master to make use of gpio_init_sercom
...
The former i2c_init_master was too complicated. It was trying to set IN/OUT
mode of the pins, but all that is needed is to set the proper MUX.
Also the configuration for the boards was incomplete (no MUX, no pad
setting).
It was tested on a SODAQ Autonomo, but not on a samr21-xpro
2016-09-21 20:34:22 +02:00
Kees Bakker
8644b5f7a0
cpu/samd21: introduce sam0.h so that we can select samr21.h or other
...
In the Makefile.include of the board it is required to set the correct
define.
Currently only SAMRG18A is supported, as required by samr21-xpro.
2016-09-21 19:43:30 +02:00
Joakim Nohlgård
0a15d1b2ed
Merge pull request #5838 from gebart/pr/nucleo-f207-mcu-group
...
boards/nucleo-f207: Use cortex_m3_2 MCU_GROUP
2016-09-19 12:55:29 +02:00
Joakim Nohlgård
ee486fd908
Merge pull request #5794 from smlng/pr/fix_osx_5742
...
correcting linker LTO flags on OSX
2016-09-16 17:37:52 +02:00
Joakim Nohlgård
8160717485
boards/nucleo-f207: Use cortex_m3_2 MCU_GROUP
2016-09-16 17:07:14 +02:00
Cenk Gündoğan
674f7a1cf9
Merge pull request #5843 from smlng/pr/boards/nucleo-f207/fixing_cpp11
...
nucleo-f207: fix uart configuration init
2016-09-16 12:10:04 +02:00
smlng
20fd33c927
nucleo-f207: fix uart configuration init
2016-09-15 13:43:57 +02:00
Martine Lenders
8a74475e70
Merge pull request #5761 from mali/rmdeadcode
...
boards/atmega_common: remove dead code on link
2016-09-12 17:01:15 +02:00
smlng
291c1a54eb
native: correcting linker LTO flags for OSX
...
- corrects and enhances changes introduced in #5742
2016-09-12 15:41:38 +02:00
Jon Thacker
e0365e0bf9
atmega: use software interrupt for context swap
...
Fixes #5745
For AVR based boards, three defines must be defined AVR_CONTEXT_SWAP_INIT,
AVR_CONTEXT_SWAP_INTERRUPT_VECT, and AVR_CONTEXT_SWAP_TRIGGER.
These defines are used to trigger a software interrupt used for context
switching.
When AVR_CONTEXT_SWAP_INTERRUPT_VECT is handled, the scheduler is run
and a context swap will happen if necessary, with the resulting thread
starting following the reti instruction. This results in threads running
at normal priority instead of at interrupt priority.
Atmega devices do provide a pure software interrupt. The method used
here for waspmote-pro and arduino-mega2560 is to use pin change
interrupts, set the pin to act as an output, and toggle the value to
simulate a software interrupt. The main limitation here is that a
physical pin is now occupied and must be defined for each board
supported by RIOT. On the plus side, it provides an easy method for
detecting context swaps with an oscilloscope.
2016-09-07 14:35:53 -05:00
Laurent Navet
3a7e3f4cb7
boards/waspmote-pro: adapt compilation flags
...
Remove flags which are now exported in atmega_common
2016-08-31 21:34:01 +02:00
Laurent Navet
5791a38668
boards/arduino-mega2560: adapt compilation flags
...
Remove flags which are now exported in atmega_common
2016-08-31 21:32:10 +02:00
26e4004de4
Merge pull request #5397 from OTAkeys/pr/stm32f2xx
...
cpu: add stm32f2xx family support (based on #4497 )
2016-08-31 21:14:37 +02:00
kYc0o
5e3747ea8b
Merge pull request #5590 from mali/atmega_common
...
cpu/atmega_common: improve to add smaller atmega MCUs.
2016-08-31 18:29:53 +02:00
PeterKietzmann
5eafb071a6
dist/tools/cc2538-bsl: enforce python2
2016-08-30 23:38:14 +02:00
Peter Kietzmann
8264f41e91
Merge pull request #5708 from aabadie/nucleo_saul_support
...
boards/nucleo-common: add saul support for on-board user led and button
2016-08-30 17:14:17 +02:00
Joakim Nohlgård
455fb6cd4d
Merge pull request #5742 from kaspar030/fix_lto
...
LTO fixes
2016-08-29 19:00:09 +02:00
3bb782f864
boards/nucleo-common: add saul support for on-board user led and button
2016-08-29 10:56:54 +02:00
b3a061e0ab
sys: remove config module
2016-08-27 07:57:09 +02:00
Laurent Navet
2cd918a07a
atmega_common: abstract Power Reduction Register
...
PR Register is PRR0 on atmega2560 and atmega1281
but PRR on atmega328p.
this abstracts as atmega Power Reduction Register as MEGA_PRR.
2016-08-20 12:21:32 +02:00
Joakim Nohlgård
4d95f8a0ba
boards/x86-multiboot-common/Makefile.include: Add -Wl,--gc-sections to linker options
2016-08-10 16:18:29 +02:00
Joakim Nohlgård
db55740447
boards/arduino-mega2560: Add -Wno-error if building with LTO
2016-08-10 16:18:29 +02:00
Joakim Nohlgård
5fcb09f6b9
boards/native/Makefile.include: Add -Wl,--gc-sections to linker options
2016-08-10 16:18:29 +02:00
Joakim Nohlgård
efedaa1a43
boards/x86-multiboot-common: Use gcc-ar when building with LTO
2016-08-10 16:18:29 +02:00
Joakim Nohlgård
0e5522950a
boards/native: Use gcc-ar when building with LTO
2016-08-10 16:18:29 +02:00
Martine Lenders
8dac0787bb
Merge pull request #5655 from haukepetersen/add_due_saulmapping
...
boards/arduino-due: export LED via SAUL
2016-08-05 14:15:46 +02:00