Importing Microchip (Atmel) Studio Project (ASF3)

Sysprogs forums Forums VisualGDB Importing Microchip (Atmel) Studio Project (ASF3)

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #37232
    Afsari
    Participant

    Hi,

    I have an existing Microchip Studio project for ATSAMD21 based on ASF3. It includes many subfolders as part of the project. Is there a way of importing it into VisualGDB?

     

    Thanks

    • This topic was modified 4 months, 2 weeks ago by Afsari.
    #37234
    support
    Keymaster

    Hi,

    Sure, normally you can just use the import mode in the Embedded Project Wizard. It will add the files from the existing folders into the project.

    You might need to manually translate additional settings (e.g. include directories/preprocessor macros), as we do not have an importing plugin that would automatically extract them from an Atmel Studio project.

    #37400
    Afsari
    Participant

    is there any guide for the import steps? there are many options and some of them are different from what it shows in the tutorials.

     

    This is the 2nd time I am trying to use this software and failing.

    #37401
    support
    Keymaster

    Hi,

    There will never be an import tutorial that will work exactly one-to-one with a particular project. There simply too many different project layouts, options, etc.

    A good starting point would be to understand the project structure, where different parts come from, and how they are related.

    If you have questions about a specific setting that is different between the GUI and the tutorials, we can help, but these differences are usually trivial.

    Another option would be to keep building the project in Atmel Studio, and use Quick Debug to debug it.

    #37402
    Afsari
    Participant

    Hi,

    Microchip/Atmel Studio project format is similar to other visual studio projects (XML) since Microchip Studio is a customized version of Visual Studio.

    This tutorial, uses Create Project at the beginning then does import later on. I tried to follow part of the steps but did not import, and decided to create a blank project for legacy device settings since I am using ASF3. The problem is that the newly created blank project fails to build, even though I did not touch a single line in the code.

     

    In another try, I decided to use Import instead Create a new. Obviously I cannot choose the option “Automatically import a project in a different format” since my project type is not listed among the options. So I chose the option “Import a project built with command-line tools” then the sub-option “Generate a Makefile-based project”. I went through the options until it gave me an unhandled error message at the end of the process !

    The reason I chose this import option because Atmel Studio generates makefile in the build folder so I thought it might be possible to use it for the import process.

    Thanks,

     

     

     

    Attachments:
    You must be logged in to view attached files.
    #37405
    support
    Keymaster

    No problem. A good starting point would be to make sure you can build the project from command line outside the Atmel Studio. Once it works, you can select “project built with command-line tools” and specify the command lines there.

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.