Skip to content

Commit

Permalink
fix(boards): rename the ESP32 boards
Browse files Browse the repository at this point in the history
Some of them were using the *module* name instead of the board name.
  • Loading branch information
ROMemories committed Jan 21, 2025
1 parent 0f60d0c commit 88e0e22
Show file tree
Hide file tree
Showing 11 changed files with 21 additions and 21 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ jobs:
if: github.event_name != 'schedule'
run: |
source ~/source-this-first.sh
echo "LAZE_BUILDERS=ai-c3,espressif-esp32-c6-devkitc-1,espressif-esp32-s3-wroom-1,microbit-v2,nrf52840dk,nrf5340dk,rpi-pico,rpi-pico-w,st-nucleo-h755zi-q,st-nucleo-wb55" >> "$GITHUB_ENV"
echo "LAZE_BUILDERS=ai-c3,espressif-esp32-c6-devkitc-1,espressif-esp32-s3-devkitc-1,microbit-v2,nrf52840dk,nrf5340dk,rpi-pico,rpi-pico-w,st-nucleo-h755zi-q,st-nucleo-wb55" >> "$GITHUB_ENV"
- name: "ariel-os compilation test"
if: steps.result-cache.outputs.cache-hit != 'true'
Expand Down
8 changes: 4 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion book/src/support_matrix.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions doc/support_matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -216,8 +216,8 @@ boards:
user_usb: not_currently_supported
ethernet_over_usb: not_currently_supported

espressif-esp32-s3-wroom-1:
name: Espressif ESP32-S3-WROOM-1
espressif-esp32-s3-devkitc-1:
name: Espressif ESP32-S3-DevKitC-1
chip: esp32-s3
support:
user_usb: not_currently_supported
Expand Down
6 changes: 3 additions & 3 deletions laze-project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -670,7 +670,7 @@ modules:
- name: hw/usb-device-port
help: provided if a device has a USB device port wired up
context:
- espressif-esp32-s3-wroom-1
- espressif-esp32-s3-devkitc-1
- nrf5340dk
- nrf52840dk
- rpi-pico
Expand Down Expand Up @@ -1000,13 +1000,13 @@ builders:
- name: ai-c3
parent: esp32c3

- name: espressif-esp32-wroom-32
- name: espressif-esp32-devkitc
parent: esp32

- name: espressif-esp32-c6-devkitc-1
parent: esp32c6

- name: espressif-esp32-s3-wroom-1
- name: espressif-esp32-s3-devkitc-1
parent: esp32s3

- name: nrf5340dk
Expand Down
4 changes: 2 additions & 2 deletions src/ariel-os-boards/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ ariel-os-rt = { path = "../ariel-os-rt" }

ai-c3 = { optional = true, path = "ai-c3" }
espressif-esp32-c6-devkitc-1 = { optional = true, path = "espressif-esp32-c6-devkitc-1" }
espressif-esp32-s3-wroom-1 = { optional = true, path = "espressif-esp32-s3-wroom-1" }
espressif-esp32-wroom-32 = { optional = true, path = "espressif-esp32-wroom-32" }
espressif-esp32-s3-devkitc-1 = { optional = true, path = "espressif-esp32-s3-devkitc-1" }
espressif-esp32-devkitc = { optional = true, path = "espressif-esp32-devkitc" }
dwm1001 = { optional = true, path = "dwm1001" }
microbit = { optional = true, path = "microbit" }
microbit-v2 = { optional = true, path = "microbit-v2" }
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "espressif-esp32-wroom-32"
name = "espressif-esp32-devkitc"
version = "0.1.0"
license.workspace = true
edition.workspace = true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
use ariel_os_debug::println;

pub fn init() {
println!("espressif-esp32-wroom-32::init()");
println!("espressif-esp32-devkitc::init()");
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "espressif-esp32-s3-wroom-1"
name = "espressif-esp32-s3-devkitc-1"
version = "0.1.0"
license.workspace = true
edition.workspace = true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
use ariel_os_debug::log::debug;

pub fn init() {
debug!("espressif-esp32-s3-wroom-1::init()");
debug!("espressif-esp32-s3-devkitc-1::init()");
}
8 changes: 4 additions & 4 deletions src/ariel-os-boards/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ use cfg_if::cfg_if;
cfg_if! {
if #[cfg(feature = "ai-c3")] {
pub use ai_c3 as board;
} else if #[cfg(feature = "espressif-esp32-wroom-32")] {
pub use espressif_esp32_wroom_32 as board;
} else if #[cfg(feature = "espressif-esp32-devkitc")] {
pub use espressif_esp32_devkitc as board;
} else if #[cfg(feature = "espressif-esp32-c6-devkitc-1")] {
pub use espressif_esp32_c6_devkitc_1 as board;
} else if #[cfg(feature = "espressif-esp32-s3-wroom-1")] {
pub use espressif_esp32_s3_wroom_1 as board;
} else if #[cfg(feature = "espressif-esp32-s3-devkitc-1")] {
pub use espressif_esp32_s3_devkitc_1 as board;
} else if #[cfg(feature = "nrf52dk")] {
pub use nrf52dk as board;
} else if #[cfg(feature = "dwm1001")] {
Expand Down

0 comments on commit 88e0e22

Please sign in to comment.