Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.
Photo

Automated Build and Deploy


  • Please log in to reply
6 replies to this topic

#1 Brandon G

Brandon G

    Advanced Member

  • Members
  • PipPipPip
  • 92 posts
  • LocationVancouver BC, Canada

Posted 15 February 2011 - 06:45 PM

Hey guys, sorry if this has been posted before but I have yet to find it in my searches. I have a windows form app that is used to generate a configuiration file, I would then like to embed the config file as a resource in a netmf project and then do a build and deploy. I have seen similar things before when people try to use VB.NET instead of C# on microframework so i know its possible just wondering if anyone has already done this and wants to share the project. Think it would be a handy little library for everybody, also gets around the weak references issue with config files

#2 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 15 February 2011 - 11:30 PM

Hi Brandon, If you want to build your code at the command-line, follow the instructions in the following post: http://forums.netdui...ndpost__p__9459 For deployment, you'll need to use the MFDeployEngine (perhaps via PowerShell .NET scripting?). We're working on a command-line way to do deployment that MonoDevelop will use...you'll be able to use this in your own deployment scripts as well. That's a few months out though. [Basically, you just need to create a HEX file with your assemblies laid out properly--and omitting the ones that are on the device already--and then ask MFDeployEngine to deploy them. If you look at the "Netduino Update" console app in the Mono forum, the last part of that equation is provided for you. Chris

#3 Nevyn

Nevyn

    Advanced Member

  • Members
  • PipPipPip
  • 1072 posts
  • LocationNorth Yorkshire, UK

Posted 16 February 2011 - 07:45 AM

If you want to build your code at the command-line, follow the instructions in the following post:
http://forums.netdui...ndpost__p__9459

Just reading this post and the final paragraph states:

To run your Mono-compiled app, copy the resulting MonoNetduinoApp.pe file to a MicroSD card and insert it into your Netduino Plus (or use a shield on your Netduino or a MicroSD breakout board with your Netduino Mini). The MonoNetduinoBootloader app on your Netduino will then load the app automatically during powerup/restart.

Could this be used for application distribuation (it may answer this question: http://forums.netdui...ch__1#entry9395)?

Are there any limitations / known problems with using this as a method of distributing updates?

Regards,
Mark

To be or not to be = 0xFF

 

Blogging about Netduino, .NET, STM8S and STM32 and generally waffling on about life

Follow @nevynuk on Twitter


#4 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 16 February 2011 - 08:29 AM

Could this be used for application distribuation?

Yes, absolutely. You could even download updates over the Internet and put them on an SD card. And then load them in (or reboot and load in only the new firmware).

Are there any limitations / known problems with using this as a method of distributing updates?


Your code will be loaded into RAM and run from there...so it'll reduce available RAM somewhat.

Chris

#5 Klop

Klop

    Advanced Member

  • Members
  • PipPipPip
  • 49 posts

Posted 16 May 2011 - 04:03 PM

For deployment, you'll need to use the MFDeployEngine (perhaps via PowerShell .NET scripting?). We're working on a command-line way to do deployment that MonoDevelop will use...you'll be able to use this in your own deployment scripts as well. That's a few months out though.


Is it possible to use the command-line deployment now?

Thanks.

#6 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 16 May 2011 - 04:11 PM

Is it possible to use the command-line deployment now?

Yes, although the process is still in beta (and you might need to whip up a few lines of glue code). Check out the Mono forum for more details.

Chris

#7 Klop

Klop

    Advanced Member

  • Members
  • PipPipPip
  • 49 posts

Posted 16 May 2011 - 04:48 PM

Yes, although the process is still in beta (and you might need to whip up a few lines of glue code). Check out the Mono forum for more details.

Ok thanks I'll have a look there.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.