Install and configure NuttX ARM build environment in Linux

In this manual will see how to install and configure all the tools needed to build NuttX for ARM under Linux. The toolchain is the one comming with the Ubuntu itself (at least with the new versions of Ubuntu). The version of LInux I'm using is Ubuntu 14.04.



1. Install the Ubuntu 14.04 and update all the packages.

2. Install the ARM toolchain

sudo apt-get install gcc-arm-none-eabi


3. Install kconfig-frontends package

This package is used by the NuttX to configure the build. You can select the board, build environment, what is enabled as peripherals from the SoC and from the board.

kconfig-frontends main view

Get the latest kconfig-frontends  from

http://ymorin.is-a-geek.org/download/kconfig-frontends/ to

"your local path"/nx/misc/

 then extract the archive and rename the folder to


 Now we need to install the dependencies

# Install kconfig-frontends dependencies (the upcoming configure may catch more dependencies)
sudo apt-get install gperf libncurses5-dev flex bison
cd "your local path"/nx/misc/kconfig-frontends/
sudo make install


4. Go to the NuttX download page


and get the latest version. At this moment it is 7.3. So download the OS itself


and the apps



5. Unpack both archives in "nx" so the structure is like this (need to rename the nuttx-7.3 and apps-7.3)

|- nx
|   |-- nuttx
|   |-- apps


6. Now we need to configure the NuttX for SAM4E-EK

cd "your local path"/nx/nuttx/tools
./configure.sh sam4e-ek/nsh


7. Configure the toolchain

cd "your local path"/nx/nuttx

# Be sure you have:
#   Build Setup
#      `--> Build Host Platform (Linux)
#    System Type
#      `--> Toolchain Selection (Generic GNU EABI toolchain under Linux (or other POSIX environment))
make menuconfig

# Set the environment
. ./setenv.sh


8. Build



Installation and configuration of Eclipse so we can build the project from the IDE instead of from the console.



0 #5 Cameronkeept 2018-07-14 14:46
Приветствую! прикольный у вас сайт!
Нашел сериальную базу кино: сериалы зарубежные список лучших 2018 2017 http://kinofly.net/
Здесь: лучшее аниме онлайн в hd http://kinofly.net/anime/ список 2018
Здесь: смотреть боевики 2018 года в хорошем качестве фильмы боевики зарубежные бесплатно в хорошем качестве список 2018
Тут: лучшие фильмы детективы в онлайн бесплатно лучшие детективы 2018 онлайн список 2017
Здесь: http://kinofly.net/priklyucheniya/6250-razrushennyy-mir-pesn-proklyatiya-dlya-svyatogo-mechnika-seiken-tsukai-no-world-break-sezon-1-2015.html Смотреть Разрушенный мир: песнь проклятия для святого мечника / Seiken Tsukai no World Break (Сезон 1) (2015) онлайн бесплатно
Здесь: http://kinofly.net/komediya/10616-glyukonavty-tripuyuschie-tripped-sezon-1-2015.html
0 #4 Robertbrame 2018-07-10 18:19
Приветствую всех!
Нашел интересные новости на этом сайте: http://agentorange.ru :
http://agentorange.ru/art-foto-interesnoe/1134-svetyaschayasya-berlinskaya-stena.html Светящаяся «Берлинская стена»
http://agentorange.ru/art-foto-interesnoe/2748-avarii-s-uchastiem-gruzovikov-aprel-2015.html Аварии с участием грузовиков Апрель 2015
0 #3 Robertdeerb 2018-05-06 07:44
buy cialis online legal cialis canada cialis generico in farmacia cialis 5 mg
-1 #2 bug out bag List 2017-04-06 14:15
The first jump could be the difficult one, but once you're indulges within this hobby, you won't find
any difficulty to jump again and again. Do you have way
to cook if the power be out to have an extended duration of time.

I personally have committed to the location of infectious diseases since I need to be adequately prepared within a potential pandemic.

Here is my web blog - bug out bag List: http://www.multisys.net.br/wiki/index.php?title=Kidnap_Avoidance_and_Hostage_Survival
+1 #1 gobrogobro 2016-01-09 08:41
Hi, yeah this post is in fact fastidious and I have learned lot of things from it
regarding blogging. thanks.

Add comment

Security code

Configure debugging environment for ARM in Ubuntu ...
Configure debugging environment for ARM in Ubuntu with Eclipse

Next article is how to configure SEGGER's J-Link debugger to debug the NuttX OS from Eclipse.  Here I'm going to describe the it using The J-Link hardware debugging Eclipse plug-in. [ ... ]

Building NuttX in Eclipse (Ubuntu)
Building NuttX in Eclipse (Ubuntu)

For me personally is more convenient to build the code directly from the IDE where I'm editing it so here is an article how to configure building of NuttX from Eclipse. I'm configuring [ ... ]

Install and configure NuttX ARM build environment ...
Install and configure NuttX ARM build environment in Linux

In this manual will see how to install and configure all the tools needed to build NuttX for ARM under Linux. The toolchain is the one comming with the Ubuntu itself (at least with the [ ... ]

Time Tracker
Time Tracker

Time Tracker is a tool to track the time that was spent for some task and how much this time costs. Features:
   - Set the complementary time
   - Set the rate per [ ... ]

LTC: LKjqX7NipWXyPEkt3L3AwiRuCaw7h1hXLw
BTC: 1ApxQc2j4Wz3N7ei4XwYFTh6t4CeYMzbzZ

Go to top