What are external dependencies for ASF4 project?

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

Working in Atmel Studio using ASF4 for SAM E70 . Looking into the properties file there are only 3 dependencies for the ASF4 project : libm library, CMSIS and SAME70_DFP packs .

Those packs can be kept if the new versions breaks the execution . But where is libm pulled in from? Would be good to keep it archived too.

Are there any other dependencies I overlooked?

This topic has a solution.
Last Edited: Fri. Nov 29, 2019 - 06:26 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

May be I should clarify my question to be better understood.

Are there external dependencies to the ASF4 project which are not loaded to the project folder? libm is one, anything else? I think CMSYS and SAME70_DFP  loaded to the user project folder, right?

So there are no other dependencies outside of the project folder except libm  for a successful build?

Last Edited: Thu. Nov 28, 2019 - 10:38 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I never had reason to look but I think the "Dependencies" (or look in all .d files) and all paths in the .map should cover it. In the .map you will find more libs than libm from the toolchain, e.g., for me

c:/program files (x86)/atmel/studio/7.0/toolchain/arm/arm-gnu-toolchain/bin/../lib/gcc/arm-none-eabi/6.3.1/thumb/v6-m\libgcc.a and libc_nano.a

/Lars

 

This reply has been marked as the solution. 
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Thank you Lajon, you pointed me in right direction.

I was looking into the "dependencies" directory before building the project because the archived copy of the project directory is copied "clean", but the dependencies are shown only after the build. Now I researched all the dependencies after the project has been built and here is a complete list of the dependencies to keep along with a working project:

 

  1. The toolchain libraries from the Atmel Studio 7 installation directory (c:\program files (x86)\atmel\studio\7.0\toolchain\arm\arm-gnu-toolchain\*)
  2. A particular version of the device family pack (C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\SAME70_DFP\2.4.166\same70b\*)
  3. A specialized library pack I don't have at the moment but could be needed...
  4. ASF4 library HAL, HPL and HRI in the main project folder
  5. Middleware libraries in the main project folder ( USB, FATFS, etc...)
  6. User created or updated files in the main project folder

 

Keeping all above versions guarantees that project will not be broken. This information could be kind of deducted from the Microchip ASF4 docs ( the ASF4 "architecture" diagrams?) but it was not boiled down to the actual files to keep with project until after this research. Or put it in other words - what files are pulled in to the building process and from what locations...

If  somebody sees something missing in the above list, please let me know.

Thanks for help.

Last Edited: Fri. Nov 29, 2019 - 06:39 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

how to delete this post?

Last Edited: Fri. Nov 29, 2019 - 06:38 PM