fix linux build with fixed size vars

This commit is contained in:
Gordon Williams 2022-05-16 15:04:13 +01:00
parent d9f23f46b3
commit 486c6cd0c5

View File

@ -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))