diff --git a/demos/host/host_os_none/host_os_none.uvopt b/demos/host/host_os_none/host_os_none.uvopt index e2aa37b2..28e1aa1d 100644 --- a/demos/host/host_os_none/host_os_none.uvopt +++ b/demos/host/host_os_none/host_os_none.uvopt @@ -212,10 +212,10 @@ 1 0 0 - 6 + 0 0 - 94 - 96 + 1 + 1 0 ..\src\main.c main.c @@ -228,10 +228,10 @@ 1 0 0 - 0 + 24 0 - 0 - 0 + 83 + 42 0 ..\src\cdc_serial_app.c cdc_serial_app.c @@ -244,10 +244,10 @@ 1 0 0 - 0 + 20 0 - 114 - 124 + 116 + 127 0 ..\src\keyboard_app.c keyboard_app.c @@ -276,10 +276,10 @@ 1 0 0 - 44 + 12 0 - 32 - 8 + 1 + 10 0 ..\src\rndis_app.c rndis_app.c @@ -302,8 +302,8 @@ 0 13 0 - 34 - 35 + 0 + 0 0 ..\..\bsp\boards\board.c board.c @@ -318,8 +318,8 @@ 0 0 0 - 84 - 92 + 0 + 0 0 ..\..\bsp\boards\embedded_artists\board_ea4357.c board_ea4357.c @@ -334,8 +334,8 @@ 0 2 0 - 112 - 141 + 0 + 0 0 ..\..\bsp\boards\printf_retarget.c printf_retarget.c @@ -372,10 +372,10 @@ 1 0 0 - 0 + 1 0 - 0 - 0 + 43 + 69 0 ..\..\..\tinyusb\tusb.c tusb.c @@ -436,10 +436,10 @@ 1 0 0 - 32 + 0 0 - 496 - 360 + 324 + 326 0 ..\..\..\tinyusb\host\usbh.c usbh.c @@ -564,10 +564,10 @@ 1 0 0 - 45 + 0 0 - 136 - 89 + 26 + 214 0 ..\..\..\tinyusb\class\cdc_host.c cdc_host.c @@ -580,10 +580,10 @@ 1 0 0 - 0 + 39 0 - 0 - 0 + 36 + 41 0 ..\..\..\tinyusb\class\cdc_rndis_host.c cdc_rndis_host.c @@ -606,22 +606,6 @@ 0 0 - - 3 - 25 - 1 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - ..\..\..\tinyusb\class\msc_host.c - msc_host.c - 0 - 0 - @@ -632,14 +616,14 @@ 0 4 - 26 + 25 1 0 0 0 0 - 2 - 7 + 0 + 0 0 ..\..\bsp\lpc43xx\CMSISv2p10_LPC43xx_DriverLib\src\lpc43xx_uart.c lpc43xx_uart.c @@ -648,7 +632,7 @@ 4 - 27 + 26 1 0 0 @@ -664,7 +648,7 @@ 4 - 28 + 27 1 0 0 @@ -680,14 +664,14 @@ 4 - 29 + 28 1 0 0 31 0 - 1 - 9 + 0 + 0 0 ..\..\bsp\lpc43xx\CMSISv2p10_LPC43xx_DriverLib\src\lpc43xx_cgu.c lpc43xx_cgu.c @@ -696,14 +680,14 @@ 4 - 30 + 29 1 0 0 0 0 - 30 - 37 + 0 + 0 0 ..\..\bsp\lpc43xx\CMSISv2p10_LPC43xx_DriverLib\src\system_LPC43xx.c system_LPC43xx.c @@ -712,7 +696,7 @@ 4 - 31 + 30 1 0 0 @@ -736,14 +720,14 @@ 0 5 - 32 + 31 2 0 0 - 20 + 5 0 144 - 155 + 153 0 ..\..\bsp\lpc43xx\startup_keil\startup_LPC43xx.s startup_LPC43xx.s diff --git a/demos/host/host_os_none/host_os_none.uvproj b/demos/host/host_os_none/host_os_none.uvproj index 31371ddd..4e823c89 100644 --- a/demos/host/host_os_none/host_os_none.uvproj +++ b/demos/host/host_os_none/host_os_none.uvproj @@ -521,11 +521,6 @@ 1 ..\..\..\tinyusb\class\hid_host.c - - msc_host.c - 1 - ..\..\..\tinyusb\class\msc_host.c - diff --git a/demos/host/src/main.c b/demos/host/src/main.c index ac8f38f9..a775dbb9 100644 --- a/demos/host/src/main.c +++ b/demos/host/src/main.c @@ -53,6 +53,7 @@ #include "mouse_app.h" #include "keyboard_app.h" #include "cdc_serial_app.h" +#include "rndis_app.h" #if defined(__CODE_RED) #include @@ -121,6 +122,10 @@ int main(void) #if TUSB_CFG_HOST_CDC cdc_serial_app_init(); + + #if TUSB_CFG_HOST_CDC_RNDIS + rndis_app_init(); + #endif #endif //------------- start OS scheduler (never return) -------------// diff --git a/demos/host/src/rndis_app.c b/demos/host/src/rndis_app.c index f91bb050..cb9c9ba0 100644 --- a/demos/host/src/rndis_app.c +++ b/demos/host/src/rndis_app.c @@ -64,5 +64,10 @@ void tusbh_cdc_rndis_unmounted_isr(uint8_t dev_addr) // application tear-down } +void rndis_app_init(void) +{ + +} + #endif