Search found 145 matches

by meowsqueak
Fri Sep 25, 2020 6:36 am
Forum: ESP-IDF
Topic: Standard way to require a specific IDF version?
Replies: 0
Views: 280

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:...
by meowsqueak
Fri Feb 14, 2020 9:30 pm
Forum: ESP IoT Solution
Topic: a4988 component working?
Replies: 6
Views: 7777

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 ...
by meowsqueak
Sat Nov 23, 2019 4:09 am
Forum: ESP-IDF
Topic: Using CMake add_custom_command() to perform POST_BUILD action
Replies: 18
Views: 5786

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...
by meowsqueak
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: 969

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...
by meowsqueak
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: 969

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...
by meowsqueak
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: 969

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...
by meowsqueak
Sun Oct 13, 2019 8:59 pm
Forum: ESP-IDF
Topic: Help using CLion + CMake + ESP-IDF v3.2.2
Replies: 12
Views: 5490

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...
by meowsqueak
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: 10735

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.
by meowsqueak
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: 10735

Re: tcp_server example not able to reconnect the server after disconnect

blippy wrote:
Tue Sep 17, 2019 8:01 am
meowsqueak wrote:
Mon Sep 16, 2019 11:20 pm
Did you try the PR I linked to? I didn't have any problems with it, but my use case may be different.
Please provide the link, as it's not on this thread.
It is, but here it is again anyway :)

https://github.com/espressif/esp-idf/pull/3597
by meowsqueak
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: 10735

Re: tcp_server example not able to reconnect the server after disconnect

blippy wrote:
Mon Sep 16, 2019 5:52 pm
Comments?
Did you try the PR I linked to? I didn't have any problems with it, but my use case may be different.

Go to advanced search