-
-
Notifications
You must be signed in to change notification settings - Fork 102
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
ESP32-C3 support #36
Comments
I think it will work just fine on the C3 module. Maybe some api differences need to be fixed, but it should work just fine. |
Trying to compile for EPS32-S3 and getting this error:
|
looks like an API problem. You will most likely have to change the WiFi code and use the recent API calls that are supported by the S3 |
@JustinGibDev The WiFi initialisation is done in this section of the code. Check the esp-idf documentation on the ESP-C3 with the correct esp-idf version selected on how to init WiFi. You can hard-code the pins here if you need to. In any case, you will have to check the logs (using esp-idf toolchains "idf.py monitor" command). Otherwise, you will not be able to know what actually causes the problem. That seedstudio board looks interesting. I might take a look at it |
Thank you very much for the advice, i will look into the code, if i get it working i'll let you know. I have two spare esp32 board at the moment, one is the seedstudio board, and yeah i recommend you get one its quite good. Also i have a Heltec Wifi Kit 32, the crystal works at 26.7MHz and it wont run, seen on the serial monitor when it tries to boot up. This is another option i have for now, but ideally i am going to try to get it working on the other board. As for the seed studio : 12:30:46.670 -> 0xffffffff this is what i get on the serial monitor. I shall keep you abreast of any advancements i manage to make I think the addressing options are not compatible with the board check out what i found on the data sheet: |
More of an update.
Currently trying to get an enviroment ready with esp-idf in order to recompile and test with the new settings If you would like a copy of the sdkconfig and might want to either recompile and create new binaries for the esp32-c3 specific board type |
Did anyone manage to recompile for esp32-c3 target? |
@JustinGibDev Did you manage to get the code working on ESP32C3? I have managed to build and flash it, but the code keeps resetting |
Hello, i recompile code with a 4.4.6 framework for a c3 device, flashed boot ad addr 0x0 but after starting ap i have a reboot. Could someone give me some help? |
Hello i have some news. I fix the reboot. Problem is in uart pins. I change pins to work with UART1 and code run but i have problem with serial socket located in db_esp32_control.c file. int open_serial_socket() { |
what is the exact board you are trying to use? probably you have to set the correct pins you might have this on the boards specific pinout sheet |
Release v1.3 now comes with support for the ESP32C3. Load times of the website in AP-Mode and with Desktop browsers may be an issue. Mobile android browsers performed well. |
It's not working on C3, as soon as I configure the ports to 21,20 on web interface and run a power cycle. The whole web interface crashes. I can still connect to AP but cannot access configuration from web or api. Because of this the Esp32 C3 won't communicate with my FC (Matek H7 slim). Help. |
@Dhananjay2601 Can you try the older v1.3 release? Same issue as with v1.4? |
Yes 1.3v had same issues |
@Dhananjay2601 I need details on your board. my C3 works |
Hey man you mind accepting my linkedin request? We can have a better communication on there please. |
@Dhananjay2601 I do not solve issues via LinkedIn nor for individuals. If you have an issue post it here so everyone can have a look at. This is no private support hotline ;) |
After updating the settings/parameters the webpage fails to open again. SSID shows up in the wifi networks though, and accepts pings through terminal/cmd Tried flashing the wifi module with binaries of both Releases v1.4 & v1.3 of DroneBridge/ESP32, both present the same problem. |
OK. What C3 board are you using? Did you try any other pin configurations? |
Can you post the output of: |
I am using Xiao ESP32-C3 by seeed studios PS C:\Espressif\frameworks\esp-idf-v5.2> idf.py monitor -- Configuring incomplete, errors occurred! |
Duplicate to #61 Will be fixed there. Seems like the D6 & D7 Pads marked for TX & RX are internally connected to UART0 which is the same UART as the one connected to the USB connector. Try any other pin combination like D9 & D10 for UART TX&RX |
It worked! The connection to D9 and D10 solved the issue. The Matek Fc finally accepts commands from the Esp32 C3. Thanks alot for the help. |
Would it be possible to compile this for ESP32-C3?
Or is the C3 hardware incompatible?
If it is possible: could you provide a binary?
The text was updated successfully, but these errors were encountered: