Per Mårtensson 4 mēneši atpakaļ
vecāks
revīzija
bd8ef54f7d
4 mainītis faili ar 13 papildinājumiem un 2 dzēšanām
  1. 1 1
      Makefile
  2. 6 0
      RELEASE_NOTES
  3. 4 0
      src/Makefile
  4. 2 1
      src/usb/config.c

+ 1 - 1
Makefile

@@ -1,6 +1,6 @@
 
 export FW_MAJOR := 1
-export FW_MINOR := 4
+export FW_MINOR := 5
 
 PROJ = greaseweazle-firmware
 VER := $(FW_MAJOR).$(FW_MINOR)

+ 6 - 0
RELEASE_NOTES

@@ -3,6 +3,12 @@
 ** Keir Fraser <keir.xen@gmail.com>
 ************************************
 
+** v1.5 - 19 December 2023
+ - AT32F403(A): Extend SRAM from 96kB to 224kB
+ - Report USB buffer size in 'gw info'
+ - GCC12 build fixes
+ - USB High Speed: Fix device_qualifier descriptor
+
 ** v1.4 - 22 July 2023
  - New board type: V4.1 (AT32F4xx, USB-C)
 

+ 4 - 0
src/Makefile

@@ -30,3 +30,7 @@ SUBDIRS += mcu usb
 
 .PHONY: $(SRCDIR)/build_info.c
 build_info.o: CFLAGS += -DFW_MAJOR=$(FW_MAJOR) -DFW_MINOR=$(FW_MINOR)
+
+# Avoid infinite loops due to GCC noticing code that can be replaced by a call
+# to a standard library function... within our implementation of that function.
+util.o: CFLAGS += -fno-tree-loop-distribute-patterns

+ 2 - 1
src/usb/config.c

@@ -28,7 +28,8 @@ const uint8_t device_qualifier[] aligned(2) = {
     0x00,0x02, /* USB 2.0 */
     2, 0, 0,   /* Class, Subclass, Protocol: CDC */
     64,        /* Max Packet Size */
-    1          /* Number of configurations */
+    1,         /* Number of configurations */
+    0          /* bReserved - must be zero */
 };
 
 const uint8_t config_fs_descriptor[] aligned(2) = {