Skip to content

Instantly share code, notes, and snippets.

View stuwilmur's full-sized avatar

Stu Murray stuwilmur

  • Bitwise Ltd.
  • Scotland, UK
View GitHub Profile
@GaryLee
GaryLee / build.bat
Last active May 2, 2024 07:34
Build STM32CubeIDE project from command line.
@ECHO OFF
@REM By check the headless-build.bat which come along with STM32CubeIDE.
@REM we can invoke the build process without invoking the GUI.
@REM Set PATH for STM32CubeIDE.
SET "CUBEIDE_PATH=C:\ST\STM32CubeIDE_1.14.0\STM32CubeIDE"
SET OLD_PATH=%PATH%
SET PATH=%CUBEIDE_PATH%;%PATH%
@REM Use stm32cubeidec.exe to build the project in specified workspace.