Search found 12 matches
- Thu Jun 13, 2024 7:17 am
- Forum: ESP-IDF
- Topic: what's the minimum size of fat partiton in esp32C3?
- Replies: 1
- Views: 374
what's the minimum size of fat partiton in esp32C3?
This is my partition table # Name, Type, SubType, Offset, Size nvs, data, nvs, 0x9000, 0x4000 otadata, data, ota, 0xd000, 0x2000 phy_init, data, phy, 0xf000, 0x1000 ota_0, 0, ota_0, 0x10000, 0x150000, ota_1, 0, ota_1, 0x160000, 0x150000, dcu, data, fat, 0x310000, 0x90000, when the dcu partition(last...
- Thu May 30, 2024 10:40 am
- Forum: ESP-IDF
- Topic: esp_vfs.h: No such file or directory
- Replies: 1
- Views: 671
esp_vfs.h: No such file or directory
I include esp_vfs.h in my .c file. #include <stdio.h> #include <stdlib.h> #include <string.h> #include "esp_vfs.h" #include "esp_vfs_fat.h" #include "esp_system.h" const char *base_path = "/spiflash"; static wl_handle_t s_wl_handle = WL_INVALID_HANDLE; I also add the REQUIRES spi_flash in my CMakeLi...
- Mon Mar 11, 2024 2:11 am
- Forum: ESP-IDF
- Topic: Does esp-32 support OTA with TCP/IP protocol?
- Replies: 3
- Views: 852
Does esp-32 support OTA with TCP/IP protocol?
Does esp-32 support OTA with TCP/IP protocol? I have overviewed all OAT examples in espressif.com,they are all based on HTTP or HTTPS I want to OTA firmware with phones,the bin file in the phone,esp32(at WIFI STA mode) connect phone's hotspot (of course, there maybe need an smartphone App, I can han...
- Mon Feb 05, 2024 1:29 am
- Forum: ESP-IDF
- Topic: ESP32-C3 UART data Error in new task
- Replies: 4
- Views: 1043
Re: ESP32-C3 UART data Error in new task
Deleting a task from another task prevents the task from doing any cleanup it may have to do before exiting, including releasing any locks/mutexes/semaphores it may own/hold. This can quickly render the system inoperable. Most of the time, you don't exit/delete a task at all; tasks do their thing, ...
- Sun Feb 04, 2024 4:51 am
- Forum: ESP-IDF
- Topic: ESP32-C3 UART data Error in new task
- Replies: 4
- Views: 1043
Re: ESP32-C3 UART data Error in new task
Why? How can I stop it?
- Sun Feb 04, 2024 1:39 am
- Forum: ESP-IDF
- Topic: ESP32-C3 UART data Error in new task
- Replies: 4
- Views: 1043
ESP32-C3 UART data Error in new task
Hello! I want to passthrough data from UART to BLE as the BLE notify enabled.Then I create a task to deal with it,at the first time, all is normal,but after I delete the task and create it again,the UART data are all "A5",and the length is 255,even I didn't sent any data to UART. This is the BLE sta...
- Thu Feb 01, 2024 2:50 am
- Forum: ESP-IDF
- Topic: fatal error: driver/gpio.h: No such file or directory
- Replies: 2
- Views: 1985
Re: fatal error: driver/gpio.h: No such file or directory
Thanks for your reply! It works for meok-home wrote: ↑Thu Feb 01, 2024 2:30 amHi
Add REQUIRESCode: Select all
idf_component_register(SRCS "pmfbj_uart.c" INCLUDE_DIRS "." REQUIRES driver
- Thu Feb 01, 2024 1:49 am
- Forum: ESP-IDF
- Topic: fatal error: driver/gpio.h: No such file or directory
- Replies: 2
- Views: 1985
fatal error: driver/gpio.h: No such file or directory
I copy the UART/uart_echo demo as one of my project components,but i came across this issue when i complie it: fatal error: driver/gpio.h: No such file or directory this is the C file include : #include <stdio.h> #include "freertos/FreeRTOS.h" #include "freertos/task.h" #include "driver/gpio.h" #inc...
- Mon Dec 11, 2023 3:08 pm
- Forum: ESP-IDF 中文讨论版
- Topic: ESP32 C3 modbus-master官方例程编译报错
- Replies: 3
- Views: 17769
Re: ESP32 C3 modbus-master官方例程编译报错
感谢您的解答回复!!问题已解决,是我的环境搭建有问题
解决办法:删除电脑中所有与IDF有关的环境变量。
PS:该方法虽然可以正常编译下载,但还是提示缺少"modbus_params.h"文件
解决办法:删除电脑中所有与IDF有关的环境变量。
PS:该方法虽然可以正常编译下载,但还是提示缺少"modbus_params.h"文件
- Mon Dec 11, 2023 6:50 am
- Forum: ESP-IDF 中文讨论版
- Topic: ESP32 C3 modbus-master官方例程编译报错
- Replies: 3
- Views: 17769
ESP32 C3 modbus-master官方例程编译报错
编译时出现如下错误,请问如何解决?谢谢 ———————————————————————— 编译环境VScode+IDF插件,IDF版本5.1.1 Dependencies lock doesn't exist, solving dependencies. .CMake Error at E:/esp/esp-idf/tools/cmake/build.cmake:540 (message): WARNING: HTTPSConnectionPool(host='components-file.espressif.com', port=443): Max retries exceeded wit...