46cc7dedf3
tools/programmer.inc.mk: programmer wrapper is not used by default
2021-04-28 09:46:02 +02:00
Francisco
31a6aa1c9c
Merge pull request #16307 from iosabi/esp_table
...
esptool: Allow to pass the partition table CSV.
2021-04-27 14:26:51 +02:00
iosabi
4d40e55edf
esptool: Allow to pass the partition table CSV.
...
The partition table of the device in the esp8266 and esp32 based boards
was set to a default table with one "factory" partition with exactly
the size of the compiled firmware. This is problematic if we want to
update the device on the field.
This patch allows to set the `PARTITION_TABLE_CSV` variable from the
Makefile to a .csv file with a custom partition table, for example this
could be set to a partition table with two ota entries, or with a single
factory entry but of a known fixed size.
2021-04-26 22:50:45 +00:00
Benjamin Valentin
a0b83f8195
makefiles/tools/programmer: do not use programmer wrapper
...
While nice at first, this causes more issues than it's worth for
a slightly more pretty output.
Hiding information from developers is not a good idea, especially when
it comes to an often finicky programming step.
While in theory error output should be caught, there are enough
cases where the programmer will get stuck in a loop or require user
input that hiding programmer output by default is a bad idea.
2021-04-21 00:48:42 +02:00
Gerson Fernando Budke
1d55c85f24
makefiles/tools/avrdude: Add xmega cpu conditions
...
The current script don't allow change debug protocol and not allows
set proper part name for xmega. This make DEBUGPROTO optional with
JTAG as default protocol. It add a filter for atxmega to add proper
AVRDUDE_PROGRAMMER_FLAGS.
Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2021-03-15 20:16:10 -03:00
Francisco Molina
930eb03a8c
makefiles/tools/programmer: do not use wrapper with pyocd
...
When multiple debuggers are connected then pyocd shows an interactive
UI to select the user interface to flash, with python wrapper this
is lost.
Until a similar functionality is implemented with the wrapper disable
the programmer wrapper script when pyocd is used.
2021-03-02 14:43:19 +01:00
c181ba2fe4
Makefile.include: use programmer wrapper to silent output
2021-02-25 12:59:39 +01:00
367a8e8574
Merge pull request #16083 from benpicco/cosy
...
make: add cosy as a build target
2021-02-24 13:59:11 +01:00
Benjamin Valentin
d95f21fd67
make: add cosy as a build target
...
`cosy` is a graphical memory usage analyzer.
It is a great tool, but pretty hidden.
Add it as a build target so it can be easiely summoned for any application and board.
2021-02-24 12:11:00 +01:00
e515c11b9f
tools/pyocd: deprecate FLASH_TARGET_TYPE
2021-02-23 21:22:56 +01:00
1c2132a508
tools/openocd: deprecate DEBUG_ADAPTER and PRE_FLASH_CHECK_SCRIPT
2021-02-23 21:22:55 +01:00
3b9682788c
tools/uf2conv: add deprecation warning about FFLAGS_OPTS
2021-02-23 21:22:55 +01:00
571a113a50
tools/dfu-util: add deprecation warning about FFLAGS_OPTS
2021-02-23 21:22:55 +01:00
b1d0fe0b2b
tools/cc2538-bsl: add deprecation warning about FFLAGS_OPTS
2021-02-23 21:22:55 +01:00
3ed4734821
tools/bossa: add deprecation warning about FFLAGS_OPTS
2021-02-23 21:22:55 +01:00
7e21f25779
make: namespace openocd PRE_FLASH_CHECK_SCRIPT variable
2021-02-23 21:22:55 +01:00
3f02e3bd12
boards/openmote*: introduce CC2538_BSL_FLASHFFILE variable
...
This allows to remove the last cc2538-bsl programmer conditional at board level
2021-02-23 21:22:54 +01:00
6b6abed29b
make: namespace bossa optional flags variable
2021-02-23 21:22:53 +01:00
9b0a626f0a
make: namespace cc2538-bsl optional flags variable
2021-02-23 21:22:53 +01:00
7ac924f15c
make: namespace uf2conv specific flags variable
2021-02-23 21:22:53 +01:00
6d5a5b9528
make: namespace dfu-util optional flags var
2021-02-23 21:22:53 +01:00
6f47505997
make: namespace pyocd FLASH_TARGET_TYPE variable
2021-02-23 21:22:52 +01:00
603186f913
make: namespace openocd DEBUG_ADAPTER variable
2021-02-23 21:22:52 +01:00
554a02ff2a
tools/esptool: cleanup preflash and qemu integration
2021-02-23 11:01:38 +01:00
430770886b
make/esptool: fix FFLAGS inclusion order for qemu
2021-02-22 10:35:38 +01:00
9153e39dab
makefiles/edbg: refactor to use wrapper script
2021-02-21 12:56:43 +01:00
ed8f14e5fb
makefiles/cc2538-bsl: define FFLAGS as overridable + cleanup
2021-02-09 18:53:16 +01:00
dbd8c7975e
makefiles/jlink: define FLASHER var as overridable
2021-02-09 18:48:00 +01:00
Francisco
4736a881fc
Merge pull request #15512 from aabadie/pr/tools/emulator_term
...
tools/emulator: allow use with *term targets + introduce EMULATE=1 instead of emulate target
2021-01-13 17:12:00 +01:00
dylad
7fc5bb483b
makefiles/dfu-util: automatically generate DFU_USB_ID
2021-01-12 11:34:22 +01:00
a6d856a5be
makefiles/tools/qemu: cleanup makefile
2021-01-11 21:31:49 +01:00
08108f85b4
make: replace emulate% targets with EMULATE variable
2021-01-11 21:31:48 +01:00
753e13fba3
tools/renode: disable gui and hide log by default
...
Use RENODE_SHOW_LOG and RENODE_SHOW_GUI from the command line to enable them
2021-01-11 21:31:48 +01:00
c8ce41c9de
dist/tools/emulator: allow use of term with emulators
2021-01-11 21:31:48 +01:00
b801d57f0c
Merge pull request #15555 from dylad/pr/makefiles/dfu_optionnal_dfuse
...
boards: move DfuSe specific argument at board level
2020-12-09 14:08:50 +01:00
dylad
ecc8296897
makefiles/dfu-util: Update dfu-util.inc.mk for DFU bootloader
2020-12-09 11:59:28 +01:00
8b8a3ffbd9
Merge pull request #15491 from aabadie/pr/tools/qemu_debug
...
tools/emulator: add debug feature with qemu emulator
2020-12-08 11:23:33 +01:00
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
4ff5b749b0
tools/renode: qemu: move debug script in common place
2020-12-02 08:43:44 +01:00
ae20873510
makefiles/qemu: add DEBUGGER variables
2020-12-02 08:43:43 +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