cc.bat

来自「图像系统uc_GUI」· Batch 代码 · 共 22 行

BAT
22
字号
@ECHO OFF
GOTO START

******************************************************************************
*
* File      : CC.bat
* Parameters: %1 Name of file to compile (without extension; .c is added)
* Purpose   : Compile one file and add it to the list of files to put in
*             Library
*
* This file as is uses the IAR ARM Compiler
*
******************************************************************************

:START

ECHO CC.BAT:              Compiling %1.c with IAR ARM compiler
ICCARM -D OS_LIBMODE_DP -o temp\Output\ -s9 --library_module  --cpu_mode arm --code_model small --endian little --cpu ARM7TDMI --stack_align 8 --interwork -e --require_prototypes --silent temp\Source\%1.c
IF ERRORLEVEL 1 PAUSE
ECHO temp\Output\%1.r79>>temp\Lib.DAT

⌨️ 快捷键说明

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