mirror of
https://github.com/espruino/Espruino.git
synced 2025-12-08 19:06:15 +00:00
fix linux build with fixed size vars
This commit is contained in:
parent
d9f23f46b3
commit
486c6cd0c5
@ -279,6 +279,8 @@ if variables==0:
|
||||
codeOut('#define RESIZABLE_JSVARS // Allocate variables in blocks using malloc - slow, and linux-only')
|
||||
else:
|
||||
codeOut("#define JSVAR_CACHE_SIZE "+str(variables)+" // Number of JavaScript variables in RAM")
|
||||
if LINUX:
|
||||
codeOut("#define JSVAR_MALLOC 1")
|
||||
|
||||
if LINUX:
|
||||
codeOut("#define FLASH_START "+hex(0x10000000))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user