Search found 83 matches

by cmorgan
Tue Jan 30, 2018 2:37 am
Forum: General Discussion
Topic: Possible to override sdkconfig settings via command line?
Replies: 3
Views: 1644

Possible to override sdkconfig settings via command line?

I'm looking to perform a number of automated builds with different configurations. I tried something like: make CONFIG_MY_OPTION=1 but this doesn't appear to be overriding the CONFIG_MY_OPTION=2 that is in sdkconfig. Possible to override variables like this? Other ideas for how to best automate a fe...
by cmorgan
Thu Jan 25, 2018 11:35 pm
Forum: ESP32 IDF
Topic: Patterns for heap corruption resolution ...
Replies: 13
Views: 6770

Re: Patterns for heap corruption resolution ...

Ok. I'll keep at it here. I agree that it is likely in some code on my side. If you run across something latent and remember this thread please let me know. I'll post when I know more.
by cmorgan
Wed Jan 24, 2018 11:10 pm
Forum: ESP32 IDF
Topic: Patterns for heap corruption resolution ...
Replies: 13
Views: 6770

Re: Patterns for heap corruption resolution ...

Hi @ESP_Angus, any ideas? This is blocking hardware from being released into the field, I can't release it without knowing that this won't occur during normal use.
by cmorgan
Tue Jan 23, 2018 2:58 am
Forum: ESP32 IDF
Topic: Patterns for heap corruption resolution ...
Replies: 13
Views: 6770

Re: Patterns for heap corruption resolution ...

I like the idea that this could be stack size related. I've considered that but I could have missed something. I'm tracking stack usage through a console 'stack' command that retrieves the information from freertos and prints it out. The stack where the cJSON code is executed(esphttpd task) has appr...
by cmorgan
Tue Jan 23, 2018 1:31 am
Forum: ESP32 IDF
Topic: Patterns for heap corruption resolution ...
Replies: 13
Views: 6770

Re: Patterns for heap corruption resolution ...

I'm testing now with the breakpoint change, already had stack protection overall enabled. I also suspected a bad stack but wasn't sure how the heap tracing worked and thought maybe because the heap was corrupted that could have resulted in the heap trace being corrupted. Imo this didn't seem likely ...
by cmorgan
Sat Jan 20, 2018 6:50 pm
Forum: ESP32 IDF
Topic: Patterns for heap corruption resolution ...
Replies: 13
Views: 6770

Re: Patterns for heap corruption resolution ...

@ESP_Angus: esp_buf_alloc() looks like a potential suspect, look at this trace: CORRUPT HEAP: Bad tail at 0x3ffe0f70 . Expected 0xbaad5678 got 0xcececece CORRUPT HEAP: Bad head at 0x3ffe0f78 . Expected 0xabba1234 got 0xcececece CORRUPT HEAP: Block 0xcecececc is outside heap (last valid block 0x3ffe0...
by cmorgan
Fri Jan 19, 2018 8:44 pm
Forum: General Discussion
Topic: [SOLVED] WiFi + WebServer + Bluetooth
Replies: 6
Views: 4238

Re: WiFi + WebServer + Bluetooth

Ahh, so there is a bunch of stuff that isn't already found in nghttp2...
by cmorgan
Fri Jan 19, 2018 8:04 pm
Forum: General Discussion
Topic: [SOLVED] WiFi + WebServer + Bluetooth
Replies: 6
Views: 4238

Re: WiFi + WebServer + Bluetooth

There is no issue in this app https://github.com/nkolban/ESP32_Explorer It is running http server + STA + eventually BLE which can be triggered from web site (observer, server or both observer and server). Hi chegewara, what web server is used for this project? I reviewed the code but couldn't spot...
by cmorgan
Fri Jan 19, 2018 4:13 pm
Forum: ESP32 IDF
Topic: Patterns for heap corruption resolution ...
Replies: 13
Views: 6770

Re: Patterns for heap corruption resolution ...

Hi @ESP_Angus. I've been continuing to debug, audit, and rewrite code here. I've found a handful of potential issues and fixed them. I'm using latest master as of today (1c3dd23f) but had the same issues with 2.1 and the 3.0 release branch. At this point I'm still able to reproduce the failure under...
by cmorgan
Mon Jan 08, 2018 1:58 am
Forum: ESP32 IDF
Topic: Need help for HTTP Client Porting
Replies: 10
Views: 3759

Re: Need help for HTTP Client Porting

@Ritesh, would you mind providing the output of your 'make size-components'? I'm interested in the overhead in terms of size of a nghttpd server to compare against the httpd server I'm more familiar with, libesphttpd. Ok. Will send details w.r.t. component size tomorrow morning Here is what I get w...

Go to advanced search