⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 build.bat

📁 fx2 gpifFIFOREAD方式实现高速数据传输数据固件
💻 BAT
字号:
@echo off
REM #--------------------------------------------------------------------------
REM #	File:		BUILD.BAT
REM #	Contents:	Batch file to build frameworks lib.
REM #
REM #	Copyright (c) 2000 Cypress Semiconductor, Inc. All rights reserved
REM #--------------------------------------------------------------------------

REM set EZTARGET=C:\Cypress\USB\Target
REM set C51INC=C:\Keil\C51\INC;%EZTARGET%\INC

REM ### Compile code ###
c51 resume.c debug oe code small moddp2 "ot(6,size)"
c51 discon.c debug oe code small moddp2 "ot(6,size)"
c51 delay.c debug oe code small moddp2 "ot(6,size)"
c51 ezregs.c debug oe code small moddp2 "ot(6,size)"
c51 i2c.c debug oe code small moddp2 "ot(6,size)"
c51 get_dscr.c debug oe code small moddp2 "ot(6,size)"
c51 get_infc.c debug oe code small moddp2 "ot(6,size)"
c51 get_strd.c debug oe code small moddp2 "ot(6,size)"
c51 get_cnfg.c debug oe code small moddp2 "ot(6,size)"
c51 i2c_rw.c debug oe code small moddp2 "ot(6,size)"


REM ### Assemble  ###
a51 delayms.a51 debug errorprint nomod51
a51 susp.a51 debug errorprint nomod51
a51 usbirqcl.a51 debug errorprint nomod51
a51 USBJmpTb.a51 debug errorprint nomod51
a51 FXJmpTb.a51 debug errorprint nomod51

if exist ezusb.lib del ezusb.lib
lib51 create ezusb.lib
lib51 add resume.obj to ezusb.lib
lib51 add susp.obj to ezusb.lib
lib51 add discon.obj to ezusb.lib
lib51 add delayms.obj to ezusb.lib
lib51 add delay.obj to ezusb.lib
lib51 add ezregs.obj to ezusb.lib
lib51 add i2c.obj to ezusb.lib
lib51 add get_dscr.obj to ezusb.lib
lib51 add get_infc.obj to ezusb.lib
lib51 add get_strd.obj to ezusb.lib
lib51 add get_cnfg.obj to ezusb.lib
lib51 add usbirqcl.obj to ezusb.lib
lib51 add i2c_rw.obj to ezusb.lib

REM ### usage: build -clean to remove intermediate files after build
if "%1" == "-clean" del *.lst

:fini


⌨️ 快捷键说明

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