diff --git a/bsp/tm4c129x/rtconfig.h b/bsp/tm4c129x/rtconfig.h index 50cde4df7f4117ad2dfb7dafb899e362bd474464..9d76c80f062587f5cd9cf65a1d6b3c09f115cb24 100644 --- a/bsp/tm4c129x/rtconfig.h +++ b/bsp/tm4c129x/rtconfig.h @@ -166,7 +166,7 @@ // //
-//#define RT_USING_LWIP +#define RT_USING_LWIP // #define RT_USING_LWIP141 // @@ -192,7 +192,7 @@ // // #define RT_LWIP_DHCP // -#define RT_LWIP_TCP_SEG_NUM 8 +#define RT_LWIP_TCP_SEG_NUM 12 // #define RT_LWIP_TCPTHREAD_PRIORITY 12 // diff --git a/bsp/tm4c129x/rtconfig.py b/bsp/tm4c129x/rtconfig.py index fb370aed473db198a4948b861510d049dfb71fe4..93e3f3e2572d0e3693bc28d7ba1c97f68d3e5787 100644 --- a/bsp/tm4c129x/rtconfig.py +++ b/bsp/tm4c129x/rtconfig.py @@ -45,7 +45,7 @@ if PLATFORM == 'gcc': OBJCPY = PREFIX + 'objcopy' DEVICE = ' -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=softfp -ffunction-sections -fdata-sections' - CFLAGS = DEVICE + ' -std=gnu11 -Dgcc' + CFLAGS = DEVICE + ' -std=c99 -Dgcc' AFLAGS = ' -c' + DEVICE + ' -x assembler-with-cpp -Wa,-mimplicit-it=thumb ' LFLAGS = DEVICE + ' -Wl,--gc-sections,-Map=rtthread-tm4c129x.map,-cref,-u,Reset_Handler -T tm4c_rom.ld'