Hi, I want to generate conditional code for the ESP8266 in build_wrapper.py:151
if board == 'ESP8266' codeOut("static JswSymPtr jswSymbols_"+codeName+"[] __attribute__((section(\".irom.literal\"))) __attribute__((aligned(4))) = {\n "+",\n ".join(listSymbols)+"\n};"); else codeOut("static const JswSymPtr jswSymbols_"+codeName+"[] = {\n "+",\n ".join(listSymbols)+"\n};");
If unsure how to read the command line args and what the board test string would be.
if board == 'ESP8266'
at the moment there doesn't appear to be any conditional board code?
@Wilberforce started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Hi,
I want to generate conditional code for the ESP8266 in build_wrapper.py:151
If unsure how to read the command line args and what the board test string would be.
if board == 'ESP8266'
at the moment there doesn't appear to be any conditional board code?