Freezing modules on SF2W
Posted: Fri Nov 01, 2019 3:41 pm
This can fail if there are too many files to fit in the chip flash. The solution is to put them in external SPI flash, but the previous instruction for doing this no longer works: frozen_mpy.o should now read frozen_content.o. The diff relative to the file in the source tree is now:
Code: Select all
--- a/ports/stm32/boards/PYBD_SF2/f722_qspi.ld
+++ b/ports/stm32/boards/PYBD_SF2/f722_qspi.ld
@@ -48,6 +48,7 @@ SECTIONS
.text_ext :
{
. = ALIGN(4);
+ *frozen_content.o(.text* .rodata*)
*lib/mbedtls/*(.text* .rodata*)
. = ALIGN(512);
*(.big_const*)