mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
6a3d50c952
Per WiFi library requirement, SSID can be non-null terminated string if its length goes to 32 bytes (maximum). Use of strncpy in this case, along with compiler optimization level -O2 results in some warnings for potential use of non-null terminated strings. Fix here ensures use of memcpy to copy SSID string upto appropriate desired length. This helps to avoid compiler specific workaround flags added earlier. Closes https://github.com/espressif/esp-idf/issues/5866 Closes IDFGH-3983
11 lines
272 B
Makefile
11 lines
272 B
Makefile
COMPONENT_SRCDIRS := src proto-c
|
|
COMPONENT_ADD_INCLUDEDIRS := include
|
|
COMPONENT_PRIV_INCLUDEDIRS := src proto-c ../protocomm/proto-c/
|
|
|
|
ifndef CONFIG_BT_BLUEDROID_ENABLED
|
|
ifndef CONFIG_BT_NIMBLE_ENABLED
|
|
COMPONENT_OBJEXCLUDE := src/scheme_ble.o
|
|
endif
|
|
endif
|
|
|