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

📄 build.bat

📁 This directory contains the memtest 8051 firmware for the Anchor Chips EZ-USB chip. The purpose
💻 BAT
字号:
@echo off
REM #--------------------------------------------------------------------------
REM #	File:		BUILD.BAT
REM #	Contents:	Batch file to build memtest.
REM #
REM #	Copyright (c) 1997 AnchorChips, Inc. All rights reserved
REM #--------------------------------------------------------------------------

REM ### Compile FrameWorks code ###
c51 memtest.c debug objectextend code small moddp2 OPTIMIZE (6, SPEED)

REM ### Link object code (includes debug info) ###
REM ### Note: XDATA and CODE must not overlap ###
REM ### Note: using a response file here for line longer than 128 chars
echo memtest.obj, > tmp.rsp
echo %CYUSB%\Target\Lib\Fx2\EZUSB.lib  >> tmp.rsp
echo TO memtest RAMSIZE(256) PL(68) PW(78) CODE(4000h) XDATA(5000h)  >> tmp.rsp
bl51 @tmp.rsp

REM ### Generate intel hex image of binary (no debug info) ###
oh51 memtest HEXFILE(memtest.hex)

if "%1" == "-clean" del tmp.rsp
if "%1" == "-clean" del *.lst
if "%1" == "-clean" del *.obj
if "%1" == "-clean" del *.m51

⌨️ 快捷键说明

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