• 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?

About

Avatar for Wilberforce @Wilberforce started