Skip to content

Complete code to compile firmware for Arduino DUE's atmega 16u2 chip with reset on cold start and relable flash erase

Notifications You must be signed in to change notification settings

anklimov/Arduino-usbserial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Complete source code to compile ArduinoCore-sam/firmwares/atmega16u2/arduino-usbserial with fixes (*)

Challenge:
Original code require ancent non - release verfion of LUFA framework to be compiled

How to reach it:
git clone https://github.com/abcminiuser/lufa.git  
git reset --hard f6e1eaba7548bce84ae25718d7c37479c4bb0065

then copy ArduinoCore-sam/firmwares/atmega16u2/arduino-usbserial
to Projects/arduino-usbserial

All actions are done in this repo

to compile

cd Projects/arduino-usbserial
make



=====
                   _   _ _ ___ _  
                  | | | | | __/ \ 
                  | |_| U | _| o | - The Lightweight USB
                  |___|___|_||_n_|    Framework for AVRs
                =========================================
                          Written by Dean Camera
                  dean [at] fourwalledcubicle [dot] com

                 http://www.fourwalledcubicle.com/LUFA.php
                =========================================

               LUFA is donation supported. To support LUFA, 
             please donate at http://www.fourwalledcubicle.com.

                For Commercial Licensing information, see
               http://fourwalledcubicle.com/PurchaseLUFA.php


This package contains the complete LUFA library, demos, user-submitted
projects and bootloaders for use with compatible microcontroller models.
LUFA is a simple to use, lightweight framework which sits atop the hardware
USB controller in specific AVR microcontroller models, and allows for the
quick and easy creation of complex USB devices and hosts.

To get started, you will need to install the "Doxygen" documentation
generation tool. If you use Linux, this can be installed via the "doxygen"
package in your chosen package management tool - under Ubuntu, this can be
achieved by running the following command in the terminal:

   sudo apt-get install doxygen
	
Other package managers and distributions will have similar methods to
install Doxygen. In Windows, you can download a prebuilt installer for
Doxygen from its website, www.doxygen.org.

Once installed, you can then use the Doxygen tool to generate the library
documentation from the command line or terminal of your operating system. To
do this, open your terminal or command line to the root directory of the
LUFA package, and type the following command:

   make doxygen

Which will recursively generate documentation for all elements in the
library - the core, plus all demos, projects and bootloaders. Generated
documentation will then be available by opening the file "index.html" of the
created Documentation/html/ subdirectories inside each project folder.

The documentation for the library itself (but not the documentation for the
individual demos, projects or bootloaders) is also available as a separate
package from the project webpage for convenience if Doxygen cannot be
installed.

About

Complete code to compile firmware for Arduino DUE's atmega 16u2 chip with reset on cold start and relable flash erase

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published