You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In file included from /home/jochen/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/driver/include/driver/adc.h:14:0,
from /home/jochen/.platformio/packages/framework-arduinoespressif32/cores/esp32/esp32-hal-adc.c:20:
/home/jochen/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/hal/include/hal/adc_types.h:90:27: error: expected ',' or '}' before '__attribute__'
ADC_DIGI_FORMAT_12BIT __attribute__((deprecated)), /*!<ADC to DMA data format, [15:12]-channel, [11: 0]-12 bits ADC data (`adc_digi_output_data_t`). Note: For single convert mode. */
^
cc1: warning: unrecognized command line option '-Wno-frame-address'
Compiling .pio/build/esp32arduinoV44beta/FrameworkArduino/esp32-hal-cpu.c.o
Compiling .pio/build/esp32arduinoV44beta/FrameworkArduino/esp32-hal-dac.c.o
Compiling .pio/build/esp32arduinoV44beta/FrameworkArduino/esp32-hal-gpio.c.o
*** [.pio/build/esp32arduinoV44beta/FrameworkArduino/esp32-hal-adc.c.o] Error 1
In file included from /home/jochen/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/hal/include/hal/dac_types.h:4:0,
from /home/jochen/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/driver/include/driver/dac_common.h:16,
from /home/jochen/.platformio/packages/framework-arduinoespressif32/cores/esp32/esp32-hal-dac.c:22:
/home/jochen/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/hal/include/hal/adc_types.h:90:27: error: expected ',' or '}' before '__attribute__'
ADC_DIGI_FORMAT_12BIT __attribute__((deprecated)), /*!<ADC to DMA data format, [15:12]-channel, [11: 0]-12 bits ADC data (`adc_digi_output_data_t`). Note: For single convert mode. */
^
cc1: warning: unrecognized command line option '-Wno-frame-address'
*** [.pio/build/esp32arduinoV44beta/FrameworkArduino/esp32-hal-dac.c.o] Error 1
======================================================== [FAILED] Took 41.71 seconds ========================================================
Other Steps to Reproduce
Only the latest IDF is causing problems.
The platformio standard version works.
I have checked existing issues, online documentation and the Troubleshooting Guide
I confirm I have checked existing issues, online documentation and Troubleshooting guide.
The text was updated successfully, but these errors were encountered:
Thanks for your contribution. The reason is that Arduino core ESP32 v2.0.2 is not supported by PlatformIO.
Did you check this issue #6044 which is pinned at the top of issue tracker? There is a link to original PlatformIO issue where you can find a workaround.
I'm closing the issue as the workaround can be found in link above.
Board
esp32dev
Device Description
nothing connected
Hardware Configuration
nothing connected
Version
v2.0.2
IDE Name
PlatformIO
Operating System
Linux
Flash frequency
40 MHz (not relevant)
PSRAM enabled
no
Upload speed
115200 nothing connected
Description
PlatformIO compilation fails
Sketch
https://github.com/gin66/FastAccelStepper/tree/master/examples/UsageExample
Debug Message
Other Steps to Reproduce
Only the latest IDF is causing problems.
The platformio standard version works.
I have checked existing issues, online documentation and the Troubleshooting Guide
The text was updated successfully, but these errors were encountered: