Add the AFEC Library Files to the Project

The afec.c and afec_dma.c files must be added to the project in order to use the getting-started example as a basis for the implementation. To add these files, follow the steps below:

  1. 1.Open the getting-started example by opening the getting-started.atsln file located in the ..\SAMV71_softpack_1.3_for_gnu_arm\Atmel\samv71_Xplained_Ultra\examples\getting-started\build\studio directory. Atmel Studio opens and the getting-started example is launched.
  2. 2.From the Solution Explorer window, deploy the libchip library directory:
  3. 3.Add an existing item to the project by right-clicking on the libchip directory and selecting Add>Existing Item...
  4. 4.Select the afec.c and the afe_dma.c files in \SAMV71_softpack_1.3_for_gnu_arm\Atmel\samv71_Xplained_Ultra\libraries\libchip_samv7\include and choose the option "Add as Link" from the open drop-down menu:
  5. 5.The files have now been added and are visible from the Solution Explorer window: