Search found 2020 matches

by ESP_Angus
Fri Feb 21, 2020 2:10 am
Forum: IDEs for ESP-IDF
Topic: Getting IDF version 4.0-dirty with VS Code marketplace
Replies: 1
Views: 74

Re: Getting IDF version 4.0-dirty with VS Code marketplace

This might be due to line endings (Windows uses a different line ending to MacOS/Linux), which explains why you don't see any "real" changes (Git is seeing the files as changed but VSCode is smart enough to see that there are no "real" changes). I'll wait for the VSCode extension developers to chime...
by ESP_Angus
Thu Feb 20, 2020 8:11 am
Forum: ESP32 IDF
Topic: "unexpected spi flash error code:101"
Replies: 17
Views: 830

Re: "unexpected spi flash error code:101"

I'm curious though -- the error message says that the stack overflow is occurring in task "wifi" which is not the same as my task "Wifi." I'd assumed this was another task, within the system. Is this correct, and if so, is there a way to increase the stack size of "wifi?" No, I missed that - this i...
by ESP_Angus
Thu Feb 20, 2020 12:27 am
Forum: ESP32 IDF
Topic: Question: Assembler messages memory exhausted
Replies: 5
Views: 325

Re: Question: Assembler messages memory exhausted

iram0_2_seg is not big enough; There is a limit of 3.3MB of executable code per app. This is the most that can be mapped by the flash cache into the address space, at one time (iram0_2_seg is the non-intuitive name for the flash cache mapped region). If the linked binary size comes out at more than...
by ESP_Angus
Thu Feb 20, 2020 12:18 am
Forum: ESP32 IDF
Topic: "unexpected spi flash error code:101"
Replies: 17
Views: 830

Re: "unexpected spi flash error code:101"

Hi mzimmers, I think I understand what's happening enough here. Can hopefully give some general pointers and with these you can get things working again: Task stack memory has to be internal memory*. So if you're allocating ~88KB of task stacks, this is a lot. If you can multiplex some functions int...
by ESP_Angus
Thu Feb 20, 2020 12:07 am
Forum: General Discussion
Topic: Myriad of compilation problems arising when switching from .c to .cpp
Replies: 2
Views: 130

Re: Myriad of compilation problems arising when switching from .c to .cpp

Yes, ESP-IDF V3.3 supports C++ and files with a .cpp extension will be compiled using a C++ compiler. Note that not all valid C syntax is valid C++ syntax, so some examples/etc may need some modifications if converting to C++. And you need to mark any function called from C (such as app_main()) as e...
by ESP_Angus
Wed Feb 19, 2020 7:52 am
Forum: ESP32 IDF
Topic: unknown type name 'ip4_addr_t' and ip6_addr_t
Replies: 4
Views: 156

Re: unknown type name 'ip4_addr_t' and ip6_addr_t

Hi Andrew, Thanks for the extra details. I'm not sure how to explain this problem. If you look at the top of the lwip/src/include/lwip/ip_addr.h file (as shown in the first screenshot), you should see that it includes ip6_addr.h in the same directory and this header defines the ip6_addr_t type. Unle...
by ESP_Angus
Wed Feb 19, 2020 3:24 am
Forum: ESP32 IDF
Topic: "unexpected spi flash error code:101"
Replies: 17
Views: 830

Re: "unexpected spi flash error code:101"

Hi Angus - I'll try those memory reports you suggested in the morning. I'm not sure I understand - are you saying that there would be expected to be *more* memory available than what I'm showing in the reports? It looks like I have plenty of the 8-bit (which from what I understand is what malloc() ...
by ESP_Angus
Tue Feb 18, 2020 11:36 pm
Forum: ESP32 IDF
Topic: unknown type name 'ip4_addr_t' and ip6_addr_t
Replies: 4
Views: 156

Re: unknown type name 'ip4_addr_t' and ip6_addr_t

Hi Andrew, Do you get a similar error when building your project, or only in the IDE editor window? If there's a build time error (shown in the Console log when you choose Build), could you please share that as well? It's possible for Eclipse editor to show "Errors" due to failure to resolve paths, ...
by ESP_Angus
Tue Feb 18, 2020 11:29 pm
Forum: ESP32 IDF
Topic: "unexpected spi flash error code:101"
Replies: 17
Views: 830

Re: "unexpected spi flash error code:101"

Hi mzimmers, Judging from the "memreport" log lines compared to the initial heap sizes, something is indeed allocating almost all the available internal memory from heap during startup. The remaining amounts of DMA-capable and internal memory seem quite low (these also overlap), and these free sizes...
by ESP_Angus
Tue Feb 18, 2020 6:06 am
Forum: ESP32 IDF
Topic: Missing IDF version in boot log
Replies: 4
Views: 170

Re: Missing IDF version in boot log

Hi, Thanks for pointing this out. Having this value shown for the IDF version makes me think that "git" was not available on the path when the IDF build system ran. In this case it return this value as the result of any Git command (and "git" is run to find the version). However, the IDF Tools insta...

Go to advanced search