Francisco Molina
4c9a2d7b95
boards/common/arduino-zero: configure RTT_MIN_OFFSET
2021-01-19 12:37:39 +01:00
Francisco Molina
69659efc99
boards/common/iotlab: change default RTT_FREQUENCY to RTT_MAX_FREQUENCY
2021-01-19 12:37:38 +01:00
b801d57f0c
Merge pull request #15555 from dylad/pr/makefiles/dfu_optionnal_dfuse
...
boards: move DfuSe specific argument at board level
2020-12-09 14:08:50 +01:00
dylad
47f8d69845
boards: update boards using DfuSe
...
Update these boards to make use of a new argument to keep using DfuSe mode of dfu-util
2020-12-09 11:48:37 +01:00
8f6005b26e
boards: cpu: stm32f1: use .config for specific iotlab PLL_PREDIV
2020-12-08 18:02:57 +01:00
75d2002e76
boards/stm32f1/f3: adapt Kconfig for clock configuration
2020-12-08 17:36:52 +01:00
iosabi
3f600d869e
boards/common/qn908x: Compute the image checksum
...
QN908X CPUs require the image to have a valid checksum. The checksum is
a simple addition of the first 7 uint32_t values stored in the 8th
position of the image header. This position is a reseved entry of the
Cortex-M Vector Table and its value depends on other fields that are
computed at link time. Performing this checksum at link time seems
hard to do, so instead this patch uses a python script to patch the
checksum from the ELF file. This redefines the value of FLASHFILE
to the new .elf file with the checksum fixed.
With this patch, OpenOCD can program and verify QN908X images since
now they have a valid checksum value.
2020-12-03 17:47:33 +01:00
f150304643
boards/common/qn908x: cleanup Makefile.include
...
- include serial.inc.mk is not needed as it's handled in the main Makefile.include
- the default serial ports are already defined in serial.inc.mk
- use PROGRAMMER to specify the default programmer (openocd) and don't include openocd.inc.mk
- FLASHFILE is already defined as ELFILE in openocd.inc.mk
2020-12-02 14:05:19 +01:00
benpicco
646e665a86
Merge pull request #13855 from iosabi/qn908x_initial
...
cpu/qn908x: Initial minimal support for NXP QN908x CPUs.
2020-12-02 10:31:38 +01:00
f8822b5f8f
boards: remove not need PORT_LINUX/PORT_DARWIN
...
They defined the same in serial.inc.mk. Some Darwin default are changed because they are probably wrong
2020-12-02 09:20:57 +01:00
4c290e1f92
boards: remove include of serial.inc.mk
2020-12-02 09:20:57 +01:00
iosabi
86ab9401aa
boards/common/qn908x: Define a common qn908x board
...
Boards based on the qn908x CPU will share the same OpenOCD configuration
regarding the image offset and OpenOCD commands needed to flash the
image directly with "make flash".
2020-12-02 02:47:07 +00:00
benpicco
418aaa6e67
Merge pull request #15388 from benpicco/boards/e104-bt5010a-tb
...
boards/e104-bt5011a-tb: add support for the E104-BT5011A Test Board
2020-12-02 00:24:33 +01:00
2dc5a69939
Merge pull request #15535 from aabadie/pr/tools/lpc2k_pgm
...
tools/lpc2k_pgm: refactor build system integration
2020-12-01 21:13:52 +01:00
Benjamin Valentin
0b83589bbc
boards/common/e104-bt50xxa-tb: enable software reset
2020-12-01 18:29:09 +01:00
Benjamin Valentin
ef96696bab
boards/common/e104-bt50xxa-tb: common board for Ebyte nRF52 breakouts
2020-12-01 16:14:43 +01:00
7272549007
boards/common/msp430: use common mspdebug
2020-12-01 15:52:17 +01:00
41d0272140
boards/common/msba2: use common lpc2k_pgm programmer
2020-12-01 13:39:42 +01:00
aea9d4b0a7
make: move lpc2k_pgm in tools/
2020-12-01 13:36:36 +01:00
b0b19203a7
Merge pull request #15190 from benpicco/boards/wefun-f401cc
...
boards/common/weact-f4x1cx: create common WeAct boards
2020-12-01 12:03:38 +01:00
Benjamin Valentin
bfb7cbfa4d
boards/nrf52: resolve netdev dependencies for all family members
2020-12-01 11:42:52 +01:00
Benjamin Valentin
e200d009ad
boards/common/weact-f4x1cx: create common WeAct boards dir
2020-12-01 11:02:09 +01:00
d527ab6994
cpu: boards: esp: use common esptool makefile
2020-12-01 10:36:42 +01:00
Erik Ekman
e3142c39f0
boards/esp32: add ESP32-Ethernet-Kit board
...
Mostly copied from esp32-wroom-kit and Ethernet part from
esp32-olimex-evb.
Ethernet and serial port has been tested (on v1.2 board).
2020-11-28 10:18:54 +01:00
c6ad85a7b0
boards: don't include programmer logic at board level
2020-11-25 22:31:13 +01:00
Bas Stottelaar
e438e9afde
boards/efm32: provide efm32_coretemp feature
2020-11-18 17:27:17 +01:00
Bas Stottelaar
e1b356e884
boards/efm32: enable efm32_coretemp driver
2020-11-18 12:28:45 +01:00
benpicco
be9eb22bb8
Merge pull request #15106 from chrysn-pull-requests/saul-rgbleds
...
saul_pwm: auto-init'able RGB LEDs and dimmers
2020-11-13 18:22:30 +01:00
f626758aaf
Merge pull request #15392 from fjmolinas/pr_cc2538_riotboot
...
boards/cc2538: add riotboot feature
2020-11-13 15:39:55 +01:00
Francisco Molina
8598176544
boards: add riotboot to cc2538 based boards
2020-11-13 14:51:58 +01:00
Gilles DOFFE
58f90c986f
boards/common/stm32: add openocd config stm32mp1.cfg
...
Add common openocd configuration for stm32mp1 boards.
Signed-off-by: Gilles DOFFE <gilles.doffe@savoirfairelinux.com>
2020-11-13 10:43:08 +01:00
Gilles DOFFE
2ac0467807
cpu/stm32: configure timer2 for stm32mp1 boards
...
This timer will be used by RIOT-OS as the scheduling timer for
stm32mp157c-dk2 board.
Signed-off-by: Gilles DOFFE <gilles.doffe@savoirfairelinux.com>
2020-11-13 10:43:08 +01:00
benpicco
808c5b7eb8
Merge pull request #15424 from basilfx/feature/efm32_fix_timers
...
boards/efm32: update channel_numof with correct values
2020-11-11 09:49:24 +01:00
Bas Stottelaar
67e7a14e6c
boards/efm32: update channel_numof
...
The number of channels per timer got updated incorrectly in #15368 .
Only TIMER1 and higher have four channels. Without this fix, timer
initialization will halt.
2020-11-11 00:26:52 +01:00
Bas Stottelaar
cc9586f163
boards/common/silabs: define CPU=efm32
2020-11-11 00:24:53 +01:00
Francisco Molina
c4edff3a59
boards cpu: move OpenWSN defintions to openwsn_defs.h
2020-11-10 07:46:35 +01:00
chrysn
51d4b6c7ff
b/c/particle-mesh: Add and enable usb_board_reset in monofirmware mode
2020-11-06 13:43:14 +01:00
chrysn
7582be6d5e
b/c/particle-mesh: Support particle bootloader
...
Closes: https://github.com/RIOT-OS/RIOT/issues/12320
2020-11-06 13:43:14 +01:00
Bas Stottelaar
de342fa0c4
boards/efm32: update documentation
...
* Alignment of documentation between boards
* Updated links
* Table updates
* Line length
* Space between units
* Updated peripheral mapping
2020-11-04 22:26:53 +01:00
Bas Stottelaar
ad10db84fd
boards/slwstk6000: add LETIMER0 as secondary timer
2020-11-04 22:05:36 +01:00
Bas Stottelaar
c79c192ba4
boards/efm32: reset board before flashing
...
This was added for other boards in #12160 , and improves flashing
reliability.
2020-11-04 22:05:36 +01:00
Bas Stottelaar
42deb1ab85
boards/efm32: align xtimer configuration
...
- move XTIMER_WIDTH within #if statement because sltk3402a is 32-bit
- update comments
- alignment.
2020-11-04 22:05:36 +01:00
Bas Stottelaar
cf65d27c94
boards/efm32: update copyright year
2020-11-04 19:55:16 +01:00
7fbfb92f03
boards/stm32gx: move Kconfig clock config to cpu
2020-10-29 23:00:44 +01:00
823774358e
Merge pull request #14952 from benpicco/boards/common/cdc_acm
...
boards: factorize stdio CDC ACM configuration
2020-10-29 14:33:01 +01:00
4d91832795
boards/nrf52: remove softdevice specific handling
2020-10-29 09:02:12 +01:00
39e06babf5
boards/stm32: use generic clk_conf.h header
2020-10-27 08:44:56 +01:00
f2e2c89424
cpu/stm32: move clock configuration headers to cpu
2020-10-26 11:16:23 +01:00
80518e6525
boards/stm32l4: adapt default clock config for 110MHz cpus
2020-10-23 18:28:27 +02:00
0afb9456da
boards/stm32: adapt default i2c config for stm32l5
2020-10-23 18:28:27 +02:00
cbdb0a3b09
boards/nucleo144: adapt default on-board LEDs for stm32l522ze
2020-10-23 18:21:51 +02:00
22645cbfe4
boards/stm32: adapt tim5 default config for stm32l5
2020-10-23 18:21:50 +02:00
34f3b4406d
boards/stm32: add stm32l5 config for openocd
2020-10-23 18:21:50 +02:00
72c17588b9
boards/stm32: remove unused CLOCK_LSE define
2020-10-21 12:11:17 +02:00
d0dd196c30
boards/stm32gx: use correct clock base for CLOCK_APBx defines
2020-10-20 15:47:21 +02:00
a50eab59c4
boards/stm32g0/g4: cleanup Kconfig clock configuration
2020-10-20 14:29:22 +02:00
20894e47a6
cpu: boards: stm32gx: use IS_ACTIVE macro for clock config
2020-10-20 14:29:11 +02:00
d78a316139
cpu: boards: stm32gx: compile code for all possible clock modes
2020-10-20 14:29:11 +02:00
00ea7ffa55
cpu/stm32l4wb: cleanup clock initialization
2020-10-20 11:37:46 +02:00
d7d5d9d651
boards/stm32l4: extend clock configuration
...
- add PLLQ default value
- better tune default PLLM value depending on HSE value
- ensure CLOCK_PLL_SRC is always defined
2020-10-20 11:37:45 +02:00
Benjamin Valentin
0debe57566
common/samd21-arduino-bootloader: use common stdio CDC ACM config
2020-10-20 10:52:50 +02:00
benpicco
d98f93513f
Merge pull request #15043 from aabadie/pr/boards/stm32f2f4f7_remove_96_180
...
boards/stm32f4: remove default clock configuration for 96MHz and 168MHz CPUs
2020-10-19 19:42:52 +02:00
chrysn
d8ff6cd7b1
boards/c/particle-mesh: Use LEDs in SAUL as PWM rather than GPIO
...
Co-authored-by: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
2020-10-17 11:20:30 +02:00
68b6e4f7ef
boards/nucleo32: fix arduino pinmap for stm32l011k4
2020-10-15 16:24:33 +02:00
Hauke Petersen
855148b28f
boards/common/particle-mesh: fix SPI configuration
2020-10-14 12:44:31 +02:00
Benjamin Valentin
22be50da22
boards/common/nrf52: add common config for stdio via CDC ACM
2020-10-13 15:21:21 +02:00
Benjamin Valentin
a863a43207
kconfigs: replace BOOTLOADER_% feature with HIGHLEVEL_STDIO
2020-10-13 10:30:22 +02:00
Benjamin Valentin
971f0f6fee
boards: remove the bootloader_% pseudo-feature
...
This feature is only used to blacklist stdio via CDC ACM.
Introduce the `highlevel_stdio` feature instead to indicate
that stdio functionality requires a running thread to print
anything
2020-10-13 10:30:22 +02:00
6b3c11b151
boards/stm32: remove unused default 96 and 168MHz common headers
2020-10-06 22:07:19 +02:00
67d03c91d1
boards/stm32f2f4f7: adapt 180MHz clock config for USB
2020-10-06 22:07:12 +02:00
0828400eb0
boards/stm32f2f4f7: adapt 100MHz clock config for USB
2020-10-06 22:07:12 +02:00
c448470b0d
boards/stm32f2/4/7: rework common clock configuration
2020-10-06 16:10:05 +02:00
Benjamin Valentin
c78ee2bf64
cpu/nrf52: provide radio_nrf802154 at CPU level
...
The presence of the 802.15.4 radio peripheral is a feature of the CPU,
not the board.
Move it to the right place and reduce code duplication.
2020-10-02 10:44:59 +02:00
chrysn
87b41e6aee
boards/c/particle-mesh: Enable PWM on the LED pins
2020-09-30 19:01:00 +02:00
Benjamin Valentin
8361a273ca
boards/common/nrf52xxxdk: configure LEDs as PWM
...
The 'common' pwm pins don't make sense for every board.
Use the LED pin defines instead as a sensible PWM default.
2020-09-29 21:58:37 +02:00
bcbe3ac1d5
Merge pull request #15114 from aabadie/pr/boards/stm32f0_apb2_clock_fix
...
boards/stm32f0: fix missing CLOCK_APB2 define
2020-09-29 17:37:19 +02:00
d407878bc5
Merge pull request #15112 from aabadie/pr/boards/nucleo64-g431kb
...
boards/nucleo-g431rb: add initial support
2020-09-29 15:26:39 +02:00
a7bb409eb5
boards/stm32f0: fix missing CLOCK_APB2 define
2020-09-29 14:28:33 +02:00
0eb5c81501
boards/nucleo64: adapt user button for nucleo-g431rb
2020-09-29 12:26:26 +02:00
b06c252a33
boards/stm32: add default tim2 config for stm32g4
2020-09-29 12:26:26 +02:00
e9bf08e6d5
boards/stm32f1*: adapt to new clock configuration
2020-09-24 11:27:24 +02:00
042a550f0d
boards: cpu: stm32f1/f3: rework clock configuration and init
2020-09-24 11:27:24 +02:00
8ac1909ea3
cpu: boards: stm32l0l1: use IS_ACTIVE where possible in stmclk
2020-09-22 22:30:19 +02:00
5e886a76c9
boards/stm32l0/l1: merge default clock configuration headers
2020-09-22 22:30:19 +02:00
67a1c029b4
boards/stm32l0: set LSE to 0 default, override in boards
2020-09-22 22:30:19 +02:00
23117a844e
boards: cpu: stm32l0: rework clock configuration
2020-09-22 22:30:19 +02:00
4a5d9a30b1
boards/stm32l0*: rename shared clock config header
2020-09-22 22:30:08 +02:00
benpicco
842933855f
Merge pull request #14995 from benpicco/cpu/cc2538-register
...
cc2538_rf: register with netdev
2020-09-11 16:03:08 +02:00
Benjamin Valentin
ddb2f17cb2
boards: include cc2538_eui_primary.h in cc2538 boards
2020-09-11 13:33:37 +02:00
Dylan Laduranty
4db8a1f602
Merge pull request #14478 from benpicco/cpu/sam0/tc_pwm
...
cpu/sam0_common: add support to run PWM off TC timers
2020-09-10 23:04:58 +02:00
Benjamin Valentin
fc6d1f9122
boards/common/saml1x: enable PWM
...
The PWM for the on-board LED can only be used if xTimer is not sourced
from TC0_TC1.
2020-09-10 21:47:03 +02:00
Francisco
adb0bcab47
Merge pull request #14866 from aabadie/pr/boards/stm32l4wb_clock_kconfig
...
boards: cpu: stm32l4/wb: rework clock configuration and initialization
2020-09-09 09:35:29 +02:00
9dd20c0ccb
cpu: boards: stm32l4/wb: use IS_USED for clock where possible
2020-09-08 18:42:42 +02:00
0745cc4a99
cpu: boards: smt32l4: rework clock configuration
2020-09-08 18:42:41 +02:00
95057a8aef
boards/stm32l4: rename common clock config header
2020-09-08 18:42:41 +02:00
8f1c5ab919
Update boards/common/stm32/include/f0/cfg_clock_default.h
2020-09-08 16:03:44 +02:00
6d76e61ff0
boards/stm32f0: adapt default clock configuration
2020-09-08 16:03:44 +02:00
Francisco Molina
86d8d22fc5
boards/nucleo: fix xtimer configuration
2020-09-08 11:19:59 +02:00
1c95ff86bf
boards/stm32f3: fix clock configuration for HSI
2020-09-07 09:26:26 +02:00
Francisco
a75d32692c
Merge pull request #14892 from aabadie/pr/boards/stm32f1f3_default_clock
...
boards/stm32f1: stm32f3: use shared default clock configuration header
2020-09-02 09:48:43 +02:00
Cenk Gündoğan
538155c344
Merge pull request #14904 from leandrolanzieri/pr/kconfig/change_prefix_convention
...
treewide: modify Kconfig symbol prefixes
2020-09-01 15:57:06 +02:00
Francisco
c44a43dadd
Merge pull request #14891 from aabadie/pr/boards/stm32f0_default_clock
...
boards/stm32f0: introduce default shared clock configuration header
2020-09-01 13:37:54 +02:00
Francisco
0aca11696d
Merge pull request #14870 from aabadie/pr/boards/stm32l1_default_clock
...
boards/stm32l1: introduce shared clock configuration header
2020-09-01 12:40:06 +02:00
9f12908644
boards/fox: iotlab: use shared default clock configuration
2020-08-31 10:49:44 +02:00
Francisco Molina
a3de88a4db
boards: efm32 boards, LETIMER + regular timer
2020-08-31 09:38:32 +02:00
Leandro Lanzieri
d25fc243c4
treewide: change prefix for generated Kconfig symbols.
...
This changes the prefixes of the symbols generated from USEMODULE and
USEPKG variables. The changes are as follow:
KCONFIG_MODULE_ => KCONFIG_USEMODULE_
KCONFIG_PKG_ => KCONFIG_USEPKG_
MODULE_ => USEMODULE_
PKG_ => USEPKG_
2020-08-31 09:37:09 +02:00
1b8460d68f
boards/stm32f1: use shared default clock configuration
2020-08-31 08:40:17 +02:00
5cea49808a
boards/stm32f1f3: introduce default shared clock configuration
2020-08-31 08:40:17 +02:00
88d7ecb857
boards/stm32f0: introduce shared default clock configuration header
2020-08-30 22:05:46 +02:00
9d1ebb54d4
boards/common/stm32l1: introduce common clock config header
2020-08-28 16:55:32 +02:00
hugues
228a71f96e
boards/common/blxxxpill/include/periph_conf.h: reorder adc_config[]
2020-08-27 23:27:42 +02:00
hugues
6a71c35d60
boards/common/iotlab: declare adc_config[] directly in periph_conf.h
2020-08-27 03:56:26 +02:00
hugues
c6362a5441
boards/common/blxxxpill: declare adc_config[] directly in periph_conf.h
2020-08-27 03:56:26 +02:00
Francisco
83bcecbbca
Merge pull request #14815 from benpicco/boards/saml1x-openocd
...
boards/saml1x: add openocd.cfg
2020-08-26 15:00:18 +02:00
7472280369
boards/stm32g0: add clock configuration via Kconfig
2020-08-25 12:57:03 +02:00
f9fa90fcd8
boards/stm32g4: add clock configuration via Kconfig
2020-08-25 12:57:03 +02:00
a1038aa70e
cpu: boards: stm32g4: improve clock configuration
2020-08-25 12:55:16 +02:00
d15d123eef
boards/stm32g4: enable max 170MHz clock by default
2020-08-24 15:42:14 +02:00
Benjamin Valentin
a272a879b7
boards/saml1x: add openocd.cfg
...
Previously trying `make debug` on these boards would result in
Error: Unable to locate OpenOCD configuration file
(/home/benpicco/dev/RIOT/boards/saml10-xpro/dist/openocd.cfg)
Add a common `openocd.cfg` to fix this.
2020-08-21 11:31:04 +02:00
Francisco
613d0cfffd
Merge pull request #14767 from hugueslarrive/boards/common/blxxxpill
...
boards/common/blxxxpill: DMA feature added
2020-08-20 09:11:03 +02:00
hugues
6c35a6a69f
boards/common/blxxxpill: DMA feature added
2020-08-19 18:25:03 +02:00
Francisco
0d66683c28
Merge pull request #14784 from leandrolanzieri/pr/boards/common/atmega/use_weak_functions
...
boards/common/[atmega|arduino-atmega]: use weak for common functions
2020-08-19 13:39:42 +02:00
Leandro Lanzieri
99f0b86768
boards/common/atmega: define board_init as weak
2020-08-19 09:18:02 +02:00
Leandro Lanzieri
26dae7a198
boards/common/arduino-atmega: define led_init as weak
2020-08-19 09:17:50 +02:00
ef82cebdd0
common/stm32: remove obsolete spi_divtable config
2020-08-18 16:55:11 +02:00
801eef0ec4
common/iotlab: remove obsolete spi_divtable
2020-08-18 16:55:02 +02:00
2068c11837
blxxxpill: remove obsolete spi_divtable
2020-08-18 16:55:02 +02:00
Francisco Molina
5811fab369
boards: use common Makefile.include for cc2538 boards
...
Co-authored-by: Benjamin Valentin <benjamin.valentin@ml-pa.com>
2020-08-11 09:57:09 +02:00
f0457bf8dd
boards/common/msb-430: configure reset target
2020-08-05 14:29:07 +02:00
a0bf7f74ce
boards/common/msp-430: remove obsolete stdio_init() call
2020-08-05 14:29:07 +02:00
ebee55acd0
boards/common/msp-430: remove obsolete gdb --tui
2020-08-05 14:29:07 +02:00
benpicco
52bf3096cf
Merge pull request #14480 from benpicco/openocd-adapters_swd
...
openocd-adapters: select transport based on adapter
2020-08-04 11:37:32 +02:00
Benjamin Valentin
8f1d32bb2d
boards/common/nrf52: add note about ST-LINKV2 as programmer
2020-08-04 10:36:40 +02:00
Benjamin Valentin
d06b26dfd8
boards/common/nrf52: remove transport selection from openocd.cfg
2020-08-04 10:36:40 +02:00
Benjamin Valentin
37a10de671
boards/frdm: remove transport selection from openocd.cfg
2020-08-04 10:36:40 +02:00
Benjamin Valentin
4d231d06d0
boards/common/saml1x: drop INTERNAL_OSC32_SOURCE
...
This is not available on saml1x
2020-07-31 22:04:38 +02:00
Dylan Laduranty
d294c41478
Merge pull request #14540 from benpicco/boards/common/saml1x_configure_timer
...
boards/saml1x: configure second timer
2020-07-23 21:42:47 +02:00
Gunar Schorcht
b082fd1941
board/nucleo32: fix Arduino pin mapping
...
On Nucleo-32 boards with STM32 MCUs that do not have the GPIO port F, the Arduino pins D7 and D8 are not connected to PF0 and PF1 but to PC14 and PC15. This is also the case for the Nucleo-L412KB.
2020-07-23 00:16:48 +02:00
8272541b44
boards/common/stm32: add common code for stm32g0
2020-07-21 12:45:25 +02:00
Jose Alamos
d84894b346
boards/common/sodaq: Add common Kconfig symbols
2020-07-17 08:43:45 +02:00
Leandro Lanzieri
41e6d1e433
boards/common/arduino-zero: Add Kconfig symbols
2020-07-17 08:43:45 +02:00
Jose Alamos
32103f030c
boards/common/arduino-mkr: Add common Kconfig symbols
2020-07-17 08:43:45 +02:00
Benjamin Valentin
8cbfbe5955
boards/saml1x: configure second timer
...
Make TC2 available for applications to use.
2020-07-16 18:23:29 +02:00
Leandro Lanzieri
b85ee29ea2
boards/common/saml1x: Add Kconfig symbols
2020-07-16 18:09:59 +02:00
Leandro Lanzieri
6c2fc7fe24
boards/common/arduino-due: Add Kconfig symbols
2020-07-16 15:35:24 +02:00
baf314bc3e
boards/common/iotlab: model features in Kconfig
2020-07-16 11:34:03 +02:00
589e187f17
boards/common/blxxxpill: model features in Kconfig
2020-07-16 11:34:03 +02:00
4f8f1bc6f2
boards/common/nucleo: model common features in Kconfig
2020-07-16 11:34:02 +02:00
Leandro Lanzieri
513546e9c2
boards/common/particle-mesh: Add Kconfig symbols
2020-07-16 10:23:51 +02:00
Leandro Lanzieri
2aa6a7edd9
boards/common/nrf52xxxdk: Add Kconfig symbols
2020-07-16 10:23:50 +02:00
Leandro Lanzieri
e5af981df6
boards/common/nrf52: Add Kconfig symbols
2020-07-16 10:23:50 +02:00
Leandro Lanzieri
87d9a3c213
boards/common/nrf51: Add Kconfig symbols
2020-07-16 10:23:50 +02:00
8b8e281789
boards: remove Senslab wsn430 boards
...
These boards are no longer available on IoT-LAB
2020-07-10 16:49:08 +02:00
benpicco
30ebabb84e
Merge pull request #14007 from benpicco/cpu/sam0_common-pwm
...
cpu/sam0_common: move PWM to common code, add support for saml21, samd5x
2020-07-09 10:01:08 +02:00
Bas Stottelaar
aaf32986f3
boards/common/silabs: make series defines explicit
2020-07-08 21:54:57 +02:00
Benjamin Valentin
632d68cebf
boards/common/arduino-mkr: update PWM configuration
2020-07-08 21:51:12 +02:00
Benjamin Valentin
6547b36cc0
boards/arduino-zero: update PWM config
2020-07-08 21:51:12 +02:00
Kevin "Tristate Tom" Weiss
ad28752e4e
Merge pull request #14443 from MichelRottleuthner/pr_saml1x_xtimer_backoff
...
boards/saml1x: provide custom value for XTIMER_BACKOFF to spin for lo…
2020-07-08 09:08:16 +02:00
Leandro Lanzieri
85b674dfc6
boards/common/esp8266: Add Kconfig symbols
2020-07-07 16:27:43 +02:00
Leandro Lanzieri
7a2e4c819d
cpu/esp8266: Add Kconfig symbols
2020-07-07 16:27:43 +02:00
Leandro Lanzieri
597c56575c
boards/common: Add Kconfig symbols
2020-07-07 16:27:36 +02:00
Jean Pierre Dudey
3003cf737a
boards/common/esp32: move ESP features to cpu/esp_common
...
>All of them are features of each ESP SoC and have not to be configured by the
board definition.
Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
Co-authored-by: Gunar Schorcht <gunar@schorcht.net>
2020-07-07 16:02:23 +02:00
Michel Rottleuthner
20704ecb21
boards/saml1x: provide custom value for XTIMER_BACKOFF to spin for lower values
2020-07-06 17:39:08 +02:00
Francisco
05fba8574e
Merge pull request #14421 from leandrolanzieri/pr/kconfig/kinetis_boards_symbols
...
boards/kinetis-based: Model features in Kconfig
2020-07-03 14:30:15 +02:00
Cenk Gündoğan
7aa499d5f1
make: use $(MAKE) instead of direct make
call
2020-07-03 12:03:06 +02:00
Leandro Lanzieri
64ca00d3a8
boards/common/kw41z: Add Kconfig symbols
2020-07-02 14:41:41 +02:00
Leandro Lanzieri
6ea04d146b
cpu/kinetis: Provide features based on CPU series
...
Also, rename CPU_FAMILY to the standard CPU_FAM.
2020-07-02 14:41:39 +02:00
e8d8fd2f32
Merge pull request #14404 from benpicco/sys/usb_board_reset_in_bootloader
...
sys/usb_board_reset: add usb_board_reset_in_bootloader definition
2020-07-01 13:49:59 +02:00
chrysn
a787875cf8
usb_board_reset: Split headers into public and private
...
The private parts need USB definitions (and are thus preferably used
from USB_H_USER_IS_RIOT_INTERNAL compilation units). Functions like
usb_board_reset_in_bootloader do not depend on USB headers for their
definitions and are fair game throughout the application even for
generic RIOT USB devices.
2020-07-01 13:22:25 +02:00
Francisco Molina
7515f1152a
boards/common/iotlab: add OpenWSN timing constants
2020-06-30 13:10:56 +02:00
Leandro Lanzieri
8c7b67702b
Merge pull request #14351 from fjmolinas/pr_reorder_makefiles
...
Makefile.include: resolve dependencies before Makefile.include
2020-06-26 10:40:58 +02:00
Your Name
9dea6a14da
boards/common/nrf52: revert early inclusion of Makefile.dep
2020-06-25 09:24:05 +02:00
Leandro Lanzieri
ba2e84ef37
boards/common/remote: Add Kconfig symbols
2020-06-24 15:16:23 +02:00
Leandro Lanzieri
946ce73ae6
boards/common/wsn430: Add Kconfig symbols
2020-06-24 09:30:37 +02:00
Leandro Lanzieri
69a5a56ce0
boards/common/msb-430: Add Kconfig symbols
2020-06-24 09:29:57 +02:00
Benjamin Valentin
5da1a9e577
cpu/esp*: use TIMER_CHANNEL_NUMOF
2020-06-24 00:45:35 +02:00
Francisco
3b593f282e
Merge pull request #14311 from benpicco/boards/common/saml1x_configure_UART
...
boards/common/saml1x: configure UART on EXT1
2020-06-23 13:29:22 +02:00
benpicco
a30d229b12
Merge pull request #14166 from aabadie/pr/cpu/stm32g4
...
cpu/stm32g4: add support + add nucleo-g474re board
2020-06-19 17:05:15 +02:00
Cenk Gündoğan
209248f3b2
Merge pull request #14310 from leandrolanzieri/pr/kconfig/efm32_boards_symbols
...
boards/efm32-based: Model features in Kconfig
2020-06-19 15:02:51 +02:00
34c872093c
boards/common/stm32: add common configuration for stm32g4 boards
2020-06-19 14:18:18 +02:00
benpicco
c3314e1a0c
Merge pull request #14303 from fjmolinas/pr_sam0_unified_rtt
...
cpu/sam0: unified rtt configuration
2020-06-19 11:30:06 +02:00
Francisco Molina
bcfe4bac0b
cpu/saml1x: add unified rtt configuration
2020-06-19 09:16:22 +02:00
Francisco Molina
eefb3fa555
cpu/samd21: add unified rtt configuration
2020-06-19 09:16:22 +02:00
Benjamin Valentin
d156030d99
boards/common/saml1x: configure UART on EXT1
2020-06-19 00:39:12 +02:00
Leandro Lanzieri
99822f3f60
boards/common/slwstk6000b: Add Kconfig symbols
2020-06-18 16:39:55 +02:00
Leandro Lanzieri
59d2a65643
boards/common/silabs: Add Kconfig symbols
2020-06-18 16:39:54 +02:00
b05bcebeba
Merge pull request #14305 from fjmolinas/pr_ztimer_config_usec
...
boards/common/iotlab: add CONFIG_ZTIMER_USEC
2020-06-18 09:19:46 +02:00
Francisco Molina
362eb56bf0
boards/common/iotlab: add CONFIG_ZTIMER_USEC
2020-06-17 14:22:21 +02:00
Leandro Lanzieri
9c6e3ea91a
boards/common/arduino-atmega: Add Kconfig symbols
2020-06-17 10:59:29 +02:00
Leandro Lanzieri
4d65bc8e0a
cpu: Rename CPU_ARCH to CPU_CORE
2020-06-16 12:05:40 +02:00
01a6044400
boards/sodaq: Add DMA to common SPI config
2020-06-16 09:44:14 +02:00
51c5497c5a
common/arduino-mkr: add DMA triggers to spi config
2020-06-14 16:21:32 +02:00
757d727276
common/saml1x: Add DMA triggers to spi config
2020-06-14 16:21:32 +02:00
benpicco
8ed8775c8e
Merge pull request #14269 from benpicco/cpu/sam0_common/timer_drop_prescaler
...
cpu/sam0_common: drop prescaler from timer config
2020-06-12 14:16:59 +02:00
Benjamin Valentin
54b57bd97f
cpu/sam0_common: drop prescaler from timer config
...
since c05984b341
the prescaler in the timer
config struct is no longer used.
Let's remove it.
2020-06-11 19:29:43 +02:00
Benjamin Valentin
2325dba871
makefiles/bossa: move USB reset logic to common file
2020-06-11 11:56:35 +02:00
Francisco
52bcdff113
Merge pull request #14245 from fjmolinas/pr_iotlab_baud
...
boards/common/iotlab: don't enforce BAUD
2020-06-11 09:13:03 +02:00
benpicco
75d82cc9b8
Merge pull request #14209 from btcven/2020_06_04-common-cfg
...
boards/cc26x2_cc13x2-based: move config to common directory
2020-06-10 15:32:11 +02:00
Francisco Molina
f556eb6958
boards/common/iotlab: don't enforce BAUD
2020-06-10 13:32:05 +02:00
Kees Bakker
723fe93850
boards/common/sodaq: add XTIMER_DEV and make it equal to other SAMD21
...
For some reason this was looked over a while back.
This resolves issue #14217
2020-06-07 22:25:30 +02:00
benpicco
cb11b2d33f
Merge pull request #14198 from maribu/wemos-zero
...
boards: Add support for the wemos-zero board
2020-06-05 17:55:43 +02:00
Jean Pierre Dudey
283aacbecd
boards/cc26x2_cc13x2-based: move config to common
...
Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
2020-06-04 17:12:52 -05:00
Marian Buschsieweke
17b890c16e
boards/{arduino,wemos}-zero: Dedpulicated code
2020-06-04 21:28:17 +02:00
Marian Buschsieweke
de189a33f4
boards/arduino-zero: Factor out common code
2020-06-04 21:28:17 +02:00
Benjamin Valentin
b20ec93991
boards: add WeAct-f411ce board
...
The WeAct-F411CE is a blackpill-like board with a STM32F411CE.
It can be flashed using the vendor-provided bootloader.
2020-06-04 12:39:14 +02:00
Gabriel Moyano
2367ff3885
boards/blxxxpill: add TIM1, TIM3 and TIM4 as qdec dev
2020-05-29 22:08:25 +02:00
Marian Buschsieweke
dfa6863275
cpu/atmega{1281,2560}: Relocate default timer config
2020-05-28 16:27:08 +02:00
Marian Buschsieweke
044a3f9a4c
cpu/atmega1284p: Relocate default timer config
2020-05-28 16:27:07 +02:00
Marian Buschsieweke
200afc46fa
cpu/atmega328p: Relocate default timer config
2020-05-28 16:27:07 +02:00
Marian Buschsieweke
a950d6bbb6
cpu/atmega{128rfa1,256rfr2}: Relocate default timer config
2020-05-28 16:27:07 +02:00
Marian Buschsieweke
9138e48746
cpu/atmega32u4: Relocate default timer config
2020-05-28 16:27:06 +02:00
97f98dcace
boards/stm32: remove useless ifdef around DMA config
2020-05-25 13:23:20 +02:00
facb626b02
boards/stm32*: adapt for new stm32 cpu organization
2020-05-20 13:39:10 +02:00
Benjamin Valentin
59f3c1b48b
boards/samd21-arduino-bootloader: add support for UF2 bootloader
2020-05-19 16:58:58 +02:00
benpicco
9f707bf121
Merge pull request #14057 from bergzand/pr/nrf52/dma_spi
...
nrf52: Implement EasyDMA-based SPI peripheral implemenation
2020-05-18 19:42:33 +02:00
1e15bb2680
particle-mesh: Adapt SPI periph config
2020-05-18 19:18:29 +02:00
628d3e9080
nrf52: Adapt SPI periph config
2020-05-18 19:18:29 +02:00
Marian Buschsieweke
7cf49d145d
boards/common/nrf52: Allow external boards
...
Replace `$(RIOTBOARD)/$(BOARD)` with `$(BOARDDIR)`, which also works for
external boards. This allows external boards to build on top of
`$(RIOTBOARD)/common/nrf52`.
2020-05-14 13:56:12 +02:00
benpicco
e3591535ce
Merge pull request #13972 from Citrullin/nrf52_bmp
...
Add bmp config for nrf52
2020-05-12 16:59:34 +02:00
Philipp Blum
3240dfc0b2
boards/common/nrf52: add config for bmp
2020-05-12 15:54:38 +02:00
benpicco
e45777d077
Merge pull request #13809 from Vinggui/master
...
Added a new flashing parameter for generic cheap St-link and bluepill(-128kib) boards.
2020-05-12 11:48:43 +02:00
5773db93f8
Merge pull request #14025 from fjmolinas/pr_nrf5x_rtt_conf
...
boards/common/nrf5x: add configurable RTT_FREQUENCY
2020-05-05 17:46:05 +02:00
343dc3f90f
Merge pull request #13909 from fjmolinas/pr_stm32_rtt
...
cpu/stm32_common: make RTT_FREQUENCY configurable
2020-05-05 16:45:39 +02:00
Francisco Molina
409185c5ce
boards/common/nrf5x: add configurable RTT_FREQUENCY
...
Adds: RTT_MAX_FREQUENCY, RTT_MIN_FREQUENCY & RTT_CLOCK_FREQUENCY
2020-05-05 14:52:55 +02:00
Francisco Molina
b5bcf26e0f
cpu/stm32_common: make RTT_FREQUENCY configurable
...
Adds: RTT_MAX_FREQUENCY, RTT_MIN_FREQUENCY & RTT_CLOCK_FREQUENCY
2020-05-05 14:36:31 +02:00
Benjamin Valentin
dc58ef59ae
boards: remove duplicate gnrc_netdev_default from Makefile.dep
...
`gnrc_netdev_default` will pull in `netdev_default`, so no need to
check for both in `Makefile.dep`
2020-05-05 09:58:45 +02:00
Vinicius G. Guimaraes
f8776a989f
boards/blxxxpill: add support for stm32duino bootloader and for generic St-Link V2.
2020-05-04 19:36:15 -07:00
Dylan Laduranty
57c1a49a82
Merge pull request #13957 from benpicco/cpu/samd21-pwm_flex
...
cpu/samd21: PWM don't hard-code number of channels to 3
2020-05-02 20:52:56 +02:00
Dylan Laduranty
76870721fe
Merge pull request #13965 from benpicco/cpu/sam0_common/periph/dac
...
cpu/sam0_common: implement periph/dac
2020-05-02 20:34:40 +02:00
Benjamin Valentin
777931bcdc
boards/common/saml1x: enable DAC
...
Both saml10-xpro and saml11-xpro expose PA02 on the pin header, so
we can enable the DAC feature.
2020-05-02 18:31:55 +02:00
Francisco Molina
b78e4efb56
cpu/stm32f1: dont provide periph_rtc at cpu level
...
stm32f1 periph_rtc implementation gets a 1s resolution by dividing
CLOCK_LSx by 32768. This only make sense if CLOCK_LSE is set,
otherwise CLOCK_LSI=~40000, which will lead to an imprecise rtc.
2020-04-27 08:59:21 +02:00
Benjamin Valentin
393105a9e1
boards/common/arduino-mkr: update PWM configuration
2020-04-26 22:52:29 +02:00
Francisco Molina
a72abe5903
boards/common/blxxxpill: provide periph_rtt
2020-04-24 10:44:57 +02:00
Francisco Molina
4d398ab09e
cpu/stm32f1: add unified rtt configuration
2020-04-24 08:57:04 +02:00
Marian Buschsieweke
fdf955cfb2
Merge pull request #13899 from Hoernchen20/stm32f1_adc
...
boards/blxxxpill: improve adc
2020-04-22 23:07:26 +02:00
Hoernchen20
c64f7f72c2
boards/common/blxxxpill: Drop ADC lines used for stdio
2020-04-22 21:16:20 +02:00
Hoernchen20
4e87682ba1
boards/common/blxxxpill: Add internal ADC lines
2020-04-22 21:08:20 +02:00
Leandro Lanzieri
75b371ccb0
boards/common/msba2: Set RTS and DTR to 0 when using Miniterm
2020-04-22 08:08:23 +02:00
benpicco
17f1a85bf1
Merge pull request #12415 from maribu/nucleo_board_init
...
boards/common/nucleo: Marked board_init as weak
2020-04-16 23:30:19 +02:00
73615d690d
boards/stm32l4: introduce common clock configuration
2020-04-07 17:42:56 +02:00
010aca2638
Merge pull request #13719 from aabadie/pr/boards/flash_export_remove
...
boards*: remove remaining uses of export with some openocd related variables
2020-04-07 11:58:28 +02:00
0f9e56d0ff
boards/samd21-bootloader: don't use bootloader with slipdev_stdio
2020-04-02 16:42:37 +02:00
fc7e98b60c
boards/samd21-arduino: exclude reset with usb-board-reset macro
2020-04-02 16:41:53 +02:00
Francisco Molina
72a2220d21
boards/common/nrf52: include Makefile.board.dep in hack
...
nrf52 includes include $(RIOTBOARD)/$(BOARD)/Makefile.dep to know
if `nordic_softdevice_ble` is used, this changes dependency
resolution sinnce -include $(APPDIR)/Makefile.board.dep should
be resolved before.
This can be removed once #9913 is if `nordic_softdevice` is
deprecated.
2020-04-02 14:51:22 +02:00
cd0b765346
Merge pull request #13664 from fjmolinas/pr_samd21_bootloader_default_module
...
boards: set samd21-arduino-bootloader as DEFAULT_MODULE
2020-04-01 21:42:42 +02:00
Francisco Molina
1387b736b7
boards: conditionally include samd21-arduino-bootloader
...
samd21-arduino-bootloader and its dependencies will only be
included if no other stdio_% (other than stdio_cdc_acm) is included.
2020-04-01 15:10:32 +02:00
Dylan Laduranty
6bba4188fc
Merge pull request #13764 from benpicco/cpu/saml11/use_buck_converter
...
cpu/saml1x: select buck voltage regulator when possible
2020-04-01 14:47:47 +02:00
Benjamin Valentin
2d14a328c4
board/common/saml1x: enable buck converter
2020-03-31 17:18:58 +02:00
Francisco Molina
8437673237
boards/common/cc2538/include: re-order timer config
2020-03-30 16:09:18 +02:00
f3dd7e0e2a
boards*: don't export PRE_FLASH_CHECK_SCRIPT
2020-03-26 09:37:27 +01:00
f2aa38c8f9
boards*: don't export OPENOCD_PRE_FLASH_CMDS
2020-03-26 09:31:22 +01:00
91d883df47
boards*: don't export OPENOCD_PRE_VERIFY_CMDS
2020-03-26 09:31:21 +01:00
benpicco
e9b71254ff
Merge pull request #13694 from fjmolinas/pr_boards_common_cc2538
...
boards: add common cc2538
2020-03-25 11:11:50 +01:00
bf2b495d34
Merge pull request #13703 from fjmolinas/pr_usbus_autoinit
...
Makefile.dep: add auto_init_usbus as usbus DEFAULT_MODULE
2020-03-25 10:19:04 +01:00
Francisco Molina
e220483adc
boards: p-nucleo-wb55 initial support
2020-03-25 09:29:57 +01:00
Francisco Molina
194af687a0
boards/common: add cc2538
2020-03-25 08:20:52 +01:00
Francisco Molina
15ab36409f
Makefile.dep: add auto_init_usbus as usbus DEFAULT_MODULE
2020-03-24 14:33:09 +01:00
Leandro Lanzieri
877db8c00e
Merge pull request #13557 from gschorcht/doc/fix_url
...
doc: fix broken links
2020-03-24 13:08:18 +01:00
fc6b586919
Merge pull request #13586 from bergzand/pr/nrf/dcdc
...
nrf5x: Add and enable configuration for the built-in DC/DC converter
2020-03-24 11:56:40 +01:00
Gunar Schorcht
9db19e35b5
boards/common/slwstk6000b: fix broken links
2020-03-24 10:38:40 +01:00
Gunar Schorcht
5b8d503bc9
boards/common/blxxxpill: fix broken links
2020-03-24 10:38:40 +01:00
Leandro Lanzieri
194b8a7aca
boards/esp8266: Move common modules to common Makefile.dep
2020-03-24 09:21:22 +01:00
Leandro Lanzieri
f46b0c2da3
boards/esp32: Move inclusion of boards_common_esp32 to common file
2020-03-24 09:21:22 +01:00
Francisco Molina
5d14104056
boards: add clock configuration for cc2538
2020-03-21 19:32:23 +01:00
Francisco
b98e4bf0d1
Merge pull request #13658 from fjmolinas/pr_periph_timer_cc2538
...
cpu/cc2538: fix GPT3 IRQ definition
2020-03-20 14:31:05 +01:00
benpicco
5435792034
Merge pull request #12277 from benemorius/pr/kw41zrf
...
drivers: add kw41zrf
2020-03-20 00:49:56 +01:00
Joakim Nohlgård
5bd67d88a8
drivers/kw41zrf: Transceiver driver for the KW41Z radio
...
This is the radio found in NXP Kinetis KW41Z, KW21Z. Only 802.15.4 mode
is implemented (KW41Z also supports BLE on the same transceiver).
The driver uses vendor supplied initialization code for the low level
XCVR hardware, these files were imported from KSDK 2.2.0 (framework_5.3.5)
2020-03-19 17:00:04 -05:00
Francisco Molina
2f3a0e9b7e
boards: fix CORE_CLOCK for cc2538 based boards
2020-03-19 16:31:56 +01:00
f5a17a90fb
boards/sodaq-*: use bootloader_arduino feature
2020-03-18 10:53:17 +01:00
a2c20666f0
boards/arduino-mkr: use bootloader_arduino feature
2020-03-18 10:53:16 +01:00
c7f6d53773
boards/samd21-arduino-bootloader: add common board module
...
This module implements the 2 functions called when requesting a board 'reset in application' and 'board reset in bootloader' actions.
This module will also configure the behaviour of bossa flasher and has a dependency on USBUS CDC ACM module for providing STDIO over USB
2020-03-18 10:52:51 +01:00
7be303f12f
Merge pull request #7583 from haukepetersen/add_sam3_rtt
...
cpu/sam3: added RTT driver
2020-03-12 21:30:05 +01:00
Francisco
3153a86551
Merge pull request #11192 from aabadie/pr/tools/dfu
...
boards: include common dfu logic where applicable
2020-03-12 09:05:32 +01:00
Hauke Petersen
8f8eb86e54
boards/common/arduino-due: add RTT config+feature
2020-03-11 12:53:20 +01:00
Hauke Petersen
2e04b1d0dc
boards/common/arduione-due: add 32khz clock opt
2020-03-11 12:53:04 +01:00
benpicco
d294e1d01c
Merge pull request #9572 from maribu/atmega-debug
...
On-Chip Debugging for AVR/ATmega based boards
2020-03-11 11:40:40 +01:00
Francisco
db0452201d
Merge pull request #13567 from aabadie/pr/boards/jlink_export_cleanup
...
boards: remove exports of jlink related variables
2020-03-10 18:46:58 +01:00
79431878ac
Merge pull request #13051 from dylad/pr/uart_hw_fc
...
cpu/uart: create common uart hw fc module
2020-03-10 16:41:36 +01:00
c49ad27499
boards: don't export JLINK_PRE_FLASH
2020-03-10 16:31:32 +01:00
8489a0af53
boards: don't export FLASH_ADDR
...
This variable is already export in vars.inc.mk
2020-03-10 16:31:01 +01:00
1e9879fbcf
boards: unexport JLINK_DEVICE variable
2020-03-10 16:28:03 +01:00
Francisco
6ba665858b
Merge pull request #13593 from aabadie/pr/boards/pyocd_export_remove
...
boards/pyocd: cleanup use of `export` keyword
2020-03-10 15:19:34 +01:00
Dylan Laduranty
6baf501a3d
boards/cc2538: update to use generic uart_hw_fc module
2020-03-10 14:22:34 +01:00
Dylan Laduranty
88bb019438
boards/sam0: update to use generic uart_hw_fc module
2020-03-10 14:22:34 +01:00
Marian Buschsieweke
edd93411fe
dist: De-duplicated AVR debug config & scripts
...
Use common debug.sh, debug_srv.sh and gdb.conf for all AVR boards.
2020-03-10 12:54:51 +01:00
631fbd9fc8
boards/blxxxpill: rework programmer specific configuration
2020-03-10 11:42:10 +01:00
f56470925b
boards: include common dfu logic where applicable
2020-03-10 11:42:10 +01:00
benpicco
f0ac1624c5
Merge pull request #13594 from aabadie/pr/tools/cc2538-bsl_rework
...
tools/cc2538-bsl: deduplicate buildsystem integration
2020-03-09 19:39:43 +01:00
b4418426ba
boards/cc2538: use common cc2538-bsl handling file
2020-03-09 18:26:08 +01:00
2ec09ebd74
boards/nrf52: remove useless export of FLASH_TARGET_TYPE
2020-03-08 15:12:44 +01:00
Marian Buschsieweke
8fd8c8273f
boards/{nucleo-f103rb,b*pill}: Expose JTAG pins as GPIOs
...
The Nucleo-F103RB comes with an internal SWD programmer/debugger. Thus, the JTAG
pins are not going to be used for debugging / programming anyway. The pins are
exposed on the headers, so allowing them to be used as GPIOs make a lot of
sense.
The Bluepill / Blackpill boards only expose the SWD pins on the debug header,
but the JTAG pins (not also used by SWD) are exposed on the GPIO pin headers.
Hence, exposing them as regular GPIOs seems to be a reasonable choice.
2020-03-08 13:06:34 +01:00
bea3f71f91
nrf52xxxdk: Enable the nRF52 built-in DC/DC converter
2020-03-07 17:37:41 +01:00
benpicco
7396d05605
Merge pull request #13575 from fjmolinas/pr_cc2538_rf_deps
...
cpu/cc2538: handle cc2538_rf deps in Makefile.dep
2020-03-06 18:00:51 +01:00
Francisco Molina
80ecac5fde
boards: use cc2538_rf as netdev_default for CPU=cc2538
2020-03-06 14:17:52 +01:00
Francisco Molina
ff6f6618fb
cpu/cc2538: handle cc2538_rf deps in Makefile.dep
2020-03-06 14:17:19 +01:00
Benjamin Valentin
ed4d871835
dist/tools/cc2538-bsl: use upstream version
...
Automatically fetch the upstream version of cc2538-bsl.py instead
of maintaining our own fork of the tool.
fixes #13566
2020-03-06 11:13:21 +01:00
eafba65911
boards/common/arduino-atmega: add ztimer configuration
2020-03-04 12:44:03 +01:00
benpicco
7792f91ddc
Merge pull request #13535 from btcven/2020_03_02-cc1312-openocd
...
boards/cc1312-launchpad: add OpenOCD configuration
2020-03-04 00:26:14 +01:00
Jean Pierre Dudey
ca2e2a4289
boards/cc1312-launchpad: add OpenOCD configuration
...
This enables OpenOCD for the CC1312 LaunchPad.
All we need is:
- The Texas Instruments version of OpenOCD
(https://git.ti.com/cgit/sdo-emu/openocd )
- Set the `PROGRAMMER` environment variable to `openocd`.
- Connect a cc1312-launchpad and play with the commands.
Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
2020-03-03 13:42:29 -05:00
95d607b54d
Merge pull request #13480 from aabadie/pr/tools/openocd_export_variables
...
tools/openocd: export configuration variables only to required targets
2020-03-03 18:16:05 +01:00
2722869dbb
boards/arduino-due: don't export BOSSA_ARDUINO_PREFLASH
2020-03-03 14:18:03 +01:00
bd81060354
boards/{telosb,iotlab}: remove useless export for BAUD
...
The variable is already eported in serial.inc.mk
2020-03-03 14:18:03 +01:00
Francisco
3f062a78b2
Merge pull request #13045 from aabadie/pr/boards/remote_factorize
...
boards/remote*: cleanup and factorize code in peripheral configuration headers
2020-03-03 13:21:04 +01:00
481f3bcb35
Merge pull request #13180 from fjmolinas/pr_slwstk6000b_cleanup
...
boards/slwstk6000b-*: cleanup
2020-03-03 13:15:03 +01:00
f1ba22534a
boards: don't export globally OPENOCD_RESET_USE...
2020-03-03 11:42:19 +01:00
Francisco Molina
86ed76fec0
boards/common/slwstk6000b: remove unused files
2020-03-03 11:24:28 +01:00
Francisco Molina
e951b720b8
boards/common/slwstk6000b: use slwstk6000b.vars.mk to parse JLINK_DEVICE
2020-03-03 11:24:27 +01:00
Francisco Molina
22aae93efb
boards/common/slwstk6000b: cleanup slwrb41* includes
2020-03-03 11:24:26 +01:00
Francisco Molina
b7783e67a8
boards/common/slwstk6000b: use slwstk6000b.vars.mk to parse CPU_MODEL
2020-03-03 11:24:26 +01:00
Francisco Molina
96cfa1d41c
boards/common/slwstk6000b: add module variables makefile
2020-03-03 11:22:48 +01:00
Karl Fessel
979b4d5cf7
Revert "boards/nucleo-f767zi: add correct flash bank openocd config"
...
This reverts commits:
- 1dec5ba61b
- 53f60db66f
2020-02-28 13:51:58 +01:00
0d468c1068
boards/common/silabs: remove OPENOCD_CONFIG export
2020-02-25 17:26:00 +01:00
f451eb692c
Merge pull request #13452 from aabadie/pr/tools/openocd_config_export
...
tools/openocd: only export OPENOCD_CONFIG to required targets
2020-02-25 15:11:38 +01:00
d41621e95f
boards/arduino-due: force bossa 1.8 version
2020-02-25 11:49:10 +01:00
benpicco
77d6eaaf19
Merge pull request #13461 from benpicco/sam_xpro-led-fix
...
boards/samXXX-xpro: clear LED on init
2020-02-24 21:56:36 +01:00
Benjamin Valentin
bc5ac92cff
boards/samXXX-xpro: clear LED on init
...
The LED on the sam-xpro boards is active low, so we have
to turn it off manually, otherwise it's always on.
2020-02-24 19:44:36 +01:00
benpicco
4671fd2fe4
Merge pull request #10475 from chrysn-pull-requests/openocd-for-stk3700
...
boards/any silabs: Allow selecting OpenOCD
2020-02-24 19:12:43 +01:00
9363f077d6
boards: don't export globally OPENOCD_CONFIG
...
The variable is already exported to required target in openocd.inc.mk
2020-02-24 10:04:11 +01:00
Gunar Schorcht
d251ffd205
boards/esp8266: enable arduino feature
2020-02-21 09:09:34 +01:00
chrysn
f4b1d60887
boards/*silabs: Move programmer selection to common
...
This removes duplication for the jlink case (keeping only any
non-default values in the board makefiles), and opens up STK3700's
OpenOCD programmability for generic boards.
2020-02-14 09:42:20 +01:00
3ac25c3ac9
Merge pull request #12556 from bergzand/wip/stusbdev
...
stm32_common: Add USB OTG FS/HS usbdev peripheral driver
2020-02-11 20:39:46 +01:00
1f5340c307
boards/stm32: Add default config for USB OTG HS peripheral
2020-02-11 15:50:22 +01:00
fc63fb77bf
boards/stm32: Add default config for USB OTG FS peripheral
2020-02-11 15:50:18 +01:00
benpicco
d8c050943c
Merge pull request #13327 from maribu/atmega-bootloader
...
boards: Cleaned up bootloader selection for ATmega
2020-02-10 23:18:43 +01:00
Marian Buschsieweke
750d3078e4
boards/common/arduino-atmega: Refactoring
...
- including `avrdude.mk` and `serial.mk` is no longer needed
- the avrdude flag -F is dropped
- This allows flashing a board having an MCU different to the one
RIOT was compiled for
- It is better to let the user provide this flag manually if she/he really
wants to turn safety off, knows what she/he is doing, and accepts the
risk associated with this
- the avrdude flag -D is dropped
- This disables issuing an erase command during flashing, however this
erase cycle is strictly required to be able to program the flash
- This is only needed in case of the stk500v2 bootloader, which implicitly
does the erase cycle and fails if explicitly asked to do so
- Only for the stk500v2 bootloader this flag is now added
2020-02-10 14:52:07 +01:00
Marian Buschsieweke
95704348ae
boards/common/atmega: Refactor flash & serial conf
...
- Include `tools/avrdude.mk` and `tools/serial.mk` at the common place instead
for each ATmega based board individually
- Introduce the makefile variable BOOTLOADER to de-duplicate flash configs:
- Two boards using the same bootloader now just use `BOOTLOADER ?= foo`
and share the individual config
- These settings are not applied when `PROGRAMMER` is set to still allow
users to manually specify how to program their board
2020-02-10 14:48:39 +01:00
Francois Berder
b4ab22673e
boards: Use ARRAY_SIZE for setting UART_NUMOF, SPI_NUMOF, I2C_NUMOF
...
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2020-02-09 20:55:46 +00:00
713fead00a
boards: move some USEMODULE to Makefile.dep
2020-02-07 13:21:22 +01:00
d6264f56c8
Merge pull request #13168 from fjmolinas/pr_iotlab_openocd
...
boards/iotlab: add DEBUG_ADAPTER_ID openocd
2020-02-05 11:30:11 +01:00
Benjamin Valentin
c4e0ed4b79
boards: use explicit GCLK_SRC defines
2020-02-04 21:17:00 +01:00
Benjamin Valentin
1496149bba
cpu/sam0: don't hard-code peripheral clocks
...
Instead of hard-coding the peripheral clocks to CLOCK_CORECLOCK
introduce helper functions to return the frequency of the individual
GCLKs and use those for baud-rate calculations.
This requires the GCLK to be part of the peripheral's config struct.
While this is already the case for most peripherals, this also adds
it for those where it wasn't used before.
As it defaults to 0 (CLOCK_CORECLOCK) no change is to be expected.
2020-02-04 21:06:21 +01:00
Benjamin Valentin
a51d167a43
cpu/sam0: use GCLK ID instead of bitmask
...
To simplify board definitions and for unification between samd2x and
newer models, don't use the GCLK bitmask in board definitions.
Instead use the GCLK index and generate the bitmask when needed.
2020-02-04 21:06:21 +01:00
benpicco
5d1bf26f0c
Merge pull request #13076 from gschorcht/boards/esp32/ttgo_t_beam_gps
...
boards/esp32: enable GPS module on ESP32 TTGO T-Beam V1.0
2020-02-01 23:25:55 +01:00
Gunar Schorcht
624c6f24ca
boards/esp32: allow board specific initialization
2020-02-01 16:12:05 +01:00
Marian Buschsieweke
613ef0fdf0
boards/common/nucleo: Marked board_init as weak
...
Made `void board_init(void)` in the common implementation a weak symbol to
allow providing a custom board init, if the common nucleo board init misses
features.
2020-01-31 13:41:50 +01:00
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
Francisco Molina
94853d5e1d
boards/iotlab-%: define DEBUG_ADAPTER
2020-01-28 11:56:56 +01:00
Francisco Molina
f79397f7be
boards/iotlab-%: use common openocd config
2020-01-28 11:56:38 +01:00
98995f685b
Merge pull request #13179 from fjmolinas/pr_openocd_stm32f7_probe
...
boards/nucleo-f767zi: add correct flash bank openocd config
2020-01-28 10:48:23 +01:00
Francisco Molina
1dec5ba61b
boards/common/stm32f7: add correct flash bank configuration
...
openocd configuration file for `stm32f7` relies on probing to find out
FLASH_ADDR. On nucleo-f767zi board probing (`flash probe 0`) fails when
`srst` is asserted, but `srst` needs to be asserted to be able to flash
the `BOARD` when sleeping or after a hardfault.
To circumvent this in boards/common/stm32/dist/stm32f7.cfg we define a new
flash bank with the appropriate fash start address and specify that this is
the flash bank to be used as default configuration instead of the
default by setting FLASH_BANK=4
2020-01-27 22:32:06 +01:00
Gunar Schorcht
416e8ce8e6
cpu/esp32: fix C linkage compilatio error
...
With the new toolchain version required to fix issue #13133 , the compilation of `examples/posix_socket` fails due to a C linkage error in `atomic_base.h`. The reason is that including `drivers/include/mtd.h` in `boards/esp32/board_common.h` inside the `extern C` block finally leads to including `atomic_base.h` inside the `extern C` block which in turn to the C linkage error for the template definitions in this file.
2020-01-16 13:03:49 +01:00
76b9cfb677
Merge pull request #12973 from fjmolinas/pr_atmega_tx_isr
...
cpu/atmega_common/periph/uart: use TX_ISR to check TX end
2020-01-15 11:51:22 +01:00
Francisco Molina
fb388bf5b6
boards/atmega/include/periph_conf_atmega_common: add USARTn_TX_vect
2020-01-15 10:02:41 +01:00
Bas Stottelaar
aeed1f3153
boards/slwstk6000b: add documentation
2020-01-13 23:31:51 +01:00
Leandro Lanzieri
50f1b1423a
Merge pull request #12999 from fjmolinas/pr_native_makefile_include_explicit_path
...
boards: use explicit paths for file inclusion
2020-01-13 16:00:48 +01:00
Francisco Molina
74cecf30f0
boards/common/arduino-mkr: remove /Makefile.dep
...
Makefile.dep is already included for the board no need to do it here.
2020-01-13 11:53:48 +01:00
Hyungsin
6eed5b9d43
remove XTIMER_OVERHEAD
2020-01-10 13:22:11 -08:00
2bcf1890bb
boards/remote*: factorize provided features
2020-01-08 14:42:03 +01:00
43a9529ed2
boards/remote: remove unused periph_common.h
2020-01-08 14:41:31 +01:00
4a0ac8e4e8
boards/remote: add common default config headers
2020-01-08 14:38:52 +01:00