refactor: rename rak_4631 to rak_wisblock_4631, add proper display names
Board naming now follows MeshCore conventions: - rak_4631 → rak_wisblock_4631 (feature, file, Justfile, splash screen) - Display splash shows human-readable names: "RAK WisBlock 4631", "Heltec v3", "Heltec v4" Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
5 files changed
+11
-9
No files matched your search
File renamed without changes.
+5
-3
@@ -11,10 +11,12 @@ use crate::channel::{DisplayCommand, DisplayCommandChannel, StatusWatch};
|
||||
|
||||
use super::render::{self, RSSI_HISTORY_LEN};
|
||||
|
||||
const BOARD_NAME: &str = if cfg!(feature = "rak_4631") {
|
||||
"rak_4631"
|
||||
const BOARD_NAME: &str = if cfg!(feature = "rak_wisblock_4631") {
|
||||
"RAK WisBlock 4631"
|
||||
} else if cfg!(feature = "heltec_v3") {
|
||||
"heltec_v3"
|
||||
"Heltec v3"
|
||||
} else if cfg!(feature = "heltec_v4") {
|
||||
"Heltec v4"
|
||||
} else {
|
||||
"unknown"
|
||||
};
|
||||
|
||||
+2
-2
@@ -13,7 +13,7 @@ use embassy_executor::Spawner;
|
||||
use crate::channel::{CommandChannel, DisplayCommandChannel, ResponseChannel, StatusWatch};
|
||||
|
||||
cfg_if::cfg_if! {
|
||||
if #[cfg(feature = "rak_4631")] {
|
||||
if #[cfg(feature = "rak_wisblock_4631")] {
|
||||
use panic_probe as _;
|
||||
} else if #[cfg(any(feature = "heltec_v3", feature = "heltec_v4"))] {
|
||||
use esp_backtrace as _;
|
||||
@@ -27,7 +27,7 @@ static DISPLAY_COMMANDS: DisplayCommandChannel = DisplayCommandChannel::new();
|
||||
|
||||
// Entry point: each platform needs its own executor macro.
|
||||
cfg_if::cfg_if! {
|
||||
if #[cfg(feature = "rak_4631")] {
|
||||
if #[cfg(feature = "rak_wisblock_4631")] {
|
||||
#[embassy_executor::main]
|
||||
async fn main(spawner: Spawner) {
|
||||
run(spawner).await;
|
||||
|
||||
Reference in new issue
Block a user