← index #8706PR #8471
Off-topic · high · value 0.630
QUERY · ISSUE

Flash encryption on esp32

openby MauroDiamantinoopened 2022-05-28updated 2025-03-20
enhancement

Hello, have you implemented a way to allow a developer to compile micropython with flash encryption enabled? is it possible to modify sdkconfig to enable flash encryption? which is the best way to do that?

CANDIDATE · PULL REQUEST

stm32/wb55: Allow 32KB for mboot if MBOOT_ENABLE_PACKING enabled.

closedby andrewleechopened 2022-03-31updated 2022-08-25
port-stm32

The linker settings for stm32wb55 currently set aside 16KB of flash for mboot (if enabled).

If mboot is built with support for packing however (signing/encryption) it needs up to 32KB.

At the moment, the larger mboot gets compiled and can be flashed, but then the application will partially overwrite it from the 16KB mark.

This PR uses a separate linker file with the 32KB set aside if mboot with packing is enabled.

Keyboard

j / / n
next pair
k / / p
previous pair
1 / / h
show query pane
2 / / l
show candidate pane
c
copy suggested comment
r
toggle reasoning
g i
go to index
?
show this help
esc
close overlays

press ? or esc to close

copied