eren-terzioglu commented on PR #18828:
URL: https://github.com/apache/nuttx/pull/18828#issuecomment-4553302939

   > 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!
   
   Additional to this nice explanation I would like to mention about QEMU test 
option. If you don't have hardware to test, it is possible to take a look into 
QEMU solution. Doc for S3 is 
[here](https://nuttx.apache.org/docs/latest/platforms/xtensa/esp32s3/index.html#using-qemu).
 It will have some limitations but it is better than just building


-- 
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