Skip to content

Example of a simple rust app developed on windows and cross compiled to run on a RG35XX.

License

Notifications You must be signed in to change notification settings

Denifia/rg35xx-rust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rg35xx-rust

Example of a simple rust app developed on windows and cross compiled to run on a RG35XX.

Prerequsites

Develop

In windows, modify the files in this-repo (I use VS Code)

Build

In your WSL Terminal

# Navigate to where you cloned this repo
# e.g. "cd /mnt/c/Users/your-name/rg35xx-rust"

# Build the Rust app
cross build --target armv7-unknown-linux-musleabihf

Deploy

In your Windows Terminal

# Navigate to this cloned repo
# e.g. "cd c:\Users\your-name\rg35xx-rust"

# Navigate to the built app
cd target\armv7-unknown-linux-musleabihf\debug

# Copy it to the device
\path\to\adb.exe push --sync .\hellorust "/mnt/mmc/hellorust"

Run

In your Windows Terminal

# Open a shell on your device
\path\to\adb.exe shell

# Run the app
/mnt/mmc/hellorust

Acknowledgements

About

Example of a simple rust app developed on windows and cross compiled to run on a RG35XX.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages