Search found 151 matches
- Thu Feb 17, 2022 10:55 pm
- Forum: ESP-IDF
- Topic: Build system - setting VERSION in project() does not set PROJECT_VERSION_ variables
- Replies: 0
- Views: 2434
Build system - setting VERSION in project() does not set PROJECT_VERSION_ variables
Apologies if this has been asked before - the Search function on this forum seems to be broken (very slow, finally serves up a blank white page). With ESP-IDF v4.3, I wish to set the project version (e.g. "1.2.3") in the CMake call to `project(... VERSION 1.2.3 ...)`, however from what I can tell, t...
- Thu Feb 17, 2022 4:05 am
- Forum: ESP-IDF
- Topic: flashing without the esptool.py
- Replies: 5
- Views: 6410
Re: flashing without the esptool.py
Alright, this is exactly what I am looking for! Thank you. Although I only found it because of your reply... is this mentioned in the docs somewhere?
- Wed Feb 16, 2022 10:33 pm
- Forum: ESP-IDF
- Topic: flashing without the esptool.py
- Replies: 5
- Views: 6410
Re: flashing without the esptool.py
the Arduino-ESP32 ships bundled versions of esptool.py as standalone executables for Windows, macOS, Linux Unfortunately the Linux tarballs just contain `esptool.py` without any dependencies included, unlike the Windows (i686-mingw32) download which contains a standalone esptool.exe. It would be ni...
- Thu Oct 28, 2021 10:09 pm
- Forum: ESP-IDF
- Topic: How to reconfigure I2C speed on-the-fly?
- Replies: 1
- Views: 2239
How to reconfigure I2C speed on-the-fly?
I have a device that needs to be configured using a low-speed I2C rate (100 kHz) before it can be used at a faster rate (e.g. 400 - 1000 kHz). I am setting the I2C speed with the i2c_config.t clk_speed field set to the low rate, with the entire struct passed to i2c_param_config() just prior to insta...
- Thu Oct 21, 2021 12:40 am
- Forum: ESP-IDF
- Topic: Main task is not subscribed to the TWDT, yet esp_task_wdt_reset() does actually reset the TWDT
- Replies: 2
- Views: 3759
Re: Main task is not subscribed to the TWDT, yet esp_task_wdt_reset() does actually reset the TWDT
According to this post: https://esp32.com/viewtopic.php?t=10560#p43395 the purpose of esp_task_wdt_reset is to reset the watchdog for the current task, but not the watchdog that is fed by the idle task. However my experiments seem to indicate that not calling this function when using taskYIELD still...
- Thu Oct 21, 2021 12:16 am
- Forum: ESP-IDF
- Topic: Main task is not subscribed to the TWDT, yet esp_task_wdt_reset() does actually reset the TWDT
- Replies: 2
- Views: 3759
Main task is not subscribed to the TWDT, yet esp_task_wdt_reset() does actually reset the TWDT
The search function on this site seems very unreliable so apologies if this has been brought up elsewhere. I did try to search but I just got blank pages as a result. I'm using ESP IDF v4.3 with a standard ESP32 module. According to the menuconfig help, the task watchdog is enabled by default (ESP_T...
- Fri Sep 25, 2020 6:36 am
- Forum: ESP-IDF
- Topic: Standard way to require a specific IDF version?
- Replies: 1
- Views: 3082
Standard way to require a specific IDF version?
Is there anything provided by ESP-IDF (v4.1) that can be used to verify that a specific version of the IDF is being used, and abort if it's not available? For example, I'd like my CMakeLists.txt to signal to a user that they have to use v4.1 and anything else is unsupported. Obviously I can do this:...
- Fri Feb 14, 2020 9:30 pm
- Forum: ESP IoT Solution
- Topic: a4988 component working?
- Replies: 7
- Views: 19992
Re: a4988 component working?
@mkeveney - did you end up solving this problem? I found `a4988.cpp` in the espressif/esp-iot-solution repository, but I'm not sure about the status of this repository at the moment - seems to have been a long time since it was last updated. In particular, `a4988.cpp` hasn't been updated since July ...
- Sat Nov 23, 2019 4:09 am
- Forum: ESP-IDF
- Topic: Using CMake add_custom_command() to perform POST_BUILD action
- Replies: 19
- Views: 30280
Re: Using CMake add_custom_command() to perform POST_BUILD action
It's mentioned here, but in the context of integrating with an existing CMake build system: https://docs.espressif.com/projects/esp-idf/en/release-v3.3/api-guides/build-system-cmake.html#using-esp-idf-in-custom-cmake-projects Just a note - that link is currently dead (404), yet linked from the curr...
- Sat Nov 23, 2019 3:56 am
- Forum: ESP-IDF
- Topic: Migrating a CMake project from ESP-IDF v3.2 to v3.3 - component "main" error
- Replies: 2
- Views: 5381
Re: Migrating a CMake project from ESP-IDF v3.2 to v3.3 - component "main" error
In case this is useful to anyone in the future (including future me): With ESP IDF v3.2, I had the following in my top-level CMakeLists.txt file: execute_process(COMMAND "git" "describe" "--match=NeVeRmAtCh" "--always" "--abbrev=14" "--dirty" RESULT_VARIABLE git_result OUTPUT_VARIABLE git_output OUT...