mirror of
https://github.com/micropython/micropython.git
synced 2026-01-06 20:20:14 +01:00
stm32/flash: Implement WB55 flash locking.
This is needed to moderate concurrent access to the internal flash, as while an erase/write is in progress execution will stall on the wireless core due to the bus being locked. This implements Figure 10 from AN5289 Rev 3. Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
This commit is contained in:
committed by
Damien George
parent
a64121b0d4
commit
119c88ef17
@@ -35,6 +35,9 @@ void rfcore_ble_hci_cmd(size_t len, const uint8_t *src);
|
||||
void rfcore_ble_check_msg(int (*cb)(void *, const uint8_t *, size_t), void *env);
|
||||
void rfcore_ble_set_txpower(uint8_t level);
|
||||
|
||||
void rfcore_start_flash_erase(void);
|
||||
void rfcore_end_flash_erase(void);
|
||||
|
||||
MP_DECLARE_CONST_FUN_OBJ_0(rfcore_status_obj);
|
||||
MP_DECLARE_CONST_FUN_OBJ_1(rfcore_fw_version_obj);
|
||||
MP_DECLARE_CONST_FUN_OBJ_VAR_BETWEEN(rfcore_sys_hci_obj);
|
||||
|
||||
Reference in New Issue
Block a user