Search found 1330 matches

by ESP_Angus
Wed Dec 19, 2018 3:29 am
Forum: ESP32 IDF
Topic: Eclipse - Build output is parsed incorrectly
Replies: 5
Views: 38

Re: Eclipse - Build output is parsed incorrectly

C++ files have different symbol names, so you need to change the app_main() function in your code to extern "C" app_main() so it can be linked from C code.
by ESP_Angus
Tue Dec 18, 2018 11:45 pm
Forum: ESP32 IDF
Topic: Eclipse - Build output is parsed incorrectly
Replies: 5
Views: 38

Re: Eclipse - Build output is parsed incorrectly

Hi tuskiomi, The cygpath message is a known issue on master branch, it should be fixed if you pull the latest master: https://github.com/espressif/esp-idf/issues/2839 (Although I don't think it's the cause of any build problems, it's just unnecessary messages in the log.) There are some legitimate c...
by ESP_Angus
Tue Dec 18, 2018 11:19 pm
Forum: ESP32 IDF
Topic: IRAM0 segment data does not fit
Replies: 12
Views: 230

Re: IRAM0 segment data does not fit

I figure that most people would rather have the IRAM than being able to malloc() when cache is switched off though. I would at least. Will confirm. The last time we looked into this there was at least one instance where WiFi code may need to malloc() while cache is disabled. Maybe this is no longer...
by ESP_Angus
Tue Dec 18, 2018 3:35 am
Forum: ESP32 Arduino
Topic: Automatic upload only working on some boards
Replies: 2
Views: 128

Re: Automatic upload only working on some boards

I've renamed the topic of the post to give some more details.

What models are the two boards? Some third party boards (and very old Espressif boards) can have more reliable auto-reset if a capacitor is added between the EN pin and GND (something in the 1uF-10uF range should work).
by ESP_Angus
Tue Dec 18, 2018 3:33 am
Forum: General Discussion
Topic: Esp idf V3.2 release date
Replies: 1
Views: 208

Re: Esp idf V3.2 release date

Hi davdav, We don't have a concrete release date. We're currently finalizing a release candidate version, which should be tagged before the end of the year. Then depending on the final round of QA and internal testing a final release will be some days or weeks after this. Sorry we can't give a more ...
by ESP_Angus
Tue Dec 18, 2018 12:00 am
Forum: ESP32 IDF
Topic: IRAM0 segment data does not fit
Replies: 12
Views: 230

Re: IRAM0 segment data does not fit

The libbtdm_app.a code in IRAM is because the BT controller needs real-time response, including when the flash cache is disabled (which may happen temporarily when writing to flash, etc.) Heap code is in IRAM for similar reasons. There are some instances where an allocation may need to occur when fl...
by ESP_Angus
Mon Dec 17, 2018 11:40 pm
Forum: ESP32 IDF
Topic: ESP performance and cache
Replies: 3
Views: 97

Hi PeterR, Probably the best place to start understanding ESP32 memory layout as used by ESP-IDF is this section in the docs, if you haven't already read it: https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/general-notes.html#application-memory-layout 1) User application code may be ...
by ESP_Angus
Mon Dec 17, 2018 10:53 pm
Forum: ESP32 IDF
Topic: ELF binary parser
Replies: 6
Views: 227

Re: ELF binary parser

If you want to parse the .bin file rather than the .elf file (which is the output of "esptool.py elf2image" and the file which is actually flashed to the ESP32), then you can use esptool.py: esptool.py --chip esp32 image_info binfile.bin This doesn't work for the .elf file, you need to use one of th...
by ESP_Angus
Mon Dec 17, 2018 10:46 pm
Forum: ESP32 IDF
Topic: WARNING: Padding with 12 bytes of random data (encrypted data must be multiple of 16 bytes long)
Replies: 2
Views: 120

Re: WARNING: Padding with 12 bytes of random data (encrypted data must be multiple of 16 bytes long)

Yes, that's what it means.

You can ignore this warning, it should probably just say "note" instead.

EDIT: Have updated to esptool to say "note" as of the next release.

Angus
by ESP_Angus
Mon Dec 17, 2018 10:43 pm
Forum: ESP32 IDF
Topic: Compatibility between "normal CMake" and ESP-IDF
Replies: 66
Views: 3773

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

permal wrote:
Mon Dec 17, 2018 6:40 pm
permal wrote:
Mon Dec 17, 2018 12:54 pm
Oh, that's interesting. I'll try that tonight and see if it takes us closer to a working integration.
Nope, can't get that to work. CLion seems disregard the tool chain file during test.
Are you passing the CLion the toolchain file as part of the project properties in the IDE?

Go to advanced search