Sfoglia il codice sorgente

AT32F4: Minor tweaks

Keir Fraser 3 anni fa
parent
commit
3db0188752
2 ha cambiato i file con 4 aggiunte e 4 eliminazioni
  1. 3 3
      scripts/mk_update.py
  2. 1 1
      src/mcu/at32f4/stm32.c

+ 3 - 3
scripts/mk_update.py

@@ -34,9 +34,9 @@ name_to_hw_model = { 'stm32f1': 1,
                      'stm32f7': 7,
                      'at32f4': 4 }
 
-hw_model_to_name = { 1: 'STM32F103',
-                     7: 'STM32F730',
-                     4: 'AT32F4xx' }
+hw_model_to_name = { 1: 'STM32F1',
+                     7: 'STM32F7',
+                     4: 'AT32F4' }
 
 def mk_cat_entry(dat, hw_model, sig):
     max_kb = { 1: { b'BL':  8, b'GW': 56 },

+ 1 - 1
src/mcu/at32f4/stm32.c

@@ -1,5 +1,5 @@
 /*
- * f1/stm32.c
+ * at32f4/stm32.c
  * 
  * Core and peripheral registers.
  *