Search found 144 matches

by meowsqueak
Mon Aug 26, 2019 10:08 pm
Forum: General Discussion
Topic: route (overlap) gpio to another without wiring
Replies: 11
Views: 4521

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: 12
Views: 3839

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: 12
Views: 3839

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

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: 12
Views: 3839

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: 12
Views: 3839

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: 12
Views: 3839

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....
by meowsqueak
Tue Jul 02, 2019 12:10 am
Forum: ESP32 IDF
Topic: Help using CLion + CMake + ESP-IDF v3.2.2
Replies: 12
Views: 3839

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

I realise that this may be a bit tricky to convey as I'm running into a few different problems. One issue I have is that the docs here don't exist: https://docs.espressif.com/projects/esp-idf/en/v3.3-beta3/get-started-cmake/index.html - so I'm using a mixture of 3.2 and master to get by. In my origi...
by meowsqueak
Mon Jul 01, 2019 11:30 pm
Forum: ESP32 IDF
Topic: CMake with CLion - working!
Replies: 6
Views: 5606

Re: CMake with CLion - working!

What's the current status of this? I'm keen to test out the state-of-the-art and help if i can...
by meowsqueak
Mon Jul 01, 2019 11:29 pm
Forum: ESP32 IDF
Topic: Help using CLion + CMake + ESP-IDF v3.2.2
Replies: 12
Views: 3839

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

(Moderator's note: Moved to a new thread.) I've spent a bit of time this morning trying out the new CMake build system. I had a few issues with changes between 3.2.2, 3.3-beta3 and master but I was able to resolve those and get a non-trivial ESP32 project, written in C (not C++), with custom compone...

Go to advanced search