We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ecfce90 commit a7854acCopy full SHA for a7854ac
UNOR4USBBridge/UNOR4USBBridge.ino
@@ -144,6 +144,7 @@ void setup() {
144
USB.PID(0x1002);
145
USB.manufacturerName("Arduino");
146
USB.productName("UNO WiFi R4 CMSIS-DAP");
147
+ USB.firmwareVersion(U8TOBCD(FIRMWARE_MAJOR) << 8 | U8TOBCD(FIRMWARE_MINOR));
148
//USB.enableDFU();
149
DAP.begin();
150
SERIAL_USER.onEvent(usbEventCallback);
UNOR4USBBridge/at_handler.h
@@ -20,6 +20,8 @@
20
#define FIRMWARE_MINOR 5
21
#define FIRMWARE_PATCH 2
22
23
+#define U8TOBCD(u) ((((u/10)%10)<<4)|(u%10))
24
+
25
#define GPIO_BOOT 9
26
#define GPIO_RST 4
27
0 commit comments