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

How to compile the firmware without networking support (plus 2)


  • Please log in to reply
2 replies to this topic

#1 timothyp

timothyp

    Member

  • Members
  • PipPip
  • 24 posts

Posted 07 February 2015 - 07:57 AM

Following the information in this page (more or less as it's a bit old)

 

I compile the firmware using msbuild and the following arguments:

msbuild Solutions\NetduinoPlus2\dotnetmf.proj /T:rebuild /p:flavor=release;tcp_ip_stack=lwip

I don't need any network support for my current project, so I was hoping I'd be able to gain a little bit of space
by not including support for tcp/ip. Simply removing the argument does not seem to help, is there

anything specific I should do in order to exclude networking support?

 

 



#2 timothyp

timothyp

    Member

  • Members
  • PipPip
  • 24 posts

Posted 09 February 2015 - 09:01 AM

I think I figured it out.

 

In the porting kit folder "Solutions\NetduinoPlus2" you can edit the dotnetmf.proj file

and exclude all projects you don't need.

 

It seems to build and the result is a smaller firmware.



#3 CW2

CW2

    Advanced Member

  • Members
  • PipPipPip
  • 1592 posts
  • LocationCzech Republic

Posted 09 February 2015 - 11:42 AM

Alternatively, you could simply build and flash Netduino 2 firmware on your Netduino Plus 2 board.






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.