Merge pull request #4706 from mysterywolf/ymodem
[ymodem] 修改YMODEM_USING_FILE_TRANSFER功能的开启条件
This commit is contained in:
commit
5fb709d72f
|
@ -11,8 +11,8 @@ config RT_USING_RYM
|
||||||
|
|
||||||
config YMODEM_USING_FILE_TRANSFER
|
config YMODEM_USING_FILE_TRANSFER
|
||||||
bool "Enable file transfer feature"
|
bool "Enable file transfer feature"
|
||||||
select RT_USING_DFS
|
depends on RT_USING_DFS
|
||||||
default n
|
default y
|
||||||
endif
|
endif
|
||||||
|
|
||||||
config RT_USING_ULOG
|
config RT_USING_ULOG
|
||||||
|
|
|
@ -7,7 +7,7 @@ ymodem.c
|
||||||
|
|
||||||
CPPPATH = [cwd]
|
CPPPATH = [cwd]
|
||||||
|
|
||||||
if GetDepend('RT_USING_DFS') and GetDepend('YMODEM_USING_FILE_TRANSFER'):
|
if GetDepend('YMODEM_USING_FILE_TRANSFER'):
|
||||||
src += ['ry_sy.c']
|
src += ['ry_sy.c']
|
||||||
|
|
||||||
group = DefineGroup('Utilities', src, depend = ['RT_USING_RYM'], CPPPATH = CPPPATH)
|
group = DefineGroup('Utilities', src, depend = ['RT_USING_RYM'], CPPPATH = CPPPATH)
|
||||||
|
|
Loading…
Reference in New Issue