Merge branch 'main' into nes

This commit is contained in:
2025-11-17 08:12:31 -07:00
2 changed files with 15 additions and 1 deletions

View File

@@ -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"

View File

@@ -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::{