2021-12-13 11:36:51 +08:00
|
|
|
from building import *
|
|
|
|
|
|
|
|
cwd = GetCurrentDir()
|
2021-12-14 08:53:12 +08:00
|
|
|
src = ['arduino_pinout.c']
|
2021-12-13 11:36:51 +08:00
|
|
|
inc = [cwd]
|
|
|
|
|
|
|
|
group = DefineGroup('Arduino', src, depend = ['RT_USING_ARDUINO'], CPPPATH = inc)
|
|
|
|
|
2021-12-24 15:18:07 +08:00
|
|
|
src = ['arduino_main.cpp']
|
2021-12-24 15:55:13 +08:00
|
|
|
group += DefineGroup('Applications', src, depend = ['RT_USING_ARDUINO'])
|
2021-12-24 15:18:07 +08:00
|
|
|
|
2021-12-13 11:36:51 +08:00
|
|
|
Return('group')
|