mirror of
https://github.com/espruino/Espruino.git
synced 2025-12-08 19:06:15 +00:00
more firmware size tweaks
This commit is contained in:
parent
3b20382afc
commit
c2e013368c
@ -35,6 +35,7 @@ info = {
|
||||
'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
|
||||
]
|
||||
}
|
||||
|
||||
@ -46,8 +46,9 @@ info = {
|
||||
'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'
|
||||
]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user