Add NuttX Online Demo 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
Before opening a pull request, you can preview your contributions by running from within the directory:
export GEM_HOME=$HOME/.gem # Adjust this path as you want export PATH=$PATH:$GEM_HOME/bin bundle exec jekyll serve Open [http://localhost:4000](http://localhost:4000)
Note: The Gemfile.lock may contain some platform specific pins you may want to regenerate this by deleting Gemfile.lock and running bundle update. This is currently locked for x86_64-linux, darwin, and freebsd by using the bundle lock --add-platform foo command.
Site is updated by a CI job that runs the publish.sh script. Once this runs it the results will be visible here.
If a dependency has changed such as the external documentation you may need to force the deployment CI to run. This can be done from the CI Actions tab and selecting Run workflow -> Branch: master --> Run workflow
To add a contributor to the project, or to modify existing contributors, edit site/_data/contributors.yml. The project members list will re-generate.