mirror of
https://github.com/espruino/Espruino.git
synced 2025-12-08 19:06:15 +00:00
Remove debugger from emulator
also remove hard-coded ifdef for ESP8266 - it can just be put in board files now
This commit is contained in:
parent
3b71c3742b
commit
b86ab416cc
3
Makefile
3
Makefile
@ -344,13 +344,10 @@ libs/compression/compress_rle.c
|
||||
|
||||
else
|
||||
|
||||
ifneq ($(FAMILY),ESP8266)
|
||||
# If we have enough flash, include the debugger
|
||||
# ESP8266 can't do it because it expects tasks to finish within set time
|
||||
ifneq ($(USE_DEBUGGER),0)
|
||||
DEFINES+=-DUSE_DEBUGGER
|
||||
endif
|
||||
endif
|
||||
# Use use tab complete
|
||||
ifneq ($(USE_TAB_COMPLETE),0)
|
||||
DEFINES+=-DUSE_TAB_COMPLETE
|
||||
|
||||
@ -33,6 +33,7 @@ info = {
|
||||
],
|
||||
'makefile' : [
|
||||
'EMSCRIPTEN=1',
|
||||
'USE_DEBUGGER=0', # We can't use debugger in emulator as we're single-threaded and it uses IRQs on embedded to work
|
||||
'DEFINES += -DESPR_HWVERSION=1',
|
||||
'DEFINES += -DUSE_CALLFUNCTION_HACK', # required to handle calls properly
|
||||
'DEFINES += -DBANGLEJS -DBANGLEJS_F18 -DEMULATED -DEMSCRIPTEN',
|
||||
|
||||
@ -33,6 +33,7 @@ info = {
|
||||
],
|
||||
'makefile' : [
|
||||
'EMSCRIPTEN=1',
|
||||
'USE_DEBUGGER=0', # We can't use debugger in emulator as we're single-threaded and it uses IRQs on embedded to work
|
||||
'DEFINES += -DESPR_HWVERSION=2',
|
||||
'DEFINES += -DUSE_CALLFUNCTION_HACK', # required to handle calls properly
|
||||
'DEFINES += -DBANGLEJS -DBANGLEJS_Q3 -DEMULATED -DEMSCRIPTEN',
|
||||
|
||||
@ -34,7 +34,8 @@ info = {
|
||||
'makefile' : [
|
||||
'FLASH_4MB=1',
|
||||
'ESP_FLASH_MAX=831488',
|
||||
'FLASH_BAUD=460800'
|
||||
'FLASH_BAUD=460800',
|
||||
'USE_DEBUGGER=0', # We can't use debugger as RTOS needs jsiIdle to keep exiting
|
||||
]
|
||||
}
|
||||
};
|
||||
|
||||
@ -31,6 +31,7 @@ info = {
|
||||
],
|
||||
'makefile' : [
|
||||
'DEFINES+=-DSAVE_ON_FLASH_MATH',
|
||||
'USE_DEBUGGER=0', # We can't use debugger as RTOS needs jsiIdle to keep exiting
|
||||
]
|
||||
}
|
||||
};
|
||||
|
||||
@ -45,7 +45,7 @@ info = {
|
||||
'DEFINES += -DMICROBIT', # enable microbit-specific stuff
|
||||
'DEFINES+=-DNO_DUMP_HARDWARE_INITIALISATION', # don't dump hardware init - not used and saves a bunch of flash
|
||||
'DEFINES+=-DUSE_TAB_COMPLETE',
|
||||
# 'DEFINES+=-DUSE_DEBUGGER', # Removed due to firmware size issues
|
||||
'USE_DEBUGGER=0', # Removed due to firmware size issues
|
||||
'INCLUDE += -I$(ROOT)/libs/microbit',
|
||||
'WRAPPERSOURCES += libs/microbit/jswrap_microbit.c',
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user