Re: Including Lua scripts on filesystem

2023-02-01 Thread Russell Haley
On Wed, Feb 1, 2023 at 9:23 PM Xiang Xiao wrote: > You can debug sim nuttx with your favorite PC debugger just like a normal > host program. > Of course, please ensure the debug system is > generated(CONFIG_DEBUG_SYMBOLS=y). > I was able to set up KDevelop to run nuttx in the debugger, but the

Re: Including Lua scripts on filesystem

2023-02-01 Thread Xiang Xiao
You can debug sim nuttx with your favorite PC debugger just like a normal host program. Of course, please ensure the debug system is generated(CONFIG_DEBUG_SYMBOLS=y). On Thu, Feb 2, 2023 at 1:00 PM Russell Haley wrote: > I am mistaken. I understood that the rom image was part of the

Re: Including Lua scripts on filesystem

2023-02-01 Thread Russell Haley
I am mistaken. I understood that the rom image was part of the application on flash, but had mis-read the documentation of boardctl(BOARDIOC_ROMDISK, (uintptr_t)); and thought that the command loaded the image into *RAM* (the BOARDIOC_MKRD command makes the RAM disk. oops!). Incidentally,

Article: NuttX for PinePhone: LVGL Terminal for NSH Shell

2023-02-01 Thread Lee, Lup Yuen
Now we can run NuttX Console Apps on PinePhone, without a Serial Cable! This article explains how we call the LVGL GUI Library to create a Touchscreen Terminal App that runs NSH Commands... https://lupyuen.github.io/articles/terminal Lup

Re: Including Lua scripts on filesystem

2023-02-01 Thread Xiang Xiao
romfs is part of your image as the const string. There is no difference from the below manual step. On Thu, Feb 2, 2023 at 10:00 AM Russell Haley wrote: > On Tue, Jan 31, 2023 at 6:16 AM Fotis Panagiotopoulos > > wrote: > > > Hello, > > > > Indeed the "proper" way of including a script would

Re: Including Lua scripts on filesystem

2023-02-01 Thread Russell Haley
On Tue, Jan 31, 2023 at 6:16 AM Fotis Panagiotopoulos wrote: > Hello, > > Indeed the "proper" way of including a script would be to store it in a > file system. > > However, when I needed to include a single and small script and I didn't > want to introduce a complete FS just for this, I used