plus_demo.bat

来自「test file nucleus source」· Batch 代码 · 共 33 行

BAT
33
字号
@echo offECHO ****************************ECHO  Building Nucleus PLUS DemoECHO ****************************REM ** To change the cpu designator, change the following line:REM ** Set this according to the Core Module being usedSET CPU=ARM7TDMIif not exist O\ mkdir Oif exist O\*.o del O\*.o >nulif exist O\*.out del O\*.out >nulif exist O\*.map del O\*.map >nulif exist O\*.bin del O\*.bin >nulSET THUMB=SET COMPILER=ARMCCif "%1"=="thumb" set COMPILER=TCCif "%1"=="THUMB" set COMPILER=TCCif "%1"=="newcpu" set CPU=%2if "%2"=="newcpu" set CPU=%3@echo on%COMPILER% -g -c -cpu %CPU% -apcs /inter -I ..\.,..\..\. demo.c -o O\demo.oARMLINK -d -s -map -list O\Plus_Demo.map -o O\Plus_Demo.out -scatter .\link_ram.ld O\demo.o ..\..\Lib\plus.lib ..\..\lib\ncl.lib@echo offREM fromelf -bin -o o\Plus_Demo.bin o\Plus_Demo.out

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?