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

9 Commits

Author SHA1 Message Date
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