diff options
| author | lenovo <[email protected]> | 2023-07-06 22:47:08 +0800 |
|---|---|---|
| committer | sakumisu <[email protected]> | 2023-07-09 00:52:30 +0800 |
| commit | f672591d586a3424b4e8fe5301289720a4070c63 (patch) | |
| tree | 89ded3f03c303ff3db7f0c9e0ef55f135c2d06b4 /SConscript | |
| parent | 84598eed7c6619b95927ab97db8e94ab703396d4 (diff) | |
Silicon Laboratories CP210x USB to RS232 serial adaptor driver is suppported
Diffstat (limited to 'SConscript')
| -rw-r--r-- | SConscript | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -114,6 +114,11 @@ if GetDepend(['PKG_CHERRYUSB_HOST']): if GetDepend(['PKG_CHERRYUSB_HOST_TEMPLATE']): src += Glob('demo/usb_host.c') + if GetDepend(['PKG_CHERRYUSB_HOST_CP210X']): + path += [cwd + '/class/vendor/cp201x'] + src += Glob('class/vendor/cp201x/usbh_cp210x.c') + src += Glob('third_party/rt-thread-4.1.1/dfs/drv_usbh_cp210x_rtt.c') + group = DefineGroup('CherryUSB', src, depend = ['PKG_USING_CHERRYUSB'], CPPPATH = path, CPPDEFINES = CPPDEFINES) Return('group') |
