Skip to content

micro-os-plus/helper-scripts

Repository files navigation

Helper scripts

Maintenance scripts used in other packages.

Submodule

This project is linked as submodule to:

  • devices-stm32f0-extras-xpack.git
  • devices-stm32f4-extras-xpack.git

clone-and-link-all-git-repos.sh

Script to download all source xPacks.

The first argument is an optional destination folder path. The default is ${HOME}/Work/micro-os-plus-xpack-repos.

curl -L https://raw.githubusercontent.com/micro-os-plus/helper-scripts/master/clone-and-link-all-git-repos.sh | bash 

generate-vectors-from-arm-startup.sh

Script to generate the vectors_xxx.c files for a family.

It can be invoked with:

bash generate-vectors-from-arm-startup.sh ${from} ${to}

from is the path to the CMSIS assembly files, like:

  • ${HOME}/STM32Cube/Repository/STM32Cube_FW_F0_V1.11.1/Drivers/CMSIS/Device/ST/STM32F0xx/Source/Templates/arm

and to is the path to the destination folder, like:

  • eclipse-embed-cdt.github/eclipse-plugins.git/plugins/org.eclipse.embedcdt.templates.stm/templates/micro-os-plus/stm32f0.pack/src/cmsis:

convert-arm-asm-to-c.sh

Script to convert the Arm assembly file into C.

It can be invoked with:

bash convert-arm-asm-to-c.sh ${input} >${output}

The input file is usually an Arm assembly file from the vendor CMSIS, something like:

  • ${HOME}/STM32Cube/Repository/STM32Cube_FW_F0_V1.11.1/Drivers/CMSIS/Device/ST/STM32F0xx/Source/Templates/arm/startup_stm32f030x6.s

About

Common scripts used in other projects

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published

Languages