Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@fpistm
Copy link
Member

@fpistm fpistm commented Jul 4, 2017

This tool allows to generate the pins mapping of an STM32 MCU.

This script is able to generate the PeripheralPins.c using STM32
xml file description in Cube MX.
After file generation, review it carefully.
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: genpinmap_arduino.py <BOARD_NAME>

<BOARD_NAME> is the name of the board as it will be named in mbed
<product xml file name> is the STM32 file description in Cube MX

!!This xml file contains non alpha characters in its name, you should call it with quotes

Fix #10

Signed-off-by: Frederic.Pillon [email protected]

This tool allows to generate the pins mapping of an STM32 MCU.

This script is able to generate the PeripheralPins.c using STM32
xml file description in Cube MX.
After file generation, review it carefully.
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: genpinmap_arduino.py <BOARD_NAME> <product xml file name>

    <BOARD_NAME> is the name of the board as it will be named in mbed
    <product xml file name> is the STM32 file description in Cube MX

!!This xml file contains non alpha characters in its name, you should call it with quotes

Fix stm32duino#10

Signed-off-by: Frederic.Pillon <[email protected]>
@fpistm fpistm merged commit ed62e65 into stm32duino:master Jul 4, 2017
@fpistm fpistm deleted the genpinmap branch August 21, 2017 08:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant