A Rust template for easily starting NumWorks app development using the EADKP library
A Rust template for easily starting NumWorks app development using the EADKP library
Adding a project initialization automation script, independent of cargo-generate!
By using a simple command:
bash <(curl -s https://raw.githubusercontent.com/Oignontom8283/eadkp_template/main/bootstrap.sh)
(Make sure to have curl and git installed), you can start a new NumWorks application using EADKP in the blink of an eye!
OR use:
git clone https://github.com/Oignontom8283/eadkp_template.git project_name
cd project_name
chmod +x ./bootstrap.sh && ./bootstrap.sh
PS: I was tired of manually reconfiguring everything every time, so here it is! (:
Log in to leave a comment
Changes:
Log in to leave a comment
Refactoring of the default template demonstration code ! (1/2)
AND adding a function (push_image()) to the eadkp library.
Log in to leave a comment
Testing the simulator on Linux (Ubuntu-based) !
start.sh from docker-compose to docker compose.settings.json and extensions.json to recommend the Rust-Analyzer extension and its specific configuration for Numworks.Log in to leave a comment
Functional Simulator !
The simulator has been tested and debugged :
./target/release/target/libsimulator.so -> ./target/release/examples/libsimulator.so
Log in to leave a comment
Testing compilation and exporting the compiled application to NWA format for the calculator 🥳 !
[target] sections for “device” and “simulator” have been replaced with [[example]]. This changes how builds are managed, now using the --example flag instead of --target.justfile has been added to the exclusion list when generating a new project.--example device or --example simulator instead of the previous --target flags.just target command to ensure the thumbv7em-none-eabihf Rust target is correctly installed before building.export command now uses the correct path for the generated binary (target/thumbv7em-none-eabihf/release/examples/device).export command now displays a success or error message depending on whether the file move was successful.target recipe to install the required Rust target.justfile is now excluded during new project generation.Log in to leave a comment
‘cargo generate’ is finally working correctly 😊.
Update templates and fix docker config :
Log in to leave a comment
Initial template code. Implementation of the Cargo template system (Untested 😕).
Log in to leave a comment