circuitpython/ports
Damien George 04c7cdb668 stm32: Enter bootloader via a system reset.
Entering a bootloader (ST system bootloader, or custom mboot) from software
by directly branching to it is not reliable, and the reliability of it
working can depend on the peripherals that were enabled by the application
code.  It's also not possible to branch to a bootloader if the WDT is
enabled (unless the bootloader has specific provisions to feed the WDT).

This patch changes the way a bootloader is entered from software by first
doing a complete system reset, then branching to the desired bootloader
early on in the start-up process.  The top two words of RAM (of the stack)
are reserved to store flags indicating that the bootloader should be
entered after a reset.
2019-06-25 14:15:49 +10:00
..
bare-arm py/objdict: Make .fromkeys() method configurable. 2018-12-13 01:20:55 +11:00
cc3200 ports: Convert to use pyexec_file_if_exists() to execute boot/main.py. 2019-04-26 15:22:14 +10:00
esp32 esp32/modnetwork: Still try to reconnect to WLAN even with AUTH_FAIL. 2019-06-22 21:50:49 +10:00
esp8266 esp8266/uart: Fix invalid ringbuf name when event driven REPL enabled. 2019-06-17 12:34:10 +10:00
javascript javascript/library: Print data as raw bytes to stdout so unicode works. 2019-04-28 22:39:41 +10:00
minimal minimal/frozentest: Recompile now that mpy format and version changed. 2019-03-08 15:53:05 +11:00
nrf nrf/mphalport: Use wfi to save power while waiting at the UART REPL. 2019-05-22 12:47:48 +10:00
pic16bit all: Change PYB message prefix to MPY. 2019-02-12 15:18:33 +11:00
qemu-arm qemu-arm: Use gchelper code to get registers for GC scanning. 2019-02-12 14:48:29 +11:00
stm32 stm32: Enter bootloader via a system reset. 2019-06-25 14:15:49 +10:00
teensy ports: Convert to use pyexec_file_if_exists() to execute boot/main.py. 2019-04-26 15:22:14 +10:00
unix unix/mpconfigport.mk: Update comment about TLS implementations. 2019-06-05 15:28:30 +10:00
windows windows: Fix line wrapping behaviour on the REPL. 2019-05-23 22:11:11 +10:00
zephyr zephyr: Switch back to enabling I2C in board-specific configs. 2019-05-24 15:33:02 +10:00