fix couple issues with usb firmware

This commit is contained in:
Conor Patrick
2018-07-22 13:41:46 -04:00
parent a54cbd60a1
commit 077be6eab2
16 changed files with 321 additions and 745 deletions

View File

@@ -16,6 +16,19 @@ void spi_transfer_complete();
#define EFM32_RW_PIN P1_B2
#define MSG_RDY_INT_PIN P1_B1
#define INPUT_ENDPOINT EP2OUT
#define OUTPUT_ENDPOINT EP3IN
#define INPUT_ENDPOINT_NUM 0x83
#define OUTPUT_ENDPOINT_NUM 0x02
//#define INPUT_ENDPOINT EP1OUT
//#define OUTPUT_ENDPOINT EP1IN
//
//#define INPUT_ENDPOINT_NUM 0x81
//#define OUTPUT_ENDPOINT_NUM 0x01
void delay(int ms);
#endif /* INC_APP_H_ */

View File

@@ -57,8 +57,9 @@ extern SI_SEGMENT_VARIABLE(initstruct, const USBD_Init_TypeDef, SI_SEG_CODE);
#endif
#endif // __SILICON_LABS_DESCRIPTORS_H
#if 0
// $[HID Report Descriptors]
extern SI_SEGMENT_VARIABLE(ReportDescriptor0[34], const uint8_t, SI_SEG_CODE);
extern SI_SEGMENT_VARIABLE(ReportDescriptor0[0], const uint8_t, SI_SEG_CODE);
// [HID Report Descriptors]$
#endif