LWIP: Add lwip assert control
This commit is contained in:
parent
207914a13a
commit
a133dbd848
2 changed files with 11 additions and 0 deletions
|
@ -643,4 +643,11 @@ menu "LWIP"
|
||||||
|
|
||||||
endmenu # SNTP
|
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
|
endmenu
|
||||||
|
|
|
@ -45,6 +45,10 @@
|
||||||
#define BYTE_ORDER LITTLE_ENDIAN
|
#define BYTE_ORDER LITTLE_ENDIAN
|
||||||
#endif // BYTE_ORDER
|
#endif // BYTE_ORDER
|
||||||
|
|
||||||
|
#ifndef CONFIG_LWIP_ESP_LWIP_ASSERT
|
||||||
|
#define LWIP_NOASSERT 1
|
||||||
|
#endif
|
||||||
|
|
||||||
typedef uint8_t u8_t;
|
typedef uint8_t u8_t;
|
||||||
typedef int8_t s8_t;
|
typedef int8_t s8_t;
|
||||||
typedef uint16_t u16_t;
|
typedef uint16_t u16_t;
|
||||||
|
|
Loading…
Reference in a new issue