- stm32 driver fixes
- example JSON vendor and product ID's placeholdered
This commit is contained in:
parent
2a69c57225
commit
27942ade8e
@ -3,8 +3,6 @@
|
|||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "stm32f4xx_hal.h"
|
|
||||||
|
|
||||||
#include "flatUSB_config.h"
|
#include "flatUSB_config.h"
|
||||||
#include "usb_driver_common.h"
|
#include "usb_driver_common.h"
|
||||||
|
|
||||||
@ -946,7 +944,7 @@ void USB_IRQ_HANDLER() {
|
|||||||
// USB reset
|
// USB reset
|
||||||
if (ints & USB_OTG_GINTSTS_USBRST) {
|
if (ints & USB_OTG_GINTSTS_USBRST) {
|
||||||
SET_BIT(USBG->GINTSTS, USB_OTG_GINTSTS_USBRST); // clear interrupt
|
SET_BIT(USBG->GINTSTS, USB_OTG_GINTSTS_USBRST); // clear interrupt
|
||||||
PROCESS_EVENT(USB_EVT_USB_RESET, NULL); // process event
|
//PROCESS_EVENT(USB_EVT_USB_RESET, NULL); // process event
|
||||||
}
|
}
|
||||||
|
|
||||||
// End of enumeration (meaning NOT the USB ENUMERATION PROCESS,
|
// End of enumeration (meaning NOT the USB ENUMERATION PROCESS,
|
||||||
|
@ -3,12 +3,12 @@
|
|||||||
"subclass": "0x00",
|
"subclass": "0x00",
|
||||||
"protocol_code": "0x00",
|
"protocol_code": "0x00",
|
||||||
"max_ep0_packet_size": 64,
|
"max_ep0_packet_size": 64,
|
||||||
"vendor_id": "0x0925",
|
"vendor_id": "0x0000",
|
||||||
"product_id": "0x9050",
|
"product_id": "0x0001",
|
||||||
"device_release_bcd": "0x0100",
|
"device_release_bcd": "0x0100",
|
||||||
"vendor_string": "Epagris",
|
"vendor_string": "<Vendor>",
|
||||||
"product_string": "Testdevice",
|
"product_string": "<Product name>",
|
||||||
"serial_number": "1552",
|
"serial_number": "0000000000000",
|
||||||
"configurations": [
|
"configurations": [
|
||||||
{
|
{
|
||||||
"id": 1,
|
"id": 1,
|
||||||
|
@ -3,12 +3,12 @@
|
|||||||
"subclass": "0x00",
|
"subclass": "0x00",
|
||||||
"protocol_code": "0x00",
|
"protocol_code": "0x00",
|
||||||
"max_ep0_packet_size": 64,
|
"max_ep0_packet_size": 64,
|
||||||
"vendor_id": "0x0925",
|
"vendor_id": "0x0000",
|
||||||
"product_id": "0x9050",
|
"product_id": "0x0001",
|
||||||
"device_release_bcd": "0x0100",
|
"device_release_bcd": "0x0100",
|
||||||
"vendor_string": "Epagris",
|
"vendor_string": "<Vendor>",
|
||||||
"product_string": "Testdevice",
|
"product_string": "<Product name>",
|
||||||
"serial_number": "1552",
|
"serial_number": "0000000000000",
|
||||||
"configurations": [
|
"configurations": [
|
||||||
{
|
{
|
||||||
"id": 1,
|
"id": 1,
|
@ -3,12 +3,12 @@
|
|||||||
"subclass": "0x00",
|
"subclass": "0x00",
|
||||||
"protocol_code": "0x00",
|
"protocol_code": "0x00",
|
||||||
"max_ep0_packet_size": 64,
|
"max_ep0_packet_size": 64,
|
||||||
"vendor_id": "0x0925",
|
"vendor_id": "0x0000",
|
||||||
"product_id": "0x9050",
|
"product_id": "0x0001",
|
||||||
"device_release_bcd": "0x0100",
|
"device_release_bcd": "0x0100",
|
||||||
"vendor_string": "Epagris",
|
"vendor_string": "<Vendor>",
|
||||||
"product_string": "Testdevice",
|
"product_string": "<Product name>",
|
||||||
"serial_number": "1552",
|
"serial_number": "0000000000000",
|
||||||
"configurations": [
|
"configurations": [
|
||||||
{
|
{
|
||||||
"id": 1,
|
"id": 1,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user