Skip to content

Instantly share code, notes, and snippets.

@lupyuen
Last active February 4, 2023 12:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lupyuen/abca4d656ba0c93787e7705eec8707c8 to your computer and use it in GitHub Desktop.
Save lupyuen/abca4d656ba0c93787e7705eec8707c8 to your computer and use it in GitHub Desktop.
Build Apache NuttX RTOS on Arm64 Development Machines (Pinebook Pro)

Build Apache NuttX RTOS on Arm64 Development Machines (Pinebook Pro)

To build NuttX we need to install these Build Prerequisites...

sudo pacman -S \
  bison flex gettext texinfo \
  gperf automake libtool pkg-config gperf \
  picocom util-linux 

But on Arm64 Development Machines (like Pinebook Pro), compiling kconfig-frontends may fail with an aclocal-1.15 error.

Here's the fix...

pushd /tmp
git clone https://bitbucket.org/nuttx/tools.git
cd tools
cd kconfig-frontends
./configure --enable-mconf --disable-nconf --disable-gconf --disable-qconf
sudo ln -s /usr/bin/aclocal /usr/bin/aclocal-1.15
sudo ln -s /usr/bin/automake /usr/bin/automake-1.15
make
sudo make install
popd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment