Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add NuttX Online Demo #1

Closed
wants to merge 1 commit into from
Closed

Add NuttX Online Demo #1

wants to merge 1 commit into from

Conversation

lupyuen
Copy link
Owner

@lupyuen lupyuen commented Jan 23, 2024

Summary

As suggested by ???, this PR adds the NuttX Online Demo based on TinyEMU 64-bit RISC-V Emulator and WebAssembly.

The TinyEMU Port of NuttX 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

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 (64-bit RISC-V). Compiled with these steps to produce these Build Outputs.

demo/*.js, *.wasm, *.cfg, *.png: Demo Files from TinyEMU project, based on MIT Licence.

assets/themes/apache/css/demo.css: Demo CSS from TinyEMU project, based on MIT Licence.

_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

For Testing: I copied the Jekyll-generated files to my website: 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

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

The Demo Page also works on Mobile:

Screenshot_20240123-191433

@lupyuen lupyuen changed the title Demo Add Online NuttX Demo Jan 23, 2024
@lupyuen lupyuen changed the title Add Online NuttX Demo Add NuttX Online Demo Jan 24, 2024
@lupyuen lupyuen force-pushed the master branch 2 times, most recently from b04ebfa to cfdc1c7 Compare January 24, 2024 02:27
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](lupyuen2/wip-nuttx#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/nuttx.bin`: NuttX Image compiled from the upcoming [TinyEMU Port of NuttX](lupyuen2/wip-nuttx#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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant