Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not compatible with latest ESP32 SDK 2.0.14? #204

Open
z0rti opened this issue Feb 14, 2024 · 1 comment
Open

Not compatible with latest ESP32 SDK 2.0.14? #204

z0rti opened this issue Feb 14, 2024 · 1 comment

Comments

@z0rti
Copy link

z0rti commented Feb 14, 2024

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
@z0rti
Copy link
Author

z0rti commented Feb 17, 2024

ESP32
SDK 2.0.14, 2.0.7, 2.0.4

adc_types.h:90:27: error: expected ',' or '}' before '__attribute__'

SDK 2.0.0

/home/zorti/.arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/1.22.0-80-g6c4433a-5.2.0/bin/../lib/gcc/xtensa-esp32-elf/5.2.0/../../../../xtensa-esp32-elf/bin/ld: cannot find crt1-sim.o: No such file or directory
/home/zorti/.arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/1.22.0-80-g6c4433a-5.2.0/bin/../lib/gcc/xtensa-esp32-elf/5.2.0/../../../../xtensa-esp32-elf/bin/ld: cannot find _vectors.o: No such file or directory
collect2: error: ld returned 1 exit status

SDK 1.0.6 works.

@z0rti z0rti changed the title Not compatible with ESP32 SDK 2.0.11? Not compatible with latest ESP32 SDK 2.0.14? Feb 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant