Skip to content

Not compatible with latest ESP32 SDK 2.0.14? #204

Open
@z0rti

Description

@z0rti

I installed Arduino IDE 2.3.0, then added 'ESP32 Dev Module' Board, then got makeEspArduino, running it like this:
$ make -f ~/Arduino/misc/makeEspArduino/makeEspArduino.mk CHIP=esp32 BOARD=esp32 SKETCH=blah.ino
...and i get this error:

esp32-hal-dac.c
esp32-hal-adc.c
esp32-hal-i2c-slave.c
firmware_msc_fat.c
DallasTemperature.cpp
OneWire.cpp
BDDTest.cpp
esptool.py v4.5.1
Creating esp32 image...
Merged 1 ELF section
Successfully created esp32 image.
Buffer.cpp
In file included from /home/zorti/.arduino15/packages/esp32/hardware/esp32/2.0.11/tools/sdk/esp32/include/driver/include/driver/adc.h:14:0,
                 from /home/zorti/.arduino15/packages/esp32/hardware/esp32/2.0.11/cores/esp32/esp32-hal-adc.c:16:
/home/zorti/.arduino15/packages/esp32/hardware/esp32/2.0.11/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. */
                           ^
In file included from /home/zorti/.arduino15/packages/esp32/hardware/esp32/2.0.11/tools/sdk/esp32/include/hal/include/hal/dac_types.h:4:0,
                 from /home/zorti/.arduino15/packages/esp32/hardware/esp32/2.0.11/tools/sdk/esp32/include/driver/include/driver/dac_common.h:16,
                 from /home/zorti/.arduino15/packages/esp32/hardware/esp32/2.0.11/cores/esp32/esp32-hal-dac.c:22:
/home/zorti/.arduino15/packages/esp32/hardware/esp32/2.0.11/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. */
                           ^
make: *** [/home/zorti/Arduino/misc/makeEspArduino/makeEspArduino.mk:312: /tmp/mkESP/blah_esp32/esp32-hal-dac.c.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [/home/zorti/Arduino/misc/makeEspArduino/makeEspArduino.mk:312: /tmp/mkESP/blah_esp32/esp32-hal-adc.c.o] Error 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions