This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
proiecte:nuttx-sparrow [2018/11/22 22:57] razvan.barbascu |
proiecte:nuttx-sparrow [2018/11/22 23:47] (current) razvan.barbascu [Setup] |
||
---|---|---|---|
Line 22: | Line 22: | ||
Nuttx also provides an optional small, scalable, bash-like shell with rich feature set and small footprint used for debugging, configuration and launching applications. | Nuttx also provides an optional small, scalable, bash-like shell with rich feature set and small footprint used for debugging, configuration and launching applications. | ||
===== Setup ===== | ===== Setup ===== | ||
+ | <code bash Install Packets> | ||
+ | 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 bash Install NuttX Tools> | ||
+ | clone tools repo: https:// | ||
+ | cd tools/ | ||
+ | ./configure --enable-mconf | ||
+ | LD_RUN_PATH=/ | ||
+ | make | ||
+ | make install | ||
+ | </ | ||
+ | |||
+ | <code bash Get NuttX for Sparrow> | ||
+ | git clone git@bitbucket.org: | ||
+ | cd nuttx_sparrow | ||
+ | </ | ||
+ | |||
+ | <code bash Configure and Build> | ||
+ | LD_LIBRARY_PATH=/ | ||
+ | make | ||
+ | </ | ||
+ | |||
+ | <code bash Flash to board> | ||
+ | tools/ | ||
+ | </ | ||
+ | |||
+ | Connecting to the serial port gives us the NuttxShell. | ||
+ | <code > | ||
+ | screen / | ||
+ | </ | ||
+ | |||
===== Bibliography ===== | ===== Bibliography ===== | ||
+ | [[http:// | ||
+ | [[https:// |