AVR Studio 5 and Extensions

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

Got a tip from someone on the development team concerning extensions. If an extension is generic enough it can be installed but there is a trick to get it to work;

I tried it on a couple of extensions, a code snippet browser and the Theme Manager. The code snippet editor was to rigidly coded to be of any use but the Theme Manager worked great.

The trick:
1) Go to the MS Extension Gallery and search for the Theme Editor and download it.
2) Open it up with a Zip program, I used IZArc but any Zip program will work.
3) With a text editor open the extension.vsixmanifest file.
4) Replace the SupportProducts tag with the following;

   
      AvrStudio
    

5) Save the file, exit the Zip application.
6) Double click the VSIX file and voila!

It took a little research because the person that turned me on to this told me wrong but he did get me motivated since I knew it could be done.

My turn to return to the community.

[Update]
I got two very nice extensions to work in AS5;
1) Productivity Power Tools
2) Ultra Find

Productivity Power Tools:
I got this to work the other day but didn't know how I got it to work and it would not allow me to modify options but today I found out how I got it to work and can now modify options. This is a must have extension.

This is for Windows 7 but should be similar on XP
1) Download the extension from here http://visualstudiogallery.msdn.microsoft.com/d0d33361-18e2-46c0-8ff2-4adea1e34fef/
2) Navigate to C:\Users\\AppData\Local\Atmel\AvrStudio\5.0\Extensions
3) Create a folder "Productivity Power Tools"
4) Unzip the contents of the .vsix file into the newly created folder.
5) Edit the extension.vsixmanifest file as described above.
6) Start AS5 and goto the Extension Manager and there should be a listing there for the Productivity Power Tools and if it is not enabled enable it and restart AS5.

Ultra Find is a little more complicated and if y'all are interested I will post a solution on my site in the forum later this afternoon.

Also if you have any other extensions you would like and can't install let me know and I will see what I can do.

Happy Trails,

Mike

JaxCoder.com

Last Edited: Tue. Mar 8, 2011 - 04:03 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Oops, CP escaped the IsolatedShell tag :(. Glad that you figured it out yourself.

Regards

Senthil

 

blog | website

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

I cheated and downloaded the VSIX Explorer plugin and did it that way. It took a while to figure it out but it was worth it. I got the Theme Manager to work and I have some others I want to look at.

Happy Trails,

Mike

JaxCoder.com

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

The ExtensionManager is now up and running. We have our own online gallery for AVRStudio 5. For now two extensions can be downloaded, ColorTheme let you change color themes for Studio, AnkhSVN adds support for Subversion source control.

We do not currently have any public upload possibility.
Start Extension Manager from icon on main toolbar or from under Tools menu. Select Online Gallery

Lars K

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

Lars,

Nicely done thank you.
I have used AnkhSVN for quite a while and it will be a nice addition.
Somehow I got Productivity Power Tools to load but in the Options Property window I get "Enabling and disabling individual extensions is only supported when the Productivity Power Tools are installed in the [er-user location." I worked trying to track it down but there isn't much info on this error.

Happy Trails,

Mike

JaxCoder.com

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

You might have to ensure the AllUsers tag are set to false or removed completely:
False

Next step might be to write your own extensions:
http://msdn.microsoft.com/en-us/vstudio/ff677564

A bit further down the road we will document how to do this and how to access the debugger.

Lars K

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

Lars,

Thanks I'll try that.
I've wrote addins in the past and I started to code an extension last night just playing around. I have a few ideas I want to try out.

[Edit]
I failed to mention AnkhSVN works great. Cudos
[/Edit]

Happy Trails,

Mike

JaxCoder.com

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

Trym wrote:

The ExtensionManager is now up and running. We have our own online gallery for AVRStudio 5. For now two extensions can be downloaded, ColorTheme let you change color themes for Studio, AnkhSVN adds support for Subversion source control.

Let me see if I get this right:

- I know that Visual Studio can be augmented with plug-ins (as most other modern IDEs can). It seems, for technical reasons, that there is no easy way to add plug-ins available for MS Visual Studio to the (Visual Studio-based) AVR Studio, but instead AVR Studio users will have to be content with what you at Atmel decide to put up in your online gallery. Is this correct?

- If so, how are you planning to select what plug-ins to display in the gallery?

As of January 15, 2018, Site fix-up work has begun! Now do your part and report any bugs or deficiencies here

No guarantees, but if we don't report problems they won't get much of  a chance to be fixed! Details/discussions at link given just above.

 

"Some questions have no answers."[C Baird] "There comes a point where the spoon-feeding has to stop and the independent thinking has to start." [C Lawson] "There are always ways to disagree, without being disagreeable."[E Weddington] "Words represent concepts. Use the wrong words, communicate the wrong concept." [J Morin] "Persistence only goes so far if you set yourself up for failure." [Kartman]

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

The online gallery is a repository of extensions and addins that have been contributed by users and companies.

As an example if I write an extension to create and manage code snippets I would upload it to the gallery and it would then be available to all users.

Happy Trails,

Mike

JaxCoder.com

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

...but for now uploading extensions to AVRStudio 5 is not enebeled.

Lars K

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

JohanEkdahl wrote:
Let me see if I get this right:

Johan, don't you think you are wasting your time? The Studio guys have long made up their mind, and ignored any suggestions that were against their religion. They will pull through, without making any prisoners.

Stealing Proteus doesn't make you an engineer.

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

Quote:

Let me see if I get this right

Hey Atmelians (of the greatest cross-country-skiing nation)! Those where honest questions - care to comment?

As of January 15, 2018, Site fix-up work has begun! Now do your part and report any bugs or deficiencies here

No guarantees, but if we don't report problems they won't get much of  a chance to be fixed! Details/discussions at link given just above.

 

"Some questions have no answers."[C Baird] "There comes a point where the spoon-feeding has to stop and the independent thinking has to start." [C Lawson] "There are always ways to disagree, without being disagreeable."[E Weddington] "Words represent concepts. Use the wrong words, communicate the wrong concept." [J Morin] "Persistence only goes so far if you set yourself up for failure." [Kartman]

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

JohanEkdahl wrote:

Hey Atmelians (of the greatest cross-country-skiing nation)! Those where honest questions - care to comment?

Atmel intends to make AVR Studio the best development environment there is :)
This includes letting third parties develop plugins for the front and backend.

Going forward, I think AVR Studio will closely follow the functionality and platforms provided by the Microsoft Visual Studio Isolated Shell. Microsoft has some plans for providing a marketplace for extensions (appstore?), and it would be great to have something similar for AVR Studio.

I don't think Atmel has the resources to validate every extension uploaded to the Gallery, so I expect the Gallery to open up for public upload after we test it some more.

-dan
Disclaimer: this message is a cowboys' view of things. Decision makers may see this differently.

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

Quote:

Atmel intends to make AVR Studio the best development environment there is

Oh, so you are going cross-platform, after all? AS6 in the makings already? :evil:

As of January 15, 2018, Site fix-up work has begun! Now do your part and report any bugs or deficiencies here

No guarantees, but if we don't report problems they won't get much of  a chance to be fixed! Details/discussions at link given just above.

 

"Some questions have no answers."[C Baird] "There comes a point where the spoon-feeding has to stop and the independent thinking has to start." [C Lawson] "There are always ways to disagree, without being disagreeable."[E Weddington] "Words represent concepts. Use the wrong words, communicate the wrong concept." [J Morin] "Persistence only goes so far if you set yourself up for failure." [Kartman]

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

Firstly let me say I am very pleased with the new version of AVR Studio and IMHO Atmel made a wise decision using the MS Visual Studio Isolated Shell as it base platform as it is highly extensible.

Developers are going to create extensions for the new platform and make them available somewhere, whether it be on the Gallery site or one created by users.
Does Atmel have to validate every extension? I don't think that MS validates all the Extensions that it makes available in the Gallery. Could you not instead have some sort of an endorsement policy where certain ones are validated and all others are "Use at your own risk"?

I for one plan on taking advantage of the new platform by creating frontends, backends and writing tutorials instructing other how to do the same.

Thank you for all the hard work and as we say here in the south "you done good". :)

Happy Trails,

Mike

JaxCoder.com

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

Hi Mike,

Thank you for sharing your efforts. You seem to know Visual Studio more deeply than I do, so maybe you can help just a few bits more:

mike32217 wrote:

Productivity Power Tools:

1) Download the extension from here http://visualstudiogallery.msdn.microsoft.com/d0d33361-18e2-46c0-8ff2-4adea1e34fef/
2) Navigate to C:\Users\\AppData\Local\Atmel\AvrStudio\5.0\Extensions

JUst a note: On my XP machine, the folder is (at least the closest matching:-) ):
C:\Documents and Settings\\Application Data\Atmel\AvrStudio\5.0\Extensions\Productivity Power Tools

mike32217 wrote:

3) Create a folder "Productivity Power Tools"
4) Unzip the contents of the .vsix file into the newly created folder.

I didn't even had the extensions folder there: I do have one in C:\Program Files\Atmel\AVR Studio 5.0\extensions\Productivity Power Tools. Not sure which is the right place. Anyway, how do you do the step 4? Maybe I need a MS version of Visual Studio installed to be able to do that?

Cheers,

Juha

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

Juha,

On an XP machine the correct folder is C:\Documents and Settings\\Local Settings\Application Data\Atmel\AvrStudio\5.0\Extensions

I had to try a couple of unzip utilities before I found one that would do it and I believe it was 7Zip that finally worked.

Good luck,
Mike

Happy Trails,

Mike

JaxCoder.com

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

Thank you! also, thank you for tipping me to 7Zip - I guess that will be handy in the future many times. Installing to the user directory didn't work for me, but putting it in the C:\Program Files\Atmel\AVR Studio 5.0\extensions directory did the trick.

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

Glad it worked for you I'll make a note of the folder for future reference.

Enjoy!

Happy Trails,

Mike

JaxCoder.com

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

Good work guys.
Please note that the AVR Studio 5 installer will not remove this for you, if you ever decide to uninstall AVR Studio 5, also this makes the extension global for that machine. Head over to Microsoft and the extensibillity forums and user documentation for more on this

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

OKB,

Good observation I hadn't really considered that since I've got VS2008, VS2010 and now AS5 on my machine.
Users that install extensions should be aware of this and as always install extension in this manor at your own risk but also know that as a result they will need to uninstall manually if they decide to remove AS5.

Thank you for your input.

Happy Trails,

Mike

JaxCoder.com

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

I've built a simple hello world extension. http://visualstudiogallery.msdn....

This is how I did it.

Not rocket science.

http://flakelabs.com/2011/03/avr...

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

Not sure if this went through.
I've built a hello world example.
http://visualstudiogallery.msdn....

This is how I did it.
http://flakelabs.com/2011/03/avr...

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

Not sure what you mean by went through?

It's on the Gallery site and available for download but is not available from within AS5. I don't think they've set it up for us to add extensions yet.
I believe they want to stabilize the IDE before introducing any more potential problems, which is understandable.

Good job though!

Happy Trails,

Mike

JaxCoder.com

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

I also got this to work with the VsVim extension. In fact, you don't need to replace the entire SupportedVersions section. You can just add the

AvrStudio

as a child element of the SupportedVersions section, and the installer will run just fine, with AVR studio showing up in the list of programs with which to integrate the extension. It's nice having the VsVim capabilities in AVR studio directly, and not having to use the external gvim editor and switch back to AVR studio 4 to build/run/install/debug.

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

shadyproject wrote:
I also got this to work with the VsVim extension. In fact, you don't need to replace the entire SupportedVersions section. You can just add the
AvrStudio

as a child element of the SupportedVersions section, and the installer will run just fine, with AVR studio showing up in the list of programs with which to integrate the extension. It's nice having the VsVim capabilities in AVR studio directly, and not having to use the external gvim editor and switch back to AVR studio 4 to build/run/install/debug.

Good glad you got it to work.

When I first posted this tip I had some experience with extensions but not much but since then I have been developing an extension and have learned a lot about them and your right you don't need to replace the whole section. And as with the Productivity tools you don't even have to invoke the vsix file just unpack/unzip it into a directory in the correct place and it will work.

Happy Trails,

Mike

JaxCoder.com

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

This is the instruction for the other way around:
http://flakelabs.com/2011/03/avr...

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

Thanks I've ran across that link recently. I am working on 2 extensions and will be releasing one of them Monday April 18th see http://jaxcoder.com/.

Happy Trails,

Mike

JaxCoder.com

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

Your "Hobbyist Electronic Inventory System" looks interesting. I will take a look.
If I would want to build a VS C# preprocessor extension, or AVR Studio 5 ASM preprocessor extension, would lower link put me on the start up track?
http://www.atalasoft.com/cs/blogs/dterrell/archive/2009/01/12/extending-wix-preprocessing-getting-at-the-wix-source-as-a-preprocessor-with-reflection.aspx

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

I take it you would like to create an extension to do some preprocessing before a build is done. It looks like the article you linked to would be a good place to start. I'm not sure how sophisticated you plan on making it but the VS Shell is very powerful and you will be able to do just about anything you want but the more sophisticated the more knowledge of the inner workings is required. I recommend this site[url] http://dotneteers.net/blogs/dive... he is thorough and provides many examples.

Happy Trails,

Mike

JaxCoder.com

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

You take it correctly. Thanks for the tip.

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

Thank you for an interesting discussion..
Can one of you guys develop an extension integrating AvrDude with AVR Studio 5?
Currently they can be united with Tools->External Tools, but there is no way to pass device info (-p tag) to AVR Dude from studio5.

I couldn't do it myself since I don't VS 2010 Professional version which is required for Visual Studio 2010 SDK

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

mvadu wrote:
Thank you for an interesting discussion..
Can one of you guys develop an extension integrating AvrDude with AVR Studio 5?
Currently they can be united with Tools->External Tools, but there is no way to pass device info (-p tag) to AVR Dude from studio5.

I couldn't do it myself since I don't VS 2010 Professional version which is required for Visual Studio 2010 SDK

I don't have the time right now and it may be a while but will look into it for a future project.

Happy Trails,

Mike

JaxCoder.com

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

Hi Everyone,

Does any of you know how to force the newest AnkhSvn (2.3.1., built on Subversion 1.7) to work with AVR Studio 5? I've tried the approach presented here for Productivity Power Tools, but it didn't work. AVR Studio extension manager doesn't list AnkhSVN 2, even though I copied the whole AnkhSvn 2 folder into "extensions" subfolder and then I edited extension.VsixManifest file in the same way I did for Productivity Power Tools.
Is there any way to make it work before Atmel publishes official "AVR Studio 5 version"? If the ever will.

I've already upgraded many of my working copies to 1.7 format with TortoiseSVN, which makes it impossible for previous AnkhSvn version to handle them properly.

Engineering design triangle:
Fast, cheap, good. Choose 2 of the above

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

Unfortueately I'm on the road and won't be back home to my computer for a couple more weeks but will look into it then.

Happy Trails,

Mike

JaxCoder.com

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

I have the same problem as paranoid__android and would appreciate any hints how how to get AnkhSVN 2.3 working in AVR Studio 5.

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

So, has anyone got it working? Anyway, SVN 1.7 is out there for some time now, I would expect CollabNet to release upgraded AnkhSvn soon. But what if they won't?

Engineering design triangle:
Fast, cheap, good. Choose 2 of the above

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

paranoid__android
where are you having problems; installing, running,...?

Happy Trails,

Mike

JaxCoder.com

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

Any update on how to get AnkhSVN working with SVN 1.7?

I've installed AnkhSVN 2.2 in AVR Studio 5 using the Extension Manager. When I open a project/solution under version control (SVN 1.7) I get the error message

Quote:
Subversion detected an unsupported working copy version [...] Most likely AnkhSVN will not work correctly [...]

System: Windows 7 x64
Subversion: V1.7.1
TortoiseSVN: V1.7.1
AVR Studio 5: V5.0.1163
AnkhSVN Extension: V2.2

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

It's because this great envronment has'nt got the update of AnkhSVN 2.3 yet.

You're using a newer version of TortoiSVN

At least, thats what i guess, cause i have the same problem since installint a new version of Tortoi SVN.

But even more i'am worried about not able to install the new 2.3 version von AnkhSVN. If i download it from the developers page an install it the normal windows-way, its not installed in Studio 5.

I guess this it because its not visual Studio but derivate.

Can somebody integrate the new version(2.3.10509.1073) in the extension manager?

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

Has anyone got this working on AtmelStudio 6? I'd like to get SVN integrated with my project but it doesn't look like this can be setup without a little manual work still.

I'm running windows 7 but my paths are a bit different.

For one thing, I don't have:

Quote:

2) Navigate to C:\Users\\AppData\Local\Atmel\AvrStudio\5.0\Extensions

I do have this path which looks promising:

C:\Program Files (x86)\Atmel\Atmel Studio 6.0\extensions

but before I experimenting, I'm wondering if anyone has this working in AS6.

-Walt

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

walt0x007 wrote:
Has anyone got this working on AtmelStudio 6?

I have it, i.e. AnkhSVN 2.3. working on Atmel Studio 6 now. I've installed it through Extension Manager and it works just fine with working copies in svn 1.7 format.
So, my previous posts are out of date now.

walt0x007, you don't have to copy anything manually to some specific folder anymore. Just check the Extension Manager->Available Downloads.

Engineering design triangle:
Fast, cheap, good. Choose 2 of the above

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

Thanks for the help with this, I got it working right after you posted it and haven't been back here since... It was the ->Available Downloads I didn't see. The AnkhSVN makes the source control so much easier.