74274d9e19
boards: remove openocd/pyocd config conditionals
2021-02-23 21:22:52 +01:00
603186f913
make: namespace openocd DEBUG_ADAPTER variable
2021-02-23 21:22:52 +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
3bafb6e2bc
makefiles/edbg: include openocd.inc.mk to define debug vars
2020-11-25 22:31:13 +01:00
c6ad85a7b0
boards: don't include programmer logic at board level
2020-11-25 22:31:13 +01:00
Marian Buschsieweke
d5c0e30a11
boards/waspmote: Fix timer config
...
- Set XTIMER_HZ to something that is actually possible to generate with one
of the available clock dividers from the core frequency
- Use xtimer_on_ztimer if xtimer is used and not ztimer_xtimer_compat is used
- This is needed because xtimer is simply not compatible with any of the
possible clock frequencies of this board
2020-09-23 20:12:06 +02:00
c7189cfe99
makefiles/sam0: only fail on missing device with explicit targets
2020-07-03 10:24:40 +02:00
Benjamin Valentin
a653667172
makefiles/boards/sam0.inc.mk: dap: use OpenOCD for debugging
...
ebdg can only be used for flashing, we still have to use OpenOCD for
debugging.
fixes #14328
2020-06-24 16:06:12 +02:00
Marian Buschsieweke
98824df68b
makefiles/boards/sam0.inc.mk: Allow other programmers
...
Modified to allow including sam0.inc.mk even if none of the programmers handled
their is used. This is useful for boards that by default are programmed via a
bootloader. Still including sam0.inc.mk allows users to specify the `PROGRAMMER`
to use jlink, openocd, or edgb instead of the bootloader.
2020-06-04 21:28:17 +02:00
Hauke Petersen
c333b7e896
mk/boards/stm32: add JLink support
2020-05-04 16:42:25 +02:00
Dylan Laduranty
faa0afd8c1
Merge pull request #13381 from benpicco/sam0-jlink-fix
...
makefiles/sam0.inc.mk: fix detection of JLinkExe
2020-04-14 20:29:43 +02:00
benpicco
a0cc4b0515
Merge pull request #13623 from Scallog/add_rom_offset_stm32
...
makefiles/boards/stm32.ink.mk: Use ROM_OFFSET with stm32flash
2020-03-16 12:09:40 +01:00
Corentin 'Kmikaz' Vigourt
6a559f1924
makefiles/boards/stm32.ink.mk: Use ROM_OFFSET with stm32flash
2020-03-16 10:47:32 +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
Corentin 'Kmikaz' Vigourt
a4976c3333
makefiles/boards/stm32.inc.mk: add stm32flash support
2020-03-11 11:00:49 +01:00
f56470925b
boards: include common dfu logic where applicable
2020-03-10 11:42:10 +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
b7f5b18991
boards: don't export ROM_OFFSET variable
2020-03-03 14:18:03 +01:00
f1ba22534a
boards: don't export globally OPENOCD_RESET_USE...
2020-03-03 11:42:19 +01:00
Benjamin Valentin
e8d248648f
makefiles/sam0.inc.mk: fix detection of JLinkExe
...
`command -v` doesn't work for me, but `which` finds the correct JLinkExe.
2020-02-14 12:07:16 +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
Marian Buschsieweke
327060ca40
makesfiles/boards: Added common programmer config
...
Added common configuration for the programmer, debugger and serial for STM32
based boards.
2019-11-12 19:43:42 +01:00
Benjamin Valentin
756cab9385
makefiles/sam0: fix debugging with edbg
...
OpenOCD should *always* be included for debugging if JLinkExe is not used.
fixes #12652
2019-11-06 15:43:15 +01:00
Benjamin Valentin
81fe1b9c9c
makefiles/sam0: fix typo
...
Somehow an additional parenthesis sneaked in. Remove it to fix the Makefile.
2019-10-21 11:04:13 +02:00
Benjamin Valentin
b617e40950
sam0: allow flashing with JLinkExe
...
Currently sam0 will always use OpenOCD, even when the JLink programmer is selected.
Instead, use JLinkExe when it's availiable and a J-Link programmer is used.
2019-06-24 18:44:36 +02:00
79a2db89e0
makefiles/tools: remove useless export when setting DEBUG_ADAPTER_ID
2019-06-03 10:32:08 +02:00
6ecc16dd5d
makefiles/sam0: remove useless export when setting DEBUG_ADAPTER
2019-06-03 10:32:08 +02:00
Gaëtan Harter
5e053bffe9
boards: use RIOTTOOLS variable
2018-06-28 14:05:33 +02:00
Joakim Nohlgård
697f0b00f3
edbg: Use DEBUG_ADAPTER_ID to select which USB programmer to use
2017-11-17 10:03:05 +01:00
biboc
ff235803f4
Sam0: fix edbg flash with serial number
2017-06-07 14:16:55 +02:00
d7d796b80d
makefiles: add edbg tool support
2017-05-24 14:52:44 +02:00
ee1e2af232
makefiles: add shared sam0 board makefile include
2017-05-19 00:50:40 +02:00