Merge branch 'bugfix/Add_lwip_assert_control_v3.3' into 'release/v3.3'

lw-ip: Add lw-ip assert control (backport v3.3)

See merge request espressif/esp-idf!8028
This commit is contained in:
Jiang Jiang Jian 2020-03-23 15:07:40 +08:00
commit 6feb88f69b
2 changed files with 11 additions and 0 deletions

View File

@ -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

View File

@ -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;