Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[SOLVED] How to Arduino Programming Language in Atmel Studio 6?

Status
Not open for further replies.

xpress_embedo

Advanced Member level 4
Joined
Jul 5, 2011
Messages
1,154
Helped
161
Reputation
396
Reaction score
189
Trophy points
1,353
Location
India
Activity points
10,591
Hello!!
I am new to Arduino, but i know that Arduino has lot of libraries with it for various complex process like ethernet, sd card interfacing etc.

But we can't use Arduino IDE to create big projects as it will become more complex in that IDE.

So i want to use Arduino Libraries, in Atmel Studio, is it possible to do so i dont have any arduino board with me, but some custom boards on AVR and just want to use take benefit from the arduino libraries.

In short i want to write code as per standard of Arduino Programming Language but wants to compile it in Atmel Studio 6.
I am having JTAG ICE3 with me to program my AVR Boards.

Please tell me how to do so.
 

as i know atmel studio dosent have capability of compiling arduino libs
if arduino support your target mcu(have a bootloader for it) i think you can program initial bootloader to it ,use atmel ide for writing codes(one of the bests for code writing), & then copy it to arduino & compile it.
or change arduino libraries to standard c/cpp lib for your atmel studio(i choose this but its a little longsome)
; )
 

Hello!! I find a software visual micro which combines with Atmel Studio or Visual Studio and can compile the programs written with arduino library.
Simple programs like led blink, uart display works perfectly, but i am having problem with the SD Card.
The program is not compiling please some one help me.

I am trying to compile a Code for Memory Card Interfacing but it is giving me following errors


MyClass.cpp:In file included from
MyClass.h:13:20: error: SD\SD.h: No such file or directory
MyClass.cpp:10: error: 'File' does not name a type
MyClass.cpp:In function 'void SETUP()'
MyClass.cpp:18: error: 'SD' was not declared in this scope
MyClass.cpp:26: error: 'myFile' was not declared in this scope
MyClass.cpp:26: error: 'SD' was not declared in this scope
MyClass.cpp:26: error: 'FILE_WRITE' was not declared in this scope
Error compiling

I am also attaching the code, please some one help.
I dont know why i am not able to include the SD.h file

View attachment SDCard.zip
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top