ARMmbed / wifi-ism43362

ISM43362 WiFi driver
17 stars 22 forks source link

Allow statically allocating the wifi stack #46

Closed janjongboom closed 5 years ago

janjongboom commented 5 years ago

On the DISCO-L475VG board we now have split the memory banks in 2. One for BSS section (RAM2) and one for the heap (RAM1). On one of my examples I need a lot more RAM1 space than RAM2 space, and right now the wifi stack always allocates a new thread with it's stack on the heap. This allows you to override this.

In an ideal world I'd also want to be able to allocate all the socket structs statically, but that's for another day.

Also, why is read_data size set to 1400 in the socket struct and not to ES_WIFI_MAX_RX_PACKET_SIZE?