3974 Commits

Author SHA1 Message Date
Dylan Laduranty
a33e61e997 boards/stm32: update to use generic uart_hw_fc module 2020-03-10 14:34:11 +01:00
Dylan Laduranty
48231efb20 boards/cc26xx_cc13xx: use generic hw fc module 2020-03-10 14:22: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
f2edcf9674
makefiles/tools/avrdude: Improved debug handling
- Choose correct debug protocol for ATmega328P (which supports debugWIRE instead
  of JTAG)
- Allow overwriting debugger device via AVR_DEBUGDEVICE environment variable,
  default to the Atmel-ICE (least expensive, supports most AVR devices)
2020-03-10 14:03:33 +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
Alexandre Abadie
631fbd9fc8
boards/blxxxpill: rework programmer specific configuration 2020-03-10 11:42:10 +01:00
Alexandre Abadie
f56470925b
boards: include common dfu logic where applicable 2020-03-10 11:42:10 +01:00
Francisco
1b5f22ec2e
Merge pull request #8410 from OTAkeys/pr/fix_stm32f1_boards
boards: fix CLOCK_PLL_PREDIV on stm32f1-based boards
2020-03-10 09:35:48 +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
benpicco
0cf6e39be5
Merge pull request #13589 from maribu/stm32f103-jtag-pins
cpu/stm32f103: Allow boards to expose JTAG pins as GPIOs
2020-03-09 19:07:52 +01:00
Alexandre Abadie
b4418426ba
boards/cc2538: use common cc2538-bsl handling file 2020-03-09 18:26:08 +01:00
Vincent Dupont
4647659ea8 boards: fix CLOCK_PLL_PREDIV on stm32f1xx boards 2020-03-09 18:00:48 +01:00
Leandro Lanzieri
ab10b33848 boards/esp32-wroom-32/doc: Add SPI freq configuration for mrf24j40 2020-03-09 16:51:35 +01:00
Leandro Lanzieri
cffc9b70bf boards/esp32-wroom-32: Remove drivers configuration from Makefile.dep
This removes the configuration parameters for mrf24j40 and enc28j60
drivers, which were present in the boards's Makefile.dep. There is
already documentation regarding how to correctly configure these devices
for the board.
2020-03-09 16:49:11 +01:00
Alexandre Abadie
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
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
Koen Zandberg
ed316309c8
Merge pull request #11874 from kaspar030/ztimer
sys/ztimer: initial import
2020-03-06 09:46:27 +01:00
benpicco
681678e3f3
Merge pull request #13537 from jue89/feature/sam0-spi-frequency
cpu/sam0_common: mitigate rounding errors of SPI baud rate calculation
2020-03-04 16:50:46 +01:00
f49e756436 boards/ek-lm4f120xl: add ztimer config, increase ztimer_usec_min 2020-03-04 12:44:03 +01:00
a2c0823063 boards/native: add ztimer configuration 2020-03-04 12:44:03 +01:00
84365e326a boards/*-kw41z: add ztimer_msec config 2020-03-04 12:44:03 +01:00
73adecc02d boards/samr21-xpro: add ztimer config 2020-03-04 12:44:03 +01:00
eafba65911 boards/common/arduino-atmega: add ztimer configuration 2020-03-04 12:44:03 +01:00
Koos
24b9b99fee boards/stm32f3discovery: Updated broken image link 2020-03-04 09:54:36 +01:00
Koos
f970f67785 boards/sodaq-sara-aff: Updated broken image link 2020-03-04 09:54:36 +01:00
Koos
ed2ea24405 boards/sodaq-autonomo: Updated broken image link 2020-03-04 09:54:36 +01:00
Koos
2a253ed175 boards/saml11-xpro: Updated broken image link 2020-03-04 09:54:36 +01:00
Koos
8219685be1 boards/nrf52840-mdk: Updated broken image link 2020-03-04 09:54:36 +01:00
Koos
6dd8b2deac boards/frdm-k64f: Updated broken image link 2020-03-04 09:54:36 +01:00
Koos
cec9817b2e boards/arduino-mega2560: Updated broken image link 2020-03-04 09:54:36 +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
6e77d9194b
boards/cc1352-launchpad: enable OpenOCD
Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
2020-03-03 13:42:33 -05: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
Martine Lenders
e4f27b415e
Merge pull request #13394 from benpicco/atmega-rtc
cpu/atmega_common: implement emulated RTC support
2020-03-03 19:03:47 +01:00
Alexandre Abadie
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
Benjamin Valentin
1dd260b446 boards: enable RTC for every ATmega board that supports RTT
Every ATmega board that can run an Real Time Timer can also run
an emulated Real Time Clock.

Got all supported boards by adding `FEATURES_REQUIRED += arch_8bit`
to `tests/periph_rtt` and running

    sed -i 's/FEATURES_PROVIDED += periph_rtt/
              FEATURES_PROVIDED += periph_rtc\n
              FEATURES_PROVIDED += periph_rtt/g'

on them.
2020-03-03 16:27:44 +01:00
Alexandre Abadie
26222d601c
boards/arduino-mkr: don't export MKR_JLINK_DEVICE variables 2020-03-03 14:18:03 +01:00
Alexandre Abadie
d10211b7ff
boards/esp32-wroom-32: don't export _PARAM_DEFINED variables 2020-03-03 14:18:03 +01:00
Alexandre Abadie
a8b81adbd2
boards/cc2650*: don't export XDEBUGGER variable 2020-03-03 14:18:03 +01:00
Alexandre Abadie
21f48af3cd
boards/nz32-sc151: don't export ID variable 2020-03-03 14:18:03 +01:00
Alexandre Abadie
2722869dbb
boards/arduino-due: don't export BOSSA_ARDUINO_PREFLASH 2020-03-03 14:18:03 +01:00
Alexandre Abadie
acce5e22d1
boards/pic32: don't export APPDEPS
This variable is already export in vars.inc.mk
2020-03-03 14:18:03 +01:00
Alexandre Abadie
cc48b67fb5
boards/pic32: don't export USE_UHI_SYSCALLS 2020-03-03 14:18:03 +01:00
Alexandre Abadie
b7f5b18991
boards: don't export ROM_OFFSET variable 2020-03-03 14:18:03 +01:00
Alexandre Abadie
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