1 2 3 4 5 6 7 8 9 10 11 12 13
from building import * cwd = GetCurrentDir() src = Split(''' pb_common.c pb_decode.c pb_encode.c ''') CPPPATH = [cwd] group = DefineGroup('Nanopb', src, depend = ['RT_USING_NANOPB'], CPPPATH = CPPPATH) Return('group')