Benjamin Valentin
b7b208829f
tools/uf2: add uf2conv.py as a flash tool
2020-12-02 10:20:17 +01:00
83bbe00d62
makefiles/serial.inc.mk: define a default port for linux/darwin
2020-12-02 09:20:57 +01:00
Francisco
9f3eebd9b9
Merge pull request #15543 from aabadie/pr/tools/robotis-loader_common
...
boards/opencm904: move robotis-loader in common place
2020-12-02 09:18:51 +01:00
Francisco
b251ca2d4f
Merge pull request #15541 from aabadie/pr/make/goodfet_common
...
tools/goodfet: define variables in common makefile
2020-12-02 09:18:18 +01:00
c066f21b68
Merge pull request #15539 from aabadie/pr/tools/stm32loader
...
tools/stm32loader: introduce common makefile
2020-12-02 08:24:05 +01:00
Francisco
0b8ec0ba11
Merge pull request #15490 from aabadie/pr/tools/renode_refactor
...
tools/renode: refactor integration + add debugger support
2020-12-01 23:16:11 +01:00
2dc5a69939
Merge pull request #15535 from aabadie/pr/tools/lpc2k_pgm
...
tools/lpc2k_pgm: refactor build system integration
2020-12-01 21:13:52 +01:00
966221f5a4
boards/opencm904: move robotis-loader in common place
2020-12-01 18:31:41 +01:00
2e1b26bb8e
makefiles/tools/goodfet: add common makefile
2020-12-01 18:06:20 +01:00
14d19ee790
makefiles/tools/stm32loader: add common makefile
2020-12-01 17:26:57 +01:00
a74e005fbb
makefiles/tools: add common mspdebug makefile
2020-12-01 15:52:17 +01:00
9d3cbd5933
make: add common lpc2k_pgm programmer makefile
2020-12-01 13:39:28 +01:00
aea9d4b0a7
make: move lpc2k_pgm in tools/
2020-12-01 13:36:36 +01:00
72e1958953
makefiles/tools: add common esptool configuration
2020-12-01 10:22:26 +01:00
82eb48964d
makefiles/qemu: renode: define FLASHFILE
2020-11-27 13:39:23 +01:00
2bcc754fe5
makefiles/tools: ensure all FLASHER/DEBUGGER* vars are overridable
2020-11-27 13:39:22 +01:00
9eadcb38f3
makefiles/renode: make emulate depends on board config file
2020-11-27 13:39:22 +01:00
dcaa9eb59c
makefiles/tools/renode: improve debugger management
...
When using the debug target, the GDB server is spawned automatically in the background. This logic is moved in a external script
2020-11-27 13:39:22 +01:00
4707de2a5f
makefiles/renode: add debugger config
2020-11-27 13:39:22 +01:00
3cca8f4ee2
makefiles/tools/renode: control renode via Makefile only
2020-11-27 13:37:52 +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
benpicco
09defe017f
Merge pull request #15483 from aabadie/pr/makefiles/renode_dont_export
...
makefiles/renode: dont export EMULATOR* variables
2020-11-25 00:33:35 +01:00
e1558b4487
makefiles/tools/qemu: add common qemu makefile
2020-11-20 14:17:54 +01:00
b7c1f7b2dd
makefiles/renode: don't export EMULATOR variables
2020-11-20 12:30:49 +01:00
Francisco Molina
6a606e3f21
makefiles/tools/cc2538-bsl: use --write-erase to avoid mass erase
2020-11-16 09:13:57 +01:00
Francisco Molina
8f1e2cbe00
dist/tools/cc2538-bsl: add Makefile to build dependencies
2020-11-16 09:13:57 +01:00
Gilles DOFFE
cca2d70808
tools/openocd: add stlink-dap adapter
...
stlink-dap adapter is based on stlink-dap.cfg and is used by
STM32MP1 family.
Signed-off-by: Gilles DOFFE <gilles.doffe@savoirfairelinux.com>
2020-11-13 10:43:08 +01:00
Gilles DOFFE
8a35e114c0
tools/openocd: add GDB_PORT_CORE_OFFSET variable
...
In case of muticore CPU, openocd opens one debug port by core for gdb.
Thus add a GDB_PORT_CORE_OFFSET port offset to select the right port
for debugging.
Signed-off-by: Gilles DOFFE <gilles.doffe@savoirfairelinux.com>
2020-11-13 10:43:08 +01:00
Gilles DOFFE
4f3ea5c74c
tools/openocd: select target core
...
For multi-arch SoC like STM32MP1, the right target core has
to be selected to avoid debugging the wrong default cpu.
This is done using openocd command 'targets ${OPENOCD_CORE}'.
OPENOCD_CORE has to be set in board Makefile.include file.
In case it is not set, the command just display available targets, thus it
has no effect on already existing boards using openocd.
Signed-off-by: Gilles DOFFE <gilles.doffe@savoirfairelinux.com>
2020-11-13 10:43:08 +01:00
Jelle Haandrikman
f18d3f5663
dist/tools/openocd/stlink: handle new and old Openocd version
2020-08-31 17:34:25 +02:00
Leandro Lanzieri
3c7174cfc5
makefiles/openocd-adapters/iotlab: default to JTAG transport
2020-08-17 17:47:24 +02:00
Francisco
4ba791fcb9
Merge pull request #14724 from fjmolinas/pr_cc2538_makefile.include
...
boards: use common Makefile.include for cc2538 boards
2020-08-11 11:29:35 +02:00
Francisco Molina
75dbad847c
makefiles/tools/cc2538-bsl.inc.mk: specify BAUD for reset
2020-08-11 09:57:09 +02:00
Cenk Gündoğan
f49eb4305c
dist: tools: import fixdep from linux
2020-08-10 12:17:59 +02:00
Leandro Lanzieri
9c10580ba4
dist/tools/kconfiglib: introduce own genconfig.py tool
...
This tool unifies multiple functionalities needed by the Kconfig
integration into one tool.
2020-08-07 18:17:37 +02:00
Benjamin Valentin
871f51dca6
openocd-adapters/raspi.inc.mk-fix: fix typo
...
Somehow a space has sneaked in here, breaking the variable expansion.
2020-08-04 19:04:39 +02:00
benpicco
52bf3096cf
Merge pull request #14480 from benpicco/openocd-adapters_swd
...
openocd-adapters: select transport based on adapter
2020-08-04 11:37:32 +02:00
Benjamin Valentin
0d59e7dc6e
makefiles/tools/openocd-adapters: default to SWD, but make it configurable
2020-08-04 10:36:39 +02:00
Benjamin Valentin
1a04425d7b
makefiles/buspirate: add Bus Pirate as Debug Adapter
...
Flash with PROGRAMMER=openocd DEBUG_ADAPTER=buspirate
2020-08-03 14:10:42 +02:00
c8b0f972df
makefiles/tools: add common bossa makefile
2020-07-10 11:56:11 +02:00
Cenk Gündoğan
7aa499d5f1
make: use $(MAKE) instead of direct make
call
2020-07-03 12:03:06 +02:00
Benjamin Valentin
2325dba871
makefiles/bossa: move USB reset logic to common file
2020-06-11 11:56:35 +02:00
benpicco
75d82cc9b8
Merge pull request #14209 from btcven/2020_06_04-common-cfg
...
boards/cc26x2_cc13x2-based: move config to common directory
2020-06-10 15:32:11 +02:00
99ca736b53
stdio_semihosting: Initial include of Semihosting-based STDIO
2020-06-09 10:15:49 +02:00
aff18b9599
tools/openocd: add OPENOCD_DBG_EXTRA_CMD
2020-06-09 10:14:57 +02:00
Jean Pierre Dudey
c0f6b3d58a
tools/uniflash.inc.mk: allow changing config dir
...
Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
2020-06-04 17:12:19 -05:00
4cd1d54715
makefiles/stlink: fix path to default stm32 openocd config files
2020-05-27 15:44:28 +02:00
012a0b02a8
makefiles/stlink: fix common config filename
2020-05-20 13:39:11 +02:00
Francisco
99e7b81d10
Merge pull request #8573 from aabadie/pr/generator
...
makefiles: add code generator targets
2020-05-20 09:44:14 +02:00