full functionality of this site and enable such things as forum posting.
John:
I have just discovered UECIDE after using the Arduino IDE for some time. I'm programming mainly for ESP32 and ESP8266 boards.
Setting the board manually works fine but I can't get the #pragma directives to work. It just builds with whatever board/compiler was previously set.
I've tried setting the values in the sketch properties too and that is also ignored.
#pragma board "Generic ESP8266 Module"
#pragma core ESP8266
#pragma compiler "XTensa Compiler for ESP8266"
These are the settings that work for my board but adding these #pragma lines to the sketch have no effect. It just stays set to whatever board etc. it was on before.
If I close and reopen the sketch I get a warning that the sketch is set to use the defined board and that I should manually select the correct board..
Is there a setting somewhere that allows the #pragmas to actually set the environment?