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 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 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:// | ||