源码地址:
https://github.com/sparkfun/32U4_Breakout_Board
下载之后,得到文件:32U4_Breakout_Board-master.zip
解压之后,得到文件夹:

首先看一下:
README.md

ATMEGA32U4 Breakout Board
=========================[![ATMEGA32U4 Breakout](https://dlnmh9ip6v2uc.cloudfront.net/images/products/1/1/1/1/7/11117-01a_i_ma.jpg)
*ATMEGA32U4 Breakout Board (DEV-11117)*](https://www.sparkfun.com/products/11117)This breakout board is designed for folks who would like to program outside of the Arduino IDE. THe board
comes preloaded with the LUFA CDC bootloader, allowing code to be built in WinAVR and program the board over USB
using AVRDUDE. Repository Contents
-------------------
* **/Bootloaders** - CDC bootloader and instructions for installation
* **/Examples** - Example code for the board
* **/Hardware** - All Eagle design files (.brd, .sch)
* **/LUFA** - Instructions for setting up the LUFA bootloaderLicense Information
-------------------
The hardware is released under [Creative Commons Share-alike 3.0](http://creativecommons.org/licenses/by-sa/3.0/).
All other code is open source so please feel free to do anything you want with it; you buy me a beer if you use this and we meet someday ([Beerware license](http://en.wikipedia.org/wiki/Beerware)).Notes for Installation
----------------------
This directory contains the bootloader and example source files for
Sparkfun's 32u4 Breakout board. Both were built on WinXP sp3 with
WinAVR-20100110 and AVRDUDE 5.10.The bootloader is a modified LUFA-130303 CDC bootloader.The bootloader directory contains the source and hex file for the bootloader
that ships with this board.  When you first plug in the board to a Windows
machine, it will ask you for a driver.  Point it to the following directory:
\SFE_32U4_Breakout_Board\Bootloaders\CDC
It will find the driver file (LUFA CDC Bootloader.inf) there.Once your machine recognizes the Virtual COM port, you're ready to take a
look at the examples and try uploading them to your board. See the readme in
the examples directory for more information.Before you can build any projects, you'll need to download and install
WinAVR if you're using Windows. It can be found [here](http://sourceforge.net/projects/winavr/files/). Linux Users
-----------
You will need to install the following packages:
* **avr-gcc** - A port of the GNU C compiler to the AVR Architecture
* **avr-binutils** - Converts the object code into AVR-readable hex files
* **avr-libc** - AVR Library for stuff like accessing and manipulating registers
* **avrdude** - The software that actually drives the physical programming

其中的重点是:

32U4_Breakout_Board-master\LUFA\目录下面只有一个readme.txt文件
文件内容为:

_   _ _ ___ _| | | | | __/ \| |_| U | _| o | - The Lightweight USB|___|___|_||_n_|    Framework for AVRs=========================================Written by Dean Cameradean [at] fourwalledcubicle [dot] comhttp://www.lufa-lib.org=========================================LUFA is donation supported. To support LUFA,please donate at http://www.lufa-lib.org/donateFor Commercial Licensing information, seehttp://www.lufa-lib.org/licenseNotes from SparkFun:In order to compile the modified LUFA bootloader, or the Virtual Serial
example for your Sparkfun 32u4 Breakout Board, follow these instructions:1. Download the LUFA Project, version 130303,  version 120219 for VirtualSerialVisit http://www.lufa-lib.org, then download LUFA-130303.zipAlternatively, use the following official link to the file:
lufa-lib.googlecode.com/files/LUFA-130303.zip2. Extract the zip file somewhere on your computer.3. Copy the contents of the 'LUFA' folder from the zip to this folder.The folder should be in the main directory:
\LUFA-130303\LUFACopy everything in that folder to this one where this readme resides:
\SFE_32U4_Breakout_Board\LUFA4. ???5. Profit!You can now compile the Sparkfun modified LUFA bootloader and the Virtual
Serial demo found in the following locations respectively:
\SFE_32U4_Breakout_Board\Bootloaders\CDC
\SFE_32U4_Breakout_Board\Examples\Sparkfun-VirtualSerialEnjoy!!Also, a note about other examples included with the LUFA download:LUFA includes all sorts of other examples too but they need their makefiles
to be customized to work for the 32u4 processor and their driver files
(.inf files and Descriptors.c) to be customized for Sparkfun's 32u4 Breakout
Board. More specifically, you will have to change the VID and PID in those
files for them to work with this specific board, so just a heads up.

按照两个文件的指示:
需要从:
http://www.fourwalledcubicle.com/LUFA.php
下载两个版本的LUFA:
lufa-LUFA-130303.zip 和lufa-LUFA-120219.zip
分别解压这两个压缩包,每个压缩包中有一个LUFA文件夹
内容如下所示:

编译:Bootloaders\CDC

32U4_Breakout_Board-master\Bootloaders\CDC的时候,

删除
32U4_Breakout_Board-master\LUFA
目录下所有内容,

将lufa-LUFA-130303\LUFA 中的所有文件拷贝到:
32U4_Breakout_Board-master\LUFA目录下

然后DOS CMD模式进入 32U4_Breakout_Board-master\Bootloaders\CDC 目录下,执行
make make clean

编译:Examples\Sparkfun-VirtualSerial

32U4_Breakout_Board-master\Examples\Sparkfun-VirtualSerial

删除
32U4_Breakout_Board-master\LUFA
目录下所有内容

将lufa-LUFA-120219\LUFA 中的所有文件拷贝到:
32U4_Breakout_Board-master\LUFA目录下

然后DOS CMD模式进入32U4_Breakout_Board-master\Examples\Sparkfun-VirtualSerial目录下,执行
make make clean

SparkFun ATMEGA32U4 Breakout 编译流程相关推荐

  1. C 语言编程 — 程序的编译流程

    目录 文章目录 目录 文章目录 C 程序的编译流程 预处理 编译 汇编 链接 编译多个源文件 文章目录 <C 语言编程 - GCC 工具链> <C 语言编程 - 程序的编译流程> ...

  2. 深入剖析 iOS 编译 Clang LLVM(编译流程)

    2019独角兽企业重金招聘Python工程师标准>>> 前言 iOS 开发中 Objective-C 和 Swift 都用的是 Clang / LLVM 来编译的.LLVM是一个模块 ...

  3. esp8266 SDK开发之编译流程

    最近刚完成自己8266的小项目,已经发布在github上,有兴趣的朋友可以看一下 github地址:esp-ujn 1. 通过MQTT协议与服务器交互 2. 内置HTTP服务器,支持通过浏览器进行参数 ...

  4. 4-uboot编译流程

    [uboot] (第四章)uboot流程--uboot编译流程 2016年11月01日 21:23:36 阅读数:2983 以下例子都以project X项目tiny210(s5pv210平台,arm ...

  5. uboot-spl编译流程

    [uboot] (第二章)uboot流程--uboot-spl编译流程 2016年10月27日 20:40:47 阅读数:2675 以下例子都以project X项目tiny210(s5pv210平台 ...

  6. sptk安装,编译流程

    SPTK是个有名的语音信号处理工具包. 其sptk安装,编译流程如下: 如果cygwin安装好(gcc,make,等安装好,见我另外的文章), ./configure make make instal ...

  7. iOS之LLVM编译流程和Clang插件开发集成

    LLVM 简介 一.什么是 LLVM? LLVM 是构架编译器(compiler)的框架系统,以 C++ 编写而成,用于优化以任意程序语言编写的程序的编译时间(compile-time).链接时间(l ...

  8. Swift之源码编译的环境搭建和编译流程

    编译环境 版本准备:macOS 10.15.3 Xcode 11.5 brew install cmake njnia Python 2.X Swift 源码地址:Apple/Swift 编译流程 ① ...

  9. Pixhawk飞控源码目录结构及编译流程分析

     http://blog.csdn.net/xlb7679/article/details/51658956 (PS:这是第一次写博客,以前也有记录一些经验总结心得什么的,不过都是手写笔记或者记在 ...

最新文章

  1. Essential fact about future of PhD studies
  2. 快来领猪肉啊,网易云官网建设意见征集计划获奖名单公布
  3. mysql group by join_mysql – GROUP BY之后的LEFT JOIN?
  4. vfp报表纸张设置_VFP 9.0中实现多种自定义纸张格式的报表打印
  5. [转]/etc/passwd文件解析
  6. Interesting Finds: 2007.12.19
  7. 6间企业获颁“首届粤港澳大湾区百强企业传承大奖”
  8. Mac启动Apache之后访问localhost提示403 Forbidden
  9. office2010 启动man_发现office2010启动挺慢的,各位一样吗
  10. 日历插件:Bootstrap的datetimepicker插件
  11. Mirobiome | 广东省科学院土壤所孙蔚旻团队:固氮内生菌可以提高中国芒草的生态适应性...
  12. 玩转f#的一个实例——解拼图游戏
  13. oracle wallet使用与维护
  14. wget网站镜像下载
  15. UVA207 ac心得
  16. 关于python的英文参考文献_英文参考文献格式
  17. linux系统安装hba驱动,RedHat Linux下的HBA驱动安装
  18. burpsuite抓取手机app数据包(通过笔记本开热点方式)
  19. 基于JavaWeb的影视评论网站设计与实现
  20. c++ 在控制台输出彩色字体

热门文章

  1. 想给视频添加好听的旁白声音,有哪些实用的配音 App?
  2. PHPstudy下载安装
  3. Android Menu菜单
  4. 业务模型业务概念建模、系统模型应用逻辑架构
  5. STM32:利用PWM波控制飞盈电调过程和注意事项
  6. visio2013-软件UML序列图01
  7. 电机Wye和Delta
  8. Linux 服务器部署
  9. 计算机重启后桌面文件没有反应,电脑重启后桌面文件丢失背景变黑怎么办
  10. week2 作业A - Maze