Search found 476 matches

by mzimmers
Thu Jul 09, 2020 3:41 pm
Forum: ESP32 IDF
Topic: using pthreads
Replies: 3
Views: 161

Re: using pthreads

Thanks, Sprite. I'm very new to CMake, so I'm sure I'm doing something wrong, but when I include this line: find_package(Threads REQUIRED PATHS C:/esp-idf/components/pthread) I get this error message: CMake Error at CMakeLists.txt:148 (find_package): Could not find a package configuration file provi...
by mzimmers
Thu Jul 09, 2020 2:30 am
Forum: ESP32 IDF
Topic: using pthreads
Replies: 3
Views: 161

using pthreads

Hi -

From https://docs.espressif.com/projects/esp ... hread.html:
This module offers Espressif specific extensions to the pthread library
But where is the actual pthread library itself?

Thanks.
by mzimmers
Wed Jul 01, 2020 3:28 pm
Forum: ESP32 IDF
Topic: Called idf_component_register from a non-component directory.
Replies: 0
Views: 97

Called idf_component_register from a non-component directory.

Hi all - I'm trying to get my project to build from an IDE (Qt Creator). I'm new to CMake, so this is a slow process. Currently, my error is: "Called idf_component_register from a non-component directory." I'm getting this error on line 1 of my main/CMakeLists.txt file. My top-level file contains th...
by mzimmers
Tue Jun 23, 2020 4:14 am
Forum: ESP32 IDF
Topic: building a 3rd party library
Replies: 23
Views: 1074

Re: building a 3rd party library

I'm currently using the ESP32-WROVER-E. I increased the flash size to 8MB and that eliminated the error. The IDE I'm using is Qt Creator. It's a wonderful code browser and editor, even if you can't use it to build. I'll look into this error tomorrow. So, I guess the next logical step would be to add...
by mzimmers
Tue Jun 23, 2020 2:06 am
Forum: ESP32 IDF
Topic: building a 3rd party library
Replies: 23
Views: 1074

Re: building a 3rd party library

I am guessing you didn't read any of the two (2) README files. :? Not carefully enough...mea culpa. I went ahead and copied the library under your project structure (I'm running on Windows and links/shortcuts don't always do what I want them to). It now builds and runs. Very nice work on your part....
by mzimmers
Mon Jun 22, 2020 2:27 pm
Forum: ESP32 IDF
Topic: building a 3rd party library
Replies: 23
Views: 1074

Re: building a 3rd party library

Hi nvannote - I tried building your repo, and got this error: CMake Error at C:/esp-idf/tools/cmake/component.cmake:283 (message): Include directory 'C:/esp32-projects/esp_ports/esp_srtp/components/srtp/libsrtp/include' is not a directory. Was I supposed to copy the Cisco library into my local copy ...
by mzimmers
Sun Jun 21, 2020 2:02 am
Forum: ESP32 IDF
Topic: building a 3rd party library
Replies: 23
Views: 1074

Re: building a 3rd party library

Thank you for all you're doing on this. At some time, I'd appreciate seeing your work in more detail. I'm still quite new to CMake and its nuances.
by mzimmers
Fri Jun 19, 2020 7:02 pm
Forum: ESP32 IDF
Topic: building a 3rd party library
Replies: 23
Views: 1074

Re: building a 3rd party library

So, I went ahead and created a components directory: Directory of C:\esp32-projects\wifi_libsrtp 06/19/2020 11:40 AM <DIR> . 06/19/2020 11:40 AM <DIR> .. 06/19/2020 11:51 AM <DIR> build 06/19/2020 10:45 AM 247 CMakeLists.txt 06/19/2020 10:33 AM <DIR> components 06/19/2020 11:13 AM <DIR> main 06/04/2...
by mzimmers
Fri Jun 19, 2020 4:20 pm
Forum: ESP32 IDF
Topic: building a 3rd party library
Replies: 23
Views: 1074

Re: building a 3rd party library

Thank you both. If I understand correctly, the term "library" as used in the ESP world doesn't refer to a pre-built .a file, but rather a collection of sources and build instructions. So, if I begin with, say, the Wifi example in the IDF, where in that directory structure should I place the code for...
by mzimmers
Fri Jun 19, 2020 12:52 pm
Forum: ESP32 IDF
Topic: (answered) Questions about OTA/bootloader
Replies: 7
Views: 1640

Re: (answered) Questions about OTA/bootloader

Hi Alex - in my case, I just used the NVS. My app maintains a circular buffer of 1024 entries of the following format: typedef int32_t ENTRY_INDEX; struct LogEntry { ENTRY_ID id; // unique number to identify entry. time_t timestamp; // unix time. uint8_t msgLength; // 0-255 bytes char msg[MAX_LOGMSG...

Go to advanced search