zephyr/drivers/wifi/esp
Marcin Niestroj e0a418c1e3 drivers: wifi: esp: constify modem_cmd and setup_cmd structures
Constifying global data allows to save lots of RAM. Defining data inside
function as 'static const' allows on the other hand to save stack usage
and reduced code size (because data doesn't have to be copied on stack
in runtime).

This improvement allows to save 640 bytes of RAM and 64 bytes of ROM
when compiled on ARM.

Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com>
2020-11-24 12:59:50 +02:00
..
CMakeLists.txt
esp_offload.c drivers: wifi: esp: constify modem_cmd and setup_cmd structures 2020-11-24 12:59:50 +02:00
esp_socket.c drivers: wifi: esp: close stream socket on allocation failure 2020-11-03 09:28:45 -06:00
esp.c drivers: wifi: esp: constify modem_cmd and setup_cmd structures 2020-11-24 12:59:50 +02:00
esp.h drivers: wifi: esp DHCP/Static IP Support 2020-11-12 07:59:10 +02:00
Kconfig.esp drivers: wifi: esp DHCP/Static IP Support 2020-11-12 07:59:10 +02:00