Arduino:1.6.9 (Linux), Tarjeta:"Generic ESP8266 Module, 80 MHz, 40MHz, DIO, 115200, 512K (64K SPIFFS), ck, Disabled, None"
/root/Arduino/ulisp-esp8266/ulisp/ulisp.ino: In function 'object* fn_max(object*, object*)':
ulisp:1761: error: 'max' was not declared in this scope
result = max(result,integer(car(args)));
Compiler error in ESP8266 Version 2.0 beta 2
gassechen
#1
The Arduino core defines max, min, and abs as macros:
#define min(a,b) ((a)<(b)?(a):(b))
#define max(a,b) ((a)>(b)?(a):(b))
#define abs(x) ((x)>0?(x):-(x))
I’m not sure why you’re not picking these up, but you could try adding these definitions to the beginning of the uLisp source file.
gassechen
#3
Hello update the arduino ide from version 1.6.5 to 1.8.5 and the problem was solved. I was also able to install ulisp on the esp8266 v1 of 512k.
Gracias Che.