Page 1 of 1

promiscuous_cb and malloc

Posted: Fri Mar 23, 2018 5:37 pm
by atlascoder
Hello Gurus!

I am trying to work with WiFi sniffer and do dynamic memory allocation. I've removed all printf functions from promiscuous callback in order to get maximum fast execution of the callback starving to get all packets from the air.

But I constantly get errors with dynamic memory routines from different places, but error is the same and below is otput from gdb.

I use ESP-IDF 2.0

Any ideas?

Re: promiscuous_cb and malloc

Posted: Sat Mar 24, 2018 12:08 am
by atlascoder
BTW,
by Tech Ref addresses > 0x400C2000 are mapping to external RAM, and does it mean that pvPortMalloc and pvPortMallocCaps are not in IRAM and they are slow?