Arducopter v2.9: Visual Studio 2010?

Hi Guys,

I have bought the Arducopter kit, and uploaded the v2.9.1 version of code. However, I want to edit the code at quite a few places for my own project with it.

I have used Visual Studio before with APM, however it seems that v2.9 requires a modified version of Arduino Environment, and the support for Visual Studio just isn't there (i.e. I am unable to open this project to compile on VS 2010).

Any help with this?

Thanks,

Shyam.

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • I already have it, but from where to get the HAL?

  • Dear, did you figured a solution to build the hex on visual studio?

    any tutorial?

  • Visual Studio does work with the standard Arduino 1.0.3.

    The current codeplex version provides project properties that enable you to specify compiler defines. + The alpha version for Teensy (codeplex downloads list) provides a number of features that allow you to add additional compiler and linker syntax.

    If you need something else then let me know and I will add the option to the next release. If you want to see what the Arduino IDE is doing during compile then switch on "File>Preferences>Verbose Compile" and then compile. Post the output in the VM forum thanks.

    If you have problems, then in the meantime you can code in VS and compile/upload using your own version of the Arduino  IDE. In the Arduino IDE there is a checkbox on the File>Preferences window called "External Editor". Tick the checkbox to put Arduino into read-only mode. In this mode it will re-load the sketch source from disk prior to compile. This means that you can have the same sketch open in both VS and Arduino at the same time. Edit in VS, upload in Arduino (as per Johns suggestion).

    ps: The teensy alpha version is the standard arduino plugin for Visual Studio. It's just called something different to stop thousands of people downloading it when first released. It's stable so okay to use.

  • Developer

    Most importantly, the VC compiler does not know how to make 8-bit atmega code. You need to compile using AVR-GCC.

    To open and edit Arduino projects using VC2010 have a look at http://www.visualmicro.com/

This reply was deleted.

Activity

DIY Robocars via Twitter
RT @gclue_akira: 柏の葉で走行させてるjetracerの中身 #instantNeRF #jetracer https://t.co/giVvuE4hP7
Jul 4
DIY Robocars via Twitter
Cool web-based self-driving simulator. Click save when the AI does the right thing https://github.com/pncsoares/self-driving-car
Jul 4
DIY Robocars via Twitter
RT @donkey_car: Human-scale Donkey Car! Hope this makes it to a @diyrobocars race https://www.youtube.com/watch?v=ZMaf031U8jg
Jun 25
DIY Robocars via Twitter
Jun 25
DIY Robocars via Twitter
Jun 16
DIY Robocars via Twitter
RT @GrantEMoe: I won my first @diyrobocars @donkey_car virtual race! Many thanks to @chr1sa @EllerbachMaxime @tawnkramer and everyone who m…
Jun 13
DIY Robocars via Twitter
RT @gclue_akira: JetRacerで自動走行したコースを、InstantNeRFで再構築。データセットは別々に収集 #jetracer #instantNeRT https://t.co/T8zjg3MFyO
Jun 13
DIY Robocars via Twitter
RT @SmallpixelCar: SPC 3.0 Now the motor also works. This car is doable. I just need to design a deck to mount my compute and sensors. http…
Jun 13
DIY Robocars via Twitter
RT @SmallpixelCar: My new car SPC 3.0. https://t.co/CKtkZOxeNQ
Jun 7
DIY Robocars via Twitter
RT @SmallpixelCar: High speed at @diyrobocars thanks @EdwardM26321707 for sharing the video https://t.co/o4317Y2U1S
Jun 7
DIY Robocars via Twitter
RT @SmallpixelCar: Today at @RAMS_RC_Club for @diyrobocars. Used @emlid RTK GPS and @adafruit @BoschGlobal IMU. Lap time 28s https://t.co/R…
May 28
DIY Robocars via Twitter
May 15
DIY Robocars via Twitter
May 14
DIY Robocars via Twitter
May 13
DIY Robocars via Twitter
RT @f1tenth: Say hi to our newest #F1TENTH creation for @ieee_ras_icra next week in Philly. It’s going to be huge! 😎 🔥 @AutowareFdn @PennEn…
May 13
DIY Robocars via Twitter
May 11
More…