move MCU define to tusb_option.h, fix the ATTR with USB RAM
hack: add delay before the very first xfer when enumerating (finalize later after reading USB 2.0 specs)
This commit is contained in:
@@ -46,9 +46,7 @@
|
||||
//--------------------------------------------------------------------+
|
||||
// INTERNAL OBJECT & FUNCTION DECLARATION
|
||||
//--------------------------------------------------------------------+
|
||||
//TUSB_CFG_ATTR_USBRAM
|
||||
__attribute__ ((section(".data.$RAM3"))) // TODO hack for USB RAM
|
||||
tusb_mouse_report_t mouse_report;
|
||||
tusb_mouse_report_t mouse_report TUSB_CFG_ATTR_USBRAM;
|
||||
|
||||
//--------------------------------------------------------------------+
|
||||
// IMPLEMENTATION
|
||||
|
||||
Reference in New Issue
Block a user