cancel
Showing results for 
Search instead for 
Did you mean: 

nuttx RTOS build

mohamad_armoon
Associate III
Posted on October 15, 2014 at 09:49

hi every body , i decided to use nuttx for my rtos. now i have a problem to understand it, i cannot build it , and i don't know how to use it in an IDE like eclipse . have any body used this rtos ??

thanks
14 REPLIES 14
Posted on October 15, 2014 at 20:25

''i decided to use nuttx for my rtos''

On what basis did you decide that?

''i have a problem to understand it''

So why did you choose it?!

''i cannot build it , and i don't know how to use it in an IDE like eclipse''

Have you studied the documentation? Have you looked for tutorials, forums, etc?

chen
Associate II
Posted on October 16, 2014 at 11:04

Hi

''On what basis did you decide that?''

Not really for us to decide that for them.

(Though, reading the headlines for the OS - sounds too heavy weight for Cortex M parts, probably aimed at Cortex A and to rival Linux).

As for the next 2 points,

Yes, I agree. Better to pick a RTOS that either has a tutorial or one that will just work out of the box if you are new to RTOSs

Porting a RTOS is not something a 'newbie' will find easy!

Try this list from Wikipedia :

http://en.wikipedia.org/wiki/List_of_real-time_operating_systems

ARM have released and are pushing their new RTOS in conjunction with mbed

http://developer.mbed.org/

mohamad_armoon
Associate III
Posted on October 24, 2014 at 14:11

''i decided to use nuttx for my rtos''

yes, because the main reason was the PIXHAWK open source project. i decided to use it because i thought that it might be a good idea to use a RTOS which has example like that. what ever i need.

i tried to port it from linux, ubuntu, but i think there is some problem in some Packages that i installed. 

and yes , i googled alot, i studied so many documents . i README.txt(in nuttx package) which is related to my chip . but it doesn't work.

but i keep going. may be i will use ChibiOS , because of it's HAL and it is much easy to handle

so thanks for your advises.
Posted on October 28, 2014 at 00:28

''Not really for us to decide that for them''

No, but informative to know whether it was the outcome of a well-informed, carefully-considered evaluation...

Posted on October 28, 2014 at 00:31

''the main reason was the PIXHAWK open source project''

You mean this: http://store.3drobotics.com/products/3dr-pixhawk ?

But that says it already has the 

NuttX RTOS - so where's the problem?

acassis
Associate II

There are so much misinformation here, then I decided to reply this question to help other people in the future.

NuttX is a light RTOS you can run it on 8-bit, 16-bit and 32-bit MCUs. For example: ARM Cortex-M0/M3/M4, Atmel/Microchip AVR, Espressif ESP32 and many other microcontrollers. You will need about 32KB Flash and 8KB RAM to run a basic NuttX port, but to use USB, TCP/IP etc, it is important to have at least 64KB Flasn and 32KB RAM.

NuttX is already used on many commercial products: Sony audio recorders, Motorola Moto Z Snap Covers, Drones from 3D Robotics, just to cite some products.

Some companies like Verge Aero are using NuttX with its 6LoWPAN to create Drones Swarms. NuttX 6LoWPAN can run under 802.15.4 and also over other RFs like ST SPIRIT1.

More info:

https://en.wikipedia.org/wiki/NuttX

https://www.embedded.com/electronics-blogs/say-what-/4458729/What-is-the-NuttX-RTOS-and-why-should-you-care-

I hope to shed some light on people who are willing to learn more about NuttX.

I think Andrew's issue here is that resources are a Google search away, whether it's finding info or scene around an OS, or building a product which uses an STM32, but is very specific in function/expectations.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

Unfortunately, 4 years too late!

:persevering_face:

acassis
Associate II

Hi Clive, I understand. The question is too much specific... his question is not exactly about NuttX. Actually his question is about PX4 that is a separated project that uses NuttX for Drone applications. NuttX itself is very easy to compile and use, there are some video tutorials that I created to help other people to get started: www.youtube.com/c/NuttXChannel These tutorials is focused on STM32 and I think about 80% or more NuttX users are using STM32.