summaryrefslogtreecommitdiff
path: root/bsp/gd32450z-eval/Libraries/SConscript
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2021-06-10 22:04:56 +0800
committerGitHub <[email protected]>2021-06-10 22:04:56 +0800
commita52e147ceab7df3e2fef29498ecfd27bbb4e0cf3 (patch)
tree61909e6c1060fb5e38b081183f9099caf82ea08d /bsp/gd32450z-eval/Libraries/SConscript
parented402ec25c1a6ec486a9b5470728c00085acd6a5 (diff)
parentf2734c0a5438c57590217fbf7461c01a26eef9b2 (diff)
Merge pull request #4766 from iysheng/master
[bsp][gd32450] Fix the wrong judgment with CAN_STAT_IWS flag
Diffstat (limited to 'bsp/gd32450z-eval/Libraries/SConscript')
-rw-r--r--bsp/gd32450z-eval/Libraries/SConscript4
1 files changed, 2 insertions, 2 deletions
diff --git a/bsp/gd32450z-eval/Libraries/SConscript b/bsp/gd32450z-eval/Libraries/SConscript
index 75df263b3e..e9d6e45aae 100644
--- a/bsp/gd32450z-eval/Libraries/SConscript
+++ b/bsp/gd32450z-eval/Libraries/SConscript
@@ -21,12 +21,12 @@ path = [
cwd + '/CMSIS/GD/GD32F4xx/Include',
cwd + '/CMSIS',
cwd + '/GD32F4xx_standard_peripheral/Include',]
-
+
if GetDepend(['RT_USING_BSP_USB']):
path += [cwd + '/GD32F4xx_usb_driver/Include']
src += [cwd + '/GD32F4xx_usb_driver/Source']
-CPPDEFINES = ['USE_STDPERIPH_DRIVER', 'GD32F4XX']
+CPPDEFINES = ['USE_STDPERIPH_DRIVER']
group = DefineGroup('Libraries', src, depend = [''], CPPPATH = path, CPPDEFINES = CPPDEFINES)