Skip to content

Last version arduino-esp32 not support esp32 board, build error #6647

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

Closed
1 task done
Yeharold opened this issue Apr 27, 2022 · 8 comments
Closed
1 task done

Last version arduino-esp32 not support esp32 board, build error #6647

Yeharold opened this issue Apr 27, 2022 · 8 comments
Assignees
Labels
IDE: PlaformIO Issue relates to PlatformIO IDE Status: Community help needed Issue need help from any member from the Community. Status: Solved Type: Question Only question

Comments

@Yeharold
Copy link

Board

esp32dev

Device Description

esp32dev

Hardware Configuration

[env:esp32dev]
platform = https://github.com/platformio/platform-espressif32.git
board = esp32dev
framework = arduino
upload_port = COM3
upload_speed = 921600
monitor_speed = 115200

Version

latest master (checkout manually)

IDE Name

PlatformIO

Operating System

win10

Flash frequency

80Mhz

PSRAM enabled

yes

Upload speed

921600

Description

Last version arduino-esp32 build error when set my board as esp32dev ( c3 s2 s3 chips are fine )

Sketch

every examples

Debug Message

In file included from C:/Users/harold/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/driver/include/driver/adc.h:14:0,
                 from C:/Users/harold/.platformio/packages/framework-arduinoespressif32/cores/esp32/esp32-hal-adc.c:20:
C:/Users/harold/.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.exe: warning: unrecognized command line option '-Wno-frame-address'
*** [.pio\build\esp32dev\FrameworkArduino\esp32-hal-adc.c.o] Error 1
C:/Users/harold/.platformio/packages/framework-arduinoespressif32/cores/esp32/Tone.cpp: In function 'void setToneChannel(uint8_t)':
C:/Users/harold/.platformio/packages/framework-arduinoespressif32/cores/esp32/Tone.cpp:99:5: sorry, unimplemented: non-trivial designated initializers not supported
     };
     ^
*** [.pio\build\esp32dev\FrameworkArduino\Tone.cpp.o] Error 1

Other Steps to Reproduce

No response

I have checked existing issues, online documentation and the Troubleshooting Guide

  • I confirm I have checked existing issues, online documentation and Troubleshooting guide.
@Yeharold Yeharold added the Status: Awaiting triage Issue is waiting for triage label Apr 27, 2022
@SuGlider SuGlider added Type: Question Only question IDE: PlaformIO Issue relates to PlatformIO IDE and removed Status: Awaiting triage Issue is waiting for triage labels Apr 27, 2022
@lbernstone
Copy link
Contributor

platform.io builds are maintained at https://github.com/platformio/platform-espressif32.git. Please open an issue there

@SuGlider SuGlider self-assigned this Apr 27, 2022
@SuGlider
Copy link
Collaborator

Maybe @Jason2866 can help you with this issue...
I know he has made Tasmota work fine with PIO and the latest Arduino Core version.

@SuGlider SuGlider added the Status: Community help needed Issue need help from any member from the Community. label Apr 27, 2022
@Jason2866
Copy link
Collaborator

Give this a try. Before delete in hidden folder .platformio the folder platforms and packages

platform = espressif32 @ 4.1.0
platform_packages = framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git
board = esp32dev

@SuGlider
Copy link
Collaborator

SuGlider commented Apr 27, 2022

I also found this comment regarding a different issue, but related to PlatformIO.
I think it can also help you:
#6632 (comment)

@Yeharold
Copy link
Author

Maybe @Jason2866 can help you with this issue... I know he has made Tasmota work fine with PIO and the latest Arduino Core version.

thank u ,Jason2866's fork help me with this issue...

@Yeharold
Copy link
Author

Give this a try. Before delete in hidden folder .platformio the folder platforms and packages

platform = espressif32 @ 4.1.0
platform_packages = framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git
board = esp32dev

thank u so much, everything work fine

@VojtechBartoska
Copy link
Contributor

Closing as solved, thanks for help with answering that issue.

@SuGlider
Copy link
Collaborator

SuGlider commented May 2, 2022

New PIO version released with ESP Arduino Core 2.0.2
https://piolabs.com/blog/news/platformio-oss-april-2022-updates.html

#6674 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
IDE: PlaformIO Issue relates to PlatformIO IDE Status: Community help needed Issue need help from any member from the Community. Status: Solved Type: Question Only question
Projects
None yet
Development

No branches or pull requests

5 participants