void attach_drivers(void) { /* FTDI:SUA Layered Driver Attach Function Calls */ hBOMS = boms_attach(hUSBHOST_1, VOS_DEV_BOMS); hFAT_FILE_SYSTEM = fat_attach(hBOMS, VOS_DEV_FAT_FILE_SYSTEM); hUSBHOST_HID_1 = hid_attach(hUSBHOST_2, VOS_DEV_USBHOST_HID_1); hUSBHOST_HID_2 = hid_attach(hUSBHOST_1, VOS_DEV_USBHOST_HID_2); // TODO attach stdio to file system and stdio interface //fsAttach(hFAT_FILE_SYSTEM); // VOS_HANDLE for file system (typically FAT) //stdioAttach(hUART); // VOS_HANDLE for stdio interface (typically UART) /* FTDI:EUA */ }
void attach_drivers(void) { /* FTDI:SUA Layered Driver Attach Function Calls */ hUSBHOST_HID = hid_attach(hUSBHOST_2, VOS_DEV_USBHOST_HID); /* FTDI:EUA */ }