summaryrefslogtreecommitdiff
path: root/bsp/gd32vf103v-eval
diff options
context:
space:
mode:
authorliukangcc <[email protected]>2021-10-14 10:31:44 +0800
committerliukangcc <[email protected]>2021-10-14 10:32:22 +0800
commit3ac36a31071f66a06217b4676fc7266ba66c906a (patch)
treebe32fc9b7abb102aa905fdba0165bf6adf4c065d /bsp/gd32vf103v-eval
parent0369db718cd3b1ff58ceb2fc44a48641a0fecc66 (diff)
parent33263d7e4ec22b118d0407ec7488ccfa60a8a0a1 (diff)
[update] Fix compiler flags issue
Diffstat (limited to 'bsp/gd32vf103v-eval')
-rw-r--r--bsp/gd32vf103v-eval/board/board.c2
-rw-r--r--bsp/gd32vf103v-eval/libraries/SConscript1
2 files changed, 1 insertions, 2 deletions
diff --git a/bsp/gd32vf103v-eval/board/board.c b/bsp/gd32vf103v-eval/board/board.c
index 5df6fa722f..3c03e3fc83 100644
--- a/bsp/gd32vf103v-eval/board/board.c
+++ b/bsp/gd32vf103v-eval/board/board.c
@@ -8,7 +8,7 @@
* 2019-07-23 tyustli first version
*
*/
-
+#include <stddef.h>
#include <rtthread.h>
#include <rtdevice.h>
#include "board.h"
diff --git a/bsp/gd32vf103v-eval/libraries/SConscript b/bsp/gd32vf103v-eval/libraries/SConscript
index e7a4f5c3eb..932d0eef17 100644
--- a/bsp/gd32vf103v-eval/libraries/SConscript
+++ b/bsp/gd32vf103v-eval/libraries/SConscript
@@ -8,7 +8,6 @@ cwd = GetCurrentDir()
src = Glob('GD32VF103_standard_peripheral/Source/*.c')
src += Glob('n22/env_Eclipse/*.c')
-src += Glob('n22/stubs/*.c')
src += ['GD32VF103_standard_peripheral/system_gd32vf103.c',
'n22/drivers/n22_func.c',
'n22/env_Eclipse/start.S',