Skip to content

Commit 702f15a

Browse files
committed
stm32/boards/PYBD_SF2: Free up some space in internal flash.
With the recent addition of `machine.PWM` and `machine.CAN`, the internal flash of PYBD_SF3 overflows by about 300 bytes. This commit moves the inline assembler compiler functions from internal to external QSPI flash. That frees up about 3k internal flash, and shouldn't affect performance. Signed-off-by: Damien George <damien@micropython.org>
1 parent 82e44e0 commit 702f15a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

ports/stm32/boards/PYBD_SF2/f722_qspi.ld

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ SECTIONS
5050
.text_ext :
5151
{
5252
. = ALIGN(4);
53+
*py/emit*(.text.emit_inline_thumb_* .rodata.emit_inline_thumb_*)
5354
*lib/btstack/*(.text* .rodata*)
5455
*lib/mbedtls/*(.text* .rodata*)
5556
*lib/mynewt-nimble/*(.text* .rodata*)

0 commit comments

Comments
 (0)