Search found 384 matches

by permal
Mon Aug 19, 2019 5:22 pm
Forum: ESP32 IDF
Topic: (solved) getting "assert failed" on socket() call
Replies: 15
Views: 2974

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

Just a thought, and I don't know if it applies to your set of IDF/compiler, but are you using PSRAM? Does it still happen if you disable it?

https://github.com/espressif/esp-idf/issues/2892
by permal
Mon Aug 19, 2019 12:50 pm
Forum: ESP32 IDF
Topic: Esp-idf v4.0
Replies: 13
Views: 3499

Re: Esp-idf v4.0

Deployment to GitHub master branch is currently stalled because of an internal CI problem Sorry for hijacking the thread, but is there a guesstimate on when that'll be up and running again? Gibson - just a few words re. my experience working from the master branch. I've done that since pre v2 I thi...
by permal
Mon Aug 19, 2019 12:13 pm
Forum: ESP32 IDF
Topic: Toolchain recommendation? What are you using?
Replies: 2
Views: 697

Re: Toolchain recommendation? What are you using?

I favor CLion for the IDE. It's easy to setup and works fine with IDF. I've also used VSCode and it works, but I find it a bit messy setting up. Is there an editor/toolchain combination that let's me easily jump to the outside code like "driver/spi_slave.h" or go to the defintion of functions like t...
by permal
Mon Aug 19, 2019 6:46 am
Forum: General Discussion
Topic: undefined reference to `esp_aes_init'
Replies: 10
Views: 2306

Re: undefined reference to `esp_aes_init'

Angus, That's the ting - it's not any longer. I've spent the weekend redoing my build system so that it follows IDF's component-based variant when building for the ESP (too much hassle using IDF as a lib when it is removed two steps from the main app). The only thing I'm doing differently is that I ...
by permal
Mon Aug 19, 2019 4:27 am
Forum: General Discussion
Topic: undefined reference to `esp_aes_init'
Replies: 10
Views: 2306

Re: undefined reference to `esp_aes_init'

v4.0-dev-1443-g39f090a4f
tensa-esp32-elf-gcc (crosstool-NG esp32-2019r1) 8.2.0

CMake output attached.
by permal
Sat Aug 17, 2019 7:58 am
Forum: General Discussion
Topic: undefined reference to `esp_aes_init'
Replies: 10
Views: 2306

Re: undefined reference to `esp_aes_init'

I do have WPA_MBEDTLS_CRYPTO, which presumably enables USE_MBEDTLS_CRYPTO

Disabling WPA_MBEDTLS_CRYPTO allows the project to compile, but that's not what I want.
by permal
Fri Aug 16, 2019 6:55 pm
Forum: General Discussion
Topic: undefined reference to `esp_aes_init'
Replies: 10
Views: 2306

undefined reference to `esp_aes_init'

I'm following the "rename main" component instructions in the documentation , but have gotten stuck on the following errors: : && /home/permal/.espressif/tools/xtensa-esp32-elf/esp32-2019r1-8.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++ -mlongcalls -Wno-frame-address -nostdlib CMakeFiles/smooth_tes...
by permal
Mon Aug 12, 2019 5:28 pm
Forum: General Discussion
Topic: dangerous relocation: l32r: literal target out of range (try using text-section-literals)
Replies: 25
Views: 4439

Re: dangerous relocation: l32r: literal target out of range (try using text-section-literals)

Thanks for the reply, Angus.

I had a look at esp32.project.ld.in ....it's like programming language in and of itself! I'll stick to -mtext-section-literals for now.

As to why -mlongcalls doesn't propagate I don't know, will have to investigate later.
by permal
Mon Aug 12, 2019 6:39 am
Forum: General Discussion
Topic: dangerous relocation: l32r: literal target out of range (try using text-section-literals)
Replies: 25
Views: 4439

Re: dangerous relocation: l32r: literal target out of range (try using text-section-literals)

@ESP_Angus They are now (and it is working), since I added the compiler flags as per the earlier post. Are these settings enabled by default in ESP-IDF? If so they are probably not propagated to my code since I build IDF as a library and link against it.
by permal
Sun Aug 11, 2019 7:01 pm
Forum: General Discussion
Topic: dangerous relocation: l32r: literal target out of range (try using text-section-literals)
Replies: 25
Views: 4439

Re: dangerous relocation: l32r: literal target out of range (try using text-section-literals)

Here's the dump as am attached file. 6.5M so a bit too much to post as text.

Size:

text data bss dec hex filename
2060236 812740 32592 2905568 2c55e0 g3
2060236 812740 32592 2905568 2c55e0 (TOTALS)

Go to advanced search