Skip to content

Commit

Permalink
more firmware size tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
gfwilliams committed Sep 20, 2024
1 parent 3b20382 commit c2e0133
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions boards/ESP8266_4MB.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
'FLASH_4MB=1',
'ESP_FLASH_MAX=831488',
'FLASH_BAUD=460800',
'BLACKLIST=boards/ESP8266.blocklist', # force some stuff to be removed to save space
'USE_DEBUGGER=0', # We can't use debugger as RTOS needs jsiIdle to keep exiting
]
}
Expand Down
3 changes: 2 additions & 1 deletion boards/PICO_R1_3.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,9 @@
'DEFINES+=-DUSE_USB_OTG_FS=1 -DPICO -DPICO_1V3',
'DEFINES+=-DPIN_NAMES_DIRECT=1', # Package skips out some pins, so we can't assume each port starts from 0
'DEFINES += -DESPR_USE_STEPPER_TIMER=1', # Build in the code for stepping using the timer
'DEFINES += -DSAVE_ON_FLASH_MATH',
'DEFINES += -DESPR_LIMIT_DATE_RANGE', # not enough code memory left for the full range of Date()
'DEFINES+=-DESPR_PACKED_SYMPTR', # Pack builtin symbols' offset into pointer to save 2 bytes/symbol
'DEFINES += -DESPR_PACKED_SYMPTR', # Pack builtin symbols' offset into pointer to save 2 bytes/symbol
'STLIB=STM32F401xE',
'PRECOMPILED_OBJS+=$(ROOT)/targetlibs/stm32f4/lib/startup_stm32f401xx.o'
]
Expand Down

0 comments on commit c2e0133

Please sign in to comment.