Skip to main content

chip_pretty

Macro chip_pretty 

Source
macro_rules! chip_pretty {
    () => { ... };
}
Available on crate feature _device-selected only.
Expand description

The pretty name of the chip as &str

ยงExample

use esp_hal::chip;
let chip_name = chip_pretty!();
assert_eq!(chip_name, ESP32-C5)