Is there a folder to include libraries like in Arduino platform?

Go To Last Post
5 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0


Hello,

 

I've been doing custom coding for things in the Arduino platform, and I was trying to not use Arduino libraries, because I wanted to program pretty much everything myself, which is a good practice to learn the basics of programming microcontrollers.

 

But now, I reached to a level where I realized that I really have to split things to their proper place, so all my custom libraries is moved to AS7 area. And if I want to do something in Arduino then I have to use Arduino libraries.

 

Also AS7 supports C/C++ coding, so it's actually pretty much the same way is done in Arduino, except that Arduino has its own header files and core libraries.

 

 

So, the paths in Arduino, are:

1. "libraries" folder which contains all the custom libraries.

2. Other paths are just for AVR/Arduino structure libraries which is in "hardware" folder.

 

Now, I moved the folder which has the codes that I've been working and practicing on. My coding is of course not very robust and build on solid programming skills, but it's mainly for learning/practicing. Now I want to upgrade my learning curve and specify my programming in AS7 and Arduino IDEs.

 

 

My question now is that, where is the location in AS7 that I can put all my collection of libraries to be called in any project I do in AS7?

 

This is AS7 installation folder, I don't know which is the folder to put the libraries in:

 

This topic has a solution.

Last Edited: Wed. May 8, 2019 - 12:33 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 1

As7 looks in your project folder by default for any include files, but you can add a path if you want to have a separate folder. You don’t place your files in any of AS7s folders as they may change as you update AS7.
.
Jim

 

(Possum Lodge oath) Quando omni flunkus, moritati.

"I thought growing old would take longer"

 

This reply has been marked as the solution. 
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 1

You keep your stuff in your own folders, as AS7s folders may change when updates are added.
Normally you can place all files in your project folder or separate them in your project tree and add a path to them in your includes.

Jim

 

(Possum Lodge oath) Quando omni flunkus, moritati.

"I thought growing old would take longer"

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

ki0bk wrote:
You keep your stuff in your own folders, as AS7s folders may change when updates are added. Normally you can place all files in your project folder or separate them in your project tree and add a path to them in your includes. Jim

 

So, for example, I can put all my libraries folder in any place in my HDD partition, or maybe also in Microsoft OneDrive folder that is synchronized online continuously? And put that folder as a path for the include files in my AS7 project.

 

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0


I moved the Atmel Studio folder to Microsoft OneDrive folder.

 

Then, I sat up the setting folder to -> 7.0 -> Profiles .. etc.

Then I found this, which of course is the settings to my project location, but I didn't understand the other destinations.

 

 

What is project template and item template? And how to get advantage of them?