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
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
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
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
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
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
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
26222d601c
boards/arduino-mkr: don't export MKR_JLINK_DEVICE variables
2020-03-03 14:18:03 +01:00
d10211b7ff
boards/esp32-wroom-32: don't export _PARAM_DEFINED variables
2020-03-03 14:18:03 +01:00
a8b81adbd2
boards/cc2650*: don't export XDEBUGGER variable
2020-03-03 14:18:03 +01:00
21f48af3cd
boards/nz32-sc151: don't export ID variable
2020-03-03 14:18:03 +01:00
2722869dbb
boards/arduino-due: don't export BOSSA_ARDUINO_PREFLASH
2020-03-03 14:18:03 +01:00
acce5e22d1
boards/pic32: don't export APPDEPS
...
This variable is already export in vars.inc.mk
2020-03-03 14:18:03 +01:00
cc48b67fb5
boards/pic32: don't export USE_UHI_SYSCALLS
2020-03-03 14:18:03 +01:00
b7f5b18991
boards: don't export ROM_OFFSET variable
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
Juergen Fitschen
8fbfb13c84
Revert "boards/samr30-xpro: fix AT86RF212B communication"
...
This reverts commit a9faac7218
.
The changed rounding behavior sets the SPI baud rate to 4MHz, which is a suitable rate for the AT86RF212B.
2020-03-03 12:32:54 +01:00
d13d1aed48
Merge pull request #13336 from bergzand/pr/mtd_spi_nor/erase_timings_in_struct
...
mtd_spi_nor: erase timings in struct
2020-03-03 11:59:28 +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
8931889865
pinetime: add erase timings to mtd_spi_nor instance
2020-03-03 09:49:08 +01:00
dcdaf8a2ab
mulle: add erase timings to mtd_spi_nor instance
2020-03-03 09:49:08 +01:00
Juergen Fitschen
a9faac7218
boards/samr30-xpro: fix AT86RF212B communication
...
This board is driven by a 16MHz clock source. In this case, the baud rate generator is able to clock the SPI interface with 4MHz or 8MHz only.
Due to integer division and rounding, the interface is actually driven with 8MHz, which is too fast for the AT86RF212.
2020-03-02 18:38:04 +01:00
Francisco
5af4c5a9c5
Merge pull request #13470 from kfessel/fix13179
...
boards/nucleo-f767zi: Fix13179 make nucleo-f767zi debuggable again
2020-02-28 17:42:10 +01:00
benpicco
2ebf1d68b4
Merge pull request #13497 from benpicco/openmote-b-fixes
...
boards/openmote-b: add saul config, add note about flashing
2020-02-28 14:59:25 +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
Benjamin Valentin
961b333ea6
boards/openmote-b: add saul config
...
Hook up the GPIOs and the si7006 sensor to SAUL.
2020-02-28 13:37:15 +01:00
Benjamin Valentin
bf96e97e34
boards/openmote-b: extend doc.txt about flashing
...
To flash the board the intelhex python package needs to be installed.
Add a note about it to the documentation.
2020-02-28 13:37:15 +01:00
benpicco
23c5d34284
Merge pull request #10846 from benemorius/kw41z-mini
...
boards: add support for kw41z-mini
2020-02-28 07:40:25 +01:00
Thomas Stilwell
ef6024cf1a
boards: add kw41z-mini
2020-02-27 21:34:04 -06:00
Benjamin Valentin
9d1a2b5fb4
boards/mcb2388: add I2C config
...
The pins for I2C0 and I2C1 are available on the board,
nothing is wired up to them.
2020-02-26 23:41:38 +01:00
Benjamin Valentin
4d5d3eb9e6
boards/msba2: hook up i2c
...
I2C is not used by any chip on the board, but I2C2 is availiable
on the JP3 connector (shared with UART2).
- SDA: P0.10
- SCL: P0.11
2020-02-26 23:41:38 +01:00
cbb248319e
boards/pinetime: update mtd_spi_nor config
2020-02-26 10:00:55 +01:00
2dcf65d942
Merge pull request #13332 from bergzand/pr/mtd_spi_nor/params_struct
...
mtd_spi_nor: Move const params to separate struct
2020-02-26 09:43:18 +01:00
Peter Kietzmann
a27b58fbba
Merge pull request #13479 from MichelRottleuthner/pr_phytec_fix_tmp_addr
...
boards/pba-d-01-kw2x: add config for tmp006 addr
2020-02-25 21:04:20 +01:00
a8231f2079
Merge pull request #13161 from bergzand/pr/pinetime/mtd
...
pinetime: add MTD configuration
2020-02-25 20:44:59 +01:00
Michel Rottleuthner
9ec1a6fab5
boards/pba-d-01-kw2x: add config for tmp006 addr
2020-02-25 20:25:26 +01:00
benpicco
aa1c23d4bd
Merge pull request #11929 from fabian18/driver-at24cxxx-eeprom
...
Driver for AT24CXXX EEPROM
2020-02-25 18:16:45 +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
514873fe12
pinetime: add MTD configuration
2020-02-25 14:31:39 +01:00
785052e410
Merge pull request #13468 from aabadie/pr/tools/bossa_rework
...
tools/bossa: split between 1.8 and 1.9 versions
2020-02-25 13:32:38 +01:00
d41621e95f
boards/arduino-due: force bossa 1.8 version
2020-02-25 11:49:10 +01:00
fe8c242a30
boards/native: remove exports of UNDEF vars
2020-02-25 09:40:34 +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
fabian18
07f7d818bd
boards/same54-xpro: use at24cxxx EEPROM
2020-02-24 14:00:25 +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
bd081cd980
tools/openocd: remove default OPENOCD_CONFIG value
...
The default value is already set in openocd.inc.mk
2020-02-24 10:04:11 +01:00
d7cbfe4f45
Merge pull request #13378 from francois-berder/nucleo-doc-cleanup
...
boards: nucleo*: Cleanup documentation
2020-02-24 08:01:42 +01:00
Jean Pierre Dudey
130467dd91
cc1312-launchpad: add board documentation
...
Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
2020-02-22 12:43:11 -05:00
benpicco
ce947b4824
Merge pull request #12955 from gschorcht/cpu/esp/deduplicate_and_cleanup
...
cpu/esp*: code deduplication and cleanup
2020-02-22 13:03:18 +01:00
benpicco
261ede7b79
Merge pull request #13414 from benpicco/boards/same54-xpro/peripheral-clocks
...
boards/same54-xpro: don't source peripheral clocks from main clock
2020-02-21 23:25:22 +01:00
benpicco
8d77ec55ae
Merge pull request #13409 from aabadie/pr/cpu/nrf_gpio_t
...
cpu/nrf5x: provide gpio_t type definition
2020-02-21 18:55:46 +01:00
Martine Lenders
4be4f5ad0a
boards/native: add deprecation warnings for make all-debug
2020-02-21 12:51:41 +01:00
Martine Lenders
1786a8353a
boards/native: remove now unnecessary -g3
CFLAGS
...
dbd865413c
made `-g3` default for
`make all` so all targets dependent on `make all` do not require it any
longer.
2020-02-21 12:50:02 +01:00
benpicco
ea24d30e7a
Merge pull request #13417 from gschorcht/boards/esp32/doc_remove_mcu_table
...
boards/esp32: remove MCU feature table in board documentation
2020-02-21 10:13:44 +01:00
Gunar Schorcht
d251ffd205
boards/esp8266: enable arduino feature
2020-02-21 09:09:34 +01:00
Gunar Schorcht
51200364da
boards/esp8266: fix ARDUINO_LED definitions
...
ARDUINO_LED specifies the according Arduino pin to which the LED is connected and not the GPIO.
2020-02-21 09:09:34 +01:00
Cenk Gündoğan
86fcc35994
Merge pull request #13423 from kaspar030/turn_on_native_debug
...
native: turn on creation of debug symbols (CFLAGS += -g)
2020-02-20 18:20:11 +01:00
dbd865413c
native: turn on creation of debug symbols (CFLAGS += -g)
2020-02-20 17:06:56 +01:00
e324b22c96
Merge pull request #13418 from gschorcht/boards/esp32/fix_btn0_pin
...
boards/esp32: rename BUTTON0_PIN to BTN0_PIN
2020-02-20 14:40:39 +01:00