1 2 3 4 5 6 7 8 9 10 11 12 13 14
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')