lupyuen opened a new pull request, #104:
URL: https://github.com/apache/nuttx-website/pull/104

   ## Summary
   
   As suggested by @hartmannathan, this PR adds the NuttX Online Demo based on 
[TinyEMU 64-bit RISC-V Emulator](https://github.com/fernandotcl/TinyEMU) and 
WebAssembly.
   
   The [TinyEMU Port of 
NuttX](https://github.com/lupyuen2/wip-pinephone-nuttx/pull/54) shall be 
upstreamed later to NuttX Mainline. This will allow the Online Demo to be 
refreshed for new releases of NuttX. [More about NuttX for 
TinyEMU](https://lupyuen.github.io/articles/tinyemu)
   
   ### Modified Files
   
   `index.md`: Add link to Demo Page: "Try the online demo here"
   
   `_includes/themes/apache/default.html`: Add Demo CSS
   
   ### New Files
   
   `demo.md`: New Demo Page with NuttX in TinyEMU Emulator
   
   `demo/nuttx.bin`: NuttX Image compiled from the upcoming [TinyEMU Port of 
NuttX](https://github.com/lupyuen2/wip-pinephone-nuttx/pull/54) (64-bit 
RISC-V). Compiled with [these 
steps](https://github.com/lupyuen2/wip-pinephone-nuttx/releases/tag/tinyemu4-1) 
to produce these [Build 
Outputs](https://github.com/lupyuen2/wip-pinephone-nuttx/releases/tag/tinyemu4-1).
   
   `demo/*.js, *.wasm, *.cfg, *.png`: Demo Files from 
[TinyEMU](https://github.com/fernandotcl/TinyEMU) project, based on [MIT 
Licence](https://github.com/fernandotcl/TinyEMU/blob/master/MIT-LICENSE.txt).
   
   `assets/themes/apache/css/demo.css`: Demo CSS from 
[TinyEMU](https://github.com/fernandotcl/TinyEMU) project, based on [MIT 
Licence](https://github.com/fernandotcl/TinyEMU/blob/master/MIT-LICENSE.txt).
   
   `_includes/themes/apache/demo.html`: New Theme for Demo Page
   
   `_layouts/demo.html`: New Layout for Demo Page
   
   ## Impact
   
   NuttX Online Demo is now accessible via a link on the Home Page.
   
   ## Testing
   
   [Watch the Demo on YouTube](https://youtu.be/pCsAcYsWbec)
   
   For Testing: I copied the Jekyll-generated files to my website: 
[lupyuen.github.io/nuttx-tinyemu/target/demo](https://lupyuen.github.io/nuttx-tinyemu/target/demo/)
   
   The Home Page now includes a link to Demo Page: "Try the online demo here"
   
   ![Screenshot 2024-01-23 at 7 12 13 
PM](https://github.com/lupyuen/nuttx-website/assets/9960133/dca872b7-7724-4bc1-a775-dd531be3f65e)
   
   The Demo Page runs NuttX in the TinyEMU Emulator. We tested these commands: 
`uname`, `hello`, `ostest`, `free`, `help`, `ls`, `ps`:
   
   ![Screenshot 2024-01-23 at 7 12 35 
PM](https://github.com/lupyuen/nuttx-website/assets/9960133/8f895360-8cb8-4399-8ce3-001d6f1ce09c)
   
   The Demo Page also works on Mobile:
   
   > 
![Screenshot_20240123-191433](https://github.com/lupyuen/nuttx-website/assets/9960133/99049268-ffbb-499c-b657-717b62c6f6f5)
   


-- 
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: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to