- 'reset dfu' and enter_dfu() are now also built for the tinySA4 (the DFU menu stays tinySA3 only); the reply is sent before the reset - F303 __early_init(): the jump to the system bootloader failed and the bootloader reset the MCU. crt0 calls __early_init() on the process stack with interrupts disabled, so switch to the main stack (CONTROL = 0) and enable interrupts before the jump, as in the F072 board.c. Also enable the SYSCFG clock for the system memory remap and replace the logical || that made it write 1 to SYSCFG_CFGR1 Tested on HW V0.4.5.1: 'reset dfu' enters the STM32 BOOTLOADER and dfu-util can flash it. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>copilot/add-multi-platform-rf-scan-exports
parent
d32b6ca410
commit
b6699cfdb9
Loading…
Reference in new issue