Search found 137 matches

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: 22
Views: 3723

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: 22
Views: 3723

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

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...
by meowsqueak
Mon Aug 26, 2019 10:08 pm
Forum: General Discussion
Topic: route (overlap) gpio to another without wiring
Replies: 11
Views: 3062

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,...
by meowsqueak
Tue Jul 09, 2019 9:57 pm
Forum: ESP32 IDF
Topic: Help using CLion + CMake + ESP-IDF v3.2.2
Replies: 10
Views: 891

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...
by meowsqueak
Thu Jul 04, 2019 10:54 pm
Forum: ESP32 IDF
Topic: Help using CLion + CMake + ESP-IDF v3.2.2
Replies: 10
Views: 891

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...
by meowsqueak
Wed Jul 03, 2019 3:17 am
Forum: ESP32 IDF
Topic: CMake with CLion - working!
Replies: 6
Views: 2772

Re: CMake with CLion - working!

Thanks for the reply. I'm also having some trouble with it, although I'm only trying to build IDF examples and my own projects at the moment. I've written a bit about my troubles here: viewtopic.php?f=13&t=11280
by meowsqueak
Wed Jul 03, 2019 3:16 am
Forum: ESP32 IDF
Topic: Help using CLion + CMake + ESP-IDF v3.2.2
Replies: 10
Views: 891

Re: Help using CLion + CMake + ESP-IDF v3.2.2

Looks like I'm getting the same behaviour on my Linux system - IDF_PATH must be set in both the command line (as -DIDF_PATH=...) and in the Environment table. If it's in neither or only one, I get an error from the IDF .cmake functions as per above. I naively assume that anything in the Environment ...
by meowsqueak
Wed Jul 03, 2019 3:08 am
Forum: ESP32 IDF
Topic: Help using CLion + CMake + ESP-IDF v3.2.2
Replies: 10
Views: 891

Re: Help using CLion + CMake + ESP-IDF v3.2.2

Hmm, a breakthrough! I was using the Environment "table" under Build, Execution, Deployment > CMake. I clicked the little rectangle symbol on the right and was adding IDF_PATH and PYTHON variables there: Capto_Capture 2019-07-03_15-03-48_.png However it turns out that this doesn't work on its own fo...
by meowsqueak
Wed Jul 03, 2019 2:21 am
Forum: ESP32 IDF
Topic: Help using CLion + CMake + ESP-IDF v3.2.2
Replies: 10
Views: 891

Re: Help using CLion + CMake + ESP-IDF v3.2.2

@ESP_cermak, thanks for your reply. I thought I'd try setting it up "from scratch" on my Mac (Mojave, 10.14.5) which I already have ESP IDF v3.2 installed on. I have cmake 3.14.0 installed. I did a fresh install of CLion 2019.1.4 and opened the CMakeLists.txt file from a freshly copied (from IDF v3....

Go to advanced search