Hi Everyone, This is a nice project: Liam works for LVGL and he implemented a compiler that works inside NuttX and generates ELF files (executables) that can be loaded (executed) dynamically.
He wants to integrate it on NuttX and maintain it. I think there are many applications where people want to generate executable dynamically inside NuttX, so this is a nice demo for this idea. BR, Alan ---------- Forwarded message --------- From: Liam Howatt <[email protected]> Date: Sat, Nov 15, 2025 at 1:04 PM Subject: Creative Usage of the NuttX Loader To: Alan C. Assis <[email protected]>, Halysson Carvalho Silva Junior < [email protected]> Cc: Gabor Kiss-Vamosi <[email protected]> Hi Alan and Halysson, I wanted to share something that uses the NuttX loader in an interesting way. I made a compiler that runs inside NuttX and produces a NuttX ELF which can be immediately loaded and run. It synthesizes an ELF from scratch. Here is the code that makes the ELF <https://github.com/liamHowatt/mcp_forth/blob/master/elf_nuttx.c>. Sorry it's not currently annotated with comments. Maybe it will give you some ideas or otherwise inspire you somehow. In any case, I think unique features like the NuttX loader and innumerable other things are what make NuttX so valuable. I wrote about the compiler here: https://github.com/liamHowatt/mcp_nuttxspace?tab=readme-ov-file#forth I've been watching for an opportunity to proceed with the "Creating a NuttX Distro for easy board update in the field" with LVGL library updating and LVGL app deployment. There hasn't been a big enough push to schedule it amid all the partner support, customer support, and LVGL feature development and maintenance. As soon as there's a lull, I would love to jump at the opportunity to do it. However, if there's anyone else eager to try it, don't tell them to wait for me. All the best, Liam
