Re: NXP RT Processor Suport

2023-11-26 Thread Nathan Hartman
On Sun, Nov 26, 2023 at 4:32 PM Igor Kovriga
 wrote:

>
> Hello Apache NuttX Community,
>
>
> Due to this Link
>
> https://nuttx.apache.org/docs/latest/platforms/arm/imxrt/index.html
>
> NuttX  support RT1020 processor , and also at  the botom of this page
> specified   i.MX RT1020 Evaluation Kit
>
> But when I tried to create an assembly on the NXP web-site, I did not
> see NuttX  there (only FreeRTOS and Azure).



I am not familiar with NXP, but based on familiarity with other parts
vendors, I imagine NXP provides some kind of easy-to-use configurator tool
to set up a firmware project with their tooling and with various 3rd party
code like RTOS and other middleware and drivers.

If so, and if you don't see NuttX as an option there, then it likely means
they have not added support for NuttX in their tooling.

To configure NuttX for the i.MX RT1020 eval kit, you would first need to
set up a development system as is described in the Getting Started guide:

https://nuttx.apache.org/docs/latest/quickstart/index.html

This involves making sure you have the appropriate compiler toolchain
installed along with some other tools, like kconfig-frontends for example.

Once you have the necessary tools installed and the NuttX tree on your
system, in the nuttx directory, select the board with a command like:

$ tools/configure.sh imxrt1020-evk:nsh

Possibly customize the configuration, or just look through the Kconfig
menus to see which compile-time NuttX configurations are present with
something like:

$ make menuconfig

Build with:

$ make

And flash-program with the appropriate tool. I don't know which tool is
used for i.MXRT but you can look through the documentation and READMEs in
the NuttX tree, check the board directory at
boards/arm/imxrt/imxrt1020-evk/, or ask on this mailing list for more help.

More below:


NXP doesn't mention support   OS NuttX by RT10120 processor.
> How can I get a build for this processor?



In other words, what I'm explaining is that (I assume, based on what I know
from other architectures) getting NuttX built for this board requires using
our (NuttX's) tooling and build system, rather than a NXP configurator tool.

Cheers
Nathan


Re: NXP RT Processor Suport

2023-11-26 Thread Daniel Appiagyei
Hi Igor,

> But when I tried to create an assembly on the NXP web-site, I did not
see NuttX  there (only FreeRTOS and Azure).

By this comment, I assume you're using MCUXpresso IDE and trying to use
NXP's SDK that's prepacked with FreeRTOS? Let me know if this is incorrect.
NXP doesn't prepackage NuttX, they only do so with Azure and FreeRTOS
because of their simple project layout (?) or extreme popularity (not sure
if Azure RTOS is popular or not, but that's beside the point).
To use NuttX, which does indeed support that board, you'll need to follow
the getting started guide
 to download
the NuttX and NuttX apps github repos.

NuttX comes with its own drivers for interfacing with the chip so you
likely won't need the NXP's SDK that comes prepackaged with MCUXpresso.


On Sun, Nov 26, 2023 at 1:32 PM Igor Kovriga
 wrote:

>
> Hello Apache NuttX Community,
>
>
> Due to this Link
>
> https://nuttx.apache.org/docs/latest/platforms/arm/imxrt/index.html
>
> NuttX  support RT1020 processor , and also at  the botom of this page
> specified   i.MX RT1020 Evaluation Kit
>
> But when I tried to create an assembly on the NXP web-site, I did not
> see NuttX  there (only FreeRTOS and Azure).
>
> NXP doesn't mention support   OS NuttX by RT10120 processor.
> How can I get a build for this processor?
>
>
> --
> Best Regards
> Igor Kovriga
> Technical consultant
> LTD "BIAKOM"
> web:http://www.biakom.com
>


-- 


*Daniel Appiagyei | Embedded Software Engineer *Email:
daniel.appiag...@braincorp.com
*Brain*
* Corp™ *10182 Telesis Ct, Suite 100
San Diego, CA 92121

(858)-689-7600
www.braincorp.com