Search found 384 matches

by permal
Sun Jun 02, 2019 8:53 am
Forum: ESP-IDF
Topic: Compatibility between "normal CMake" and ESP-IDF
Replies: 80
Views: 104051

Re: Compatibility between "normal CMake" and ESP-IDF

Ok, I've reproduced the problem using a minimal project based off the official IDF-examples and filed an issue for it.
by permal
Sat Jun 01, 2019 11:12 am
Forum: ESP-IDF
Topic: Compatibility between "normal CMake" and ESP-IDF
Replies: 80
Views: 104051

Re: Compatibility between "normal CMake" and ESP-IDF

idf_build_component, that seems to work. However, I'm now stuck in a situation that I think we were in when the CMake build system first was introduced - the final executable/elf isn't linked against the pre-built libraries shipped with IDF (such as libnet80211.a). I can't remember what was done abo...
by permal
Fri May 31, 2019 9:17 am
Forum: ESP-IDF
Topic: Compatibility between "normal CMake" and ESP-IDF
Replies: 80
Views: 104051

Re: Compatibility between "normal CMake" and ESP-IDF

ESP_renz wrote:
Fri May 31, 2019 8:19 am
To add a component, you can use idf_build_component(<path-to-component>).
Ok, so EXTRA_COMPONENT_DIRS is depricated? Will try this out this evening.

Thanks.
by permal
Fri May 31, 2019 7:16 am
Forum: ESP-IDF
Topic: Compatibility between "normal CMake" and ESP-IDF
Replies: 80
Views: 104051

Re: Compatibility between "normal CMake" and ESP-IDF

Angus, My project can be found here . The master branch currently does not build with the latest IDF, you'll have to go back to before the last CMake changes, some two weeks back. On the branch feature/31-update-to-idf-master I think I've now gotten as far as to get IDF to build (including lwip), bu...
by permal
Thu May 30, 2019 6:42 pm
Forum: ESP-IDF
Topic: Compatibility between "normal CMake" and ESP-IDF
Replies: 80
Views: 104051

Re: Compatibility between "normal CMake" and ESP-IDF

Any response to this? Trying to update to latest IDF, but the seemingly deprecated IDF_EXTRA_COMPONENT_DIRS (now named EXTRA_COMPONENT_DIRS) is preventing me from doing so. How are components supposed to be added now? I have a component that adds some items to resulting sdkconfig.h so that menuconfi...
by permal
Wed May 29, 2019 10:15 am
Forum: General Discussion
Topic: Memory corruption / IDF heap corruption detection vs GCC Address Sanitizer
Replies: 9
Views: 9345

Re: Memory corruption / IDF heap corruption detection vs GCC Address Sanitizer

ESP_Sprite wrote:
Wed May 29, 2019 12:42 am
I'm hoping we can release at least something for everyone to test with in the next week.
That is much sooner than I dared hope for. Thank you.
by permal
Tue May 28, 2019 11:33 am
Forum: General Discussion
Topic: Memory corruption / IDF heap corruption detection vs GCC Address Sanitizer
Replies: 9
Views: 9345

Re: Memory corruption / IDF heap corruption detection vs GCC Address Sanitizer

There are two issues I know of. Half of it is this one , the other half has something to do with the ESP32 cache getting confused if there's 16/8-bit and 32-bit loads/stores done to the same cache line. I'm planning to fix them both with a toolchain update; as soon as that's ready you can see if th...
by permal
Tue May 28, 2019 6:22 am
Forum: General Discussion
Topic: Memory corruption / IDF heap corruption detection vs GCC Address Sanitizer
Replies: 9
Views: 9345

Re: Memory corruption / IDF heap corruption detection vs GCC Address Sanitizer

Had it running during the night for 12h with PSRAM enabled, still only a single connection, no corruption detected. It's an elusive bug.

ESP_Sprite, can you give some information on the status and nature of the bug you refer to?
by permal
Tue May 28, 2019 6:20 am
Forum: ESP-IDF
Topic: TLS handshake slow ?
Replies: 9
Views: 10927

Re: TLS handshake slow ?

You're right. My code had a call to create a task for this. Setting other priority values on that task, and not pinning it to one core, reduces the response time to 3s. Still a lot longer than the report I referred to... Any clues on how to make this better ? I can't seem to find useful values for ...