Hot!How to copy project from mla to workspace

Author
ter2
New Member
  • Total Posts : 7
  • Reward points : 0
  • Joined: 2016/03/14 03:34:06
  • Location: 0
  • Status: offline
2017/09/08 05:23:27 (permalink)
0

How to copy project from mla to workspace

Hi to all,
 
I'm starting to use USB framework to realize a USB-to-UART converter.
 
I use CDC-Basic example as base for my project, but I want to leave unaltered the original project.
 
How can I copy the project ( and all source code) from MLA folder to my workspace folder ( right click on project name -> Copy... doesn't work)?
 
Thanks to all.
#1

9 Replies Related Threads

    katela
    Super Member
    • Total Posts : 474
    • Reward points : 0
    • Joined: 2013/06/11 05:25:18
    • Location: South Africa
    • Status: online
    Re: How to copy project from mla to workspace 2017/09/08 05:35:22 (permalink)
    +1 (1)
    You must package the project. Right click project name and select package. You'll have the path to all your files.
    You can follow this guide: Package a Project Into a Zip File
    post edited by katela - 2017/09/08 05:37:33

    Free online Microcontroller Tutorials and Projects for Hobbyists and students. From beginners to advanced. Website: www.studentcompanion.co.za
    Youtube Tutorials: http://www.youtube.com/user/StudentCompanionSA/videos
    #2
    ter2
    New Member
    • Total Posts : 7
    • Reward points : 0
    • Joined: 2016/03/14 03:34:06
    • Location: 0
    • Status: offline
    Re: How to copy project from mla to workspace 2017/09/08 06:15:08 (permalink)
    0
    HI katela,
     
    Tanks for your quick reponse!
     
    If I make a package and I obtain a zip file. But how can I have I working project in my workspace from that zip file?
    #3
    katela
    Super Member
    • Total Posts : 474
    • Reward points : 0
    • Joined: 2013/06/11 05:25:18
    • Location: South Africa
    • Status: online
    Re: How to copy project from mla to workspace 2017/09/08 06:25:47 (permalink)
    +1 (1)
    You just extract that zip file to your chosen location.

    Free online Microcontroller Tutorials and Projects for Hobbyists and students. From beginners to advanced. Website: www.studentcompanion.co.za
    Youtube Tutorials: http://www.youtube.com/user/StudentCompanionSA/videos
    #4
    ter2
    New Member
    • Total Posts : 7
    • Reward points : 0
    • Joined: 2016/03/14 03:34:06
    • Location: 0
    • Status: offline
    Re: How to copy project from mla to workspace 2017/09/08 09:57:14 (permalink)
    0
    Thanks, it works!
     
    The only strange things is this error:
    ../../../../../../bsp/pic18f87j50_pim/leds.c:186: advisory: (1510) non-reentrant function "_LED_Enable" appears in multiple call graphs and has been duplicated by the compiler
     
    In the output I have some of this errors for different functions.
    Do you know this issue?

    Anyway thanks for your help!
    #5
    CinziaG
    rome burns :D
    • Total Posts : 3135
    • Reward points : 0
    • Joined: 2016/12/07 14:20:36
    • Location: Wien
    • Status: offline
    Re: How to copy project from mla to workspace 2017/09/08 10:29:50 (permalink)
    +1 (1)
    You should face this warning ever since a cople of revisions back of the compiler: it tells you that a function used in both "normal" code and "interrupt" code has been duplicated.
    #6
    ter2
    New Member
    • Total Posts : 7
    • Reward points : 0
    • Joined: 2016/03/14 03:34:06
    • Location: 0
    • Status: offline
    Re: How to copy project from mla to workspace 2017/09/09 06:19:23 (permalink)
    0
    Hi CinziaG, thanks for your post.
     
    So I must update my XC8 compiler to resolve this warning.
     
    There is a procedure to update the installed compiler or I must unistall the previous version and install the new one?
     
    #7
    CinziaG
    rome burns :D
    • Total Posts : 3135
    • Reward points : 0
    • Joined: 2016/12/07 14:20:36
    • Location: Wien
    • Status: offline
    Re: How to copy project from mla to workspace 2017/09/09 06:24:51 (permalink)
    0
    Yes, you can update your compiler: just download and launch new installer, and you can keep them both. After that, check that you're using the new one.
     
    AFAIK, anyway, the warning stays there since it's "an alert" for the user, so to say.
    #8
    qhb
    Superb Member
    • Total Posts : 5818
    • Reward points : 0
    • Joined: 2016/06/05 14:55:32
    • Location: One step ahead...
    • Status: online
    Re: How to copy project from mla to workspace 2017/09/10 00:03:14 (permalink)
    +2 (2)
    ter2
    ... 
    So I must update my XC8 compiler to resolve this warning.
    ...

    No, you are getting that warning because you DO have a newer compiler.
    Later upgrades will NOT remove it.
     
    It is just an advisory, letting you know about something that XC8 has always done, but did not previously tell you it was doing it.
    It happens when you call a non-re-entrant function from both non-interrupt code, AND from inside an interrupt service.
    Because XC8 uses a "compiled stack", it must create a second version of the function to handle this.
     
    It can be useful to review your program logic, and determine if it really is necessary to call it at both levels.
    Often it is an indication that you are trying to do too much inside an ISR.
     
    Once again, it is NOT an error, just an advisory.
     
    #9
    ter2
    New Member
    • Total Posts : 7
    • Reward points : 0
    • Joined: 2016/03/14 03:34:06
    • Location: 0
    • Status: offline
    Re: How to copy project from mla to workspace 2017/09/13 00:21:16 (permalink)
    +1 (1)
    thanks qhb.
     
    qhb
    Once again, it is NOT an error, just an advisory.

    ok.
    qhb
    It can be useful to review your program logic, and determine if it really is necessary to call it at both levels.
    Often it is an indication that you are trying to do too much inside an ISR.

     
    The code is the USB CDC-Basic example of msl v2017_03_06. I will examine it to find the source of this warning.
     
     
    #10
    Jump to:
    © 2017 APG vNext Commercial Version 4.5