Hi, I'm trying to shut down second core to lower current consumption on my esp32.
I've replaced files in esp32 directory as said in readme, but after that build fails with the error.
[Starting] Upload sketch - main.ino
[Warning] Output path is not specified. Unable to reuse previously compiled files. Upload could be slow. See README.
Loading configuration...
Initializing packages...
Preparing boards...
Verifying...
C:\Users\Artin\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.2\cores\esp32\main.cpp: In function 'void app_main()':
C:\Users\Artin\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.2\cores\esp32\main.cpp:27:80: error: 'CONFIG_ARDUINO_RUNNING_CORE' was not declared in this scope
xTaskCreateUniversal(loopTask, "loopTask", 8192, NULL, 1, &loopTaskHandle, CONFIG_ARDUINO_RUNNING_CORE);
^
exit status 1
[Error] Exit with code=1
Hi, I'm trying to shut down second core to lower current consumption on my esp32.
I've replaced files in esp32 directory as said in readme, but after that build fails with the error.