Skip to content

Commit e1f7992

Browse files
committed
Reorganize MCU board support examples into modules
Move MCU board support example files into their own directories
1 parent 7b93d13 commit e1f7992

File tree

6 files changed

+5
-0
lines changed

6 files changed

+5
-0
lines changed

examples/mcu-board-support/lib.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,26 +10,31 @@
1010
extern crate alloc;
1111

1212
#[cfg(feature = "pico-st7789")]
13+
#[path = "pico_st7789/pico_st7789.rs"]
1314
mod pico_st7789;
1415
#[cfg(feature = "pico-st7789")]
1516
pub use pico_st7789::*;
1617

1718
#[cfg(feature = "pico2-st7789")]
19+
#[path = "pico2_st7789/pico2_st7789.rs"]
1820
mod pico2_st7789;
1921
#[cfg(feature = "pico2-st7789")]
2022
pub use pico2_st7789::*;
2123

2224
#[cfg(feature = "stm32h735g")]
25+
#[path = "stm32h735g/stm32h735g.rs"]
2326
mod stm32h735g;
2427
#[cfg(feature = "stm32h735g")]
2528
pub use stm32h735g::*;
2629

2730
#[cfg(feature = "stm32u5g9j-dk2")]
31+
#[path = "stm32u5g9j_dk2/stm32u5g9j_dk2.rs"]
2832
mod stm32u5g9j_dk2;
2933
#[cfg(feature = "stm32u5g9j-dk2")]
3034
pub use stm32u5g9j_dk2::*;
3135

3236
#[cfg(feature = "esp32-s3-box-3")]
37+
#[path = "esp32_s3_box_3/esp32_s3_box_3.rs"]
3338
mod esp32_s3_box_3;
3439
#[cfg(feature = "esp32-s3-box-3")]
3540
pub use esp32_s3_box_3::*;

0 commit comments

Comments
 (0)