Skip to content

Commit

Permalink
avoid adding optimisations on boards where we don't have space
Browse files Browse the repository at this point in the history
  • Loading branch information
gfwilliams committed Oct 29, 2024
1 parent 59a9469 commit aef8b12
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions boards/ESP8266_BOARD.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
],
'makefile' : [
'DEFINES+=-DSAVE_ON_FLASH_MATH',
'DEFINES+=-DESPR_NO_REGEX_OPTIMISE', # save some storage space
'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
1 change: 1 addition & 0 deletions boards/PIXLJS.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
'DEFINES+=-DESPR_PACKED_SYMPTR', # Pack builtin symbols' offset into pointer to save 2 bytes/symbol
'DEFINES+=-DESPR_LIMIT_DATE_RANGE', # limits the acceptable range for Date years (saves a few hundred bytes)
'DEFINES+=-DESPR_NO_BLUETOOTH_MESSAGES', # don't include text versions of Bluetooth error messages (just the error number)
'DEFINES+=-DESPR_NO_REGEX_OPTIMISE', # save some storage space
'INCLUDE += -I$(ROOT)/libs/pixljs',
'WRAPPERSOURCES += libs/pixljs/jswrap_pixljs.c',
'JSMODULESOURCES += libs/js/graphical_menu.min.js'
Expand Down

0 comments on commit aef8b12

Please sign in to comment.