stm32f103-template/rt-thread/components/libc/compilers/armlibc/SConscript

13 lines
351 B
Python
Raw Normal View History

2023-05-09 22:30:49 +08:00
from building import *
Import('rtconfig')
src = Glob('*.c')
group = []
if rtconfig.PLATFORM in ['armcc', 'armclang']:
CPPDEFINES = ['RT_USING_ARMLIBC', 'RT_USING_LIBC', '__STDC_LIMIT_MACROS']
AddDepend(['RT_USING_ARMLIBC', 'RT_USING_LIBC'])
group = DefineGroup('Compiler', src, depend = [''], CPPDEFINES = CPPDEFINES)
Return('group')