text
stringlengths
0
834k
::Make sure we have a Binary sub-folder in UserApp folder
if not exist ""%userAppBinary%"" (
mkdir ""%userAppBinary%"" > %projectdir%\output.txt 2>&1
IF %ERRORLEVEL% NEQ 0 goto :error
)
::PostBuild is fired if elf has been regenerated from last run, so elf is different from backup elf
if exist %elfbackup% (
fc %elfbackup% %elf% >NUL && (goto nothingtodo) || echo ""elf has been modified, processing required""
)
:: no encryption
set ""command=%python%%prepareimage% sha256 %bin% %sign% > %projectdir%\output.txt 2>&1""
%command%
IF %ERRORLEVEL% NEQ 0 goto :error
:: no encryption so pack the binary file
set ""command=%python%%prepareimage% pack -m %magic% -k %ecckey% -p 1 -r 44 -v %version% -f %bin% -t %sign% %sfb% -o %offset% >> %projectdir%\output.txt 2>&1""
%command%
IF %ERRORLEVEL% NEQ 0 goto :error
set ""command=%python%%prepareimage% header -m %magic% -k %ecckey% -p 1 -r 44 -v %version% -f %bin% -t %sign% -o %offset% %headerbin% >> %projectdir%\output.txt 2>&1""
%command%
IF %ERRORLEVEL% NEQ 0 goto :error
set ""command=%python%%prepareimage% merge -v 0 -i %headerbin% -s %sbsfuelf% -u %elf% %bigbinary% >> %projectdir%\output.txt 2>&1""
%command%
IF %ERRORLEVEL% NEQ 0 goto :error
:bigelf
IF ""%~6""=="""" goto :finish
echo ""Generating the global elf file (SBSFU and userApp)""
echo ""Generating the global elf file (SBSFU and userApp)"" >> %projectdir%\output.txt
set ""command=%programmertool% -ms %elf% %headerbin% %sbsfuelf% >> %projectdir%\output.txt 2>&1""
%command%
IF %ERRORLEVEL% NEQ 0 goto :error
set ""command=copy %elf% %elfbackup% >> %projectdir%\output.txt 2>&1""
%command%
IF %ERRORLEVEL% NEQ 0 goto :error
:finish
::backup and clean up the intermediate file
del %sign%
del %sfu%
del %headerbin%
exit 0
:error
echo ""%command% : failed"" >> %projectdir%\\output.txt
:: remove the elf to force the regeneration
if exist %elf%(
del %elf%
)
if exist %elfbackup%(
del %elfbackup%
)
echo %command% : failed
pause
exit 1
:nothingtodo
exit 0
",32.75,167,0.7027989822
405,d03c212886b0ec08dbc4ad8798d74d6f8a77cad7,90,bat,Batchfile,typeset.bat,chenxli/ZJUThesis-MPhil,20d941b8b4d8d26abb2eaa2de5c19ae34520b73f,['MIT'],12.0,2019-05-24T02:40:38.000Z,2022-03-17T07:25:18.000Z,typeset.bat,chenxli/ZJUThesis-MPhil,20d941b8b4d8d26abb2eaa2de5c19ae34520b73f,['MIT'],1.0,2020-10-29T15:07:12.000Z,2021...
makeindex thesis.idx
bibtex thesis
xelatex thesis
xelatex thesis
thesis.pdf",15.0,20,0.8666666667
406,d03c28d3995a0526483ea5bb5e04573541104869,2275,cmd,Batchfile,src/linux/headers/linux-xlnx-4.19-xilinx-v2019.1+git999/arch/arm64/lib/.lib-ksyms.o.cmd,tccxy/ultra96-v2_design_mipicamera,f0395d0dc85d4f280d969297c9390bbabb7817ce,['MIT'],6.0,2020-05-20T02:21:06.000Z,2021-04-15T14:57:42.000Z,src/linux/headers/linux-xlnx-4...
",1137.5,2274,0.7775824176
407,d03c2a4e44e43c2a5eed052b893f4287ccba09b3,715,bat,Batchfile,Examples/Lib16/asm16.bat,satadriver/LiunuxOS_t,c6222f04b6e734002cbf1aa366eb62e51f0ebbe5,['Apache-2.0'],,,,Examples/Lib16/asm16.bat,satadriver/LiunuxOS_t,c6222f04b6e734002cbf1aa366eb62e51f0ebbe5,['Apache-2.0'],,,,Examples/Lib16/asm16.bat,satadriver/LiunuxOS_...
REM asm16.bat
REM Revised 2/1/02
REM Assemble the current source file
REM
REM Command-line options (unless otherwise noted, they are case-sensitive):
REM
REM /nologo Suppress the Microsoft logo
REM -c Assemble only (do not link)
REM -Zi Include source code line information for debugging
REM -Fl Generate a listing file (see page 88)
REM /CODEVIEW Generate CodeView debugging information (linker)
REM %1.asm The name of the source file, passed on the command line
REM ************* The following lines can be customized:
PATH C:\Masm615
SET INCLUDE=C:\Masm615\INCLUDE
REM **************************** End of customized lines
REM Invoke ML.EXE (the assembler):
ML /nologo -c -Fl -Zi %1.asm
",29.7916666667,75,0.7174825175
408,d03c50ae3db3703f5a57f12d2eec1d192d046f89,57,bat,Batchfile,Miscl-Files/test.bat,gbhug5a/CP2102-with-BSL-Scripter,cb052c78839e7f103f7b767cbd03f71ed7f63dd8,['CC0-1.0'],,,,Miscl-Files/test.bat,gbhug5a/CP2102-with-BSL-Scripter,cb052c78839e7f103f7b767cbd03f71ed7f63dd8,['CC0-1.0'],,,,Miscl-Files/test.bat,gbhug5a/CP2102-wi...
REM Pause