Arduino IDE to Atmel Studio - Possible????

Dear friends,
Hello,

I have recently completed my project with Arduino Mega. Now, I would like to go for a PCB design with ARM processor to make project more robust. I would like to use Atmel Studio. Here are my questions:

  1. Can i compile the same arduino code in Atmel??

  2. If possible, can i use Arduino libraries such as SPI, SD ect in Atmel Studio???

  3. What is the easiest way to transfer my Arduino IDE's code to work in Atmel Studio so that i can upload this new sketch in ARM processor(SAM 3X)

Please guide me !!

Thanks and regards,
Omkar

If you where using an AVR then Yes, mostly, The IDE puts in some code for you such as function prototypes which you would need to do you self.

As you want to use the SAM chips you will need to make other changes.

Mark

Can anyone explain with an example how to do it??

Is there any blog/example who has already done?

Please guide me !!

omkardokur:
I would like to go for a PCB design with ARM processor to make project more robust.

How will this make the project more robust?

What is unsatisfactory about the Atmega processor?

...R

It has low RAM-8KB , Low processing speed - 16 MHz

omkardokur:
It has low RAM-8KB , Low processing speed - 16 MHz

Neither of these has anything to do with robustness.

If something works properly within the constraints of an Atmega2560 it won't work any better on on a bigger/faster microprocessor.

...R

did you try visual micro ? I think it works with atmel studio. You can compile arduino projects without any modification.

I am working with Visual micro now !!

Thanks

hi!
I don't know if this is the right place for this question or not; but im in a really critical situation.

i have installed visual studio 2013 professional and visual micro. when open vs2013 i see the arduino 1.0.x but at the box at right of it for board type selection is just empty. what might be the reason??