Skip to content

Commit 8366f41

Browse files
committed
[stm32variant] Add a README.md
Signed-off-by: Frederic Pillon <[email protected]>
1 parent b4cdfc8 commit 8366f41

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

CI/utils/README.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# stm32variant
2+
3+
By default, generates:
4+
- *PeripheralPins.c*
5+
- *PinNamesVar.h*
6+
- *variant_generic.cpp*
7+
- *variant_generic.h*
8+
- *boards_entry.txt*
9+
- *generic_clock.c*
10+
11+
for all xml files description available in [STM32CubeMX](http://www.st.com/en/development-tools/stm32cubemx.html) internal database.
12+
Internal database path have to be defined in `variant_config.json`.
13+
It can be the one from STM32CubeMX directory if defined or the one from GitHub:
14+
15+
https://github.com/STMicroelectronics/STM32_open_pin_data
16+
17+
After file generation, review them carefully and please report any issue
18+
[here](https://github.com/stm32duino/Arduino_Core_STM32/issues).
19+
20+
21+
### Usage:
22+
23+
`python genpinmap_arduino.py [-h] [-l | -m xml]`
24+
25+
26+
### Optional arguments:
27+
28+
`-h`, `--help` &emsp;&emsp;&emsp;&emsp;&emsp;&emsp; Show this help message and exit<br>
29+
`-l`, `--list` &emsp;&emsp;&emsp;&emsp;&emsp;&emsp; List available xml files description in database<br>
30+
`-f name`, `--family name`&nbsp; Generate all files for specified mcu family.<br>
31+
`-c`, `--cube` &emsp;&emsp;&emsp;&emsp;&emsp;&emsp; Use STM32CubeMX internal database. Default use GitHub STM32_open_pin_data repository.<br>
32+
`-s`, `--skip` &emsp;&emsp;&emsp;&emsp;&emsp;&emsp; Skip STM32_open_pin_data clone/fetch<br>
33+
34+
All generated files are available under _./variants/<mcu_serie>/<mcu_names>_ directory

0 commit comments

Comments
 (0)