📄 tio4_mes.bat
字号:
REM This is a sample batch file for the timer TIO application example
REM (Measure clear input mode) corresponding to the M3T-CC32R.
REM The environment variable for CC32R corresponds with the default installation
REM directory where M3T-CC32R is installed. If the directory is changed, need to
REM change the environment variable for CC32R as well.
REM
REM <<Note on Compile Option>>
REM It comes with the minimal options required for debugging.
REM If optimization, etc is need to be performed, refer to the CC32R Compiler
REM Manual to add suitable option.
REM
REM <<Notes>>
REM When compiling with this batch file, please download the startup program for
REM 32170/32171 Group and SFR header file from the website below.
REM -Renesas Technology homepage
REM (http://www.renesas.com)
REM -Enquiry for the Renesas products
REM (Customer support center : csc@renesas.com)
REM -Technical support for the M32R Family
REM (M32R Family MCU technical support : support_apl@renesas.com)
REM ***** Compile option *****
SET CFLAGS=-constr -g
SET AFLAGS=-g
REM ***** Delete object module file *****
del startup.mo
del TIO4_mes.mo
del TIO4_mes_main.mo
del TIO4_mes.abs
del TIO4_mes.mot
REM ***** Object creation *****
as32r %AFLAGS% -o startup.mo startup.ms
cc32r %CFLAGS% -o TIO4_mes.mo -c TIO4_mes.c
cc32r %CFLAGS% -o TIO4_mes_main.mo -c TIO4_mes_main.c
REM ***** Command file creation for linker *****
@echo -o TIO4_mes.abs > lnk.mak
@echo -g >> lnk.mak
@echo -SEC EITVECT=0,PROTECTID=84,ICUVECT=94,SFR=800000,EIT_P=200,D,P,C,SPINT=804000,SPUSR,B,@D >> lnk.mak
@echo -M test.map >> lnk.mak
@echo startup.mo TIO4_mes.mo TIO4_mes_main.mo >> lnk.mak
lnk32r lnk.mak
lmc32r -o TIO4_mes.mot TIO4_mes.abs
del lnk.mak
PAUSE
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -