mirror of
https://github.com/LegitCamper/picocalc-os-rs.git
synced 2026-02-11 06:15:25 +00:00
Merge branch 'main' into nes
This commit is contained in:
15
justfile
15
justfile
@@ -40,3 +40,18 @@ userapps: cbindgen
|
|||||||
just userapp gallery
|
just userapp gallery
|
||||||
just userapp gif
|
just userapp gif
|
||||||
just userapp gboy
|
just userapp gboy
|
||||||
|
|
||||||
|
copy-userapp app:
|
||||||
|
cp ./target/thumbv8m.main-none-eabihf/release-binary/{{app}} /run/media/$(whoami)/PICOCALC/{{app}}.bin
|
||||||
|
|
||||||
|
copy-userapps:
|
||||||
|
#!/bin/bash
|
||||||
|
just userapps
|
||||||
|
just copy-userapp calculator
|
||||||
|
just copy-userapp snake
|
||||||
|
just copy-userapp gallery
|
||||||
|
just copy-userapp gif
|
||||||
|
|
||||||
|
DEV=$(lsblk -o LABEL,NAME -nr | awk -v L="PICOCALC" '$1==L {print "/dev/" $2}')
|
||||||
|
udisksctl unmount -b "$DEV"
|
||||||
|
udisksctl power-off -b "$DEV"
|
||||||
|
|||||||
@@ -6,7 +6,6 @@ use abi::{
|
|||||||
display::Display,
|
display::Display,
|
||||||
get_key,
|
get_key,
|
||||||
keyboard::{KeyCode, KeyState},
|
keyboard::{KeyCode, KeyState},
|
||||||
println,
|
|
||||||
};
|
};
|
||||||
use alloc::vec::Vec;
|
use alloc::vec::Vec;
|
||||||
use embedded_graphics::{
|
use embedded_graphics::{
|
||||||
|
|||||||
Reference in New Issue
Block a user