Skip to content

Commit 491ddc8

Browse files
authored
Merge pull request #1757 from fpistm/updateDB
variant: update generated files to STM32_open_pin_data v6.0.60
2 parents 09ff3f6 + 48cd356 commit 491ddc8

File tree

545 files changed

+4979
-811
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

545 files changed

+4979
-811
lines changed

Diff for: CI/update/stm32variant.py

+16-3
Original file line numberDiff line numberDiff line change
@@ -2033,13 +2033,16 @@ def aggregate_dir():
20332033
variant_exp = []
20342034
# Compare the first directory to all other directories
20352035
while mcu_dirs and index < len(mcu_dirs):
2036-
# Compare all the variant file except the generic_boards.txt
2036+
# Compare all the variant files except the generic_boards.txt
20372037
mcu_dir2_files_list = [
20382038
mcu_dirs[index] / periph_c_filename,
20392039
mcu_dirs[index] / pinvar_h_filename,
20402040
mcu_dirs[index] / variant_cpp_filename,
20412041
mcu_dirs[index] / variant_h_filename,
20422042
]
2043+
# Iterate over each variant files
2044+
periph_xml_tmp = []
2045+
variant_exp_tmp = []
20432046
for index2, fname in enumerate(mcu_dir1_files_list):
20442047
with open(fname, "r") as f1:
20452048
with open(mcu_dir2_files_list[index2], "r") as f2:
@@ -2048,20 +2051,30 @@ def aggregate_dir():
20482051
if not diff or len(diff) == 2:
20492052
if index2 == 0:
20502053
for line in diff:
2051-
periph_xml += periperalpins_regex.findall(line)
2054+
periph_xml_tmp += periperalpins_regex.findall(
2055+
line
2056+
)
20522057
elif index2 == 2:
20532058
for line in diff:
2054-
variant_exp += variant_regex.findall(line)
2059+
variant_exp_tmp += variant_regex.findall(line)
20552060
continue
20562061
else:
20572062
# Not the same directory compare with the next one
20582063
index += 1
20592064
break
20602065
# All files compared and matched
20612066
else:
2067+
# Concatenate lists without duplicate
2068+
uniq_periph_xml = set(periph_xml_tmp) - set(periph_xml)
2069+
periph_xml = periph_xml + list(uniq_periph_xml)
2070+
uniq_variant_exp = set(variant_exp_tmp) - set(variant_exp)
2071+
variant_exp = variant_exp + list(uniq_variant_exp)
20622072
# Matched files append to the group list
20632073
group_mcu_dir.append(mcu_dirs.pop(index))
2074+
del periph_xml_tmp[:]
2075+
del variant_exp_tmp[:]
20642076
del mcu_dir2_files_list[:]
2077+
20652078
# Merge directories name and contents if needed
20662079
mcu_dir = merge_dir(
20672080
out_temp_path, group_mcu_dir, mcu_family, periph_xml, variant_exp

Diff for: variants/STM32F0xx/F030C6T/PeripheralPins.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*/
1313
/*
1414
* Automatically generated from STM32F030C6Tx.xml
15-
* CubeMX DB release 6.0.50
15+
* CubeMX DB release 6.0.60
1616
*/
1717
#if !defined(CUSTOM_PERIPHERAL_PINS)
1818
#include "Arduino.h"

Diff for: variants/STM32F0xx/F030C8T/PeripheralPins.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*/
1313
/*
1414
* Automatically generated from STM32F030C8Tx.xml
15-
* CubeMX DB release 6.0.50
15+
* CubeMX DB release 6.0.60
1616
*/
1717
#if !defined(CUSTOM_PERIPHERAL_PINS)
1818
#include "Arduino.h"

Diff for: variants/STM32F0xx/F030CCT/PeripheralPins.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*/
1313
/*
1414
* Automatically generated from STM32F030CCTx.xml
15-
* CubeMX DB release 6.0.50
15+
* CubeMX DB release 6.0.60
1616
*/
1717
#if !defined(CUSTOM_PERIPHERAL_PINS)
1818
#include "Arduino.h"

Diff for: variants/STM32F0xx/F030F4P/PeripheralPins.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*/
1313
/*
1414
* Automatically generated from STM32F030F4Px.xml
15-
* CubeMX DB release 6.0.50
15+
* CubeMX DB release 6.0.60
1616
*/
1717
#if !defined(CUSTOM_PERIPHERAL_PINS)
1818
#include "Arduino.h"

Diff for: variants/STM32F0xx/F030K6T/PeripheralPins.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*/
1313
/*
1414
* Automatically generated from STM32F030K6Tx.xml
15-
* CubeMX DB release 6.0.50
15+
* CubeMX DB release 6.0.60
1616
*/
1717
#if !defined(CUSTOM_PERIPHERAL_PINS)
1818
#include "Arduino.h"

Diff for: variants/STM32F0xx/F030R8T/PeripheralPins.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*/
1313
/*
1414
* Automatically generated from STM32F030R8Tx.xml
15-
* CubeMX DB release 6.0.50
15+
* CubeMX DB release 6.0.60
1616
*/
1717
#if !defined(CUSTOM_PERIPHERAL_PINS)
1818
#include "Arduino.h"

Diff for: variants/STM32F0xx/F030RCT/PeripheralPins.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*/
1313
/*
1414
* Automatically generated from STM32F030RCTx.xml
15-
* CubeMX DB release 6.0.50
15+
* CubeMX DB release 6.0.60
1616
*/
1717
#if !defined(CUSTOM_PERIPHERAL_PINS)
1818
#include "Arduino.h"

Diff for: variants/STM32F0xx/F031C(4-6)T/PeripheralPins.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*/
1313
/*
1414
* Automatically generated from STM32F031C(4-6)Tx.xml
15-
* CubeMX DB release 6.0.50
15+
* CubeMX DB release 6.0.60
1616
*/
1717
#if !defined(CUSTOM_PERIPHERAL_PINS)
1818
#include "Arduino.h"

Diff for: variants/STM32F0xx/F031E6Y_F038E6Y/PeripheralPins.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*/
1313
/*
1414
* Automatically generated from STM32F031E6Yx.xml, STM32F038E6Yx.xml
15-
* CubeMX DB release 6.0.50
15+
* CubeMX DB release 6.0.60
1616
*/
1717
#if !defined(CUSTOM_PERIPHERAL_PINS)
1818
#include "Arduino.h"

Diff for: variants/STM32F0xx/F031F(4-6)P/PeripheralPins.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*/
1313
/*
1414
* Automatically generated from STM32F031F(4-6)Px.xml
15-
* CubeMX DB release 6.0.50
15+
* CubeMX DB release 6.0.60
1616
*/
1717
#if !defined(CUSTOM_PERIPHERAL_PINS)
1818
#include "Arduino.h"

Diff for: variants/STM32F0xx/F031G(4-6)U/PeripheralPins.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*/
1313
/*
1414
* Automatically generated from STM32F031G(4-6)Ux.xml
15-
* CubeMX DB release 6.0.50
15+
* CubeMX DB release 6.0.60
1616
*/
1717
#if !defined(CUSTOM_PERIPHERAL_PINS)
1818
#include "Arduino.h"

Diff for: variants/STM32F0xx/F031K(4-6)U/PeripheralPins.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*/
1313
/*
1414
* Automatically generated from STM32F031K(4-6)Ux.xml
15-
* CubeMX DB release 6.0.50
15+
* CubeMX DB release 6.0.60
1616
*/
1717
#if !defined(CUSTOM_PERIPHERAL_PINS)
1818
#include "Arduino.h"

Diff for: variants/STM32F0xx/F031K6T/PeripheralPins.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*/
1313
/*
1414
* Automatically generated from STM32F031K6Tx.xml
15-
* CubeMX DB release 6.0.50
15+
* CubeMX DB release 6.0.60
1616
*/
1717
#if !defined(CUSTOM_PERIPHERAL_PINS)
1818
#include "Arduino.h"

Diff for: variants/STM32F0xx/F038C6T/PeripheralPins.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*/
1313
/*
1414
* Automatically generated from STM32F038C6Tx.xml
15-
* CubeMX DB release 6.0.50
15+
* CubeMX DB release 6.0.60
1616
*/
1717
#if !defined(CUSTOM_PERIPHERAL_PINS)
1818
#include "Arduino.h"

Diff for: variants/STM32F0xx/F038F6P/PeripheralPins.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*/
1313
/*
1414
* Automatically generated from STM32F038F6Px.xml
15-
* CubeMX DB release 6.0.50
15+
* CubeMX DB release 6.0.60
1616
*/
1717
#if !defined(CUSTOM_PERIPHERAL_PINS)
1818
#include "Arduino.h"

Diff for: variants/STM32F0xx/F038G6U/PeripheralPins.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*/
1313
/*
1414
* Automatically generated from STM32F038G6Ux.xml
15-
* CubeMX DB release 6.0.50
15+
* CubeMX DB release 6.0.60
1616
*/
1717
#if !defined(CUSTOM_PERIPHERAL_PINS)
1818
#include "Arduino.h"

Diff for: variants/STM32F0xx/F038K6U/PeripheralPins.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*/
1313
/*
1414
* Automatically generated from STM32F038K6Ux.xml
15-
* CubeMX DB release 6.0.50
15+
* CubeMX DB release 6.0.60
1616
*/
1717
#if !defined(CUSTOM_PERIPHERAL_PINS)
1818
#include "Arduino.h"

Diff for: variants/STM32F0xx/F042C(4-6)(T-U)/PeripheralPins.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*/
1313
/*
1414
* Automatically generated from STM32F042C(4-6)Tx.xml, STM32F042C(4-6)Ux.xml
15-
* CubeMX DB release 6.0.50
15+
* CubeMX DB release 6.0.60
1616
*/
1717
#if !defined(CUSTOM_PERIPHERAL_PINS)
1818
#include "Arduino.h"

Diff for: variants/STM32F0xx/F042F(4-6)P/PeripheralPins.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*/
1313
/*
1414
* Automatically generated from STM32F042F4Px.xml, STM32F042F6Px.xml
15-
* CubeMX DB release 6.0.50
15+
* CubeMX DB release 6.0.60
1616
*/
1717
#if !defined(CUSTOM_PERIPHERAL_PINS)
1818
#include "Arduino.h"

Diff for: variants/STM32F0xx/F042G(4-6)U/PeripheralPins.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*/
1313
/*
1414
* Automatically generated from STM32F042G(4-6)Ux.xml
15-
* CubeMX DB release 6.0.50
15+
* CubeMX DB release 6.0.60
1616
*/
1717
#if !defined(CUSTOM_PERIPHERAL_PINS)
1818
#include "Arduino.h"

Diff for: variants/STM32F0xx/F042K(4-6)T/PeripheralPins.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*/
1313
/*
1414
* Automatically generated from STM32F042K(4-6)Tx.xml
15-
* CubeMX DB release 6.0.50
15+
* CubeMX DB release 6.0.60
1616
*/
1717
#if !defined(CUSTOM_PERIPHERAL_PINS)
1818
#include "Arduino.h"

Diff for: variants/STM32F0xx/F042K(4-6)U/PeripheralPins.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*/
1313
/*
1414
* Automatically generated from STM32F042K(4-6)Ux.xml
15-
* CubeMX DB release 6.0.50
15+
* CubeMX DB release 6.0.60
1616
*/
1717
#if !defined(CUSTOM_PERIPHERAL_PINS)
1818
#include "Arduino.h"

Diff for: variants/STM32F0xx/F042T6Y/PeripheralPins.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*/
1313
/*
1414
* Automatically generated from STM32F042T6Yx.xml
15-
* CubeMX DB release 6.0.50
15+
* CubeMX DB release 6.0.60
1616
*/
1717
#if !defined(CUSTOM_PERIPHERAL_PINS)
1818
#include "Arduino.h"

Diff for: variants/STM32F0xx/F048C6U/PeripheralPins.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*/
1313
/*
1414
* Automatically generated from STM32F048C6Ux.xml
15-
* CubeMX DB release 6.0.50
15+
* CubeMX DB release 6.0.60
1616
*/
1717
#if !defined(CUSTOM_PERIPHERAL_PINS)
1818
#include "Arduino.h"

Diff for: variants/STM32F0xx/F048G6U/PeripheralPins.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*/
1313
/*
1414
* Automatically generated from STM32F048G6Ux.xml
15-
* CubeMX DB release 6.0.50
15+
* CubeMX DB release 6.0.60
1616
*/
1717
#if !defined(CUSTOM_PERIPHERAL_PINS)
1818
#include "Arduino.h"

Diff for: variants/STM32F0xx/F048T6Y/PeripheralPins.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*/
1313
/*
1414
* Automatically generated from STM32F048T6Yx.xml
15-
* CubeMX DB release 6.0.50
15+
* CubeMX DB release 6.0.60
1616
*/
1717
#if !defined(CUSTOM_PERIPHERAL_PINS)
1818
#include "Arduino.h"

Diff for: variants/STM32F0xx/F051C4(T-U)/PeripheralPins.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*/
1313
/*
1414
* Automatically generated from STM32F051C4Tx.xml, STM32F051C4Ux.xml
15-
* CubeMX DB release 6.0.50
15+
* CubeMX DB release 6.0.60
1616
*/
1717
#if !defined(CUSTOM_PERIPHERAL_PINS)
1818
#include "Arduino.h"

Diff for: variants/STM32F0xx/F051C6(T-U)/PeripheralPins.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*/
1313
/*
1414
* Automatically generated from STM32F051C6Tx.xml, STM32F051C6Ux.xml
15-
* CubeMX DB release 6.0.50
15+
* CubeMX DB release 6.0.60
1616
*/
1717
#if !defined(CUSTOM_PERIPHERAL_PINS)
1818
#include "Arduino.h"

Diff for: variants/STM32F0xx/F051C8(T-U)/PeripheralPins.c

+1-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@
1212
*/
1313
/*
1414
* Automatically generated from STM32F051C8Tx.xml, STM32F051C8Ux.xml
15-
* STM32F058C8Ux.xml
16-
* CubeMX DB release 6.0.50
15+
* CubeMX DB release 6.0.60
1716
*/
1817
#if !defined(CUSTOM_PERIPHERAL_PINS)
1918
#include "Arduino.h"

Diff for: variants/STM32F0xx/F051K(6-8)T/PeripheralPins.c

+1-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@
1212
*/
1313
/*
1414
* Automatically generated from STM32F051K6Tx.xml, STM32F051K8Tx.xml
15-
* STM32F051T8Yx.xml, STM32F058T8Yx.xml
16-
* CubeMX DB release 6.0.50
15+
* CubeMX DB release 6.0.60
1716
*/
1817
#if !defined(CUSTOM_PERIPHERAL_PINS)
1918
#include "Arduino.h"

Diff for: variants/STM32F0xx/F051K(6-8)U/PeripheralPins.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*/
1313
/*
1414
* Automatically generated from STM32F051K6Ux.xml, STM32F051K8Ux.xml
15-
* CubeMX DB release 6.0.50
15+
* CubeMX DB release 6.0.60
1616
*/
1717
#if !defined(CUSTOM_PERIPHERAL_PINS)
1818
#include "Arduino.h"

Diff for: variants/STM32F0xx/F051K4T/PeripheralPins.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*/
1313
/*
1414
* Automatically generated from STM32F051K4Tx.xml
15-
* CubeMX DB release 6.0.50
15+
* CubeMX DB release 6.0.60
1616
*/
1717
#if !defined(CUSTOM_PERIPHERAL_PINS)
1818
#include "Arduino.h"

Diff for: variants/STM32F0xx/F051K4U/PeripheralPins.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*/
1313
/*
1414
* Automatically generated from STM32F051K4Ux.xml
15-
* CubeMX DB release 6.0.50
15+
* CubeMX DB release 6.0.60
1616
*/
1717
#if !defined(CUSTOM_PERIPHERAL_PINS)
1818
#include "Arduino.h"

Diff for: variants/STM32F0xx/F051R4T/PeripheralPins.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*/
1313
/*
1414
* Automatically generated from STM32F051R4Tx.xml
15-
* CubeMX DB release 6.0.50
15+
* CubeMX DB release 6.0.60
1616
*/
1717
#if !defined(CUSTOM_PERIPHERAL_PINS)
1818
#include "Arduino.h"

Diff for: variants/STM32F0xx/F051R6T/PeripheralPins.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*/
1313
/*
1414
* Automatically generated from STM32F051R6Tx.xml
15-
* CubeMX DB release 6.0.50
15+
* CubeMX DB release 6.0.60
1616
*/
1717
#if !defined(CUSTOM_PERIPHERAL_PINS)
1818
#include "Arduino.h"

Diff for: variants/STM32F0xx/F051R8(H-T)/PeripheralPins.c

+1-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@
1212
*/
1313
/*
1414
* Automatically generated from STM32F051R8Hx.xml, STM32F051R8Tx.xml
15-
* STM32F058R8Hx.xml, STM32F058R8Tx.xml
16-
* CubeMX DB release 6.0.50
15+
* CubeMX DB release 6.0.60
1716
*/
1817
#if !defined(CUSTOM_PERIPHERAL_PINS)
1918
#include "Arduino.h"

Diff for: variants/STM32F0xx/F051T8Y/PeripheralPins.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*/
1313
/*
1414
* Automatically generated from STM32F051T8Yx.xml
15-
* CubeMX DB release 6.0.50
15+
* CubeMX DB release 6.0.60
1616
*/
1717
#if !defined(CUSTOM_PERIPHERAL_PINS)
1818
#include "Arduino.h"

Diff for: variants/STM32F0xx/F058C8U/PeripheralPins.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*/
1313
/*
1414
* Automatically generated from STM32F058C8Ux.xml
15-
* CubeMX DB release 6.0.50
15+
* CubeMX DB release 6.0.60
1616
*/
1717
#if !defined(CUSTOM_PERIPHERAL_PINS)
1818
#include "Arduino.h"

0 commit comments

Comments
 (0)