Search found 566 matches
- Wed Sep 22, 2021 10:07 am
- Forum: ESP-IDF
- Topic: OTA update : 2 partitions one with OTA program and second with application program
- Replies: 3
- Views: 4607
Re: OTA update : 2 partitions one with OTA program and second with application program
Yes you could have a single OTA app partition and a small factory app partition with the sole purpose of updating and booting the OTA partition. Why then do we have 3 app partitions and not just let's say factory and ota_0 ? Typically, the factory app would be a fallback option, while the OTA app pa...
- Tue Sep 21, 2021 4:19 pm
- Forum: ESP-IDF
- Topic: application code can't find errno
- Replies: 8
- Views: 4719
Re: application code can't find errno
Because those headers have been added to the include path by the respective components, and because your component depends on those components, their headers can be included in your component like this:
Code: Select all
#include "freertos/FreeRTOS.h"
#include "freertos/semphr.h"
#include "lwip/ip_addr.h"
- Tue Sep 21, 2021 3:00 pm
- Forum: ESP-IDF
- Topic: application code can't find errno
- Replies: 8
- Views: 4719
Re: application code can't find errno
1. Correct.
2. Add other components it depends on to REQUIRES: https://docs.espressif.com/projects/esp ... quirements
2. Add other components it depends on to REQUIRES: https://docs.espressif.com/projects/esp ... quirements
- Tue Sep 21, 2021 2:19 pm
- Forum: ESP-IDF
- Topic: application code can't find errno
- Replies: 8
- Views: 4719
Re: application code can't find errno
That's not the purpose of INCLUDE_DIRS. Have a look through some IDF components and get a feel for some typical CMakeLists.
- Fri Sep 17, 2021 4:32 pm
- Forum: ESP-IDF
- Topic: (resolved) simple cmake question (using subdirectories)
- Replies: 6
- Views: 5697
Re: simple cmake question (using subdirectories)
There could be a lot of reasons for that, we don't have enough info.
Try the suggestions in this section: https://docs.espressif.com/projects/esp ... tal-builds
Try the suggestions in this section: https://docs.espressif.com/projects/esp ... tal-builds
- Fri Sep 17, 2021 3:35 pm
- Forum: ESP-IDF
- Topic: (resolved) simple cmake question (using subdirectories)
- Replies: 6
- Views: 5697
Re: simple cmake question (using subdirectories)
Look for SRC_DIRS and INCLUDE_DIRS in the linked Build System docs.
- Tue Sep 14, 2021 6:15 am
- Forum: General Discussion
- Topic: ESP32 devkit V4 current consumption
- Replies: 3
- Views: 2577
Re: ESP32 devkit V4 current consumption
Your options are limited in AP mode. Try reducing CPU frequency or WiFi TX power (esp_wifi_set_max_tx_power).
- Tue Sep 14, 2021 6:10 am
- Forum: IDEs for ESP-IDF
- Topic: (solved) Error flagged on this line of code:
- Replies: 4
- Views: 3844
Re: Error flagged on this line of code:
1. Check for earlier errors in the output. The quoted error may be misleading consequence of some earlier error (eg. strtol not defined).
2. #include <stdlib.h>
3. Double check every usage of the macro, the error is likely going to be there rather than within its definition.
2. #include <stdlib.h>
3. Double check every usage of the macro, the error is likely going to be there rather than within its definition.
- Tue Sep 14, 2021 6:05 am
- Forum: IDEs for ESP-IDF
- Topic: (solved) addition to c_cpp_properties.json includePath not working
- Replies: 2
- Views: 3578
Re: addition to c_cpp_properties.json includePath not working
c_cpp_properties.json contains settings for Intellisense (auto complete, suggestions, code navigation, squiggles, etc). This doesn't alter the build system, it just makes your IDE more helpful. Assuming it's a valid IDF component, you would need to specify "/home/mzimmers/wiced/sdk/WICED-SDK-2.4.1/W...
- Fri Sep 03, 2021 8:03 pm
- Forum: Hardware
- Topic: ESP32-PICO-V3 IO20 error
- Replies: 2
- Views: 2940
Re: ESP32-PICO-V3 IO20 error
IO20 wasn't available on earlier packages, so it was considered invalid. Support was added in IDF very recently, so you'd have to pull in/copy the latest changes to use it:
https://github.com/espressif/esp-idf/co ... 21fd142b79
https://github.com/espressif/esp-idf/co ... 21fd142b79