Merge pull request #5427 from mysterywolf/l475

[bsp][stm32l475] move arduino to application
This commit is contained in:
guo
2021-12-24 15:28:33 +08:00
committed by GitHub
5 changed files with 3 additions and 3 deletions
@@ -8,9 +8,6 @@ src = ['main.c']
if GetDepend(['PKG_USING_NRF24L01']):
src += ['nrf24l01_init.c']
if GetDepend(['RT_USING_ARDUINO']):
src += ['arduino_main.cpp']
CPPPATH = [cwd]
group = DefineGroup('Applications', src, depend = [''], CPPPATH = CPPPATH)
@@ -6,4 +6,7 @@ inc = [cwd]
group = DefineGroup('Arduino', src, depend = ['RT_USING_ARDUINO'], CPPPATH = inc)
src = ['arduino_main.cpp']
group = DefineGroup('Applications', src, depend = ['RT_USING_ARDUINO'])
Return('group')