How to test we compile a M5Stack ?
LaurentG last edited by
On a source file, we have to test if we compile an M5Stack or ESP32LoRa or a ESP8266. Is there a specific variable to test like :
I know that we can test ESP32 but it's not enought to define the difference berween a ESP32 and a M5Stack...
JJ last edited by
Hi, will these work for you ? They are specifically used in code for the M5Stack.
reaper7 last edited by reaper7
as is declared in arduino boards:
but this is temporary solution because hyphens are not valid for arduino.
We waiting for some changes...
"issue" is added: https://github.com/m5stack/M5Stack/issues/41