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
|
||||
bool "Enable file transfer feature"
|
||||
select RT_USING_DFS
|
||||
default n
|
||||
depends on RT_USING_DFS
|
||||
default y
|
||||
endif
|
||||
|
||||
config RT_USING_ULOG
|
||||
|
|
|
@ -7,7 +7,7 @@ ymodem.c
|
|||
|
||||
CPPPATH = [cwd]
|
||||
|
||||
if GetDepend('RT_USING_DFS') and GetDepend('YMODEM_USING_FILE_TRANSFER'):
|
||||
if GetDepend('YMODEM_USING_FILE_TRANSFER'):
|
||||
src += ['ry_sy.c']
|
||||
|
||||
group = DefineGroup('Utilities', src, depend = ['RT_USING_RYM'], CPPPATH = CPPPATH)
|
||||
|
|
Loading…
Reference in New Issue