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
Benjamin Valentin
bd19a55804 boards: remove EDBG_DEVICE_TYPE
EDBG_DEVICE_TYPE is a property of the CPU, is should not be set
by every board individually.
2020-01-31 09:35:27 +01:00
dylad
fc9549b069 boards/sam0: update sam0-based board to use hw fc 2019-12-20 21:26:56 +01:00
Benjamin Valentin
0ea2cbf1eb boards: remove RTT_NUMOF/RTC_NUMOF
Those macros are defined but never used.
2019-11-08 14:20:33 +01:00
Kees Bakker
04c84ed158 cpu/sam0: refactor ADC_0 into plain ADC
This change is for all boards with a sam0 cpu. This cpu just has one ADC.
It is unnecessary to have defines with ADC_0_ prefix as if multiple ADCs
are possible.

Some defines were not used, such as ADC_0_EN, ADC_0_CHANNELS,
ADC_MAX_CHANNELS, ADC_0_CLK_SOURCE, ADC_0_CHANNELS

Change all ADC_0_ prefixes to ADC_
2019-10-03 20:45:44 +02:00
Gaëtan Harter
636285ebe4
boards: move CPU/CPU_MODEL definition to Makefile.features
cpu/$(CPU)/Makefile.features and cpu/$(CPU)/Makefile.dep are
automatically included

Part of moving CPU/CPU_MODEL definition to Makefile.features to have it
available before Makefile.include.
2019-08-20 16:11:50 +02:00
Benjamin Valentin
8af04cd939 boards: make use of ARRAY_SIZE macro 2019-08-06 19:43:54 +02:00
a68f78bb10
boards/*: remove unused FEATURES_MCU_GROUP variable 2019-06-14 11:32:15 +02:00
Benjamin Valentin
849dd4cdce sam0_common: make Timer implementation common across all sam0 MCUs
The currently supported SAM0 MCUs (samd21, saml21, saml1x) share the same
Timer peripheral, yet each of them carries it's own copy of the Timer
driver.

This introduces a new timer driver that is common for all sam0 MCUs and
uses structs for configuration instead of defines.
2019-05-21 11:47:59 +02:00
99962ffd15
samr21-xpro: add usbdev configuration 2019-03-26 10:26:12 +01:00
Francisco Acosta
3cf33f7b5c boards: add riotboot feature to tested boards
Currently only tested boards provide the feature riotboot.
Potentially all boards embeding a cortex-m0+/3/4/7 are
able to have riotboot as a feature, but other dependencies
need to be met, e.g. usage of cortexm.ld linker script,
double initialisation of cpu_init(), etc. See doc in
bootloaders/riotboot.
2018-12-18 19:31:35 +01:00
d95e19af15 boards*: remove periph_gpio/gpio_irq provided feature
It is now provided at cpu level
2018-12-17 20:54:09 +01:00
cladmi
b450141d4d
boards: unconditionally include CPU/Makefile.features
The file always exist so no need to do '-include'.

Replaced using:

    sed -i 's|-\(include $(RIOTCPU)/.*/Makefile.features\)|\1|' \
        $(git grep -l  '$(RIOTCPU)/.*/Makefile.features' boards)
2018-10-11 17:13:40 +02:00
Joakim Nohlgård
8996cbe313 make: Introduce new feature flag periph_gpio_irq 2018-08-29 08:53:20 +02:00
Kevin Weiss
8468fe1c94
Merge pull request #8516 from jia200x/wiki_dox_convertion
doc: move wiki to Doxygen documentation (second attempt)
2018-08-07 13:27:04 +02:00
Jose Alamos
7b28fbf110 boards: fix Doxygen group directives 2018-08-01 15:24:55 +02:00
Jose Alamos
a1e17ab5af doc: add wiki documentation to Doxygen files 2018-08-01 15:24:54 +02:00
smlng
a6d4ade2c6 boards/samr21-xpro: fix attr order in i2c_config 2018-07-25 15:17:43 +02:00
dylad
93558125b5 sam0/i2c: update sam0 based periph_conf
Signed-off-by: dylad <dylan.laduranty@mesotic.com>
2018-07-25 12:01:34 +02:00
Georg von Zengen
ad78271a51 boards/samr21-xpro: add function to configure antenna switch 2018-06-26 17:59:10 +02:00
ab0d598e60 boards/samr21-xpro: fix driver params usage 2018-02-28 18:30:28 +01:00
Joakim Nohlgård
f4e9cad85a boards: Separate boards from debug adapter configuration 2017-11-17 10:03:05 +01:00
ae51dc55d0 boards: adapt to reorganized CPU Makefile.features 2017-11-02 12:59:46 +01:00
Gaëtan Harter
05402dea29 samr21-xpro/gpio: set LED/BUTTON gpios as inverted
This makes LED go off when set to 0 and button reads 1 when pressed.
2017-10-05 17:19:57 +02:00
Dan Evans
531e6f5008 sam0:usart - wake from sleep on receive line 2017-09-25 12:47:31 -06:00
02e055fc81 make: include cpu Makefile.features from board Makefile.features 2017-09-14 13:15:52 +02:00
dylad
c81ae98068 boards: update periph_conf of sam0 based board
Signed-off-by: dylad <dylan.laduranty@mesotic.com>
2017-08-29 21:26:42 +02:00
Hauke Petersen
38395fa9bb boards/samd21-based: fix xtimer configuration 2017-08-28 16:38:27 +02:00
Dan Evans
08224bd85a samd21/clock: add xosc32/DFLL option 2017-06-26 10:42:23 -06:00
smlng
de948189c3 periph: generalized button macros 2017-06-20 21:19:56 +02:00
Hauke Petersen
e9fad57925 boards/samX21-xpro: enabled flashpage feature
done so for:
- samr21-xpro
- saml21-xpro
- samd21-xpro
2017-06-02 11:33:38 +02:00
f2cc58e8ed boards: samr21-xpro: enable use of edbg 2017-05-24 14:52:45 +02:00
d907789c57 board: samr21-xpro: make use of shared makefiles/boards/sam0.inc.mk 2017-05-19 00:50:41 +02:00
Bumsik Kim
18f30a7d5c boards/samr21-xpro: add adc support 2017-05-05 10:23:36 -04:00
882bcff048 boards: replace @brief with @name when necessary 2017-04-13 12:10:30 +02:00
Joakim Nohlgård
339a4da9dc Makefiles: move to new directory /makefiles 2017-04-04 15:11:54 +02:00
Peter Kietzmann
513b20ffd3 Merge pull request #4780 from haukepetersen/opt_periph_spi2
drivers/spi: reworked SPI driver interface
2017-01-25 22:07:36 +01:00
Oleg Hahm
c5abb08316 Merge pull request #4058 from daniel-k/pr/gdb_threads_openocd
cortex_m: Add debug symbols for OpenOCD/GDB thread support
2017-01-25 17:49:42 +01:00
Hauke Petersen
ea07a6817c cpu/sam0+boards: adapted to new SPI API
- adapted the SPI driver
- merged SPI driver for samr21 and saml21
- adapted all boards using the CPU
2017-01-25 16:46:45 +01:00
Oleg Hahm
7ee7801c10 *: remove trailing underscores from header guards 2017-01-19 18:30:53 +01:00
daniel-k
9d403d95ce cortex_m: Add debug symbols for OpenOCD/GDB thread support 2017-01-16 20:50:35 +01:00
Hauke Petersen
bfb52afde9 cpu/sam21: unified structure for sam[drl]21 CPUs 2016-12-15 11:39:19 +01: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
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
10e9336c78 boards: adapt to automatically included boards/$board/Makefile.dep 2016-09-29 15:41:12 +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
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
Joakim Nohlgård
4d862955c2 xtimer: Rename XTIMER -> XTIMER_DEV 2016-07-06 22:23:04 +02:00
PeterKietzmann
9a7c67411f boards/samr21-xpro:fix SPI_1 DIPO config 2016-07-06 09:27:25 +02: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
Oleg Hahm
8f47dcbbf8 Merge pull request #4719 from immesys/feature-samr21e
Add linker file for Atmel SAMR21E18A
2016-03-25 22:12:28 +01:00
Oleg Hahm
10f5f1aa33 make: introduce netif_default pseudomodule
Additionally the dependencies for GNRC specific modules are centralized in Makefile.dep.
2016-03-24 16:47:30 +01:00
Michael Andersen
83f9cecc12 cpu/samd21: Change linker file to support E variant 2016-03-23 16:49:24 -07:00
Martine Lenders
5bfc9e43fb at86rf2xx: port to netdev2 2016-03-23 17:45:16 +01:00
Hauke Petersen
5996706771 boards: adapted LED initialization calls 2016-03-17 14:55:31 +01:00
Hauke Petersen
cf3a40dc5f baords: adapted saul config to GPIO changes 2016-03-17 14:55:30 +01:00
Hauke Petersen
363b883d51 boards: fixed doxygen in msp430 and x86 board.h 2016-03-15 18:37:54 +01:00
Hauke Petersen
f0618593ba boards/samr21-xpro: unified LED defines 2016-03-15 18:37:52 +01:00
Joakim Nohlgård
ae108581d3 boards/*/Makefile.include: replace $(shell ls) by native Makefile functions 2016-03-11 15:05:06 +01:00
Hauke Petersen
a75847ca27 baords/samr21-xpro: added third channel for PWM1 2016-02-21 16:49:45 +01:00
Hauke Petersen
fe5023b7d4 boards: adapted to HWRNG changes 2016-02-14 12:59:47 +01:00
Hauke Petersen
9988f00d7b boards: fixed some PWM definitions 2016-02-12 16:10:01 +01:00
Joakim Nohlgård
7835ab2be7 make: Move BOARD and CPU includes to Makefile.modules 2016-02-10 16:37:03 +01:00
Joakim Nohlgård
fae9a092fd boards: Remove Makefile.include.cortexm_common 2016-02-10 16:37:03 +01:00
Cenk Gündoğan
0d1a8393ca saul: add user button for samr21-xpro 2016-02-04 16:35:48 +01:00
Cenk Gündoğan
b860ad3715 saul: make pull-up/pull-down mode configurable 2016-02-04 14:57:00 +01:00
Cenk Gündoğan
b751d79bf5 boards: samr21-xpro: add user button gpio 2016-02-04 13:58:03 +01:00
Hauke Petersen
b436219674 boards: removed F_CPU define from board.h 2016-01-27 09:52:44 +01:00
Hauke Petersen
db25206a58 boards: use default values for STDIO defines 2016-01-05 12:08:31 +01:00
Hauke Petersen
c8386028e0 boards/samr21-xpro: added saul to Makefile.dep 2015-12-10 14:33:33 +01:00
Hauke Petersen
ac2b9f2524 boards: changed module name to 'board' 2015-12-07 17:53:22 +01:00
Oleg Hahm
00def4f8e7 CI: split up Cortex-M0 in two groups 2015-12-07 11:38:34 +01:00
28e800d2d2 boards/samr21: add SAUL led parameters 2015-11-30 20:33:56 +01:00
test
6e51bb741f boards: samr21-xpro: uart config cleanup 2015-11-23 15:37:56 +01:00
Hauke Petersen
004537e045 boards/samr21-xpro: use default at86rf2xx_params.h 2015-11-19 16:25:40 +01:00
Oleg Hahm
c8d89cb645 Merge pull request #3848 from haukepetersen/rm_samr21_at86defs
boards/samr21-xpro: rm unused radio interface defs
2015-11-18 17:12:43 +01:00
Andreas "Paul" Pauli
bf63e09a65 Merge pull request #4137 from haukepetersen/opt_samr21_pwm
cpu/samd21: optimized pin config for PWM driver
2015-11-05 16:14:05 +01:00
Lucas Jenss
d80f18de0b Minor usability improvements for samr21 usage 2015-10-27 19:43:40 +01:00
Hauke Petersen
63b37640b6 s board/periph_conf: added some spaces 2015-10-27 12:28:32 +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
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
Hauke Petersen
e395dfd91e boards: s/GPIO(x,y)/GPIO_PIN(x,y)/ 2015-10-13 14:59:53 +02:00
daniel-k
eb144530d8 samr21-xpro: connect to correct tty when given SERIAL 2015-09-25 17:39:09 +02:00
Thomas Eichinger
36d3d9c4cd boards/samr21-xpro: define serial port for OS X 2015-09-21 15:04:07 +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
8a0237e4da board: samr21: adapt to xtimer 2015-09-16 10:58:51 +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
Martine Lenders
b41e31bb8a auto_init_ng_netif: remove deprecated files 2015-08-19 17:22:54 +02:00
Martine Lenders
58ff31bfe9 gnrc: make all gnrc modules sub-modules of gnrc 2015-08-18 23:00:07 +02:00
BytesGalore
394ddb6900 drivers: renamed further remaining *NG_* macros 2015-08-12 17:21:45 +02:00
Oleg Hahm
8639d2c27d at86rf2xx: rename remaining files and variables 2015-08-11 23:52:02 +02:00
Martine Lenders
8f9e1656e1 at86rf2xx: remove ng_ prefix 2015-08-10 00:08:21 +02:00
Hauke Petersen
bff1d7e73e boards: remove feature 'transceiver' 2015-08-06 12:13:54 +02:00
bbf64e81ec remove defaulttransceiver, cc110x, cc2420 traces 2015-08-06 12:13:54 +02:00
830af458ea oldnet: remove radio_packet_length_t define 2015-08-06 12:13:18 +02:00
Hauke Petersen
b6a38b1db2 boards: removed deprecated netif initializations 2015-07-30 13:13:17 +02:00