SimplePublish for SAM C21 Xplained Pro
...
Note |
---|
Windows is the only supported OS for the latest Atmel Studio 7. |
Tip |
---|
ASF is included in Atmel Studio 7 and does not require a specific download, but you can use the Extension Manager (Tools->Extension Manager) to update it. |
Prepare the SAM C21 Xplained Pro
...
- In the Soution Explorer window (right side), right click the folder src > Add > New Folder
- Name it sm_clib
- Right click the folder you just created > Add > Existing Item...
- Navigate to the C Library directory in the repository: sm_clib/sm_clib/
- Select all the .c and .h files, except those for the manager/wireless heart:
dn_ipmg.c/.h
dn_serial_mg.c/.h
dn_whmt.c/.h - Click the down-arrow next to Add and select Add As Link
- Repeat the same previous steps with an sm_qsl folder for the QSL (but this time, add everything in sm_qsl/)
Restart Atmel Studio and reopen your solution/project.
The two directories with the linked files will should now have been moved to a subdirectory with the same name as your project.Info If you don't restart, you will later see that building the project fails: Inspecting the autogenerated makefile unveils that Atmel Studio attempts to build object files for the linked files in the non-existing subdirectory. Attempting to correct the makefile is futile, as Atmel Studio overwrites any manual changes. This seems to be a bug that only happens with files that are added "... As Link", but does not seem to have any other effects than the need for a restart and tolerating the unnecessary sub-directory in the Solution Explorer.
...