Search found 144 matches

by meowsqueak
Fri Feb 14, 2020 9:30 pm
Forum: ESP IoT Solution
Topic: a4988 component working?
Replies: 4
Views: 2343

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: ESP32 IDF
Topic: Using CMake add_custom_command() to perform POST_BUILD action
Replies: 18
Views: 2944

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: ESP32 IDF
Topic: Migrating a CMake project from ESP-IDF v3.2 to v3.3 - component "main" error
Replies: 2
Views: 446

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: ESP32 IDF
Topic: Migrating a CMake project from ESP-IDF v3.2 to v3.3 - component "main" error
Replies: 2
Views: 446

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: ESP32 IDF
Topic: Migrating a CMake project from ESP-IDF v3.2 to v3.3 - component "main" error
Replies: 2
Views: 446

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: ESP32 IDF
Topic: Help using CLion + CMake + ESP-IDF v3.2.2
Replies: 12
Views: 2984

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: 6766

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: 6766

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: 6766

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.
by meowsqueak
Tue Aug 27, 2019 9:59 pm
Forum: General Discussion
Topic: route (overlap) gpio to another without wiring
Replies: 11
Views: 4100

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...

Go to advanced search