适配rtt
This commit is contained in:
parent
f31bcd0adf
commit
f94423bd88
|
@ -35,3 +35,4 @@ toml_json
|
||||||
# Debug files
|
# Debug files
|
||||||
*.dSYM/
|
*.dSYM/
|
||||||
*.su
|
*.su
|
||||||
|
/.vscode
|
|
@ -0,0 +1,5 @@
|
||||||
|
|
||||||
|
menuconfig PKG_USING_TOMLC99
|
||||||
|
bool "tomlc99: TOML C library"
|
||||||
|
default n
|
||||||
|
endif
|
|
@ -0,0 +1,15 @@
|
||||||
|
import os
|
||||||
|
import rtconfig
|
||||||
|
from building import *
|
||||||
|
|
||||||
|
cwd = GetCurrentDir()
|
||||||
|
|
||||||
|
# add general drivers
|
||||||
|
src = Split('''
|
||||||
|
toml.c
|
||||||
|
''')
|
||||||
|
CPPPATH = [cwd]
|
||||||
|
|
||||||
|
group = DefineGroup('tomlc99', src, depend = ['PKG_USING_TOMLC99'], CPPPATH = path)
|
||||||
|
|
||||||
|
Return('group')
|
Loading…
Reference in New Issue