Search found 151 matches
- Sat Nov 23, 2019 3:17 am
- Forum: ESP-IDF
- Topic: Migrating a CMake project from ESP-IDF v3.2 to v3.3 - component "main" error
- Replies: 2
- Views: 4532
Re: Migrating a CMake project from ESP-IDF v3.2 to v3.3 - component "main" error
It looks like v3.2's project.cmake used the directory of the component that contained the main() function as the name of the target executable, whereas v3.3 uses $IDF_PROJECT_EXECUTABLE instead. So I was able to fix this by changing my rules such as this: target_compile_options(main PRIVATE -Wno-unk...
- Sun Nov 17, 2019 12:21 am
- Forum: ESP-IDF
- Topic: Migrating a CMake project from ESP-IDF v3.2 to v3.3 - component "main" error
- Replies: 2
- Views: 4532
Migrating a CMake project from ESP-IDF v3.2 to v3.3 - component "main" error
I have a CMakeLists.txt that works fine with ESP IDF v3.2, but when I try to build it (from clean check-out) with ESP IDF v3.3 I get the following CMake error: $ $IDF_PATH/tools/idf.py build [...] -- Component paths: [...];/home/me/my-project/main [...] -- Component libraries: CMake Error at CMakeLi...
- Sun Oct 13, 2019 8:59 pm
- Forum: ESP-IDF
- Topic: Help using CLion + CMake + ESP-IDF v3.2.2
- Replies: 12
- Views: 18965
Re: Help using CLion + CMake + ESP-IDF v3.2.2
Now that the ESP-IDF is moving away from Make to Ninja (and Clion doesn't support Ninja) do any of the ESP engineers have any tips to get this to work with IDF v4.x+ please? I'm not an ESP engineer, but CMake supports numerous build tools and I'd be very surprised if the ESP-IDF CMake config does s...
- Tue Sep 24, 2019 11:03 pm
- Forum: General Discussion
- Topic: tcp_server example not able to reconnect the server after disconnect
- Replies: 25
- Views: 32097
Re: tcp_server example not able to reconnect the server after disconnect
Fair enough - my workaround was a consolidation of other comments to support a single client and multiple reconnections. Two unique non-concurrent clients will need a different solution.
- Wed Sep 18, 2019 9:40 pm
- Forum: General Discussion
- Topic: tcp_server example not able to reconnect the server after disconnect
- Replies: 25
- Views: 32097
Re: tcp_server example not able to reconnect the server after disconnect
It is, but here it is again anywayblippy wrote: ↑Tue Sep 17, 2019 8:01 amPlease provide the link, as it's not on this thread.meowsqueak wrote: ↑Mon Sep 16, 2019 11:20 pmDid you try the PR I linked to? I didn't have any problems with it, but my use case may be different.
https://github.com/espressif/esp-idf/pull/3597
- Mon Sep 16, 2019 11:20 pm
- Forum: General Discussion
- Topic: tcp_server example not able to reconnect the server after disconnect
- Replies: 25
- Views: 32097
- Tue Aug 27, 2019 9:59 pm
- Forum: General Discussion
- Topic: route (overlap) gpio to another without wiring
- Replies: 11
- Views: 20180
Re: route (overlap) gpio to another without wiring
I think you might be better off just connecting each LED to a GPIO and using interrupts to catch the state changes, and polling to monitor levels. 5 Hz is absolutely nothing to a microcontroller like the ESP32. It would be a lot easier than using RMT! RMT is better suited to fast signals where you n...
- Mon Aug 26, 2019 10:08 pm
- Forum: General Discussion
- Topic: route (overlap) gpio to another without wiring
- Replies: 11
- Views: 20180
Re: route (overlap) gpio to another without wiring
As you're probably aware already, that example just looks at a single signal incoming on a single GPI. The main constraint is the size of the RMT buffers - as the GPI is sampled, a new value is added to the RMT buffer. The size of the buffer required is therefore related to the required sample rate,...
- Tue Jul 09, 2019 9:57 pm
- Forum: ESP-IDF
- Topic: Help using CLion + CMake + ESP-IDF v3.2.2
- Replies: 12
- Views: 18965
Re: Help using CLion + CMake + ESP-IDF v3.2.2
Thanks everyone for your help and advice. Just to follow up, I now have it working properly in Linux and on Mac with v3.2. The key points are: Set CMake options to "-DIDF_PATH=..." in Preferences > Build, Execution, Deployment > CMake and add an entry to the Environments table to set IDF_PATH as wel...
- Thu Jul 04, 2019 10:54 pm
- Forum: ESP-IDF
- Topic: Help using CLion + CMake + ESP-IDF v3.2.2
- Replies: 12
- Views: 18965
Re: Help using CLion + CMake + ESP-IDF v3.2.2
One other thing I've noticed and I can't work out if it's CLion or the CMake build system (that CLion is running frequently) that is doing it, but something is regularly touching (or rebuilding) sdkconfig, which causes the non-cmake system (which I run alongside CLion because I prefer the 'make flas...