January 3, 2021 at 13:07 #29740
I am trying to create a Advanced cmake project for the Atmel SAME54p20A with freertos. After creating the atzip and importing it into visual studio I was then able to build and debug the application as expected. I then attempted to convert the BSP to a stand-alone project. This seems to have worked but i can no longer build the project. The errors im getting are that it can not find some Header files during the building process. I will attach the errors im seeing below. I did check the cmake file and it does seem to be including the files it thinks its missing. But given the amount of redirection used in the advanced cmake project files I maybe missing something.
Attachments:You must be logged in to view attached files.January 3, 2021 at 13:10 #29742
No problem, we should be able to investigate it if you could attach the .atzip file (please rename it to .zip to avoid attaching problems) and share the instructions to reproduce the problem (e.g. what to select in the wizard).January 3, 2021 at 17:22 #29745
I attached a link to the video showing the process. I will also attach the requested project.
I have had a few issues with the wizard as seen in the video, but I have found work arounds for them. I can remake the video showing the out put of the build, i didn’t realize it would cut my screen off like that at the time of recording.
Thank-you for the help.January 3, 2021 at 17:23 #29746January 3, 2021 at 17:27 #29749
Sorry about that. If the file is too large, would you be able to upload it to a file hosting service (e.g. DropBox) and share a link?January 3, 2021 at 18:30 #29750January 6, 2021 at 10:05 #29771
Thanks for the detailed repro steps. The problem was triggered by the BSP listing its own root directory as one of the include directories, so VisualGDB incorrectly overwrote the converted CMake rules file when copying the include directory contents.
We have fixed the issue in the following build: VisualGDB-126.96.36.19938.msi
Regarding other issues:
- The device display in the wizard is correct. VisualGDB shows all devices supported by the Atmel START framework with the download icon to hint that this device is supported. The specific device you have imported is shown with the lightning icon indicating that it is ready to be used right away.
- We have updated the logic responsible for detecting the main.c file. You should be able to create a project from the default template now, rather than creating an empty one. The rtos_demo_main.c will no longer appear as a part of the imported SDK.
- The SDK you shared did not contain a Makefile, so VisualGDB could not compute all relevant build flags from it. Please make sure you follow step 4 of the Atmel START tutorial so that VisualGDB can compute the precise build flags (such as FPU flags) when importing the SDK.
You must be logged in to reply to this topic.