x-cube-tof1/Drivers/CMSIS/Device/ST/STM32F4xx/Include/generate.bat

20 lines
342 B
Batchfile

@color 0B
@echo off
REM Generate all CMSIS files
REM Active perl must be installed
set scriptPATH=%CD%\..\..\..\..\..\..\..\__INTERNAL__tools\tools\_CmsisDeviceGenerator\
if not exist "%scriptPATH%" (
echo Input directory does not exist!
pause
exit
)
cd %scriptPATH%
perl DeviceGeneration.pl --target STM32F4xx -replace
pause
:EOF