LUFA Extension - Broken under later versions of Studio 7?

Go To Last Post
6 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0


Does anyone have any insight as to what became of the LUFA extension feature that allows one of the 'Example Project' options when selecting a New project?  A couple of years ago I successfully created a LUFA project using this feature but today, it appears to be missing.  Is the extension broken?  In an effort to 'fix' the issue I uninstalled the extension and reinstalled.  I also checked under the Start Example Project option and saw no reference to the LUFA example projects.

Thanks for any advice.

Jim

 

This topic has a solution.
Last Edited: Sun. Feb 14, 2021 - 04:04 PM
This reply has been marked as the solution. 
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 1

You need to install Studio with the ASF option selected, as lufa uses the ASF infrastructure... (Page in installer after architecture selection)

:: Morten

 

(yes, I work for Microchip, yes, I do this in my spare time, now stop sending PMs)

 

The postings on this site are my own and do not represent Microchip’s positions, strategies, or opinions.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 1

Thank you... that was the problem.  That turned out much easier than anticipated.

Take care -

Jim

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi

Dean has updated LUFA to version 21.01.30 from 17.04.18 which comes bundled with the LUFA extension installer. The LUFA extension doesn't seem to have been updated and I'm not sure if Dean will be doing that.

 

You can update to the new LUFA version manually by going to your local extensions folder %userprofile%\AppData\Local\Atmel\AtmelStudio\7.0\Extensions and then looking in the randomly named folders for the LUFA extension. The source files for the wizard are in contents.zip. The latest version zip file has all the same files one folder down. So if you change the latest version's zip folder structure to match contents.zip and do a save and rename the latest version will get picked up when you create a project.

 

If you do this it's best to check Dean's release notes to make sure file structures are OK - they were for my 32u4 CDC / HID composite driver.  LUFA Library: Project Changelog (fourwalledcubicle.com)

Andy  

Hardware and Software Design, Arduino, AVR, c, c++, c#

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Thanks for this information.  I will update my version per your instructions.

Take care -

Jim

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Jim

The warning about changed files - specifically the CCID class driver mentioned in the change log - may cause some issues when creating a project from scratch. My testing was against a pre-existing project that I updated. I have opened a github issue with Dean so, I hope, we'll have an official solution https://github.com/abcminiuser/lufa/issues/169 

Andy

Hardware and Software Design, Arduino, AVR, c, c++, c#