Joakim Nohlgård
142c28094e
kinetis_common: Refactor GPIO implementation
...
This is a rewrite of the Kinetis GPIO driver which follows the
refactored API in [1]. Pins are specified using the GPIO_PIN(PORT_x, y)
macro, e.g. GPIO_PIN(PORT_E, 25) for the PTE25 pin.
The interrupt pin handling is now implemented as a linked list, this
is more memory efficient, but with a minor variation in interrupt
latency depending on in what order the pins were initialized at
runtime.
Because the linked list entries are taken from a shared pool, there is
also the possibility of running out of available configuration slots,
define the preprocessor macro GPIO_INT_POOL_SIZE in periph_conf.h if
you need more than 16 pins configured for interrupts in the same
application.
[1]: https://github.com/RIOT-OS/RIOT/pull/3095
2015-10-28 14:12:19 +01:00
Hauke Petersen
aa216b585e
board/udoo: adjusted UART configuration
2015-10-28 12:05:35 +01:00
Hauke Petersen
8c38ccdb99
boards/arduino-due: adjusted UART configuration
2015-10-28 12:05:35 +01:00
Hauke Petersen
20a5571640
boards: added support for SiLabs SLWSTK6220A
2015-10-28 11:33:44 +01:00
Hauke Petersen
e17ab3df4a
make: added common JLink Makefile for boards
2015-10-28 11:19:38 +01:00
Lucas Jenss
d80f18de0b
Minor usability improvements for samr21 usage
2015-10-27 19:43:40 +01:00
Hauke Petersen
ddb8765ee4
boards/z1: adjusted to UART changes
2015-10-27 14:59:39 +01:00
Hauke Petersen
49efe3f611
boards/wsn430-v1_4: adjusted to UART changes
2015-10-27 14:59:39 +01:00
Hauke Petersen
fe7e2d1a97
boards/wsn430-v1_3b: adjusted to UART changes
2015-10-27 14:59:39 +01:00
Hauke Petersen
0e1e16d67f
boards/wsn430-common: adjusted to UART changes
2015-10-27 14:59:39 +01:00
Hauke Petersen
c62f39aa54
boards/telosb: adjusted to UART changes
2015-10-27 14:59:39 +01:00
Hauke Petersen
bfdc3e2f95
boards/pttu: adjusted to UART changes
2015-10-27 14:59:39 +01:00
Hauke Petersen
eb46b6b80d
boards/msba2: adjusted to UART changes
2015-10-27 14:59:38 +01:00
Hauke Petersen
a4372ce514
boards/msb-430h: adjusted to UART changes
2015-10-27 14:59:38 +01:00
Hauke Petersen
a8502e2991
boards/msb-430: adjusted to UART changes
2015-10-27 14:59:38 +01:00
Hauke Petersen
d4c2ee62b4
boards/avsextrem: adjusted to UART changes
2015-10-27 14:59:37 +01:00
Hauke Petersen
0f3e6fd5b9
boards/arduino-due: adapted to UART changes
2015-10-27 14:59:37 +01:00
Hauke Petersen
2bf8136168
boards/yunjia-nrf51822: adapted to UART changes
2015-10-27 14:59:37 +01:00
Hauke Petersen
e7f9b5b4f6
boards/pca10005: adapted to UART changes
2015-10-27 14:59:37 +01:00
Hauke Petersen
86072b1f6d
boards/pca10000: adapted to UART changes
2015-10-27 14:59:37 +01:00
Hauke Petersen
ab2fb1f095
boards/nrf51dongle: adapted to UART changes
2015-10-27 14:59:37 +01:00
Hauke Petersen
c5d67b69fc
boards/airfy-beacon: adapted to UART changes
2015-10-27 14:59:37 +01:00
Hauke Petersen
63b37640b6
s board/periph_conf: added some spaces
2015-10-27 12:28:32 +01:00
Ludwig Knüpfer
01b3486edc
boards: add ADC definitions to periph_conf
2015-10-25 14:30:35 +01:00
Ludwig Knüpfer
0b5918003f
cpu/nrf51 + boards: fix typo - TIEMER -> TIMER
2015-10-25 08:07:21 +01:00
Hauke Petersen
83b322f9ce
s board: fixes
...
- moved pwm_conf[_chan]_t to periph_cpu.h
- fixed comments for channel definitions
2015-10-23 11:41:04 +02:00
Hauke Petersen
d70d59592e
boards/samr21-xpro: adjusted PWM pin configuration
2015-10-23 11:41:04 +02:00
Hauke Petersen
d8cefaf97f
Merge pull request #4080 from thomaseichinger/pr/openmote-fix-flasher
...
boards/openmote: This board *doesn't* use openocd
2015-10-23 11:16:40 +02:00
Peter Kietzmann
c59f2450a7
Merge pull request #4133 from gebart/pr/mulle-xtimer-init
...
mulle: Initialize xtimer early to support nvram usage in board_init
2015-10-22 11:49:02 +02:00
Peter Kietzmann
24a82833f1
Merge pull request #4128 from haukepetersen/opt_boards_makefeat
...
boards: cleaned up entries in Makefile.features
2015-10-22 11:05:45 +02:00
Joakim Nohlgård
043deca350
mulle: Initialize xtimer early to support nvram usage in board_init
2015-10-22 07:54:25 +02:00
Peter Kietzmann
fc539573a4
Merge pull request #3485 from gebart/pr/mulle-nvram
...
mulle: Initialize NVRAM storage at boot, update boot counter
2015-10-21 18:01:23 +02:00
Hauke Petersen
528e832c90
boards: cleaned up entries in Makefile.features
2015-10-21 16:45:21 +02:00
Hauke Petersen
c24028f408
boards/samr21-xpro: rm unused radio interface defs
2015-10-21 14:14:06 +02:00
Paul Rathgeb
df68ac9f79
cpu/lpc11u34 : Added SPI for NXP LPC11U34 (SPI_0 and SPI_1)
...
make: Blacklisted 'weio' in driver_at86rf2xx and driver_kw2xrf due to insufficient memory
2015-10-16 17:28:09 +02:00
Thomas Eichinger
02e2d8c353
Merge pull request #4084 from ks156/adc
...
cpu/lpc11u34 : Added ADC support for LPC11U34
2015-10-14 10:22:09 +02:00
Paul Rathgeb
c2d8d27322
cpu/lpc11u34 : Added ADC support for LPC11U34
2015-10-13 21:45:17 +02:00
Joakim Gebart
22af0cca80
mulle: Initialize NVRAM storage at boot, update boot counter
...
The boot counter is incremented on each boot. Still missing is an
interface for reading the boot counter from an application.
2015-10-13 18:19:34 +02:00
Hauke Petersen
e395dfd91e
boards: s/GPIO(x,y)/GPIO_PIN(x,y)/
2015-10-13 14:59:53 +02:00
Thomas Eichinger
c0782d68e8
Merge pull request #4070 from thomaseichinger/hauke_fix_l1_uartpins
...
cpu/stm32l1: cleaned up UART pin configuration slightly
2015-10-13 11:37:12 +02:00
Thomas Eichinger
f4a6293858
boards/openmote: This board *doesn't* use openocd
2015-10-12 18:09:27 +02:00
Hauke Petersen
cdcdd185af
boards/nucleo-l1: adapted UART configuration
2015-10-10 13:24:28 +02:00
Paul Rathgeb
8b97ef12d5
cpu/lpc11u34 : Add CPUID support and added this capability to board/weio
2015-10-10 09:23:45 +02:00
Paul Rathgeb
01e5c056d9
cpu/lpc11u34 : Added PWM support for the NXP LPC11U34
...
and added PWM capabilities to the board WeIO
2015-10-08 15:37:38 +02:00
Paul Rathgeb
c1a3c729ff
board/weio : Added a new board definition for WeIO (www.we-io.net)
...
This board use a NXP LPC11U34
2015-10-01 20:11:26 +02:00
669043c435
Merge pull request #3973 from daniel-k/pr/samr21-xpro_tty
...
samr21-xpro: connect to correct tty when given SERIAL with make term
2015-09-29 12:44:34 +02:00
Ludwig Knüpfer
eda6328e21
documentation: update my name (Ortmann -> Knüpfer)
2015-09-27 18:58:30 +02:00
daniel-k
eb144530d8
samr21-xpro: connect to correct tty when given SERIAL
2015-09-25 17:39:09 +02:00
d9414fdab4
cpu: msp430fxyz: switch back to uart_stdio
2015-09-25 11:09:19 +02:00
Hauke Petersen
187e318da9
Merge pull request #3912 from thomaseichinger/pr/samr21-xpro_serial_port
...
boards/samr21-xpro: define serial port for OS X
2015-09-24 18:01:46 +02:00
63acf0bb19
boards: msba2: add cc110x support
2015-09-23 18:56:00 +02:00
Hauke Petersen
712a096de3
boards/nucleo-l1: added xtimer configuration
2015-09-22 14:06:39 +02:00
Hauke Petersen
92ee5d9562
boards/limifrog-v1: adjusted timer configuration
2015-09-22 12:30:41 +02:00
Hauke Petersen
c7d089d231
boards/nucleo-l1: adjusted timer configuration
2015-09-22 12:30:41 +02:00
Thomas Eichinger
36d3d9c4cd
boards/samr21-xpro: define serial port for OS X
2015-09-21 15:04:07 +02:00
Joakim Nohlgård
98c465008b
all: Update @gebart family name, email
2015-09-20 13:47:39 +02:00
Hauke Petersen
fc3c0f373c
Merge pull request #3780 from haukepetersen/add_test_periph_timer
...
tests: added test for periph_timer plus adaption
2015-09-18 18:03:32 +02:00
Oleg Hahm
37c4d52620
Merge pull request #3880 from haukepetersen/rm_hwtimer_leftovers
...
boards/core: removed some hwtimer leftovers
2015-09-18 10:28:27 +02:00
Hauke Petersen
1d393fae87
baords: s/TIMER_DEV/TIMER_BASE/ for kinetis boards
2015-09-17 13:57:58 +02:00
Hauke Petersen
a3e11cad93
boards: s/TIMER_DEV/TIMER_BASE/ for msp430 boards
2015-09-17 13:57:58 +02:00
Thomas Eichinger
d339a84059
msb-430: add missing SPI periph_conf definitions
2015-09-17 11:32:38 +02:00
Thomas Eichinger
c9dcb160bd
wsn430-common: add SPI periph_conf definitions
2015-09-17 11:32:38 +02:00
Thomas Eichinger
8e29c56e53
telosb: add SPI periph_conf definitions
2015-09-17 11:32:38 +02:00
Hauke Petersen
ce6b1d390a
boards/z1: added SPI configuration
2015-09-17 11:32:38 +02:00
Hauke Petersen
fd693ee092
boards/msb-430h: added SPI configuration
2015-09-17 11:32:38 +02:00
Thomas Eichinger
92cd6dfcba
Merge pull request #3866 from haukepetersen/opt_msp430_board_makefiles
...
boards: Makefile cleanup for MSP430 based boards
2015-09-17 11:30:40 +02:00
Hauke Petersen
6398abda06
boards/mulle: removed comment about hwtimer
2015-09-17 11:26:34 +02:00
Hauke Petersen
18e364ae17
boards: removed deprecated HW_TIMER defines
2015-09-17 11:22:03 +02:00
Martine Lenders
2184c97002
Merge pull request #3838 from haukepetersen/opt_samuart
...
cpu/samd21: optimized and extended UART impl.
2015-09-17 03:39:36 +02:00
Hauke Petersen
bf3e2eb258
boards/telosb: Makefile cleanup
2015-09-16 18:08:25 +02:00
Hauke Petersen
6f5786d08d
boards/wsn-430xxx: Makefile cleanup
2015-09-16 18:08:25 +02:00
Hauke Petersen
c531d157e3
boards/msb-430xx: Makefile cleanup
2015-09-16 18:08:25 +02:00
Hauke Petersen
81bba6bcdc
boards/chronos: Makefile cleanup
2015-09-16 18:05:32 +02:00
Hauke Petersen
13aa0ffe12
boards/z1: Makefile cleanup
2015-09-16 17:16:53 +02:00
Hauke Petersen
a07bff47a8
boards: added shared Makefile.inc for msp430 boards
2015-09-16 17:06:08 +02:00
Hauke Petersen
e98a22619a
boards: fixed xtimer defines for nrf24 based boards
2015-09-16 12:34:34 +02:00
cb253da235
boards: stm32f4discovery: add xtimer configuration
2015-09-16 12:34:34 +02:00
44cdec0e1e
boards: msp430*: added (x)timer XTIMER_SHIFT_ON_COMPARE values
2015-09-16 11:13:41 +02:00
534290fb5b
board: arduino-mega2560: add xtimer configuration values
2015-09-16 11:13:41 +02:00
Hauke Petersen
8d89b95af5
boards: added missing periph_timer feature
2015-09-16 10:58:56 +02:00
80e038045d
boards: nucleo-f334: update xtimer tuning values
2015-09-16 10:58:55 +02:00
cbb7750202
boards: msba2: add xtimer tuning values, remove HW_TIMER define
2015-09-16 10:58:55 +02:00
1c9e46b55d
boards: iotlab-m3: add xtimer tuning values
2015-09-16 10:58:55 +02:00
c581e884a7
boards: z1: remove hwtimer from board.h
2015-09-16 10:58:53 +02:00
e97553537b
boards: wsn430-v1_4: remove hwtimer from board.h
2015-09-16 10:58:53 +02:00
d4bb83baf7
boards: wsn430-v1_3b: remove hwtimer from board.h
2015-09-16 10:58:53 +02:00
83fb012772
boards: telosb: remove hwtimer from board.h
2015-09-16 10:58:53 +02:00
b665dac421
boards: mulle: remove hwtimer from board.h
2015-09-16 10:58:53 +02:00
ffd87aacc4
boards: msb-430h: remove hwtimer from board.h
2015-09-16 10:58:53 +02:00
a650b9487e
boards: msb-430: remove hwtimer from board.h
2015-09-16 10:58:53 +02:00
975640c0df
boards: chronos: remove hwtimer from board.h
2015-09-16 10:58:53 +02:00
43c95e9e29
boards: avsextrem: convert to xtimer
2015-09-16 10:58:53 +02:00
b0892c781f
boards: chronos: convert buzzer to use xtimer
2015-09-16 10:58:53 +02:00
7d2286e3ec
boards: iot-lab_M3: remove obsolete hwtimer defines
2015-09-16 10:58:51 +02:00
8a0237e4da
board: samr21: adapt to xtimer
2015-09-16 10:58:51 +02:00
Thomas Eichinger
122400f85c
boards/z1: make use of Makefile.include.serial
2015-09-15 14:06:42 +02:00
Hauke Petersen
444d9e1d76
boards/samr21-xpro: adapted and extended UART defs
...
- adapted to optimized UART implementation
- defined a 2. UART device
2015-09-14 17:20:27 +02:00
bd27feefec
cpu: atmega2560: simplify periph/timer implementation
2015-09-14 10:47:35 +02:00
René Herthel
d05151fdef
cpu/mega2560: initial import of a gpio driver
2015-09-07 14:48:15 +02:00
Hauke Petersen
7701aed546
Merge pull request #3164 from kaspar030/remove_uart0
...
sys: remove uart0
2015-09-04 18:54:30 +02:00
48baf5ddcf
Merge pull request #3683 from kaspar030/add_gnrc_netdev2_support
...
sys: net: add gnrc netdev2 support
2015-09-04 18:00:18 +02:00
2eb2c8bf7b
boards: qemu-i386: remove obsolete UART0_BUFSIZE define
2015-09-04 17:46:23 +02:00
b38a3493c7
boards: ek-lm4f120xl: remove obsolete UART0_BUFSIZE define
2015-09-04 17:46:23 +02:00
0e4386a46f
native: remove uart0
2015-09-04 17:46:23 +02:00
a13bc46f3e
sys: remove uart0
2015-09-04 17:46:23 +02:00
ef972735dc
sys: net: replace dev_eth with netdev2, adapt native tap driver
2015-09-04 15:39:04 +02:00
Hauke Petersen
84d611249e
boards/avsextrem: configured periph timer
2015-09-04 15:32:50 +02:00
Hauke Petersen
e84788c695
boards/pttu: configured periph timer
2015-09-04 15:32:50 +02:00
Hauke Petersen
9550ae87fb
boards/msba2-common: removed legacy timer code
2015-09-04 15:32:50 +02:00
Hauke Petersen
a052f5515f
boards/msba2: added periph timer configuration
2015-09-04 15:32:50 +02:00
128d9db0a5
Merge pull request #3766 from haukepetersen/rm_econotag
...
boards: removed support for redbee-econotag
2015-09-04 12:35:41 +02:00
Peter Kietzmann
ef000d46af
Merge pull request #3426 from kaspar030/make_arduino-mega2560_use_uart_stdio
...
board: arduino-mega2560: use uart_stdio
2015-09-03 18:04:19 +02:00
fa0202ec99
board: arduino-mega2560: set default baudrate to 9600
2015-09-03 16:30:51 +02:00
Hauke Petersen
c511118ff1
boards/msb-430: added GPIO feature
2015-09-03 16:29:55 +02:00
Hauke Petersen
4669f7f089
boards/telosb: added GPIO feature
2015-09-03 16:29:55 +02:00
Hauke Petersen
effa036ddb
boards/wsn430-v1_3b: added GPIO feature
2015-09-03 16:29:55 +02:00
Hauke Petersen
8aa247ff8e
boards/wsn430-v1_4: added GPIO feature
2015-09-03 16:29:55 +02:00
Hauke Petersen
78fb698eb7
boards/z1: added GPIO feature
2015-09-03 16:29:55 +02:00
Hauke Petersen
64b3e27479
boards/msb-430h: added GPIO feature
2015-09-03 16:29:55 +02:00
Hauke Petersen
d71f0fa895
boards: removed support for redbee-econotag
2015-09-03 16:06:56 +02:00
bec167c8d0
boards: arduino-mega2560/board.c: add myself as copyright holder
2015-09-03 15:53:01 +02:00
73e15bdde1
atmega2560: remove uart0, adapt to uart_stdio
2015-09-03 15:53:01 +02:00
Hauke Petersen
076e9db374
Merge pull request #3402 from kaspar030/simplify_shell
...
sys: simplify shell
2015-09-03 15:27:01 +02:00
Thomas Eichinger
fa11195e38
Merge pull request #3393 from thomaseichinger/pr/fix_osx_warnings_errors
...
native: fix warning error OS X
2015-09-03 14:04:45 +02:00
d16ae35d9e
boards: chronos: add dummy getchar implementation
2015-09-03 13:33:49 +02:00
Hauke Petersen
69c4dc7cea
boards/wsn430-common: fixed interrupt vector names
2015-09-03 12:00:34 +02:00
Hauke Petersen
5fe6cc7cee
boards/chronos: adapted to periph UART driver
2015-09-03 12:00:34 +02:00
Hauke Petersen
5e2a1d226b
boards/msb-430: adapted to periph UART driver
2015-09-03 12:00:33 +02:00
Hauke Petersen
178b46c877
boards/telosb: now using periph UART driver
2015-09-03 12:00:33 +02:00
Hauke Petersen
2bd250e912
boards/wsn430-xxx: now using periph UART driver
2015-09-03 12:00:33 +02:00
Hauke Petersen
bb204add17
boards/z1: adapted to use periph UART driver
2015-09-03 12:00:33 +02:00
Hauke Petersen
daa716aaf8
boards/msb-430h: switched to periph/uart driver
2015-09-03 12:00:33 +02:00
Hauke Petersen
fb8d15d34a
Merge pull request #3724 from haukepetersen/add_msp430_periph_timer
...
cpu/[msp|cc]430: added peripheral timer driver
2015-09-03 12:00:07 +02:00
Thomas Eichinger
9c4b511e7d
native: don't warn for deprecated code
...
As native uses the `ucontext` API this change is needed on OS X
as this API is marked as deprecated.
2015-09-02 17:34:47 +02:00
Hauke Petersen
2e9403d8fe
board/z1: added (x)timer configuration
2015-09-02 17:10:28 +02:00
Hauke Petersen
949f0cf0d1
board/wsn430-common: added periph timer config
2015-09-02 17:10:28 +02:00
Hauke Petersen
c33deca818
board/wsn430-v1_4: added (x)timer configuration
2015-09-02 17:10:28 +02:00
Hauke Petersen
e667cefa4c
board/wsn430-v1_3b: added (x)timer configuration
2015-09-02 17:10:28 +02:00
Hauke Petersen
a053716e4b
board/telosb: added (x)timer configuration
2015-09-02 17:10:28 +02:00
Hauke Petersen
929a38c319
board/msb-430h: added (x)timer configuration
2015-09-02 17:10:28 +02:00
Hauke Petersen
3c3c0b914c
board/msb-430: added (x)timer configuration
2015-09-02 17:10:28 +02:00
Hauke Petersen
812b33fb17
board/chronos: added timer and xtimer configuration
2015-09-02 17:10:28 +02:00
Hauke Petersen
824a81ff3a
boards/z1: adapted to non-legacy header
2015-09-02 17:10:27 +02:00
Hauke Petersen
54384fc7d1
boards/wsn430-common: fixed for non-legacy header
2015-09-02 17:10:27 +02:00
Hauke Petersen
e928d727fe
boards/telosb: adapted to non-legacy ISR def scheme
2015-09-02 17:10:27 +02:00
Hauke Petersen
51610f0399
boards/msb-430-common: removed legacymsp430.h code
...
Conflicts:
boards/msb-430-common/board_init.c
2015-09-02 17:10:27 +02:00
6dec2efdd6
saml21: add lpm support
2015-09-02 16:46:42 +02:00
Emmanuel Baccelli
014939805e
Merge pull request #3062 from alignan/pull/remote-port
...
New Zolertia Re-Mote platform (CC2538 + CC1120)
2015-08-25 21:18:13 +02:00
bd40b2c56b
Merge pull request #3661 from authmillenon/auto_init/api/auto_init_gnrc_netif
...
sys: auto_init: rename auto_init_ng_netif to auto_init_gnrc_netif
2015-08-25 21:17:19 +02:00
6d1aab7126
Merge pull request #2926 from kaspar030/wtimer
...
sys: add new timer subsystem
2015-08-25 19:20:07 +02:00