Search found 384 matches

by permal
Sat Oct 12, 2019 8:52 pm
Forum: ESP-IDF
Topic: Help using CLion + CMake + ESP-IDF v4.0+
Replies: 8
Views: 12887

Re: Help using CLion + CMake + ESP-IDF v4.0+

You can have CMake generate a build system for either make or Ninja; just don't specify "-G Ninja" on the command line and it defaults to regular make files (at least on Linux). I'm using both in parallel, Ninja when I run my CI, and the make file CodeBlocks-variant that CLion uses. I compile my cod...
by permal
Tue Oct 08, 2019 6:16 pm
Forum: ESP-IDF
Topic: [solved] {fmt} and xtensa-esp32-elf-g++ 8.2.0 (crosstool-NG esp32-2019r1)
Replies: 0
Views: 2303

[solved] {fmt} and xtensa-esp32-elf-g++ 8.2.0 (crosstool-NG esp32-2019r1)

Hi, I'm trying to use {fmt} (https://fmt.dev) in my project, but I'm stuck on the linker step - I suspect that there are missing pieces in the toolchain. The first few lines of the error message are these: externals/fmt/libfmtd.a(format.cc.obj):(.literal+0x0): undefined reference to `__xpg_strerror_...
by permal
Thu Oct 03, 2019 6:49 pm
Forum: ESP-IDF
Topic: Reusing a component as a library when linking to reduce build times.
Replies: 1
Views: 2758

Re: Reusing a component as a library when linking to reduce build times.

FWIW, I ended up scripting the builds so that it adjusts the CMakeLists.txt file to change the target project which resulted in a 50 minute run time reductions.
by permal
Sun Sep 29, 2019 6:02 pm
Forum: ESP-IDF
Topic: Reusing a component as a library when linking to reduce build times.
Replies: 1
Views: 2758

Reusing a component as a library when linking to reduce build times.

Current situation: - A C++ library which sits between the application and IDF. - 19 (test) projects using the library. Due to how the ESP-IDF build system has been implemented, it cannot build more than a single executable target which forces me to recompile IDF and the library for each of those 19 ...
by permal
Wed Sep 11, 2019 7:00 pm
Forum: Showcase
Topic: Esp-idf++ and platformio (VS Code)
Replies: 2
Views: 11958

Re: Esp-idf++ and platformio (VS Code)

I've started working on a home project on a few esp32-wroom-32 chips. Using platformio in VS Code and ESP-IDF v3.3. Using freeRTOS and c++. Not found much on the esp in the above situation. Particularly later builds of the IDF in pio, and c++. Thought I'd do my bit by asking if there's any interest...
by permal
Wed Aug 21, 2019 6:19 pm
Forum: ESP-IDF
Topic: Wifi stack failure - anyone else affected?
Replies: 0
Views: 2163

Wifi stack failure - anyone else affected?

Throwing this out just to check if I'm alone in experiencing an issue with the Wifi-stack failing in 4.x. Anyone else getting log messages like these? W (78383) wifi: alloc eb len=24 type=3 fail, heap:4090072 W (78384) wifi: m f null There's an issue on GH where this has been discussed and it was su...
by permal
Wed Aug 21, 2019 5:13 pm
Forum: General Discussion
Topic: undefined reference to `esp_aes_init'
Replies: 10
Views: 12383

Re: undefined reference to `esp_aes_init'

Works, thanks!
by permal
Tue Aug 20, 2019 9:11 am
Forum: ESP-IDF
Topic: Esp-idf v4.0
Replies: 13
Views: 13279

Re: Esp-idf v4.0

FWIW, for these priorities you may want to consider switching to the release/v4.0 release branch now that it's available. Should be a less bumpy ride.
Yes, I will likely do that.
by permal
Tue Aug 20, 2019 9:09 am
Forum: General Discussion
Topic: undefined reference to `esp_aes_init'
Replies: 10
Views: 12383

Re: undefined reference to `esp_aes_init'

Hm, that's odd. I'm sure I tested the sntp test before posting my reply. :\ Will check if I get the same in a completely fresh clone.

Looking forward to the next sync :)
by permal
Mon Aug 19, 2019 7:12 pm
Forum: ESP-IDF
Topic: (solved) getting "assert failed" on socket() call
Replies: 15
Views: 17515

Re: getting "assert failed" on socket() call

The Wrover does have PSRAM.

Component Config -> ESP32 Specific -> Support for external, SPI-connected RAM.