stm32_tools
Useful tools for stm32
arduino-builder-cli.sh (linux)
Used to build sketch(es) thanks Arduino CLI for all Arduino_Core_STM32 variants.
Launch this script at the top of Arduino IDE directory.
Examples:
- To build all ino file found in examples and libraries directories:
Note: exclude_list.txt is used to filter sketches found.
./arduino-builder-cli.sh -a
- To build a specific ino <path to my ino file>/mysketch.ino:
./arduino-builder-cli.sh -i /tmp/SerialLoop.ino
- To build a specific set of sketch using a pattern:
./arduino-builder-cli.sh -s "08\.|09\."
will build all sketch in examples/09.USB and examples/08.Strings directories
- To build a specific set of of boards using a pattern:
./arduino-builder-cli.sh -b "F4"
will build sketch for all variants name including F4.
Arduino_Tools)
genpinmap (Moved togen_cmsis_startup_file_list.sh
Used to generate the stm32_def_build.h file.
Launch it at the root of Arduino_Core_STM32
gen_stm32yyxx_files.sh
Used to generate stm32yyxx files to wrap HAL/LL files
Launch it at the root of Arduino_Core_STM32
gen_peripheralpins_files.sh
Used to generate all PeripheralPins.c
files for all STM32 MCU xml file description provided with STM32CubeMX using genpinmap.py script.
Launch it from the same folder than genpinmap.py script.