mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/Tasty.git
synced 2025-06-10 18:45:59 +00:00
Added batch/shell scripts for flashing
This commit is contained in:
parent
5681411c65
commit
3acc17a7dc
12
flash.bat
Normal file
12
flash.bat
Normal file
@ -0,0 +1,12 @@
|
||||
@echo off
|
||||
|
||||
REM Check if the program name is provided as an argument
|
||||
if "%~1"=="" (
|
||||
echo Please provide the program name as an argument.
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
REM Execute the commands
|
||||
make -j8 all -C .\Debug
|
||||
STM32_Programmer_CLI.exe -c port=SWD freq=4000 -e all
|
||||
STM32_Programmer_CLI.exe -c port=SWD freq=4000 -w .\Debug\%1.elf 0x08000000
|
Loading…
x
Reference in New Issue
Block a user