- stm32 driver fixes

- example JSON vendor and product ID's placeholdered
This commit is contained in:
Wiesner András 2024-11-19 07:39:33 +01:00
parent 2a69c57225
commit 27942ade8e
4 changed files with 16 additions and 18 deletions

View File

@ -3,8 +3,6 @@
#include <stdint.h>
#include <string.h>
#include "stm32f4xx_hal.h"
#include "flatUSB_config.h"
#include "usb_driver_common.h"
@ -946,7 +944,7 @@ void USB_IRQ_HANDLER() {
// USB reset
if (ints & USB_OTG_GINTSTS_USBRST) {
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,

View File

@ -3,12 +3,12 @@
"subclass": "0x00",
"protocol_code": "0x00",
"max_ep0_packet_size": 64,
"vendor_id": "0x0925",
"product_id": "0x9050",
"vendor_id": "0x0000",
"product_id": "0x0001",
"device_release_bcd": "0x0100",
"vendor_string": "Epagris",
"product_string": "Testdevice",
"serial_number": "1552",
"vendor_string": "<Vendor>",
"product_string": "<Product name>",
"serial_number": "0000000000000",
"configurations": [
{
"id": 1,

View File

@ -3,12 +3,12 @@
"subclass": "0x00",
"protocol_code": "0x00",
"max_ep0_packet_size": 64,
"vendor_id": "0x0925",
"product_id": "0x9050",
"vendor_id": "0x0000",
"product_id": "0x0001",
"device_release_bcd": "0x0100",
"vendor_string": "Epagris",
"product_string": "Testdevice",
"serial_number": "1552",
"vendor_string": "<Vendor>",
"product_string": "<Product name>",
"serial_number": "0000000000000",
"configurations": [
{
"id": 1,

View File

@ -3,12 +3,12 @@
"subclass": "0x00",
"protocol_code": "0x00",
"max_ep0_packet_size": 64,
"vendor_id": "0x0925",
"product_id": "0x9050",
"vendor_id": "0x0000",
"product_id": "0x0001",
"device_release_bcd": "0x0100",
"vendor_string": "Epagris",
"product_string": "Testdevice",
"serial_number": "1552",
"vendor_string": "<Vendor>",
"product_string": "<Product name>",
"serial_number": "0000000000000",
"configurations": [
{
"id": 1,