mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-03-27 01:10:20 +08:00
delete the CMSIS from components and add the CMSIS
and add the CMSIS in some specific BSP
This commit is contained in:
@@ -21,12 +21,7 @@ elif rtconfig.CROSS_TOOL == 'iar':
|
||||
|
||||
CPPPATH = [ cwd + '/peri_driver', cwd + '/common/board',
|
||||
cwd + '/common/chip', cwd + '/common/CMSIS']
|
||||
|
||||
if GetDepend(['RT_USING_BSP_CMSIS']):
|
||||
CPPPATH += [cwd + '/common/CMSIS/']
|
||||
elif GetDepend(['RT_USING_RTT_CMSIS']):
|
||||
CPPPATH += [RTT_ROOT + '/components/CMSIS/Include']
|
||||
|
||||
|
||||
CPPDEFINES = ['CORE_M0PLUS']
|
||||
|
||||
group = DefineGroup('Libraries', src, depend = [''], CPPPATH = CPPPATH, CPPDEFINES=CPPDEFINES)
|
||||
|
||||
@@ -184,6 +184,4 @@
|
||||
#define RT_USING_UART
|
||||
#define RT_USING_UART1
|
||||
|
||||
#define RT_USING_RTT_CMSIS
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user