No Pack is defined, but how to add it? (All buttons grayed out)

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

I've cloned a project for the SAMD20. 

When I try to build it in Microchip Studio V 7.0.2452, I get the error:

samd20.h: No such file or directory

The Device Pack Manager says that the SAMD20_DFP is up to date (SAMD20_DFP v 1.3.165).

But when I check the Project => Properties => Packs page, I see that it's blank -- that's probably the problem!

But here's the kicker: all buttons and fields are grayed out, so I don't see how to add the pack.

 

What am I missing?

 

This topic has a solution.

- rdp

 

Last Edited: Thu. Jun 2, 2022 - 07:58 PM
This reply has been marked as the solution. 
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Solved.  The issue was not with Project => Properties => Packs, but rather with Project => Properties => Toolchain => ARM/GNU C Compiler => Directories.

 

One of the items in the directories list was:

 $(PackRepoDir)\Atmel\SAMD20_DFP\1.3.124\samd20\include

but on the local environment has been updated and the SAMD20_DFP directory is now:

 $(PackRepoDir)\Atmel\SAMD20_DFP\1.3.165\samd20\include

The build completed successfully after updating that item in the directories list.

 

- rdp