mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
LWIP: Add lwip assert control
This commit is contained in:
parent
9e70825d1e
commit
3d821dc821
@ -601,4 +601,11 @@ menu "LWIP"
|
||||
|
||||
endmenu # SNTP
|
||||
|
||||
config LWIP_ESP_LWIP_ASSERT
|
||||
bool "Enable LWIP ASSERT checks"
|
||||
default y
|
||||
help
|
||||
Enable this option allows lwip to check assert.
|
||||
It is recommended to keep it open, do not close it.
|
||||
|
||||
endmenu
|
||||
|
@ -43,6 +43,10 @@
|
||||
|
||||
#define BYTE_ORDER LITTLE_ENDIAN
|
||||
|
||||
#ifndef CONFIG_LWIP_ESP_LWIP_ASSERT
|
||||
#define LWIP_NOASSERT 1
|
||||
#endif
|
||||
|
||||
typedef uint8_t u8_t;
|
||||
typedef int8_t s8_t;
|
||||
typedef uint16_t u16_t;
|
||||
|
Loading…
x
Reference in New Issue
Block a user