• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Check the nanopb core using splint
2
3Import('env')
4
5p = env.WhereIs('splint')
6
7if p:
8    env.Command('pb_decode.splint', '$NANOPB/pb_decode.c',
9        'splint -f splint/splint.rc $SOURCE 2> $TARGET')
10
11    env.Command('pb_encode.splint', '$NANOPB/pb_encode.c',
12        'splint -f splint/splint.rc $SOURCE 2> $TARGET')
13
14    env.Command('pb_common.splint', '$NANOPB/pb_common.c',
15        'splint -f splint/splint.rc $SOURCE 2> $TARGET')
16
17