-
Notifications
You must be signed in to change notification settings - Fork 7.8k
Description
Hardware:
Board: ESP32 Dev Module
Core Installation/update date: latest stable relaese
IDE name: Arduino IDE
IDE version: 1.8.10
Flash Frequency: 40Mhz
PSRAM enabled: ?no?
Upload Speed: 115200
Computer OS: Windows 10
Description:
hello developers!
i have a problem with this core when i want to coding with standard C++ style the core gives me some errors:
C:\Users\USER\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.3\cores\esp32/main.cpp:14: undefined reference to `setup()'
C:\Users\USER\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.3\cores\esp32/main.cpp:17: undefined reference to `loop()'
it forces me to add setup and loop functions.
but the official board like uno, nano, nano Every, mega supports this method like a charm
please add it to the core.
thanks
//Change the code below by your sketch
#include <Arduino.h>
int main (void)
{
init();
while(1)
{
}
}