Skip to content

Commit

Permalink
Merge pull request #14 from fpistm/genpinmap
Browse files Browse the repository at this point in the history
Add genpinmap script
  • Loading branch information
fpistm authored Jul 4, 2017
2 parents 5b2d2ef + e7bc10e commit ed62e65
Show file tree
Hide file tree
Showing 4 changed files with 657 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/genpinmap/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Arduino
54 changes: 54 additions & 0 deletions src/genpinmap/genpinmap_arduino.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
:: See xml file name in C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeMX\db\mcu

:: GPIO AF function not supported:: python genpinmap_arduino.py NUCLEO_F030R8 "STM32F030R8Tx.xml"
:: GPIO AF function not supported::python genpinmap_arduino.py DISCO_F051R8 "STM32F051R8Tx.xml"

python genpinmap_arduino.py NUCLEO_F030R8 "STM32F030R8Tx.xml"
python genpinmap_arduino.py NUCLEO_F091RC "STM32F091R(B-C)Tx.xml"
python genpinmap_arduino.py NUCLEO_F303RE "STM32F303R(D-E)Tx.xml"
python genpinmap_arduino.py NUCLEO_F429ZI "STM32F429Z(E-G-I)Tx.xml"
python genpinmap_arduino.py DISCO_F407G "STM32F407V(E-G)Tx.xml"
python genpinmap_arduino.py DISCO_F746NG "STM32F746N(E-G)Hx.xml"
python genpinmap_arduino.py NUCLEO_L053R8 "STM32L053R(6-8)Tx.xml"
python genpinmap_arduino.py NUCLEO_L432KC "STM32L432K(B-C)Ux.xml"
python genpinmap_arduino.py NUCLEO_L476RG "STM32L475R(C-E-G)Tx.xml"

pause
::python genpinmap_arduino.py B96B_F446VE "STM32F446V(C-E)Tx.xml"
::python genpinmap_arduino.py DISCO_F303VC "STM32F303V(B-C)Tx.xml"
::python genpinmap_arduino.py DISCO_F334C8 "STM32F334C(4-6-8)Tx.xml"
::python genpinmap_arduino.py DISCO_F429ZI "STM32F429Z(E-G-I)Tx.xml"
::python genpinmap_arduino.py DISCO_F469NI "STM32F469N(E-G-I)Hx.xml"
::python genpinmap_arduino.py DISCO_F746NG "STM32F746N(E-G)Hx.xml"
::python genpinmap_arduino.py DISCO_L053C8 "STM32L053C(6-8)Tx.xml"
::python genpinmap_arduino.py DISCO_L476VG "STM32L476V(C-E-G)Tx.xml"
::pause
::python genpinmap_arduino.py NUCLEO_F031K6 "STM32F031K6Tx.xml"
::python genpinmap_arduino.py NUCLEO_F042K6 "STM32F042K6Tx.xml"
::python genpinmap_arduino.py NUCLEO_F070RB "STM32F070RBTx.xml"
::python genpinmap_arduino.py NUCLEO_F072RB "STM32F072R(8-B)Tx.xml"
::python genpinmap_arduino.py NUCLEO_F091RC "STM32F091R(B-C)Tx.xml"
::pause
::python genpinmap_arduino.py NUCLEO_F103RB "STM32F103R(8-B)Tx.xml"
::python genpinmap_arduino.py NUCLEO_F302R8 "STM32F302R(6-8)Tx.xml"
::python genpinmap_arduino.py NUCLEO_F303K8 "STM32F303R(6-8)Tx.xml"
::python genpinmap_arduino.py NUCLEO_F303RE "STM32F303R(D-E)Tx.xml"
::python genpinmap_arduino.py NUCLEO_F334R8 "STM32F334R(6-8)Tx.xml"
::pause
::python genpinmap_arduino.py NUCLEO_F401RE "STM32F401R(D-E)Tx.xml"
::python genpinmap_arduino.py NUCLEO_F410RB "STM32F410R(8-B)Tx.xml"
::python genpinmap_arduino.py NUCLEO_F411RE "STM32F411R(C-E)Tx.xml"
::python genpinmap_arduino.py NUCLEO_F446RE "STM32F446R(C-E)Tx.xml"
::python genpinmap_arduino.py NUCLEO_F446ZE "STM32F446Z(C-E)Tx.xml"
::pause
::python genpinmap_arduino.py NUCLEO_F746ZG "STM32F746Z(E-G)Tx.xml"
::python genpinmap_arduino.py NUCLEO_F767ZI "STM32F767Z(G-I)Tx.xml"
::pause
::python genpinmap_arduino.py NUCLEO_L011K4 "STM32L011K(3-4)Tx.xml"
::python genpinmap_arduino.py NUCLEO_L031K6 "STM32L031K(4-6)Tx.xml"
::python genpinmap_arduino.py NUCLEO_L053R8 "STM32L053R(6-8)Tx.xml"
::python genpinmap_arduino.py NUCLEO_L073RZ "STM32L073R(B-Z)Tx.xml"
::pause
::python genpinmap_arduino.py NUCLEO_L152RE "STM32L152RETx.xml"
::python genpinmap_arduino.py NUCLEO_L476RG "STM32L475R(C-E-G)Tx.xml"
::pause
Loading

0 comments on commit ed62e65

Please sign in to comment.