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

1645 Commits

Author SHA1 Message Date
Emmanuel Baccelli
d588c62508 Merge pull request #5925 from kYc0o/fix_usb_m3_mac
boards/iotlab-common: small fix to select right serial port
2016-10-20 12:19:30 +02:00
Martine Lenders
bef0231133 Merge pull request #5891 from kaspar030/improve_module_deps
make: improve module dependencies
2016-10-19 12:50:37 +02:00
560a509036 make: remove trailing slash from BINDIR variable 2016-10-18 23:27:59 +02:00
Hauke Petersen
c9788838fd Merge pull request #5917 from PeterKietzmann/telosb_add_cc2420
boards/telosb: add cc2420 configuration
2016-10-17 09:21:55 +02:00
3f29e77a4c boards/nucleo-f030: initial support 2016-10-12 14:32:25 +02:00
kYc0o
4c69ae8463 boards/iotlab-common: small fix to select right serial port 2016-10-11 15:23:37 +02:00
Kees Bakker
9fc6cdeae4 boards/sodaq-autonomo: use comma on last element of a list too 2016-10-10 22:03:16 +02:00
PeterKietzmann
5c1c61d634 boards/telosb: add cc2420 configuration 2016-10-07 17:06:56 +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
10e9336c78 boards: adapt to automatically included boards/$board/Makefile.dep 2016-09-29 15:41:12 +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
Ian Martin
abae801105 cpu/cc2538/periph/timer overhaul. support 16-bit and 32-bit modes 2016-08-16 15:07:26 -04: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
Joakim Nohlgård
1ea462643f chronos: Fix stdio warnings 2016-08-02 09:19:29 +02:00
kYc0o
e443b90815 Merge pull request #5452 from locicontrols/find-tty
Adjust find-tty.sh to return all matches, then use it in boards/cc2538dk
2016-07-22 16:01:46 +02:00
Hauke Petersen
1a34cf66c0 boards/arduino-due: export LED via SAUL 2016-07-18 12:49:06 +02:00
Peter Kietzmann
592530985f Merge pull request #5555 from basilfx/feature/arch_pro
boards: seeeduino_arch-pro: initial support based on mbed_lpc1768
2016-07-17 19:03:40 +02:00
Martine Lenders
4ac7d81420 Merge pull request #5634 from kaspar030/nordic_softdevice
nrf52dk: add BLE/6lo support utilizing Nordic's SoftDevice
2016-07-16 16:57:29 +02:00
Bas Stottelaar
b800da4322 boards: seeeduino_arch-pro: initial support based on mbed_lpc1768 board 2016-07-16 11:47:34 +02:00
e012df1bac nrf52dk: add BLE/6lo support utilizing Nordic's SoftDevice 2016-07-13 17:06:57 +02:00
Bas Stottelaar
43f146663e boards: arduino-mega2560, waspmote-pro: garbage collect dead code in linker options 2016-07-13 16:45:13 +02:00
Aaron Sowry
f5657127ea boards/remote-common: Add RF driver as dependency for board 2016-07-13 14:19:52 +12:00
Aaron Sowry
bc18e597c0 boards/cc2538dk: Add RF driver as dependency for board 2016-07-13 14:19:52 +12:00
Aaron Sowry
4b4cbb0317 boards/openmote-cc2538: Add RF driver as dependency for board 2016-07-13 14:19:52 +12:00
Joakim Nohlgård
683e1e2e08 boards/nucleo-f072: Use common serial and openocd defines 2016-07-12 10:58:52 +02:00
Joakim Nohlgård
8dad08289c boards/mulle: Update timer configuration to match driver modifications 2016-07-07 13:38:28 +02:00
Joakim Nohlgård
647d90c44f boards/frdm-k64f: Update configuration to match driver changes 2016-07-07 13:38:27 +02:00
Joakim Nohlgård
54d1c2323c boards/pba-d-01-kw2x: Update configuration to match driver changes 2016-07-07 13:38:27 +02:00
1c6c447493 Merge pull request #5607 from gebart/pr/xtimer-cleanups
xtimer: Code refactoring and clean ups
2016-07-07 06:37:50 +02:00
Joakim Nohlgård
4d862955c2 xtimer: Rename XTIMER -> XTIMER_DEV 2016-07-06 22:23:04 +02:00
46bd2f45d9 sys: xtimer: replace XTIMER_MASK with XTIMER_WIDTH in board config 2016-07-06 18:16:15 +02:00
Hauke Petersen
dfe52cfd8c boards/telosb: added support for CC2420 2016-07-06 18:14:48 +02:00
Hauke Petersen
204702897b boards/z1: add support for CC2420 radio 2016-07-06 18:14:48 +02:00
PeterKietzmann
9a7c67411f boards/samr21-xpro:fix SPI_1 DIPO config 2016-07-06 09:27:25 +02:00
kYc0o
62a9773a9c boards/waspmote-pro: add support for Waspmote PRO v1.2 2016-07-05 13:05:12 +02:00
Antonio Lignan
8d07c01085 boards/remote: added revision A and remote-common folder 2016-06-29 17:19:24 +02:00
kYc0o
abba25e068 boards/arduino-mega2560: define UART for STDIO 2016-06-22 14:25:10 +02:00
Hauke Petersen
a2ddb1dd7f boards/atmega2560: adapted UART configuration 2016-06-08 18:32:17 +02:00
kYc0o
69b1ef3a41 Merge pull request #5167 from aabadie/iotlab-a8-m3
board: port to iotlab M3 of A8
2016-06-06 15:08:32 +02:00
Martine Lenders
9b1ad7820c Merge pull request #5491 from MohmadAyman/isr_stack_usage
cpu: add capability to show stack usage of ISR
2016-06-02 12:31:06 +02:00
MohmadAyman
720136491a cpu: unify naming of ISR stacksize macro 2016-06-01 22:47:34 +02:00
Martine Lenders
c4eab34b99 Merge pull request #5387 from OTAkeys/quiet_gdb
make debug: start gdb quietly
2016-06-01 18:38:31 +02:00
Cedric Adjih
292f4bc1ee boards/iotlab-a8-m3: initial implementation 2016-05-31 14:52:49 +02:00
Ian Martin
9faf55a27b boards/cc2538dk: use find-tty.sh to locate the board by serial number 2016-05-18 15:33:02 -04:00
Ian Martin
b1946e6715 dist: tools: let find-tty.sh return all matches, not just the first 2016-05-18 15:33:01 -04:00
Peter Kietzmann
5817d91b91 Merge pull request #5192 from DipSwitch/pr/fix_stm32f1_also_disable_hsi_on_hse
cpu/stm32f1: Disable HSI when using the HSE as system clock
2016-05-17 10:51:46 +02:00
Andreas "Paul" Pauli
9bac1013e7 Merge pull request #5363 from yogo1212/cc2650stk_xtimer_shift
cc2650stk: remove XTIMER_SHIFT_ON_COMPARE definition
2016-04-26 21:42:59 +02:00
Peter Kietzmann
9931f4c902 Merge pull request #5337 from gebart/pr/mulle-pta17-adc
boards/mulle: PTA17 analog input is on ADC1 module
2016-04-26 20:35:34 +02:00
Toon Stegen
cf431e696c make debug: start gdb quietly 2016-04-22 12:00:10 +02:00
Johann F
e2b5468b84 boards/pba-d-01-kw2x/board.c: fix leds default state
Signed-off-by: Johann F <j.fischer@phytec.de>
2016-04-21 22:23:44 +02:00
kYc0o
ac724f00ba Merge pull request #4435 from thomaseichinger/pr/mulle_serial_port_osx
boards/mulle: mulle boards' serial port is derived from its serial nr
2016-04-20 18:46:31 +02:00
Leon M. George
dbfb926543 cc2650stk: remove XTIMER_SHIFT_ON_COMPARE definition 2016-04-20 10:16:19 +02:00
Hauke Petersen
c0f76f22d3 Merge pull request #4675 from yogo1212/cc2650stk_pr
board-support: cc2650stk
2016-04-19 13:35:21 +02:00
Leon M. George
cc954761b3 boards: add cc2650stk 2016-04-18 19:00:49 +02:00