ccxtechnologies / nuttx

Apache NuttX is a mature, real-time embedded operating system (RTOS)
https://nuttx.apache.org/
Apache License 2.0
0 stars 0 forks source link

Feature ccx flashboot #2

Closed CFD2 closed 3 years ago

CFD2 commented 3 years ago

Summary

This PR introduces boot from flash XiP functionality to imxrt1064-ccx board. The new Kconfig variables, CONFIG_IMXRT_BOOT_COPYTORAM and CONFIG_BOOT_COPYTORAM, are introduced so that selecting the boot source can be done from configuration files. Setting these variable to "y" selects the microSD Card as the primary boot option. The SIP Flash is the primary boot option otherwise.

Testing

Using updated config files NuttX images were built and booted from both mediums being SIP Flash and microSD Card.

Reading from I2C:

Reading from SPI:

Ethernet 1:

LEDs and discretes:

USB OTG:

UART: