summaryrefslogtreecommitdiffstatshomepage
path: root/tests/basics/try4.py
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2021-05-12 13:33:56 +1000
committerDamien George <damien@micropython.org>2021-05-12 13:44:57 +1000
commit9a0bca2c2a6aef7b032d9c5bde378058c8258a08 (patch)
treef9616e74755e1afa1d0e9243735159de70c588ea /tests/basics/try4.py
parent6639e282c762b1f878c2c66a1e0153ee8cb61e1a (diff)
downloadmicropython-9a0bca2c2a6aef7b032d9c5bde378058c8258a08.tar.gz
micropython-9a0bca2c2a6aef7b032d9c5bde378058c8258a08.zip
stm32/mboot: Make LEDs and reset-mode selection more configurable.
A board can now customise mboot with: - MBOOT_LED1, MBOOT_LED2, MBOOT_LED3, MBOOT_LED4: if it needs to have different LEDs for mboot compared to the application - MBOOT_BOARD_LED_INIT: if it needs a fully customised LED init function - MBOOT_BOARD_LED_STATE: if it needs a fully customised LED state-setting function - MBOOT_BOARD_GET_RESET_MODE: if it needs a fully customised function to get the reset mode With full customisation, the only requirement is a single LED to show the status of the bootloader (idle, erasing, flashing, etc), which can be configured to do nothing if needed. Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'tests/basics/try4.py')
0 files changed, 0 insertions, 0 deletions