6311 Commits

Author SHA1 Message Date
Sean Cross
942817692d hosted: assert ntrst as part of connecting
Assert the nTRST when connecting via JTAG. This is required for targets that
use this pin to enable the JTAG circuitry.

Signed-off-by: Sean Cross <sean@xobs.io>
2025-10-11 13:26:13 +08:00
dragonmux
41ca92fd0d lpc55xx: Split the lpc55xx_enter_flash_mode() mini binary into two writes to use the helper macros to better document what's going on 2025-10-04 21:34:42 +01:00
dragonmux
62f05d749b lpc55xx: const-correctness for the function signatures 2025-10-04 21:32:49 +01:00
dragonmux
d6a0814eb7 lpc55xx: Fixed various type usage and missing const in the part information gathering routines 2025-10-04 20:33:36 +01:00
dragonmux
8ff8dc0594 lpc55xx: Fixed up the comment style for top-of-file 2025-10-03 13:31:40 +01:00
dragonmux
503fee90fa lpc546xx: Remove the deprecated erase_sector command 2025-10-03 12:29:49 +01:00
dragonmux
1f3e558663 lpc546xx: const-correctness for the function signatures 2025-10-03 12:29:06 +01:00
dragonmux
276dc1b0f3 msp432p4: Fixed up the comment style for top-of-file 2025-10-03 12:23:02 +01:00
dragonmux
3f3d07b6d5 msp432p4: Removed unnecessary diagnostics (target Flash API already provides them) 2025-10-02 18:31:08 +01:00
dragonmux
fae5d2ddd5 msp432p4: const-correctness for the function signatures 2025-10-02 18:29:39 +01:00
dragonmux
30e5eeea38 msp432p4: Normalised the code organisation a bit 2025-10-02 18:28:26 +01:00
dragonmux
de1d930b45 mspm0: Removed unnecessary diagnostics (target Flash API already provides them) 2025-10-02 09:53:09 +01:00
dragonmux
3059f8eb49 mspm0: const-correctness for the function signatures 2025-10-02 09:52:10 +01:00
dragonmux
97cb6211a2 nrf51: Code organisation improvements for the recovery AP code 2025-10-02 09:50:27 +01:00
dragonmux
04c47a1538 nrf51: Modernised and simplified the erase logic in nrf51_flash_erase() using the target Flash API guarantees 2025-10-02 09:48:40 +01:00
dragonmux
5d4c4207f5 nrf51: const-correctness for the function signatures 2025-10-02 09:47:40 +01:00
dragonmux
9cd1f61c3d nrf54l: const-correctness for the function signatures 2025-10-02 09:43:24 +01:00
dragonmux
32b6a2f8bd nrf91: const-correctness for the function signatures 2025-10-02 09:42:20 +01:00
dragonmux
bfc82adf41 nrf91: Modernised and simplified the erase logic in nrf91_flash_erase() using the target Flash API guarantees 2025-10-02 09:41:17 +01:00
dragonmux
2ac71ef113 nxpke04: sector_erase duplicates erase_range command, deprecate it and save the space consumed 2025-10-02 09:39:38 +01:00
dragonmux
3c5737e33d stm32g0: Make use of the target structure's unsafe_enabled member in place of a custom private structure for space and complexity savings 2025-10-01 16:06:16 +01:00
dragonmux
3dd0dcd58c nxpke04: const-correctness for the function signatures 2025-10-01 16:03:04 +01:00
dragonmux
107f248c9d puya: const-correctness for the function signatures 2025-10-01 15:58:33 +01:00
dragonmux
04c484628b rp2040: More cleanup for const-correctness and nomenclature 2025-10-01 15:17:31 +01:00
dragonmux
038fb1131d rp2040: Fixed the macro prefixing and nomenclature 2025-10-01 15:11:56 +01:00
dragonmux
25b81379d7 rp2040: const-correctness for the function signatures 2025-10-01 15:08:50 +01:00
dragonmux
56c108218d samd: Fixed the target nomenclature in rp_cmd_reset_usb_boot() 2025-10-01 15:08:37 +01:00
dragonmux
7756158361 rp2040: Fixed up the comment style for top-of-file 2025-10-01 15:07:54 +01:00
dragonmux
b5d90bce70 s32k3xx: Fixed up the comment style for top-of-file 2025-10-01 15:02:21 +01:00
dragonmux
b82396e5d0 s32k3xx: const-correctness for the function signatures 2025-10-01 15:02:21 +01:00
dragonmux
530af6cd61 sam3x: const-correctness for the function signatures 2025-10-01 15:02:21 +01:00
dragonmux
0c28aab666 sam4l: Target Flash API guarantees that len will be blocksize for Flash, so don't bother checking this in sam4l_flash_write() 2025-10-01 15:02:21 +01:00
dragonmux
d5cca8625d sam4l: Removed unnecessary diagnostics (which were also at the wrong diagnostic level) 2025-10-01 14:16:21 +01:00
dragonmux
f28113cdc1 sam4l: Fixed the style of one of the comments in sam4l_flash_write() 2025-10-01 13:53:47 +01:00
dragonmux
3b84144762 sam4l: const-correctness for the function signatures 2025-10-01 12:09:33 +01:00
dragonmux
680fef8836 stm32f1: Fixed the incorrect address mask issue from #1826 in the mm32l0_mem_write_bytes() function too 2025-10-01 12:07:48 +01:00
dragonmux
d829f0acf0 stm32f1: const-correctness for the function signatures 2025-10-01 12:02:43 +01:00
dragonmux
fd8c69060c stm32f4: Modernised and simplified the erase logic in stm32f4_flash_erase using the target Flash API guarantees 2025-10-01 11:52:03 +01:00
dragonmux
92d54ac476 stm32f4: const-correctness for the function signatures 2025-10-01 11:48:36 +01:00
dragonmux
5cb2a94b91 stm32g0: Modernised and simplified the erase logic in stm32g0_flash_erase using the target Flash API guarantees 2025-10-01 11:45:54 +01:00
dragonmux
86830d62db stm32g0: Code organisation and nomenclature improvements for the option bytes handler 2025-10-01 11:42:10 +01:00
dragonmux
957679a9dd stm32g0: const-correctness for the function signatures 2025-10-01 11:40:48 +01:00
dragonmux
ca196af65d stm32h7: const-correctness for the function signatures 2025-10-01 11:36:35 +01:00
dragonmux
216aadbfa7 stm32l0: const-correctness for the function signatures 2025-10-01 11:34:15 +01:00
dragonmux
25d8585398 stm32l4: const-correctness for the function signatures 2025-10-01 11:33:10 +01:00
dragonmux
a45b1e9113 at32f43x: const-correctness for the function signatures 2025-10-01 11:31:41 +01:00
dragonmux
cc51a08a65 at32f43x: Removed some now unnessary diagnostics from at32f43_flash_erase() and at32f43_flash_write() 2025-09-21 18:20:55 +01:00
dragonmux
228109d943 at32f43x: Removed an unnecessary check that the len parameter to at32f43_flash_erase() is definitely blocksize - this is guaranteed by the target API layer anyway 2025-09-21 01:30:57 +01:00
dragonmux
245683dcc1 adiv5_swd: Fixed a consistency issue in one of the mode switch diagnostics 2025-09-21 01:27:36 +01:00
dragonmux
fd5ecdb328 target_flash: Added back in a diagnostic for the Flash write calls to log where's being written to target
next
2025-09-18 16:49:56 +01:00