User Tools

Site Tools


proiecte:nuttx-sparrow

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
proiecte:nuttx-sparrow [2018/11/22 23:14]
razvan.barbascu
proiecte:nuttx-sparrow [2018/11/22 23:47] (current)
razvan.barbascu [Setup]
Line 25: Line 25:
 sudo apt-get install build-essential git texinfo libgmp-dev libmpfr-dev libmpc-dev libncurses5-dev bison flex gettext gperf libtool autoconf pkg-config libftdi-dev libusb-1.0-0-dev zlib1g zlib1g-dev python-yaml gcc-avr avr-libc avrdude sudo apt-get install build-essential git texinfo libgmp-dev libmpfr-dev libmpc-dev libncurses5-dev bison flex gettext gperf libtool autoconf pkg-config libftdi-dev libusb-1.0-0-dev zlib1g zlib1g-dev python-yaml gcc-avr avr-libc avrdude
 </code> </code>
 +
 +<code bash Install NuttX Tools>
 +clone tools repo: https://github.com/jodersky/nuttx/tree/master/misc/tools
 +cd tools/kconfig-frontends
 +./configure --enable-mconf
 +LD_RUN_PATH=/usr/local/lib
 +make
 +make install
 +</code>
 +
 +<code bash Get NuttX for Sparrow>
 +git clone git@bitbucket.org:vanbarbascu/nuttx_sparrow.git
 +cd nuttx_sparrow
 +</code>
 +
 +<code bash Configure and Build>
 +LD_LIBRARY_PATH=/usr/local/lib/ tools/configure.sh -l -a apps sparrow_4.1/nsh
 +make
 +</code>
 +
 +<code bash Flash to board>
 +tools/flash.sh --port /dev/ttyUSB0
 +</code>
 +
 +Connecting to the serial port gives us the NuttxShell.
 +<code >
 +screen /dev/ttyUSB0
 +</code>
 +
 ===== Bibliography ===== ===== Bibliography =====
  
 +[[http://www.nuttx.org/Documentation/NuttxPortingGuide.html#Introduction|NuttX porting guide]]
  
 +[[https://clkdiv8.com/wiki/doku.php|Sparrow Wireless Sensor Node]]
proiecte/nuttx-sparrow.1542921294.txt.gz · Last modified: 2018/11/22 23:14 by razvan.barbascu