xuxin930 opened a new pull request, #2567:
URL: https://github.com/apache/nuttx-apps/pull/2567

   ## Summary
   
   add CMake module for register lua mod
   
   ```
   # example in luamod CMakeLists.txt
   
   nuttx_add_luamod(MODS hello)
   ```
   
   
   ```
   nsh> lua
   Lua 5.4.0  Copyright (C) 1994-2020 Lua.org, PUC-Rio
   > hello.say_hello()
   Hello World!
   > io.write("abs is =",math.abs(-10),"\n")
   abs is =10
   > os.exit()
   nsh>
   ```
   
   ## Impact
   
   ## Testing
   CI
   


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