add project file for keil
fix binary.h compiler specific add hal_init code to reset & set usbmode --> able to get USB ISR remove const qualifier from return function of - get_operational_register - get_period_frame_list - get_async_head - get_period_head - get_control_qhd add stub for - hcd_port_connect_status - hcd_port_speed
This commit is contained in:
@@ -125,7 +125,7 @@ enum {
|
||||
TUSB_FLAGS_CLASS_WIRELESS_CONTROLLER = BIT_(28),
|
||||
TUSB_FLAGS_CLASS_MISC = BIT_(29),
|
||||
TUSB_FLAGS_CLASS_APPLICATION_SPECIFIC = BIT_(30),
|
||||
TUSB_FLAGS_CLASS_VENDOR_SPECIFIC = BIT_(31)
|
||||
TUSB_FLAGS_CLASS_VENDOR_SPECIFIC = BIT_(31) // TODO out of range for int type
|
||||
};
|
||||
|
||||
/// Device Status
|
||||
@@ -169,11 +169,11 @@ tusb_error_t tusbh_configuration_set (tusb_handle_device_t device_hdl, uint8
|
||||
tusbh_device_status_t tusbh_device_status_get (tusb_handle_device_t const device_hdl) ATTR_WARN_UNUSED_RESULT;
|
||||
|
||||
#if TUSB_CFG_OS == TUSB_OS_NONE // TODO move later
|
||||
static inline void tusb_tick_tock(void) ATTR_ALWAYS_INLINE;
|
||||
static inline void tusb_tick_tock(void)
|
||||
{
|
||||
osal_tick_tock();
|
||||
}
|
||||
//static inline void tusb_tick_tock(void) ATTR_ALWAYS_INLINE;
|
||||
//static inline void tusb_tick_tock(void)
|
||||
//{
|
||||
// osal_tick_tock();
|
||||
//}
|
||||
#endif
|
||||
|
||||
//--------------------------------------------------------------------+
|
||||
|
||||
Reference in New Issue
Block a user