fdcavalcanti commented on PR #18828:
URL: https://github.com/apache/nuttx/pull/18828#issuecomment-4533792283

   Hi folks. Congrats on the bravery for trying to add the CMake build on 
Xtensa!
   
   I added the CMake support for the RISC-V devices some time ago so I will 
share some things that might help.
   
   - Building is not a valid test, it has to be tested on target as well. Many 
times CI would build everything and fail to boot. And sometimes when it boots, 
does not mean its working.
   - Sorting source files is one thing, the devil is in the detail: linker 
flags and static libraries will cause headaches.
   - Bootloader support must be taken into account. Xtensa has MCUBoot support 
but there are a couple configs that use IDF legacy bootloader as well. This 
should be dealt in the `tools` directory.
   
   Good luck!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to