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

[Request] ESP32-C3-DevKitC-02 support #680

Closed
math322 opened this issue Mar 10, 2023 · 2 comments
Closed

[Request] ESP32-C3-DevKitC-02 support #680

math322 opened this issue Mar 10, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@math322
Copy link

math322 commented Mar 10, 2023

Is your feature request related to a problem? Please describe.

I currently ported OpenDTU to a ESP32-C3-DevKitC-02. The source need some changes to get it working:

src/InverterSettings.cpp

SPIClass* spiClass = new SPIClass(HSPI);

HSPI is defined as 1 but it need to be 0

src/PinMapping.cpp

bool PinMappingClass::isValidNrf24Config()

The test checks for ">" but the Boards has a GPIO 0 and the check should be ">="

My settings in platformio.ini are:

; https://docs.espressif.com/projects/esp-idf/en/v5.0/esp32c3/hw-reference/esp32c3/user-guide-devkitc-02.html
[env:esp32-c3-devkitm-1]
platform = espressif32
board = esp32-c3-devkitm-1
build_flags = ${env.build_flags}
-DHOYMILES_PIN_CS=2
-DHOYMILES_PIN_MOSI=6
-DHOYMILES_PIN_MISO=5
-DHOYMILES_PIN_SCLK=4
-DHOYMILES_PIN_IRQ=0
-DHOYMILES_PIN_CE=1

The board also has no display and it would be nice to disable it completely, maybe with a define!?

Describe the solution you'd like

Describe alternatives you've considered

No response

Additional context

No response

@math322 math322 added the enhancement New feature or request label Mar 10, 2023
@tbnobody
Copy link
Owner

ESP32-C3 should be already supported

Copy link

github-actions bot commented Apr 5, 2024

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new discussion or issue for related concerns.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 5, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants