1 Star 0 Fork 0

ChengJingJia/nxpUSBlib

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
== LPCUSBlib software package ==  (http://www.lpcware.com/content/project/LPCUSBlib)

Top level directories:

applications/examples
A collection of several example applications based on host/device mode and USB class

applications/projects
A collection of custom applications using the LPCUSBlib, BSP, and CDL libraries

libraries/BSP - Board Support Package
includes common code in bsp.c and bsp.h and a separate set of files for each support board

libraries/CDL - Common Driver Library
includes CMSIS and driver library files for multiple MCUs

libraries/LPCUSBlib - NXP's USB library
USB class and driver software for NXP USB controllers


==========================================================================================
Build instructions


LPCXpresso 4 IDE (Code Red)


1. Start up the IDE
2. Choose a workspace folder
3. Click File->Import->General->Existing Projects into Workspace->Next
4. Browse to the base of your LPCUSBlib release (the location of this file)
5. Click Finish

At this point the Project Explorer should show the following projects:

BSP                 (Board Support Package)
CDL                 (Common Driver Library)
Example_<app name>  (Example applications)
LPCUSBlib           (NXP's USB library)
Project_<proj name> (Miscellaneous projects)

6. Right click on BSP->Build Configurations->Set Active and select your development board
7. Right click on CDL->Build Configurations->Set Active and select your MCU
8. Right click on LPCUSBlib->Build Configurations->Set Active and select your MCU
9. Right click on Example_<app name>->Build Configurations->Set Active and select your MCU
10. Right click on Example_<app name>->Properties->C/C++ Build->MCU Settings and select your MCU
11. Right click on Example_<app name>->Build Project

 


tips:

To reset the IDE to its default look and feel, right click on the Develop box in the upper right hand corner of the tool and select Reset


-----------------------------------------------------------------------
uVision 4 (Keil)

1. Start up the IDE
2. Open the workspace at Demos\keil_workspace.uvmpw
3. Click Projects->Batch Build...
4. Select your board and MCU in the 6 projects. 

To build a mass storage device example for the MCB1700 click DelectAll and select:
	BSP                       = MCB1700
	CDL                       = LPC17xx
	Example_MassStorageDevice = MCB1700
	LPCUSBlib_Device          = LPC17xx_Device
5. Click Build

空文件

简介

Fork of NXP's USB library for all LPC microcontrollers, with bug fixes 展开 收起
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/chengjingjia/nxpUSBlib.git
[email protected]:chengjingjia/nxpUSBlib.git
chengjingjia
nxpUSBlib
nxpUSBlib
next-v0.98

搜索帮助