Arduino_Tools/src/genpinmap
Frederic.Pillon 61b2c93dde [genpinmap] Fix STM32L47xxx/48xxx ADC pinmap
For the ADC, it is necessary to configure
the GPIOx_ASCR register, only for STM32L47xxx/48xxx

Signed-off-by: Frederic.Pillon <frederic.pillon@st.com>
2018-11-16 16:29:26 +01:00
..
Arduino [PinMap] Update files after HAL update 2018-10-26 16:32:41 +02:00
.flake8 [genpinmap] Use Flake8 for Style Guide Enforcement 2018-11-16 16:02:24 +01:00
.gitignore [genpinmap] Enhance arguments 2018-05-02 09:12:45 +02:00
genpinmap_arduino.py [genpinmap] Fix STM32L47xxx/48xxx ADC pinmap 2018-11-16 16:29:26 +01:00
README.md [genpinmap] Add SYS_WKUP definition 2018-05-02 10:27:24 +02:00

genpinmap

By default,this script is able to generate PeripheralPins.c and PinNamesVar.h for all xml files description available in STM32CubeMX directory defined in config.json.

After file generation, review them carefully and please report any issue here.

Once generated, you should comment a line if the pin is generated several times for the same IP or if the pin should not be used (overlaid with some HW on the board, for instance).

usage: python genpinmap_arduino.py [-h] [-l | -m xml]

optional arguments:

-h, --help show this help message and exit
-l, --list list available xml files description in STM32CubeMX
-m xml, --mcu xml Generate PeripheralPins.c and PinNamesVar.h for specified mcu xml file description in STM32CubeMX. This xml file contains non alpha characters in its name, you should call it with double quotes

All generated file are available under ./Arduino/<mcu_name> directory