1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

15 Commits

Author SHA1 Message Date
9153e39dab
makefiles/edbg: refactor to use wrapper script 2021-02-21 12:56:43 +01:00
3bafb6e2bc
makefiles/edbg: include openocd.inc.mk to define debug vars 2020-11-25 22:31:13 +01:00
Benjamin Valentin
baea542532 tools/edbg: update to latest upstream version
This version has changed the target names, so add a edbg-devices.inc.mk
to automatically select the right target.
2020-01-31 09:35:27 +01:00
a45d99f741 make/tools/edbg: verify before flash
This commit overrides the default flash recipe with an edbg specific
one.
The new recipe first verifies the flashfile agains the device flash. If
it is already on there, it won't get overridden.
edbg takes care of resetting the device in any case.
2019-09-25 10:14:20 +02:00
1cba611dd9 make/tools/edbg: use long option names 2019-09-25 10:09:19 +02:00
79a2db89e0
makefiles/tools: remove useless export when setting DEBUG_ADAPTER_ID 2019-06-03 10:32:08 +02:00
Gaëtan Harter
72bc21c0de
makefiles/edbg.inc.mk: use FLASHFILE
Update to use FLASHFILE as file to be flashed on the board.
2019-03-26 13:35:04 +01:00
cladmi
8a78355482
edbg.inc.mk: handle IMAGE_OFFSET being defined with a space
Handle that `IMAGE_OFFSET` can be set to something that contain spaces.

With 'IMAGE_OFFSET=$$((0x1000 + 0x1000))' we had in the command line when doing
'flash'

    --offset $((0x1000 --offset + --offset 0x1000))

With the change we correctly have

    --offset $((0x1000 + 0x1000))
2018-09-18 18:28:19 +02:00
e6776ae8d1
edbg.inc.mk: allow flashing with an offset in rom
Allow flashing with an offset in ROM from the rom base address.
It reuses `IMAGE_OFFSET` configuration variable name from `openocd.sh`.

This will allow flashing multiple images with different flash operations.
2018-08-16 16:49:16 +02:00
3af10a604e
edbg.inc.mk: do not erase the whole rom before flashing
This mimics openocd behaviour that only erase needed sectors of the rom.
2018-08-16 16:47:10 +02:00
f04f954a21 makefiles/tools: use RIOTTOOLS variable 2018-05-15 11:29:33 +02:00
cladmi
3f145413f5 boards/makefiles: Remove '-Otype' from OFLAGS
* Remove '-Oihex' and '-Obinary' from OFLAGS for all boards
  It is now provided by the Makefile.include rule.
2018-04-09 17:32:46 +02:00
28a0ffca37 tools: edbg: use for resetting 2018-02-16 15:32:58 +01: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
d7d796b80d makefiles: add edbg tool support 2017-05-24 14:52:44 +02:00