Download this file
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
REM Run this batch file to create a package for the stepper driver REM You need to store the library SM3_Drive_RaspiStepper.library in the REM same folder first. @echo off SET PACKAGENAME=sm3raspi-stepper rmdir /S /Q %PACKAGENAME% mkdir %PACKAGENAME% xcopy /E package %PACKAGENAME% mkdir %PACKAGENAME%\Component mkdir %PACKAGENAME%\Component\DeviceDescription_Direct mkdir %PACKAGENAME%\Component\DeviceDescription_PulsDir mkdir %PACKAGENAME%\Component\Library mkdir %PACKAGENAME%\Component\Project xcopy StepperTestProject.project %PACKAGENAME%\Component\Project xcopy devices\SM3_Drive_RaspiStepper_Direct.devdesc.xml %PACKAGENAME%\Component\DeviceDescription_Direct\ xcopy devices\StandardParameters.xml %PACKAGENAME%\Component\DeviceDescription_Direct\ xcopy devices\SoftMotion_Raspi_Stepper.ico %PACKAGENAME%\Component\DeviceDescription_Direct\ xcopy devices\SM3_Drive_RaspiStepper_PulsDir.devdesc.xml %PACKAGENAME%\Component\DeviceDescription_PulsDir\ xcopy devices\StandardParameters.xml %PACKAGENAME%\Component\DeviceDescription_PulsDir\ xcopy devices\SoftMotion_Raspi_Stepper.ico %PACKAGENAME%\Component\DeviceDescription_PulsDir\ xcopy SM3_Drive_RaspiStepper.library %PACKAGENAME%\Component\Library\ del %PACKAGENAME%.zip cd %PACKAGENAME% zip -r -9 ../%PACKAGENAME%.zip * cd .. del /Q %PACKAGENAME%.package rename %PACKAGENAME%.zip %PACKAGENAME%.package rmdir /S /Q %PACKAGENAME%