14 lines
273 B
Python
14 lines
273 B
Python
|
Import('RTT_ROOT')
|
||
|
Import('rtconfig')
|
||
|
from building import *
|
||
|
|
||
|
src = Split('''
|
||
|
pb_common.c
|
||
|
pb_decode.c
|
||
|
pb_encode.c
|
||
|
''')
|
||
|
CPPPATH = [RTT_ROOT + '/components/external/nanopb']
|
||
|
|
||
|
group = DefineGroup('Nanopb', src, depend = ['RT_USING_NANOPB'], CPPPATH = CPPPATH)
|
||
|
|
||
|
Return('group')
|