Skip to content

Commit 77623e8

Browse files
committed
[bsp] Update tm4c19x and fix the warning in lwip-1.4.1
1 parent 715360d commit 77623e8

File tree

4 files changed

+11
-10
lines changed

4 files changed

+11
-10
lines changed

bsp/tm4c129x/.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ CONFIG_RT_USING_SERIAL=y
9898
#
9999
# POSIX layer and C standard library
100100
#
101-
# CONFIG_RT_USING_LIBC is not set
101+
CONFIG_RT_USING_LIBC=y
102102
# CONFIG_RT_USING_PTHREADS is not set
103103

104104
#

bsp/tm4c129x/rtconfig.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989

9090
/* POSIX layer and C standard library */
9191

92-
/* RT_USING_LIBC is not set */
92+
#define RT_USING_LIBC
9393
/* RT_USING_PTHREADS is not set */
9494

9595
/* Network stack */

components/net/lwip-1.4.1/src/arch/include/arch/cc.h

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,14 @@
3838
#include <rthw.h>
3939
#include <rtthread.h>
4040

41-
typedef rt_uint8_t u8_t;
42-
typedef rt_int8_t s8_t;
43-
typedef rt_uint16_t u16_t;
44-
typedef rt_int16_t s16_t;
45-
typedef rt_uint32_t u32_t;
46-
typedef rt_int32_t s32_t;
47-
typedef rt_uint32_t mem_ptr_t;
41+
#include <stdint.h>
42+
typedef uint8_t u8_t;
43+
typedef int8_t s8_t;
44+
typedef uint16_t u16_t;
45+
typedef int16_t s16_t;
46+
typedef uint32_t u32_t;
47+
typedef int32_t s32_t;
48+
typedef uintptr_t mem_ptr_t;
4849

4950
#define U16_F "hu"
5051
#define S16_F "hd"

include/rtdef.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,7 @@ struct rt_timer
441441
};
442442
typedef struct rt_timer *rt_timer_t;
443443

444-
/*@}*/
444+
/**@}*/
445445

446446
/**
447447
* @addtogroup Signal

0 commit comments

Comments
 (0)