Init the Kit's ST7796 320x480 over SPI0 (SCK=GP2, MOSI=GP3, CS=GP5, DC=GP6, RST=GP7; BGR, colours inverted, 16 MHz) via mipidsi 0.9 + embedded-graphics, and draw a panel + "PM-KIT / RUST OK" so SPI + the graphics stack are verifiable on screen. GP25 LED keeps blinking as a heartbeat. Compiles for thumbv8m; runtime (does it draw? colours/orientation right?) is the on-device check. Next: tune orientation/colour if needed, then inputs + audio + pm-core. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
19 lines
463 B
TOML
19 lines
463 B
TOML
[package]
|
|
name = "pm-kit"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
description = "PM_K-1 firmware (RP2350 / Pico 2). Stage 3 bring-up: boot blink → display → drivers + pm-core."
|
|
|
|
[dependencies]
|
|
rp235x-hal = { version = "0.3", features = ["binary-info", "critical-section-impl", "rt"] }
|
|
cortex-m-rt = "0.7"
|
|
panic-halt = "1"
|
|
embedded-hal = "1"
|
|
embedded-hal-bus = "0.2"
|
|
mipidsi = "0.9"
|
|
embedded-graphics = "0.8"
|
|
|
|
[profile.release]
|
|
opt-level = "s"
|
|
lto = true
|
|
debug = 2
|