Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Re: Imported Arduino project with Atmel start project not working (Read 1649 times)
RDs
Newbies
*
Offline


Posts: 6
Location: Latvia
Joined: Apr 16th, 2021
Re: Imported Arduino project with Atmel start project not working
Jun 3rd, 2021 at 10:32am
Print Post  
Bumping old topic to check if anything has changed in past 2 years.
Problem is pretty much the same. I previously used mpr121 for capacitive touch, but it's ADC has too low of a resolution and I needed a single chip solution that uses best capacitive tech possible. Also mpr121 is no longer produced. 
Currently entire project is running on visual micro and i am trying to get qtouch to work in visual micro by manually transferring project that has been made in microchip studio to visual micro. While I could get all dependencies in one place (folder structure is almost identical to arduino, by storing all the files in src folder), it seems like MS is relying to .cproj file to mark all the files that are included in project, then defining them as global dependencies while in visual micro you have to define every  dependency as ''local driver''.

In this example I would have to include "asf.h", as "src/asf.h", which means I would have to go through every file in entire directory and to the same. Is there any better way to transfer microchip studio project to visual micro? Looking for any options possible. Even if it costs me rewriting half of microchip functions using atmel methods. Would be thankful for any input on this.

  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Imported Arduino project with Atmel start project not working
Reply #1 - Jun 3rd, 2021 at 1:00pm
Print Post  
Hi

Asf is not part of the Arduino framework. The valid folders are root of project \src or any folder below \src. You can add additional include paths for .h files which would then resolve more easily but it can be very confusing to make use of that feature as it sits outside of the way Arduino works and only allows for .h files (not .c or .cpp)



  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint