use core::ops::Range;
extern crate alloc;
#[cfg(docsrs)]
macro_rules! println {
($($any:tt)*) => {};
}
#[doc(hidden)]
#[macro_export]
macro_rules! __assert_features_logic {
($op:tt, $limit:expr, $msg:literal, $($feature:literal),+ $(,)?) => {
{ let enabled : Vec < & str > = [$(if cfg!(feature = $feature) { Some($feature) }
else { None },)+].into_iter().flatten().collect(); assert!(enabled.len() $op
$limit, concat!($msg,
": {}.\nCurrently enabled: {}. This might be caused by enabled default features.\n"),
[$($feature),+].join(", "), if enabled.is_empty() { "none".to_string() } else {
enabled.join(", ") }); }
};
}
#[macro_export]
macro_rules! assert_unique_features {
($($f:literal),+ $(,)?) => {
$crate::__assert_features_logic!(<=, 1,
"\nAt most one of the following features must be enabled", $($f),+);
};
}
#[macro_export]
macro_rules! assert_unique_used_features {
($($f:literal),+ $(,)?) => {
$crate::__assert_features_logic!(==, 1,
"\nExactly one of the following features must be enabled", $($f),+);
};
}
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)]
#[cfg_attr(docsrs, doc(cfg(feature = "build-script")))]
pub enum Chip {
Esp32,
Esp32c2,
Esp32c3,
Esp32c5,
Esp32c6,
Esp32c61,
Esp32h2,
Esp32p4,
Esp32s2,
Esp32s3,
Esp32s31,
}
impl core::str::FromStr for Chip {
type Err = alloc::string::String;
fn from_str(s: &str) -> Result<Self, Self::Err> {
match s {
"esp32" => Ok(Self::Esp32),
"esp32c2" => Ok(Self::Esp32c2),
"esp32c3" => Ok(Self::Esp32c3),
"esp32c5" => Ok(Self::Esp32c5),
"esp32c6" => Ok(Self::Esp32c6),
"esp32c61" => Ok(Self::Esp32c61),
"esp32h2" => Ok(Self::Esp32h2),
"esp32p4" => Ok(Self::Esp32p4),
"esp32s2" => Ok(Self::Esp32s2),
"esp32s3" => Ok(Self::Esp32s3),
"esp32s31" => Ok(Self::Esp32s31),
_ => Err(alloc::format!(
"Unknown chip {s}. Possible options: esp32, esp32c2, esp32c3, esp32c5, esp32c6, \
esp32c61, esp32h2, esp32p4, esp32s2, esp32s3, esp32s31"
)),
}
}
}
impl Chip {
pub fn from_cargo_feature() -> Result<Self, &'static str> {
let all_chips = [
("CARGO_FEATURE_ESP32", Self::Esp32),
("CARGO_FEATURE_ESP32C2", Self::Esp32c2),
("CARGO_FEATURE_ESP32C3", Self::Esp32c3),
("CARGO_FEATURE_ESP32C5", Self::Esp32c5),
("CARGO_FEATURE_ESP32C6", Self::Esp32c6),
("CARGO_FEATURE_ESP32C61", Self::Esp32c61),
("CARGO_FEATURE_ESP32H2", Self::Esp32h2),
("CARGO_FEATURE_ESP32P4", Self::Esp32p4),
("CARGO_FEATURE_ESP32S2", Self::Esp32s2),
("CARGO_FEATURE_ESP32S3", Self::Esp32s3),
("CARGO_FEATURE_ESP32S31", Self::Esp32s31),
];
let mut chip = None;
for (env, c) in all_chips {
if std::env::var(env).is_ok() {
if chip.is_some() {
return Err(
"Expected exactly one of the following features to be enabled: esp32, \
esp32c2, esp32c3, esp32c5, esp32c6, esp32c61, esp32h2, esp32p4, esp32s2, \
esp32s3, esp32s31",
);
}
chip = Some(c);
}
}
match chip {
Some(chip) => Ok(chip),
None => Err(
"Expected exactly one of the following features to be enabled: esp32, esp32c2, \
esp32c3, esp32c5, esp32c6, esp32c61, esp32h2, esp32p4, esp32s2, esp32s3, esp32s31",
),
}
}
pub fn is_xtensa(self) -> bool {
self.config().architecture == "xtensa"
}
pub fn target(self) -> &'static str {
self.config().target
}
pub fn name(self) -> &'static str {
match self {
Self::Esp32 => "esp32",
Self::Esp32c2 => "esp32c2",
Self::Esp32c3 => "esp32c3",
Self::Esp32c5 => "esp32c5",
Self::Esp32c6 => "esp32c6",
Self::Esp32c61 => "esp32c61",
Self::Esp32h2 => "esp32h2",
Self::Esp32p4 => "esp32p4",
Self::Esp32s2 => "esp32s2",
Self::Esp32s3 => "esp32s3",
Self::Esp32s31 => "esp32s31",
}
}
pub fn contains(self, symbol: &str) -> bool {
self.all_symbols().contains(&symbol)
}
pub fn define_cfgs(self) {
self.config().define_cfgs()
}
pub fn all_symbols(&self) -> &'static [&'static str] {
self.config().symbols
}
pub fn memory_layout(&self) -> &'static MemoryLayout {
self.config().memory_layout
}
pub fn pins(&self) -> &'static [PinInfo] {
self.config().pins
}
pub fn iter() -> impl Iterator<Item = Chip> {
[
Self::Esp32,
Self::Esp32c2,
Self::Esp32c3,
Self::Esp32c5,
Self::Esp32c6,
Self::Esp32c61,
Self::Esp32h2,
Self::Esp32p4,
Self::Esp32s2,
Self::Esp32s3,
Self::Esp32s31,
]
.into_iter()
}
fn config(self) -> Config {
match self {
Self::Esp32 => Config {
architecture: "xtensa",
target: "xtensa-esp32-none-elf",
symbols: &[
"esp32",
"xtensa",
"multi_core",
"soc_has_aes",
"soc_has_apb_ctrl",
"soc_has_bb",
"soc_has_dport",
"soc_has_system",
"soc_has_efuse",
"soc_has_eth",
"soc_has_emac_dma",
"soc_has_emac_ext",
"soc_has_emac_mac",
"soc_has_flash_encryption",
"soc_has_frc_timer",
"soc_has_gpio",
"soc_has_gpio_sd",
"soc_has_hinf",
"soc_has_i2c0",
"soc_has_i2c1",
"soc_has_i2s0",
"soc_has_i2s1",
"soc_has_io_mux",
"soc_has_ledc",
"soc_has_mcpwm0",
"soc_has_mmu_table",
"soc_has_mcpwm1",
"soc_has_nrx",
"soc_has_pcnt",
"soc_has_rmt",
"soc_has_rng",
"soc_has_rsa",
"soc_has_lpwr",
"soc_has_rtc_timer",
"soc_has_lp_i2c0",
"soc_has_rtc_io",
"soc_has_sdhost",
"soc_has_sens",
"soc_has_sha",
"soc_has_slc",
"soc_has_slchost",
"soc_has_spi0",
"soc_has_spi1",
"soc_has_spi2",
"soc_has_spi3",
"soc_has_timg0",
"soc_has_timg1",
"soc_has_twai0",
"soc_has_uart0",
"soc_has_uart1",
"soc_has_uart2",
"soc_has_uhci0",
"soc_has_uhci1",
"soc_has_wifi",
"soc_has_adc1",
"soc_has_adc2",
"soc_has_bt",
"soc_has_cpu_ctrl",
"soc_has_dac1",
"soc_has_dac2",
"soc_has_flash",
"soc_has_psram",
"soc_has_touch",
"soc_has_ipc",
"soc_has_from_cpu_intr0",
"soc_has_from_cpu_intr1",
"soc_has_from_cpu_intr2",
"soc_has_from_cpu_intr3",
"gpio_driver_supported",
"io_mux_driver_supported",
"lp_io_driver_supported",
"uart_driver_supported",
"i2c_master_driver_supported",
"spi_master_driver_supported",
"spi_slave_driver_supported",
"i2s_driver_supported",
"rmt_driver_supported",
"sdmmc_driver_supported",
"twai_driver_supported",
"bt_driver_supported",
"wifi_driver_supported",
"ethernet_driver_supported",
"phy_driver_supported",
"rgb_display_driver_supported",
"adc_driver_supported",
"dac_driver_supported",
"temp_sensor_driver_supported",
"touch_driver_supported",
"ledc_driver_supported",
"mcpwm_driver_supported",
"pcnt_driver_supported",
"lp_timer_driver_supported",
"sdm_driver_supported",
"timergroup_driver_supported",
"aes_driver_supported",
"rng_driver_supported",
"rsa_driver_supported",
"sha_driver_supported",
"sleep_driver_supported",
"dma_driver_supported",
"interrupts_driver_supported",
"mmu_driver_supported",
"flash_driver_supported",
"psram_driver_supported",
"rom_driver_supported",
"soc_driver_supported",
"uart_uart0",
"uart_uart1",
"uart_uart2",
"i2c_master_i2c0",
"i2c_master_i2c1",
"spi_master_spi2",
"spi_master_spi3",
"spi_slave_spi2",
"spi_slave_spi3",
"i2s_i2s0",
"i2s_i2s1",
"adc_adc1",
"adc_adc2",
"dac_dac1",
"dac_dac2",
"pcnt_PCNT",
"timergroup_timg0",
"timergroup_timg1",
"gpio_version=\"1\"",
"gpio_gpio_function=\"2\"",
"gpio_constant_0_input=\"48\"",
"gpio_constant_1_input=\"56\"",
"gpio_remap_iomux_pin_registers",
"gpio_func_in_sel_offset=\"0\"",
"soc_has_xtal32k_pads",
"gpio_has_bank_1",
"gpio_input_signal_max=\"206\"",
"gpio_output_signal_max=\"256\"",
"lp_io_version=\"esp32\"",
"uart_ram_size=\"128\"",
"uart_version=\"1\"",
"i2c_master_version=\"1\"",
"i2c_master_separate_filter_config_registers",
"i2c_master_i2c0_data_register_ahb_address=\"1610690588\"",
"i2c_master_i2c0_data_register_ahb_address_is_set",
"i2c_master_max_bus_timeout=\"1048575\"",
"i2c_master_ll_intr_mask=\"262143\"",
"i2c_master_fifo_size=\"32\"",
"spi_master_version=\"1\"",
"spi_master_fifo_size=\"64\"",
"spi_master_bit_order_is_bool",
"i2s_version=\"1\"",
"i2s_version_is_set",
"i2s_mclk_divider_bit_width=\"6\"",
"i2s_mclk_divider_bit_width_is_set",
"i2s_max_ws_width=\"128\"",
"i2s_max_ws_width_is_set",
"i2s_supports_pdm_tx",
"i2s_supports_pdm_rx",
"i2s_supports_pcm2pdm",
"i2s_supports_pdm2pcm",
"rmt_ram_start=\"1073047552\"",
"rmt_channel_ram_size=\"64\"",
"rmt_has_per_channel_clock",
"sdmmc_has_iomux",
"bt_controller=\"btdm\"",
"wifi_mac_version=\"1\"",
"wifi_csi_supported",
"ethernet_rx_store_and_forward",
"ethernet_dma_burst_len=\"32\"",
"phy_combo_module",
"rgb_display_output_lines=\"24\"",
"ledc_version=\"1\"",
"ledc_channel_count=\"8\"",
"soc_has_sdm_ch0",
"soc_has_sdm_ch1",
"soc_has_sdm_ch2",
"soc_has_sdm_ch3",
"soc_has_sdm_ch4",
"soc_has_sdm_ch5",
"soc_has_sdm_ch6",
"soc_has_sdm_ch7",
"timergroup_timg_has_timer1",
"timergroup_rc_fast_calibration_is_set",
"aes_endianness_configurable",
"rng_apb_cycle_wait_num=\"16\"",
"rng_trng_supported",
"rsa_version=\"1\"",
"rsa_size_increment=\"512\"",
"rsa_memory_size_bytes=\"512\"",
"sleep_light_sleep",
"sleep_deep_sleep",
"sleep_has_wakeup_source_ext0",
"sleep_has_wakeup_source_ext1",
"sleep_has_wakeup_source_gpio",
"sleep_has_wakeup_source_timer",
"sleep_has_wakeup_source_sdio",
"sleep_has_wakeup_source_wifi",
"sleep_has_wakeup_source_uart",
"sleep_has_wakeup_source_touch",
"sleep_has_wakeup_source_ulp",
"sleep_has_wakeup_source_bt",
"sleep_ext1_version=\"1\"",
"sleep_ext1_version_is_set",
"sleep_pin_wakeup_version=\"1\"",
"sleep_pin_wakeup_version_is_set",
"sleep_deep_sleep_needs_gpio_isolation",
"soc_has_dma_spi2",
"soc_has_dma_spi3",
"soc_has_dma_i2s0",
"soc_has_dma_i2s1",
"spi_master_supports_dma",
"spi_master_dma_engine=\"SPI_DMA\"",
"spi_slave_supports_dma",
"spi_slave_dma_engine=\"SPI_DMA\"",
"i2s_supports_dma",
"i2s_dma_engine=\"I2S_DMA\"",
"interrupts_status_registers=\"3\"",
"interrupt_controller=\"xtensa\"",
"context_switch_source=\"ipc\"",
"mmu_page_size=\"65536\"",
"mmu_entry_num=\"256\"",
"psram_extmem_origin=\"1065353216\"",
"rom_has_crc_le",
"rom_has_crc_be",
"rom_has_md5_bsd",
"soc_multi_core_enabled",
"soc_cpu_mcause_mask=\"0\"",
"soc_has_clock_node_xtal_clk",
"soc_clock_node_xtal_clk_is_configurable",
"soc_has_clock_node_pll_clk",
"soc_clock_node_pll_clk_is_configurable",
"soc_has_clock_node_apll_clk",
"soc_clock_node_apll_clk_is_configurable",
"soc_has_clock_node_rc_fast_clk",
"soc_has_clock_node_pll_f160m_clk",
"soc_has_clock_node_pll_d2_clk",
"soc_has_clock_node_cpu_pll_div_in",
"soc_clock_node_cpu_pll_div_in_is_configurable",
"soc_has_clock_node_cpu_pll_div",
"soc_clock_node_cpu_pll_div_is_configurable",
"soc_has_clock_node_syscon_pre_div_in",
"soc_clock_node_syscon_pre_div_in_is_configurable",
"soc_has_clock_node_syscon_pre_div",
"soc_clock_node_syscon_pre_div_is_configurable",
"soc_has_clock_node_cpu_clk",
"soc_clock_node_cpu_clk_is_configurable",
"soc_has_clock_node_apb_clk_cpu_div2",
"soc_has_clock_node_apb_clk_80m",
"soc_has_clock_node_apb_clk",
"soc_clock_node_apb_clk_is_configurable",
"soc_has_clock_node_ref_tick_pll",
"soc_clock_node_ref_tick_pll_is_configurable",
"soc_has_clock_node_ref_tick_apll",
"soc_clock_node_ref_tick_apll_is_configurable",
"soc_has_clock_node_ref_tick_xtal",
"soc_clock_node_ref_tick_xtal_is_configurable",
"soc_has_clock_node_ref_tick_fosc",
"soc_clock_node_ref_tick_fosc_is_configurable",
"soc_has_clock_node_ref_tick",
"soc_clock_node_ref_tick_is_configurable",
"soc_has_clock_node_xtal32k_clk",
"soc_has_clock_node_rc_slow_clk",
"soc_has_clock_node_rc_fast_div_clk",
"soc_has_clock_node_xtal_div_clk",
"soc_has_clock_node_rtc_slow_clk",
"soc_clock_node_rtc_slow_clk_is_configurable",
"soc_has_clock_node_rtc_fast_clk",
"soc_clock_node_rtc_fast_clk_is_configurable",
"soc_has_clock_node_uart_mem_clk",
"soc_has_clock_node_timg_calibration_clock",
"soc_clock_node_timg_calibration_clock_is_configurable",
"soc_has_clock_node_mcpwm_function_clock",
"soc_has_clock_node_i2c_function_clock",
"soc_clock_node_i2c_function_clock_is_configurable",
"soc_has_clock_node_uart_function_clock",
"soc_clock_node_uart_function_clock_is_configurable",
"soc_has_clock_node_uart_mem_clock",
"soc_has_clock_node_uart_baud_rate_generator",
"soc_clock_node_uart_baud_rate_generator_is_configurable",
"soc_has_clock_node_sdm_function_clock",
"soc_has_clock_node_rmt_sclk",
"soc_clock_node_rmt_sclk_is_configurable",
"soc_has_clock_node_spi_function_clock",
"soc_has_clock_node_i2s_mclk",
"soc_clock_node_i2s_mclk_is_configurable",
"has_dram_region",
"has_dram2_uninit_region",
"has_irom_region",
"has_drom_region",
],
cfgs: &[
"cargo:rustc-cfg=esp32",
"cargo:rustc-cfg=xtensa",
"cargo:rustc-cfg=multi_core",
"cargo:rustc-cfg=soc_has_aes",
"cargo:rustc-cfg=soc_has_apb_ctrl",
"cargo:rustc-cfg=soc_has_bb",
"cargo:rustc-cfg=soc_has_dport",
"cargo:rustc-cfg=soc_has_system",
"cargo:rustc-cfg=soc_has_efuse",
"cargo:rustc-cfg=soc_has_eth",
"cargo:rustc-cfg=soc_has_emac_dma",
"cargo:rustc-cfg=soc_has_emac_ext",
"cargo:rustc-cfg=soc_has_emac_mac",
"cargo:rustc-cfg=soc_has_flash_encryption",
"cargo:rustc-cfg=soc_has_frc_timer",
"cargo:rustc-cfg=soc_has_gpio",
"cargo:rustc-cfg=soc_has_gpio_sd",
"cargo:rustc-cfg=soc_has_hinf",
"cargo:rustc-cfg=soc_has_i2c0",
"cargo:rustc-cfg=soc_has_i2c1",
"cargo:rustc-cfg=soc_has_i2s0",
"cargo:rustc-cfg=soc_has_i2s1",
"cargo:rustc-cfg=soc_has_io_mux",
"cargo:rustc-cfg=soc_has_ledc",
"cargo:rustc-cfg=soc_has_mcpwm0",
"cargo:rustc-cfg=soc_has_mmu_table",
"cargo:rustc-cfg=soc_has_mcpwm1",
"cargo:rustc-cfg=soc_has_nrx",
"cargo:rustc-cfg=soc_has_pcnt",
"cargo:rustc-cfg=soc_has_rmt",
"cargo:rustc-cfg=soc_has_rng",
"cargo:rustc-cfg=soc_has_rsa",
"cargo:rustc-cfg=soc_has_lpwr",
"cargo:rustc-cfg=soc_has_rtc_timer",
"cargo:rustc-cfg=soc_has_lp_i2c0",
"cargo:rustc-cfg=soc_has_rtc_io",
"cargo:rustc-cfg=soc_has_sdhost",
"cargo:rustc-cfg=soc_has_sens",
"cargo:rustc-cfg=soc_has_sha",
"cargo:rustc-cfg=soc_has_slc",
"cargo:rustc-cfg=soc_has_slchost",
"cargo:rustc-cfg=soc_has_spi0",
"cargo:rustc-cfg=soc_has_spi1",
"cargo:rustc-cfg=soc_has_spi2",
"cargo:rustc-cfg=soc_has_spi3",
"cargo:rustc-cfg=soc_has_timg0",
"cargo:rustc-cfg=soc_has_timg1",
"cargo:rustc-cfg=soc_has_twai0",
"cargo:rustc-cfg=soc_has_uart0",
"cargo:rustc-cfg=soc_has_uart1",
"cargo:rustc-cfg=soc_has_uart2",
"cargo:rustc-cfg=soc_has_uhci0",
"cargo:rustc-cfg=soc_has_uhci1",
"cargo:rustc-cfg=soc_has_wifi",
"cargo:rustc-cfg=soc_has_adc1",
"cargo:rustc-cfg=soc_has_adc2",
"cargo:rustc-cfg=soc_has_bt",
"cargo:rustc-cfg=soc_has_cpu_ctrl",
"cargo:rustc-cfg=soc_has_dac1",
"cargo:rustc-cfg=soc_has_dac2",
"cargo:rustc-cfg=soc_has_flash",
"cargo:rustc-cfg=soc_has_psram",
"cargo:rustc-cfg=soc_has_touch",
"cargo:rustc-cfg=soc_has_ipc",
"cargo:rustc-cfg=soc_has_from_cpu_intr0",
"cargo:rustc-cfg=soc_has_from_cpu_intr1",
"cargo:rustc-cfg=soc_has_from_cpu_intr2",
"cargo:rustc-cfg=soc_has_from_cpu_intr3",
"cargo:rustc-cfg=gpio_driver_supported",
"cargo:rustc-cfg=io_mux_driver_supported",
"cargo:rustc-cfg=lp_io_driver_supported",
"cargo:rustc-cfg=uart_driver_supported",
"cargo:rustc-cfg=i2c_master_driver_supported",
"cargo:rustc-cfg=spi_master_driver_supported",
"cargo:rustc-cfg=spi_slave_driver_supported",
"cargo:rustc-cfg=i2s_driver_supported",
"cargo:rustc-cfg=rmt_driver_supported",
"cargo:rustc-cfg=sdmmc_driver_supported",
"cargo:rustc-cfg=twai_driver_supported",
"cargo:rustc-cfg=bt_driver_supported",
"cargo:rustc-cfg=wifi_driver_supported",
"cargo:rustc-cfg=ethernet_driver_supported",
"cargo:rustc-cfg=phy_driver_supported",
"cargo:rustc-cfg=rgb_display_driver_supported",
"cargo:rustc-cfg=adc_driver_supported",
"cargo:rustc-cfg=dac_driver_supported",
"cargo:rustc-cfg=temp_sensor_driver_supported",
"cargo:rustc-cfg=touch_driver_supported",
"cargo:rustc-cfg=ledc_driver_supported",
"cargo:rustc-cfg=mcpwm_driver_supported",
"cargo:rustc-cfg=pcnt_driver_supported",
"cargo:rustc-cfg=lp_timer_driver_supported",
"cargo:rustc-cfg=sdm_driver_supported",
"cargo:rustc-cfg=timergroup_driver_supported",
"cargo:rustc-cfg=aes_driver_supported",
"cargo:rustc-cfg=rng_driver_supported",
"cargo:rustc-cfg=rsa_driver_supported",
"cargo:rustc-cfg=sha_driver_supported",
"cargo:rustc-cfg=sleep_driver_supported",
"cargo:rustc-cfg=dma_driver_supported",
"cargo:rustc-cfg=interrupts_driver_supported",
"cargo:rustc-cfg=mmu_driver_supported",
"cargo:rustc-cfg=flash_driver_supported",
"cargo:rustc-cfg=psram_driver_supported",
"cargo:rustc-cfg=rom_driver_supported",
"cargo:rustc-cfg=soc_driver_supported",
"cargo:rustc-cfg=uart_uart0",
"cargo:rustc-cfg=uart_uart1",
"cargo:rustc-cfg=uart_uart2",
"cargo:rustc-cfg=i2c_master_i2c0",
"cargo:rustc-cfg=i2c_master_i2c1",
"cargo:rustc-cfg=spi_master_spi2",
"cargo:rustc-cfg=spi_master_spi3",
"cargo:rustc-cfg=spi_slave_spi2",
"cargo:rustc-cfg=spi_slave_spi3",
"cargo:rustc-cfg=i2s_i2s0",
"cargo:rustc-cfg=i2s_i2s1",
"cargo:rustc-cfg=adc_adc1",
"cargo:rustc-cfg=adc_adc2",
"cargo:rustc-cfg=dac_dac1",
"cargo:rustc-cfg=dac_dac2",
"cargo:rustc-cfg=pcnt_PCNT",
"cargo:rustc-cfg=timergroup_timg0",
"cargo:rustc-cfg=timergroup_timg1",
"cargo:rustc-cfg=gpio_version=\"1\"",
"cargo:rustc-cfg=gpio_gpio_function=\"2\"",
"cargo:rustc-cfg=gpio_constant_0_input=\"48\"",
"cargo:rustc-cfg=gpio_constant_1_input=\"56\"",
"cargo:rustc-cfg=gpio_remap_iomux_pin_registers",
"cargo:rustc-cfg=gpio_func_in_sel_offset=\"0\"",
"cargo:rustc-cfg=soc_has_xtal32k_pads",
"cargo:rustc-cfg=gpio_has_bank_1",
"cargo:rustc-cfg=gpio_input_signal_max=\"206\"",
"cargo:rustc-cfg=gpio_output_signal_max=\"256\"",
"cargo:rustc-cfg=lp_io_version=\"esp32\"",
"cargo:rustc-cfg=uart_ram_size=\"128\"",
"cargo:rustc-cfg=uart_version=\"1\"",
"cargo:rustc-cfg=i2c_master_version=\"1\"",
"cargo:rustc-cfg=i2c_master_separate_filter_config_registers",
"cargo:rustc-cfg=i2c_master_i2c0_data_register_ahb_address=\"1610690588\"",
"cargo:rustc-cfg=i2c_master_i2c0_data_register_ahb_address_is_set",
"cargo:rustc-cfg=i2c_master_max_bus_timeout=\"1048575\"",
"cargo:rustc-cfg=i2c_master_ll_intr_mask=\"262143\"",
"cargo:rustc-cfg=i2c_master_fifo_size=\"32\"",
"cargo:rustc-cfg=spi_master_version=\"1\"",
"cargo:rustc-cfg=spi_master_fifo_size=\"64\"",
"cargo:rustc-cfg=spi_master_bit_order_is_bool",
"cargo:rustc-cfg=i2s_version=\"1\"",
"cargo:rustc-cfg=i2s_version_is_set",
"cargo:rustc-cfg=i2s_mclk_divider_bit_width=\"6\"",
"cargo:rustc-cfg=i2s_mclk_divider_bit_width_is_set",
"cargo:rustc-cfg=i2s_max_ws_width=\"128\"",
"cargo:rustc-cfg=i2s_max_ws_width_is_set",
"cargo:rustc-cfg=i2s_supports_pdm_tx",
"cargo:rustc-cfg=i2s_supports_pdm_rx",
"cargo:rustc-cfg=i2s_supports_pcm2pdm",
"cargo:rustc-cfg=i2s_supports_pdm2pcm",
"cargo:rustc-cfg=rmt_ram_start=\"1073047552\"",
"cargo:rustc-cfg=rmt_channel_ram_size=\"64\"",
"cargo:rustc-cfg=rmt_has_per_channel_clock",
"cargo:rustc-cfg=sdmmc_has_iomux",
"cargo:rustc-cfg=bt_controller=\"btdm\"",
"cargo:rustc-cfg=wifi_mac_version=\"1\"",
"cargo:rustc-cfg=wifi_csi_supported",
"cargo:rustc-cfg=ethernet_rx_store_and_forward",
"cargo:rustc-cfg=ethernet_dma_burst_len=\"32\"",
"cargo:rustc-cfg=phy_combo_module",
"cargo:rustc-cfg=rgb_display_output_lines=\"24\"",
"cargo:rustc-cfg=ledc_version=\"1\"",
"cargo:rustc-cfg=ledc_channel_count=\"8\"",
"cargo:rustc-cfg=soc_has_sdm_ch0",
"cargo:rustc-cfg=soc_has_sdm_ch1",
"cargo:rustc-cfg=soc_has_sdm_ch2",
"cargo:rustc-cfg=soc_has_sdm_ch3",
"cargo:rustc-cfg=soc_has_sdm_ch4",
"cargo:rustc-cfg=soc_has_sdm_ch5",
"cargo:rustc-cfg=soc_has_sdm_ch6",
"cargo:rustc-cfg=soc_has_sdm_ch7",
"cargo:rustc-cfg=timergroup_timg_has_timer1",
"cargo:rustc-cfg=timergroup_rc_fast_calibration_is_set",
"cargo:rustc-cfg=aes_endianness_configurable",
"cargo:rustc-cfg=rng_apb_cycle_wait_num=\"16\"",
"cargo:rustc-cfg=rng_trng_supported",
"cargo:rustc-cfg=rsa_version=\"1\"",
"cargo:rustc-cfg=rsa_size_increment=\"512\"",
"cargo:rustc-cfg=rsa_memory_size_bytes=\"512\"",
"cargo:rustc-cfg=sleep_light_sleep",
"cargo:rustc-cfg=sleep_deep_sleep",
"cargo:rustc-cfg=sleep_has_wakeup_source_ext0",
"cargo:rustc-cfg=sleep_has_wakeup_source_ext1",
"cargo:rustc-cfg=sleep_has_wakeup_source_gpio",
"cargo:rustc-cfg=sleep_has_wakeup_source_timer",
"cargo:rustc-cfg=sleep_has_wakeup_source_sdio",
"cargo:rustc-cfg=sleep_has_wakeup_source_wifi",
"cargo:rustc-cfg=sleep_has_wakeup_source_uart",
"cargo:rustc-cfg=sleep_has_wakeup_source_touch",
"cargo:rustc-cfg=sleep_has_wakeup_source_ulp",
"cargo:rustc-cfg=sleep_has_wakeup_source_bt",
"cargo:rustc-cfg=sleep_ext1_version=\"1\"",
"cargo:rustc-cfg=sleep_ext1_version_is_set",
"cargo:rustc-cfg=sleep_pin_wakeup_version=\"1\"",
"cargo:rustc-cfg=sleep_pin_wakeup_version_is_set",
"cargo:rustc-cfg=sleep_deep_sleep_needs_gpio_isolation",
"cargo:rustc-cfg=soc_has_dma_spi2",
"cargo:rustc-cfg=soc_has_dma_spi3",
"cargo:rustc-cfg=soc_has_dma_i2s0",
"cargo:rustc-cfg=soc_has_dma_i2s1",
"cargo:rustc-cfg=spi_master_supports_dma",
"cargo:rustc-cfg=spi_master_dma_engine=\"SPI_DMA\"",
"cargo:rustc-cfg=spi_slave_supports_dma",
"cargo:rustc-cfg=spi_slave_dma_engine=\"SPI_DMA\"",
"cargo:rustc-cfg=i2s_supports_dma",
"cargo:rustc-cfg=i2s_dma_engine=\"I2S_DMA\"",
"cargo:rustc-cfg=interrupts_status_registers=\"3\"",
"cargo:rustc-cfg=interrupt_controller=\"xtensa\"",
"cargo:rustc-cfg=context_switch_source=\"ipc\"",
"cargo:rustc-cfg=mmu_page_size=\"65536\"",
"cargo:rustc-cfg=mmu_entry_num=\"256\"",
"cargo:rustc-cfg=psram_extmem_origin=\"1065353216\"",
"cargo:rustc-cfg=rom_has_crc_le",
"cargo:rustc-cfg=rom_has_crc_be",
"cargo:rustc-cfg=rom_has_md5_bsd",
"cargo:rustc-cfg=soc_multi_core_enabled",
"cargo:rustc-cfg=soc_cpu_mcause_mask=\"0\"",
"cargo:rustc-cfg=soc_has_clock_node_xtal_clk",
"cargo:rustc-cfg=soc_clock_node_xtal_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_pll_clk",
"cargo:rustc-cfg=soc_clock_node_pll_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_apll_clk",
"cargo:rustc-cfg=soc_clock_node_apll_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_rc_fast_clk",
"cargo:rustc-cfg=soc_has_clock_node_pll_f160m_clk",
"cargo:rustc-cfg=soc_has_clock_node_pll_d2_clk",
"cargo:rustc-cfg=soc_has_clock_node_cpu_pll_div_in",
"cargo:rustc-cfg=soc_clock_node_cpu_pll_div_in_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_cpu_pll_div",
"cargo:rustc-cfg=soc_clock_node_cpu_pll_div_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_syscon_pre_div_in",
"cargo:rustc-cfg=soc_clock_node_syscon_pre_div_in_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_syscon_pre_div",
"cargo:rustc-cfg=soc_clock_node_syscon_pre_div_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_cpu_clk",
"cargo:rustc-cfg=soc_clock_node_cpu_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_apb_clk_cpu_div2",
"cargo:rustc-cfg=soc_has_clock_node_apb_clk_80m",
"cargo:rustc-cfg=soc_has_clock_node_apb_clk",
"cargo:rustc-cfg=soc_clock_node_apb_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_ref_tick_pll",
"cargo:rustc-cfg=soc_clock_node_ref_tick_pll_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_ref_tick_apll",
"cargo:rustc-cfg=soc_clock_node_ref_tick_apll_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_ref_tick_xtal",
"cargo:rustc-cfg=soc_clock_node_ref_tick_xtal_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_ref_tick_fosc",
"cargo:rustc-cfg=soc_clock_node_ref_tick_fosc_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_ref_tick",
"cargo:rustc-cfg=soc_clock_node_ref_tick_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_xtal32k_clk",
"cargo:rustc-cfg=soc_has_clock_node_rc_slow_clk",
"cargo:rustc-cfg=soc_has_clock_node_rc_fast_div_clk",
"cargo:rustc-cfg=soc_has_clock_node_xtal_div_clk",
"cargo:rustc-cfg=soc_has_clock_node_rtc_slow_clk",
"cargo:rustc-cfg=soc_clock_node_rtc_slow_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_rtc_fast_clk",
"cargo:rustc-cfg=soc_clock_node_rtc_fast_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_uart_mem_clk",
"cargo:rustc-cfg=soc_has_clock_node_timg_calibration_clock",
"cargo:rustc-cfg=soc_clock_node_timg_calibration_clock_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_mcpwm_function_clock",
"cargo:rustc-cfg=soc_has_clock_node_i2c_function_clock",
"cargo:rustc-cfg=soc_clock_node_i2c_function_clock_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_uart_function_clock",
"cargo:rustc-cfg=soc_clock_node_uart_function_clock_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_uart_mem_clock",
"cargo:rustc-cfg=soc_has_clock_node_uart_baud_rate_generator",
"cargo:rustc-cfg=soc_clock_node_uart_baud_rate_generator_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_sdm_function_clock",
"cargo:rustc-cfg=soc_has_clock_node_rmt_sclk",
"cargo:rustc-cfg=soc_clock_node_rmt_sclk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_spi_function_clock",
"cargo:rustc-cfg=soc_has_clock_node_i2s_mclk",
"cargo:rustc-cfg=soc_clock_node_i2s_mclk_is_configurable",
"cargo:rustc-cfg=has_dram_region",
"cargo:rustc-cfg=has_dram2_uninit_region",
"cargo:rustc-cfg=has_irom_region",
"cargo:rustc-cfg=has_drom_region",
],
memory_layout: &MemoryLayout {
regions: &[
(
"dram",
MemoryRegion {
address_range: 0x3FFAE000..0x40000000,
},
),
(
"dram2_uninit",
MemoryRegion {
address_range: 0x3FFE7E30..0x40000000,
},
),
(
"irom",
MemoryRegion {
address_range: 0x400D0000..0x40400000,
},
),
(
"drom",
MemoryRegion {
address_range: 0x3F400000..0x3F800000,
},
),
],
},
pins: &[
PinInfo {
pin: 0,
limitations: &["strapping"],
},
PinInfo {
pin: 1,
limitations: &["bootloader_uart"],
},
PinInfo {
pin: 2,
limitations: &["strapping"],
},
PinInfo {
pin: 3,
limitations: &["bootloader_uart"],
},
PinInfo {
pin: 4,
limitations: &[],
},
PinInfo {
pin: 5,
limitations: &["strapping"],
},
PinInfo {
pin: 6,
limitations: &["spi_flash", "spi_psram"],
},
PinInfo {
pin: 7,
limitations: &["spi_flash", "spi_psram"],
},
PinInfo {
pin: 8,
limitations: &["spi_flash", "spi_psram"],
},
PinInfo {
pin: 9,
limitations: &["spi_flash", "spi_psram"],
},
PinInfo {
pin: 10,
limitations: &["spi_flash", "spi_psram"],
},
PinInfo {
pin: 11,
limitations: &["spi_flash", "spi_psram"],
},
PinInfo {
pin: 12,
limitations: &["strapping", "jtag"],
},
PinInfo {
pin: 13,
limitations: &["jtag"],
},
PinInfo {
pin: 14,
limitations: &["jtag"],
},
PinInfo {
pin: 15,
limitations: &["strapping", "jtag"],
},
PinInfo {
pin: 16,
limitations: &["spi_flash", "spi_psram"],
},
PinInfo {
pin: 17,
limitations: &["spi_psram"],
},
PinInfo {
pin: 18,
limitations: &[],
},
PinInfo {
pin: 19,
limitations: &[],
},
PinInfo {
pin: 20,
limitations: &["esp32_pico_v3"],
},
PinInfo {
pin: 21,
limitations: &[],
},
PinInfo {
pin: 22,
limitations: &[],
},
PinInfo {
pin: 23,
limitations: &[],
},
PinInfo {
pin: 25,
limitations: &[],
},
PinInfo {
pin: 26,
limitations: &[],
},
PinInfo {
pin: 27,
limitations: &[],
},
PinInfo {
pin: 32,
limitations: &[],
},
PinInfo {
pin: 33,
limitations: &[],
},
PinInfo {
pin: 34,
limitations: &["input_only"],
},
PinInfo {
pin: 35,
limitations: &["input_only"],
},
PinInfo {
pin: 36,
limitations: &["input_only"],
},
PinInfo {
pin: 37,
limitations: &["input_only"],
},
PinInfo {
pin: 38,
limitations: &["input_only"],
},
PinInfo {
pin: 39,
limitations: &["input_only"],
},
],
},
Self::Esp32c2 => Config {
architecture: "riscv",
target: "riscv32imc-unknown-none-elf",
symbols: &[
"esp32c2",
"riscv",
"single_core",
"soc_has_apb_ctrl",
"soc_has_apb_saradc",
"soc_has_bb",
"soc_has_assist_debug",
"soc_has_dma",
"soc_has_ecc",
"soc_has_efuse",
"soc_has_extmem",
"soc_has_mmu_table",
"soc_has_gpio",
"soc_has_i2c_ana_mst",
"soc_has_i2c0",
"soc_has_interrupt_core0",
"soc_has_io_mux",
"soc_has_ledc",
"soc_has_rng",
"soc_has_lpwr",
"soc_has_rtc_timer",
"soc_has_modem_clkrst",
"soc_has_sensitive",
"soc_has_sha",
"soc_has_spi0",
"soc_has_spi1",
"soc_has_spi2",
"soc_has_system",
"soc_has_systimer",
"soc_has_timg0",
"soc_has_uart0",
"soc_has_uart1",
"soc_has_xts_aes",
"soc_has_adc1",
"soc_has_bt",
"soc_has_flash",
"soc_has_gpio_dedicated",
"soc_has_wifi",
"soc_has_from_cpu_intr0",
"soc_has_from_cpu_intr1",
"soc_has_from_cpu_intr2",
"soc_has_from_cpu_intr3",
"gpio_driver_supported",
"dedicated_gpio_driver_supported",
"io_mux_driver_supported",
"lp_io_driver_supported",
"uart_driver_supported",
"i2c_master_driver_supported",
"spi_master_driver_supported",
"spi_slave_driver_supported",
"bt_driver_supported",
"wifi_driver_supported",
"phy_driver_supported",
"adc_driver_supported",
"temp_sensor_driver_supported",
"ledc_driver_supported",
"lp_timer_driver_supported",
"systimer_driver_supported",
"timergroup_driver_supported",
"ecc_driver_supported",
"rng_driver_supported",
"sha_driver_supported",
"sleep_driver_supported",
"assist_debug_driver_supported",
"dma_driver_supported",
"interrupts_driver_supported",
"mmu_driver_supported",
"flash_driver_supported",
"rom_driver_supported",
"soc_driver_supported",
"uart_uart0",
"uart_uart1",
"i2c_master_i2c0",
"spi_master_spi2",
"spi_slave_spi2",
"adc_adc1",
"timergroup_timg0",
"gpio_version=\"2\"",
"gpio_has_input_sync",
"gpio_gpio_function=\"1\"",
"gpio_constant_0_input=\"31\"",
"gpio_constant_1_input=\"30\"",
"gpio_func_in_sel_offset=\"0\"",
"gpio_input_signal_max=\"100\"",
"gpio_output_signal_max=\"128\"",
"dedicated_gpio_version=\"riscv_v1\"",
"lp_io_version=\"v3\"",
"uart_ram_size=\"128\"",
"uart_version=\"1\"",
"uart_has_sclk_divider",
"uart_has_sclk_enable",
"i2c_master_version=\"3\"",
"i2c_master_has_fsm_timeouts",
"i2c_master_has_hw_bus_clear",
"i2c_master_has_bus_timeout_enable",
"i2c_master_has_conf_update",
"i2c_master_has_arbitration_en",
"i2c_master_has_tx_fifo_watermark",
"i2c_master_bus_timeout_is_exponential",
"i2c_master_has_pd_en",
"i2c_master_max_bus_timeout=\"31\"",
"i2c_master_ll_intr_mask=\"262143\"",
"i2c_master_fifo_size=\"16\"",
"spi_master_version=\"3\"",
"spi_master_fifo_size=\"64\"",
"spi_master_has_app_interrupts",
"spi_master_has_dma_segmented_transfer",
"bt_controller=\"npl\"",
"wifi_mac_version=\"1\"",
"phy_combo_module",
"ledc_version=\"2\"",
"ledc_channel_count=\"6\"",
"timergroup_timg_has_divcnt_rst",
"timergroup_rc_fast_calibration_is_set",
"ecc_zero_extend_writes",
"ecc_has_finite_field_division",
"ecc_has_curve_p192",
"ecc_has_curve_p256",
"rng_apb_cycle_wait_num=\"16\"",
"rng_trng_supported",
"sleep_light_sleep",
"sleep_deep_sleep",
"sleep_has_wakeup_source_gpio",
"sleep_has_wakeup_source_timer",
"sleep_has_wakeup_source_sdio",
"sleep_has_wakeup_source_wifi",
"sleep_has_wakeup_source_uart",
"sleep_has_wakeup_source_touch",
"sleep_has_wakeup_source_ulp",
"sleep_has_wakeup_source_bt",
"sleep_pin_wakeup_version=\"2\"",
"sleep_pin_wakeup_version_is_set",
"sleep_deep_sleep_needs_gpio_isolation",
"assist_debug_has_sp_monitor",
"dma_gdma_version=\"1\"",
"dma_gdma_version_is_set",
"soc_has_dma_ch0",
"dma_supports_mem2mem",
"sha_supports_dma",
"sha_dma_engine=\"AHB_GDMA\"",
"spi_master_supports_dma",
"spi_master_dma_engine=\"AHB_GDMA\"",
"spi_slave_supports_dma",
"spi_slave_dma_engine=\"AHB_GDMA\"",
"dma_max_priority=\"9\"",
"dma_max_priority_is_set",
"interrupts_status_registers=\"2\"",
"interrupt_controller=\"riscv_basic\"",
"context_switch_source=\"from_cpu\"",
"mmu_page_size=\"65536\"",
"mmu_entry_num=\"64\"",
"rom_has_crc_le",
"rom_has_crc_be",
"rom_has_md5_mbedtls",
"soc_cpu_has_csr_pc",
"soc_has_swd_watchdog",
"soc_cpu_mcause_mask=\"31\"",
"soc_has_clock_node_xtal_clk",
"soc_clock_node_xtal_clk_is_configurable",
"soc_has_clock_node_pll_clk",
"soc_has_clock_node_rc_fast_clk",
"soc_has_clock_node_osc_slow_clk",
"soc_has_clock_node_rc_slow_clk",
"soc_has_clock_node_rc_fast_div_clk",
"soc_has_clock_node_system_pre_div_in",
"soc_clock_node_system_pre_div_in_is_configurable",
"soc_has_clock_node_system_pre_div",
"soc_clock_node_system_pre_div_is_configurable",
"soc_has_clock_node_cpu_pll_div",
"soc_clock_node_cpu_pll_div_is_configurable",
"soc_has_clock_node_cpu_clk",
"soc_clock_node_cpu_clk_is_configurable",
"soc_has_clock_node_pll_40m",
"soc_has_clock_node_pll_60m",
"soc_has_clock_node_pll_80m",
"soc_has_clock_node_cpu_div2",
"soc_has_clock_node_apb_clk",
"soc_clock_node_apb_clk_is_configurable",
"soc_has_clock_node_crypto_clk",
"soc_clock_node_crypto_clk_is_configurable",
"soc_has_clock_node_mspi_clk",
"soc_clock_node_mspi_clk_is_configurable",
"soc_has_clock_node_rc_fast_clk_div_n",
"soc_clock_node_rc_fast_clk_div_n_is_configurable",
"soc_has_clock_node_xtal_div_clk",
"soc_has_clock_node_rtc_slow_clk",
"soc_clock_node_rtc_slow_clk_is_configurable",
"soc_has_clock_node_rtc_fast_clk",
"soc_clock_node_rtc_fast_clk_is_configurable",
"soc_has_clock_node_low_power_clk",
"soc_clock_node_low_power_clk_is_configurable",
"soc_has_clock_node_uart_mem_clk",
"soc_has_clock_node_timg_calibration_clock",
"soc_clock_node_timg_calibration_clock_is_configurable",
"soc_has_clock_node_timg_function_clock",
"soc_clock_node_timg_function_clock_is_configurable",
"soc_has_clock_node_timg_wdt_clock",
"soc_clock_node_timg_wdt_clock_is_configurable",
"soc_has_clock_node_uart_function_clock",
"soc_clock_node_uart_function_clock_is_configurable",
"soc_has_clock_node_uart_mem_clock",
"soc_has_clock_node_uart_baud_rate_generator",
"soc_clock_node_uart_baud_rate_generator_is_configurable",
"soc_has_clock_node_i2c_function_clock",
"soc_clock_node_i2c_function_clock_is_configurable",
"soc_has_clock_node_spi_function_clock",
"soc_clock_node_spi_function_clock_is_configurable",
"has_dram_region",
"has_dram2_uninit_region",
"has_irom_region",
"has_drom_region",
],
cfgs: &[
"cargo:rustc-cfg=esp32c2",
"cargo:rustc-cfg=riscv",
"cargo:rustc-cfg=single_core",
"cargo:rustc-cfg=soc_has_apb_ctrl",
"cargo:rustc-cfg=soc_has_apb_saradc",
"cargo:rustc-cfg=soc_has_bb",
"cargo:rustc-cfg=soc_has_assist_debug",
"cargo:rustc-cfg=soc_has_dma",
"cargo:rustc-cfg=soc_has_ecc",
"cargo:rustc-cfg=soc_has_efuse",
"cargo:rustc-cfg=soc_has_extmem",
"cargo:rustc-cfg=soc_has_mmu_table",
"cargo:rustc-cfg=soc_has_gpio",
"cargo:rustc-cfg=soc_has_i2c_ana_mst",
"cargo:rustc-cfg=soc_has_i2c0",
"cargo:rustc-cfg=soc_has_interrupt_core0",
"cargo:rustc-cfg=soc_has_io_mux",
"cargo:rustc-cfg=soc_has_ledc",
"cargo:rustc-cfg=soc_has_rng",
"cargo:rustc-cfg=soc_has_lpwr",
"cargo:rustc-cfg=soc_has_rtc_timer",
"cargo:rustc-cfg=soc_has_modem_clkrst",
"cargo:rustc-cfg=soc_has_sensitive",
"cargo:rustc-cfg=soc_has_sha",
"cargo:rustc-cfg=soc_has_spi0",
"cargo:rustc-cfg=soc_has_spi1",
"cargo:rustc-cfg=soc_has_spi2",
"cargo:rustc-cfg=soc_has_system",
"cargo:rustc-cfg=soc_has_systimer",
"cargo:rustc-cfg=soc_has_timg0",
"cargo:rustc-cfg=soc_has_uart0",
"cargo:rustc-cfg=soc_has_uart1",
"cargo:rustc-cfg=soc_has_xts_aes",
"cargo:rustc-cfg=soc_has_adc1",
"cargo:rustc-cfg=soc_has_bt",
"cargo:rustc-cfg=soc_has_flash",
"cargo:rustc-cfg=soc_has_gpio_dedicated",
"cargo:rustc-cfg=soc_has_wifi",
"cargo:rustc-cfg=soc_has_from_cpu_intr0",
"cargo:rustc-cfg=soc_has_from_cpu_intr1",
"cargo:rustc-cfg=soc_has_from_cpu_intr2",
"cargo:rustc-cfg=soc_has_from_cpu_intr3",
"cargo:rustc-cfg=gpio_driver_supported",
"cargo:rustc-cfg=dedicated_gpio_driver_supported",
"cargo:rustc-cfg=io_mux_driver_supported",
"cargo:rustc-cfg=lp_io_driver_supported",
"cargo:rustc-cfg=uart_driver_supported",
"cargo:rustc-cfg=i2c_master_driver_supported",
"cargo:rustc-cfg=spi_master_driver_supported",
"cargo:rustc-cfg=spi_slave_driver_supported",
"cargo:rustc-cfg=bt_driver_supported",
"cargo:rustc-cfg=wifi_driver_supported",
"cargo:rustc-cfg=phy_driver_supported",
"cargo:rustc-cfg=adc_driver_supported",
"cargo:rustc-cfg=temp_sensor_driver_supported",
"cargo:rustc-cfg=ledc_driver_supported",
"cargo:rustc-cfg=lp_timer_driver_supported",
"cargo:rustc-cfg=systimer_driver_supported",
"cargo:rustc-cfg=timergroup_driver_supported",
"cargo:rustc-cfg=ecc_driver_supported",
"cargo:rustc-cfg=rng_driver_supported",
"cargo:rustc-cfg=sha_driver_supported",
"cargo:rustc-cfg=sleep_driver_supported",
"cargo:rustc-cfg=assist_debug_driver_supported",
"cargo:rustc-cfg=dma_driver_supported",
"cargo:rustc-cfg=interrupts_driver_supported",
"cargo:rustc-cfg=mmu_driver_supported",
"cargo:rustc-cfg=flash_driver_supported",
"cargo:rustc-cfg=rom_driver_supported",
"cargo:rustc-cfg=soc_driver_supported",
"cargo:rustc-cfg=uart_uart0",
"cargo:rustc-cfg=uart_uart1",
"cargo:rustc-cfg=i2c_master_i2c0",
"cargo:rustc-cfg=spi_master_spi2",
"cargo:rustc-cfg=spi_slave_spi2",
"cargo:rustc-cfg=adc_adc1",
"cargo:rustc-cfg=timergroup_timg0",
"cargo:rustc-cfg=gpio_version=\"2\"",
"cargo:rustc-cfg=gpio_has_input_sync",
"cargo:rustc-cfg=gpio_gpio_function=\"1\"",
"cargo:rustc-cfg=gpio_constant_0_input=\"31\"",
"cargo:rustc-cfg=gpio_constant_1_input=\"30\"",
"cargo:rustc-cfg=gpio_func_in_sel_offset=\"0\"",
"cargo:rustc-cfg=gpio_input_signal_max=\"100\"",
"cargo:rustc-cfg=gpio_output_signal_max=\"128\"",
"cargo:rustc-cfg=dedicated_gpio_version=\"riscv_v1\"",
"cargo:rustc-cfg=lp_io_version=\"v3\"",
"cargo:rustc-cfg=uart_ram_size=\"128\"",
"cargo:rustc-cfg=uart_version=\"1\"",
"cargo:rustc-cfg=uart_has_sclk_divider",
"cargo:rustc-cfg=uart_has_sclk_enable",
"cargo:rustc-cfg=i2c_master_version=\"3\"",
"cargo:rustc-cfg=i2c_master_has_fsm_timeouts",
"cargo:rustc-cfg=i2c_master_has_hw_bus_clear",
"cargo:rustc-cfg=i2c_master_has_bus_timeout_enable",
"cargo:rustc-cfg=i2c_master_has_conf_update",
"cargo:rustc-cfg=i2c_master_has_arbitration_en",
"cargo:rustc-cfg=i2c_master_has_tx_fifo_watermark",
"cargo:rustc-cfg=i2c_master_bus_timeout_is_exponential",
"cargo:rustc-cfg=i2c_master_has_pd_en",
"cargo:rustc-cfg=i2c_master_max_bus_timeout=\"31\"",
"cargo:rustc-cfg=i2c_master_ll_intr_mask=\"262143\"",
"cargo:rustc-cfg=i2c_master_fifo_size=\"16\"",
"cargo:rustc-cfg=spi_master_version=\"3\"",
"cargo:rustc-cfg=spi_master_fifo_size=\"64\"",
"cargo:rustc-cfg=spi_master_has_app_interrupts",
"cargo:rustc-cfg=spi_master_has_dma_segmented_transfer",
"cargo:rustc-cfg=bt_controller=\"npl\"",
"cargo:rustc-cfg=wifi_mac_version=\"1\"",
"cargo:rustc-cfg=phy_combo_module",
"cargo:rustc-cfg=ledc_version=\"2\"",
"cargo:rustc-cfg=ledc_channel_count=\"6\"",
"cargo:rustc-cfg=timergroup_timg_has_divcnt_rst",
"cargo:rustc-cfg=timergroup_rc_fast_calibration_is_set",
"cargo:rustc-cfg=ecc_zero_extend_writes",
"cargo:rustc-cfg=ecc_has_finite_field_division",
"cargo:rustc-cfg=ecc_has_curve_p192",
"cargo:rustc-cfg=ecc_has_curve_p256",
"cargo:rustc-cfg=rng_apb_cycle_wait_num=\"16\"",
"cargo:rustc-cfg=rng_trng_supported",
"cargo:rustc-cfg=sleep_light_sleep",
"cargo:rustc-cfg=sleep_deep_sleep",
"cargo:rustc-cfg=sleep_has_wakeup_source_gpio",
"cargo:rustc-cfg=sleep_has_wakeup_source_timer",
"cargo:rustc-cfg=sleep_has_wakeup_source_sdio",
"cargo:rustc-cfg=sleep_has_wakeup_source_wifi",
"cargo:rustc-cfg=sleep_has_wakeup_source_uart",
"cargo:rustc-cfg=sleep_has_wakeup_source_touch",
"cargo:rustc-cfg=sleep_has_wakeup_source_ulp",
"cargo:rustc-cfg=sleep_has_wakeup_source_bt",
"cargo:rustc-cfg=sleep_pin_wakeup_version=\"2\"",
"cargo:rustc-cfg=sleep_pin_wakeup_version_is_set",
"cargo:rustc-cfg=sleep_deep_sleep_needs_gpio_isolation",
"cargo:rustc-cfg=assist_debug_has_sp_monitor",
"cargo:rustc-cfg=dma_gdma_version=\"1\"",
"cargo:rustc-cfg=dma_gdma_version_is_set",
"cargo:rustc-cfg=soc_has_dma_ch0",
"cargo:rustc-cfg=dma_supports_mem2mem",
"cargo:rustc-cfg=sha_supports_dma",
"cargo:rustc-cfg=sha_dma_engine=\"AHB_GDMA\"",
"cargo:rustc-cfg=spi_master_supports_dma",
"cargo:rustc-cfg=spi_master_dma_engine=\"AHB_GDMA\"",
"cargo:rustc-cfg=spi_slave_supports_dma",
"cargo:rustc-cfg=spi_slave_dma_engine=\"AHB_GDMA\"",
"cargo:rustc-cfg=dma_max_priority=\"9\"",
"cargo:rustc-cfg=dma_max_priority_is_set",
"cargo:rustc-cfg=interrupts_status_registers=\"2\"",
"cargo:rustc-cfg=interrupt_controller=\"riscv_basic\"",
"cargo:rustc-cfg=context_switch_source=\"from_cpu\"",
"cargo:rustc-cfg=mmu_page_size=\"65536\"",
"cargo:rustc-cfg=mmu_entry_num=\"64\"",
"cargo:rustc-cfg=rom_has_crc_le",
"cargo:rustc-cfg=rom_has_crc_be",
"cargo:rustc-cfg=rom_has_md5_mbedtls",
"cargo:rustc-cfg=soc_cpu_has_csr_pc",
"cargo:rustc-cfg=soc_has_swd_watchdog",
"cargo:rustc-cfg=soc_cpu_mcause_mask=\"31\"",
"cargo:rustc-cfg=soc_has_clock_node_xtal_clk",
"cargo:rustc-cfg=soc_clock_node_xtal_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_pll_clk",
"cargo:rustc-cfg=soc_has_clock_node_rc_fast_clk",
"cargo:rustc-cfg=soc_has_clock_node_osc_slow_clk",
"cargo:rustc-cfg=soc_has_clock_node_rc_slow_clk",
"cargo:rustc-cfg=soc_has_clock_node_rc_fast_div_clk",
"cargo:rustc-cfg=soc_has_clock_node_system_pre_div_in",
"cargo:rustc-cfg=soc_clock_node_system_pre_div_in_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_system_pre_div",
"cargo:rustc-cfg=soc_clock_node_system_pre_div_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_cpu_pll_div",
"cargo:rustc-cfg=soc_clock_node_cpu_pll_div_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_cpu_clk",
"cargo:rustc-cfg=soc_clock_node_cpu_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_pll_40m",
"cargo:rustc-cfg=soc_has_clock_node_pll_60m",
"cargo:rustc-cfg=soc_has_clock_node_pll_80m",
"cargo:rustc-cfg=soc_has_clock_node_cpu_div2",
"cargo:rustc-cfg=soc_has_clock_node_apb_clk",
"cargo:rustc-cfg=soc_clock_node_apb_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_crypto_clk",
"cargo:rustc-cfg=soc_clock_node_crypto_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_mspi_clk",
"cargo:rustc-cfg=soc_clock_node_mspi_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_rc_fast_clk_div_n",
"cargo:rustc-cfg=soc_clock_node_rc_fast_clk_div_n_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_xtal_div_clk",
"cargo:rustc-cfg=soc_has_clock_node_rtc_slow_clk",
"cargo:rustc-cfg=soc_clock_node_rtc_slow_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_rtc_fast_clk",
"cargo:rustc-cfg=soc_clock_node_rtc_fast_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_low_power_clk",
"cargo:rustc-cfg=soc_clock_node_low_power_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_uart_mem_clk",
"cargo:rustc-cfg=soc_has_clock_node_timg_calibration_clock",
"cargo:rustc-cfg=soc_clock_node_timg_calibration_clock_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_timg_function_clock",
"cargo:rustc-cfg=soc_clock_node_timg_function_clock_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_timg_wdt_clock",
"cargo:rustc-cfg=soc_clock_node_timg_wdt_clock_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_uart_function_clock",
"cargo:rustc-cfg=soc_clock_node_uart_function_clock_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_uart_mem_clock",
"cargo:rustc-cfg=soc_has_clock_node_uart_baud_rate_generator",
"cargo:rustc-cfg=soc_clock_node_uart_baud_rate_generator_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_i2c_function_clock",
"cargo:rustc-cfg=soc_clock_node_i2c_function_clock_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_spi_function_clock",
"cargo:rustc-cfg=soc_clock_node_spi_function_clock_is_configurable",
"cargo:rustc-cfg=has_dram_region",
"cargo:rustc-cfg=has_dram2_uninit_region",
"cargo:rustc-cfg=has_irom_region",
"cargo:rustc-cfg=has_drom_region",
],
memory_layout: &MemoryLayout {
regions: &[
(
"dram",
MemoryRegion {
address_range: 0x3FCA0000..0x3FCE0000,
},
),
(
"dram2_uninit",
MemoryRegion {
address_range: 0x3FCCE800..0x3FCDEB70,
},
),
(
"irom",
MemoryRegion {
address_range: 0x42000000..0x42400000,
},
),
(
"drom",
MemoryRegion {
address_range: 0x3C000000..0x3C400000,
},
),
],
},
pins: &[
PinInfo {
pin: 0,
limitations: &[],
},
PinInfo {
pin: 1,
limitations: &[],
},
PinInfo {
pin: 2,
limitations: &[],
},
PinInfo {
pin: 3,
limitations: &[],
},
PinInfo {
pin: 4,
limitations: &["jtag"],
},
PinInfo {
pin: 5,
limitations: &["jtag"],
},
PinInfo {
pin: 6,
limitations: &["jtag"],
},
PinInfo {
pin: 7,
limitations: &["jtag"],
},
PinInfo {
pin: 8,
limitations: &["strapping"],
},
PinInfo {
pin: 9,
limitations: &["strapping"],
},
PinInfo {
pin: 10,
limitations: &[],
},
PinInfo {
pin: 11,
limitations: &["spi_flash"],
},
PinInfo {
pin: 12,
limitations: &["spi_flash"],
},
PinInfo {
pin: 13,
limitations: &["spi_flash"],
},
PinInfo {
pin: 14,
limitations: &["spi_flash"],
},
PinInfo {
pin: 15,
limitations: &["spi_flash"],
},
PinInfo {
pin: 16,
limitations: &["spi_flash"],
},
PinInfo {
pin: 17,
limitations: &["spi_flash"],
},
PinInfo {
pin: 18,
limitations: &[],
},
PinInfo {
pin: 19,
limitations: &["bootloader_uart"],
},
PinInfo {
pin: 20,
limitations: &["bootloader_uart"],
},
],
},
Self::Esp32c3 => Config {
architecture: "riscv",
target: "riscv32imc-unknown-none-elf",
symbols: &[
"esp32c3",
"riscv",
"single_core",
"soc_has_aes",
"soc_has_apb_ctrl",
"soc_has_apb_saradc",
"soc_has_assist_debug",
"soc_has_bb",
"soc_has_dma",
"soc_has_ds",
"soc_has_efuse",
"soc_has_extmem",
"soc_has_mmu_table",
"soc_has_fe",
"soc_has_fe2",
"soc_has_gpio",
"soc_has_gpio_sd",
"soc_has_hmac",
"soc_has_i2c_ana_mst",
"soc_has_i2c0",
"soc_has_i2s0",
"soc_has_interrupt_core0",
"soc_has_io_mux",
"soc_has_ledc",
"soc_has_nrx",
"soc_has_rmt",
"soc_has_rng",
"soc_has_rsa",
"soc_has_lpwr",
"soc_has_rtc_timer",
"soc_has_sensitive",
"soc_has_sha",
"soc_has_spi0",
"soc_has_spi1",
"soc_has_spi2",
"soc_has_system",
"soc_has_systimer",
"soc_has_timg0",
"soc_has_timg1",
"soc_has_twai0",
"soc_has_uart0",
"soc_has_uart1",
"soc_has_uhci0",
"soc_has_usb_device",
"soc_has_xts_aes",
"soc_has_adc1",
"soc_has_adc2",
"soc_has_bt",
"soc_has_flash",
"soc_has_gpio_dedicated",
"soc_has_tsens",
"soc_has_wifi",
"soc_has_from_cpu_intr0",
"soc_has_from_cpu_intr1",
"soc_has_from_cpu_intr2",
"soc_has_from_cpu_intr3",
"gpio_driver_supported",
"dedicated_gpio_driver_supported",
"io_mux_driver_supported",
"lp_io_driver_supported",
"uart_driver_supported",
"uhci_driver_supported",
"i2c_master_driver_supported",
"i2c_slave_driver_supported",
"spi_master_driver_supported",
"spi_slave_driver_supported",
"i2s_driver_supported",
"rmt_driver_supported",
"twai_driver_supported",
"usb_serial_jtag_driver_supported",
"bt_driver_supported",
"wifi_driver_supported",
"phy_driver_supported",
"adc_driver_supported",
"temp_sensor_driver_supported",
"ledc_driver_supported",
"lp_timer_driver_supported",
"sdm_driver_supported",
"systimer_driver_supported",
"timergroup_driver_supported",
"aes_driver_supported",
"hmac_driver_supported",
"rng_driver_supported",
"rsa_driver_supported",
"sha_driver_supported",
"sleep_driver_supported",
"assist_debug_driver_supported",
"dma_driver_supported",
"interrupts_driver_supported",
"mmu_driver_supported",
"flash_driver_supported",
"rom_driver_supported",
"soc_driver_supported",
"uart_uart0",
"uart_uart1",
"i2c_master_i2c0",
"i2c_slave_i2c0",
"spi_master_spi2",
"spi_slave_spi2",
"i2s_i2s0",
"adc_adc1",
"adc_adc2",
"timergroup_timg0",
"timergroup_timg1",
"gpio_version=\"2\"",
"gpio_has_input_sync",
"gpio_gpio_function=\"1\"",
"gpio_constant_0_input=\"31\"",
"gpio_constant_1_input=\"30\"",
"gpio_func_in_sel_offset=\"0\"",
"gpio_input_signal_max=\"100\"",
"gpio_output_signal_max=\"128\"",
"dedicated_gpio_version=\"riscv_v1\"",
"lp_io_version=\"v3\"",
"uart_ram_size=\"128\"",
"uart_version=\"1\"",
"uart_has_sclk_divider",
"uart_has_sclk_enable",
"i2c_master_version=\"3\"",
"i2c_master_has_fsm_timeouts",
"i2c_master_has_hw_bus_clear",
"i2c_master_has_bus_timeout_enable",
"i2c_master_has_conf_update",
"i2c_master_has_arbitration_en",
"i2c_master_has_tx_fifo_watermark",
"i2c_master_bus_timeout_is_exponential",
"i2c_master_has_pd_en",
"i2c_master_max_bus_timeout=\"31\"",
"i2c_master_ll_intr_mask=\"262143\"",
"i2c_master_fifo_size=\"32\"",
"spi_master_version=\"3\"",
"spi_master_fifo_size=\"64\"",
"spi_master_bit_order_is_bool",
"spi_master_has_app_interrupts",
"spi_master_has_dma_segmented_transfer",
"i2s_version=\"2\"",
"i2s_version_is_set",
"i2s_mclk_divider_bit_width=\"9\"",
"i2s_mclk_divider_bit_width_is_set",
"i2s_max_ws_width=\"128\"",
"i2s_max_ws_width_is_set",
"i2s_supports_pdm_tx",
"i2s_supports_pdm_rx",
"i2s_supports_pcm2pdm",
"rmt_ram_start=\"1610703872\"",
"rmt_channel_ram_size=\"48\"",
"rmt_has_tx_immediate_stop",
"rmt_has_tx_loop_count",
"rmt_has_tx_carrier_data_only",
"rmt_has_tx_sync",
"rmt_has_rx_wrap",
"rmt_has_rx_demodulation",
"bt_controller=\"btdm\"",
"wifi_mac_version=\"1\"",
"wifi_csi_supported",
"phy_combo_module",
"phy_backed_up_digital_register_count=\"21\"",
"phy_backed_up_digital_register_count_is_set",
"ledc_version=\"2\"",
"ledc_channel_count=\"6\"",
"soc_has_sdm_ch0",
"soc_has_sdm_ch1",
"soc_has_sdm_ch2",
"soc_has_sdm_ch3",
"timergroup_timg_has_divcnt_rst",
"timergroup_rc_fast_calibration_is_set",
"aes_dma_mode_ecb",
"aes_dma_mode_cbc",
"aes_dma_mode_ofb",
"aes_dma_mode_ctr",
"aes_dma_mode_cfb8",
"aes_dma_mode_cfb128",
"aes_has_split_text_registers",
"rng_apb_cycle_wait_num=\"16\"",
"rng_trng_supported",
"rsa_version=\"3\"",
"rsa_size_increment=\"32\"",
"rsa_memory_size_bytes=\"384\"",
"sleep_light_sleep",
"sleep_deep_sleep",
"sleep_has_wakeup_source_gpio",
"sleep_has_wakeup_source_timer",
"sleep_has_wakeup_source_sdio",
"sleep_has_wakeup_source_wifi",
"sleep_has_wakeup_source_uart",
"sleep_has_wakeup_source_touch",
"sleep_has_wakeup_source_ulp",
"sleep_has_wakeup_source_bt",
"sleep_pin_wakeup_version=\"2\"",
"sleep_pin_wakeup_version_is_set",
"sleep_deep_sleep_needs_gpio_isolation",
"assist_debug_has_sp_monitor",
"assist_debug_has_region_monitor",
"dma_mem2mem_requires_peripheral",
"dma_gdma_version=\"1\"",
"dma_gdma_version_is_set",
"soc_has_dma_ch0",
"soc_has_dma_ch1",
"soc_has_dma_ch2",
"dma_supports_mem2mem",
"aes_supports_dma",
"aes_dma_engine=\"AHB_GDMA\"",
"sha_supports_dma",
"sha_dma_engine=\"AHB_GDMA\"",
"spi_master_supports_dma",
"spi_master_dma_engine=\"AHB_GDMA\"",
"spi_slave_supports_dma",
"spi_slave_dma_engine=\"AHB_GDMA\"",
"uhci_supports_dma",
"uhci_dma_engine=\"AHB_GDMA\"",
"i2s_supports_dma",
"i2s_dma_engine=\"AHB_GDMA\"",
"dma_max_priority=\"9\"",
"dma_max_priority_is_set",
"interrupts_status_registers=\"2\"",
"interrupt_controller=\"riscv_basic\"",
"context_switch_source=\"from_cpu\"",
"mmu_page_size=\"65536\"",
"mmu_entry_num=\"128\"",
"rom_has_crc_le",
"rom_has_crc_be",
"rom_has_md5_bsd",
"soc_cpu_has_csr_pc",
"soc_has_swd_watchdog",
"soc_cpu_mcause_mask=\"31\"",
"soc_has_clock_node_xtal_clk",
"soc_clock_node_xtal_clk_is_configurable",
"soc_has_clock_node_pll_clk",
"soc_clock_node_pll_clk_is_configurable",
"soc_has_clock_node_rc_fast_clk",
"soc_has_clock_node_xtal32k_clk",
"soc_has_clock_node_rc_slow_clk",
"soc_has_clock_node_rc_fast_div_clk",
"soc_has_clock_node_system_pre_div_in",
"soc_clock_node_system_pre_div_in_is_configurable",
"soc_has_clock_node_system_pre_div",
"soc_clock_node_system_pre_div_is_configurable",
"soc_has_clock_node_cpu_pll_div_out",
"soc_clock_node_cpu_pll_div_out_is_configurable",
"soc_has_clock_node_cpu_clk",
"soc_clock_node_cpu_clk_is_configurable",
"soc_has_clock_node_pll_80m",
"soc_has_clock_node_pll_160m",
"soc_has_clock_node_apb_clk",
"soc_clock_node_apb_clk_is_configurable",
"soc_has_clock_node_crypto_clk",
"soc_clock_node_crypto_clk_is_configurable",
"soc_has_clock_node_rc_fast_clk_div_n",
"soc_clock_node_rc_fast_clk_div_n_is_configurable",
"soc_has_clock_node_xtal_div_clk",
"soc_has_clock_node_rtc_slow_clk",
"soc_clock_node_rtc_slow_clk_is_configurable",
"soc_has_clock_node_rtc_fast_clk",
"soc_clock_node_rtc_fast_clk_is_configurable",
"soc_has_clock_node_low_power_clk",
"soc_clock_node_low_power_clk_is_configurable",
"soc_has_clock_node_uart_mem_clk",
"soc_has_clock_node_timg_calibration_clock",
"soc_clock_node_timg_calibration_clock_is_configurable",
"soc_has_clock_node_timg_function_clock",
"soc_clock_node_timg_function_clock_is_configurable",
"soc_has_clock_node_timg_wdt_clock",
"soc_clock_node_timg_wdt_clock_is_configurable",
"soc_has_clock_node_sdm_function_clock",
"soc_has_clock_node_rmt_sclk",
"soc_clock_node_rmt_sclk_is_configurable",
"soc_has_clock_node_uart_function_clock",
"soc_clock_node_uart_function_clock_is_configurable",
"soc_has_clock_node_uart_mem_clock",
"soc_has_clock_node_uart_baud_rate_generator",
"soc_clock_node_uart_baud_rate_generator_is_configurable",
"soc_has_clock_node_i2c_function_clock",
"soc_clock_node_i2c_function_clock_is_configurable",
"soc_has_clock_node_spi_function_clock",
"soc_clock_node_spi_function_clock_is_configurable",
"soc_has_clock_node_i2s_tx_clk",
"soc_clock_node_i2s_tx_clk_is_configurable",
"soc_has_clock_node_i2s_rx_clk",
"soc_clock_node_i2s_rx_clk_is_configurable",
"soc_has_clock_node_i2s_mclk_out",
"soc_clock_node_i2s_mclk_out_is_configurable",
"has_dram_region",
"has_dram2_uninit_region",
"has_irom_region",
"has_drom_region",
],
cfgs: &[
"cargo:rustc-cfg=esp32c3",
"cargo:rustc-cfg=riscv",
"cargo:rustc-cfg=single_core",
"cargo:rustc-cfg=soc_has_aes",
"cargo:rustc-cfg=soc_has_apb_ctrl",
"cargo:rustc-cfg=soc_has_apb_saradc",
"cargo:rustc-cfg=soc_has_assist_debug",
"cargo:rustc-cfg=soc_has_bb",
"cargo:rustc-cfg=soc_has_dma",
"cargo:rustc-cfg=soc_has_ds",
"cargo:rustc-cfg=soc_has_efuse",
"cargo:rustc-cfg=soc_has_extmem",
"cargo:rustc-cfg=soc_has_mmu_table",
"cargo:rustc-cfg=soc_has_fe",
"cargo:rustc-cfg=soc_has_fe2",
"cargo:rustc-cfg=soc_has_gpio",
"cargo:rustc-cfg=soc_has_gpio_sd",
"cargo:rustc-cfg=soc_has_hmac",
"cargo:rustc-cfg=soc_has_i2c_ana_mst",
"cargo:rustc-cfg=soc_has_i2c0",
"cargo:rustc-cfg=soc_has_i2s0",
"cargo:rustc-cfg=soc_has_interrupt_core0",
"cargo:rustc-cfg=soc_has_io_mux",
"cargo:rustc-cfg=soc_has_ledc",
"cargo:rustc-cfg=soc_has_nrx",
"cargo:rustc-cfg=soc_has_rmt",
"cargo:rustc-cfg=soc_has_rng",
"cargo:rustc-cfg=soc_has_rsa",
"cargo:rustc-cfg=soc_has_lpwr",
"cargo:rustc-cfg=soc_has_rtc_timer",
"cargo:rustc-cfg=soc_has_sensitive",
"cargo:rustc-cfg=soc_has_sha",
"cargo:rustc-cfg=soc_has_spi0",
"cargo:rustc-cfg=soc_has_spi1",
"cargo:rustc-cfg=soc_has_spi2",
"cargo:rustc-cfg=soc_has_system",
"cargo:rustc-cfg=soc_has_systimer",
"cargo:rustc-cfg=soc_has_timg0",
"cargo:rustc-cfg=soc_has_timg1",
"cargo:rustc-cfg=soc_has_twai0",
"cargo:rustc-cfg=soc_has_uart0",
"cargo:rustc-cfg=soc_has_uart1",
"cargo:rustc-cfg=soc_has_uhci0",
"cargo:rustc-cfg=soc_has_usb_device",
"cargo:rustc-cfg=soc_has_xts_aes",
"cargo:rustc-cfg=soc_has_adc1",
"cargo:rustc-cfg=soc_has_adc2",
"cargo:rustc-cfg=soc_has_bt",
"cargo:rustc-cfg=soc_has_flash",
"cargo:rustc-cfg=soc_has_gpio_dedicated",
"cargo:rustc-cfg=soc_has_tsens",
"cargo:rustc-cfg=soc_has_wifi",
"cargo:rustc-cfg=soc_has_from_cpu_intr0",
"cargo:rustc-cfg=soc_has_from_cpu_intr1",
"cargo:rustc-cfg=soc_has_from_cpu_intr2",
"cargo:rustc-cfg=soc_has_from_cpu_intr3",
"cargo:rustc-cfg=gpio_driver_supported",
"cargo:rustc-cfg=dedicated_gpio_driver_supported",
"cargo:rustc-cfg=io_mux_driver_supported",
"cargo:rustc-cfg=lp_io_driver_supported",
"cargo:rustc-cfg=uart_driver_supported",
"cargo:rustc-cfg=uhci_driver_supported",
"cargo:rustc-cfg=i2c_master_driver_supported",
"cargo:rustc-cfg=i2c_slave_driver_supported",
"cargo:rustc-cfg=spi_master_driver_supported",
"cargo:rustc-cfg=spi_slave_driver_supported",
"cargo:rustc-cfg=i2s_driver_supported",
"cargo:rustc-cfg=rmt_driver_supported",
"cargo:rustc-cfg=twai_driver_supported",
"cargo:rustc-cfg=usb_serial_jtag_driver_supported",
"cargo:rustc-cfg=bt_driver_supported",
"cargo:rustc-cfg=wifi_driver_supported",
"cargo:rustc-cfg=phy_driver_supported",
"cargo:rustc-cfg=adc_driver_supported",
"cargo:rustc-cfg=temp_sensor_driver_supported",
"cargo:rustc-cfg=ledc_driver_supported",
"cargo:rustc-cfg=lp_timer_driver_supported",
"cargo:rustc-cfg=sdm_driver_supported",
"cargo:rustc-cfg=systimer_driver_supported",
"cargo:rustc-cfg=timergroup_driver_supported",
"cargo:rustc-cfg=aes_driver_supported",
"cargo:rustc-cfg=hmac_driver_supported",
"cargo:rustc-cfg=rng_driver_supported",
"cargo:rustc-cfg=rsa_driver_supported",
"cargo:rustc-cfg=sha_driver_supported",
"cargo:rustc-cfg=sleep_driver_supported",
"cargo:rustc-cfg=assist_debug_driver_supported",
"cargo:rustc-cfg=dma_driver_supported",
"cargo:rustc-cfg=interrupts_driver_supported",
"cargo:rustc-cfg=mmu_driver_supported",
"cargo:rustc-cfg=flash_driver_supported",
"cargo:rustc-cfg=rom_driver_supported",
"cargo:rustc-cfg=soc_driver_supported",
"cargo:rustc-cfg=uart_uart0",
"cargo:rustc-cfg=uart_uart1",
"cargo:rustc-cfg=i2c_master_i2c0",
"cargo:rustc-cfg=i2c_slave_i2c0",
"cargo:rustc-cfg=spi_master_spi2",
"cargo:rustc-cfg=spi_slave_spi2",
"cargo:rustc-cfg=i2s_i2s0",
"cargo:rustc-cfg=adc_adc1",
"cargo:rustc-cfg=adc_adc2",
"cargo:rustc-cfg=timergroup_timg0",
"cargo:rustc-cfg=timergroup_timg1",
"cargo:rustc-cfg=gpio_version=\"2\"",
"cargo:rustc-cfg=gpio_has_input_sync",
"cargo:rustc-cfg=gpio_gpio_function=\"1\"",
"cargo:rustc-cfg=gpio_constant_0_input=\"31\"",
"cargo:rustc-cfg=gpio_constant_1_input=\"30\"",
"cargo:rustc-cfg=gpio_func_in_sel_offset=\"0\"",
"cargo:rustc-cfg=gpio_input_signal_max=\"100\"",
"cargo:rustc-cfg=gpio_output_signal_max=\"128\"",
"cargo:rustc-cfg=dedicated_gpio_version=\"riscv_v1\"",
"cargo:rustc-cfg=lp_io_version=\"v3\"",
"cargo:rustc-cfg=uart_ram_size=\"128\"",
"cargo:rustc-cfg=uart_version=\"1\"",
"cargo:rustc-cfg=uart_has_sclk_divider",
"cargo:rustc-cfg=uart_has_sclk_enable",
"cargo:rustc-cfg=i2c_master_version=\"3\"",
"cargo:rustc-cfg=i2c_master_has_fsm_timeouts",
"cargo:rustc-cfg=i2c_master_has_hw_bus_clear",
"cargo:rustc-cfg=i2c_master_has_bus_timeout_enable",
"cargo:rustc-cfg=i2c_master_has_conf_update",
"cargo:rustc-cfg=i2c_master_has_arbitration_en",
"cargo:rustc-cfg=i2c_master_has_tx_fifo_watermark",
"cargo:rustc-cfg=i2c_master_bus_timeout_is_exponential",
"cargo:rustc-cfg=i2c_master_has_pd_en",
"cargo:rustc-cfg=i2c_master_max_bus_timeout=\"31\"",
"cargo:rustc-cfg=i2c_master_ll_intr_mask=\"262143\"",
"cargo:rustc-cfg=i2c_master_fifo_size=\"32\"",
"cargo:rustc-cfg=spi_master_version=\"3\"",
"cargo:rustc-cfg=spi_master_fifo_size=\"64\"",
"cargo:rustc-cfg=spi_master_bit_order_is_bool",
"cargo:rustc-cfg=spi_master_has_app_interrupts",
"cargo:rustc-cfg=spi_master_has_dma_segmented_transfer",
"cargo:rustc-cfg=i2s_version=\"2\"",
"cargo:rustc-cfg=i2s_version_is_set",
"cargo:rustc-cfg=i2s_mclk_divider_bit_width=\"9\"",
"cargo:rustc-cfg=i2s_mclk_divider_bit_width_is_set",
"cargo:rustc-cfg=i2s_max_ws_width=\"128\"",
"cargo:rustc-cfg=i2s_max_ws_width_is_set",
"cargo:rustc-cfg=i2s_supports_pdm_tx",
"cargo:rustc-cfg=i2s_supports_pdm_rx",
"cargo:rustc-cfg=i2s_supports_pcm2pdm",
"cargo:rustc-cfg=rmt_ram_start=\"1610703872\"",
"cargo:rustc-cfg=rmt_channel_ram_size=\"48\"",
"cargo:rustc-cfg=rmt_has_tx_immediate_stop",
"cargo:rustc-cfg=rmt_has_tx_loop_count",
"cargo:rustc-cfg=rmt_has_tx_carrier_data_only",
"cargo:rustc-cfg=rmt_has_tx_sync",
"cargo:rustc-cfg=rmt_has_rx_wrap",
"cargo:rustc-cfg=rmt_has_rx_demodulation",
"cargo:rustc-cfg=bt_controller=\"btdm\"",
"cargo:rustc-cfg=wifi_mac_version=\"1\"",
"cargo:rustc-cfg=wifi_csi_supported",
"cargo:rustc-cfg=phy_combo_module",
"cargo:rustc-cfg=phy_backed_up_digital_register_count=\"21\"",
"cargo:rustc-cfg=phy_backed_up_digital_register_count_is_set",
"cargo:rustc-cfg=ledc_version=\"2\"",
"cargo:rustc-cfg=ledc_channel_count=\"6\"",
"cargo:rustc-cfg=soc_has_sdm_ch0",
"cargo:rustc-cfg=soc_has_sdm_ch1",
"cargo:rustc-cfg=soc_has_sdm_ch2",
"cargo:rustc-cfg=soc_has_sdm_ch3",
"cargo:rustc-cfg=timergroup_timg_has_divcnt_rst",
"cargo:rustc-cfg=timergroup_rc_fast_calibration_is_set",
"cargo:rustc-cfg=aes_dma_mode_ecb",
"cargo:rustc-cfg=aes_dma_mode_cbc",
"cargo:rustc-cfg=aes_dma_mode_ofb",
"cargo:rustc-cfg=aes_dma_mode_ctr",
"cargo:rustc-cfg=aes_dma_mode_cfb8",
"cargo:rustc-cfg=aes_dma_mode_cfb128",
"cargo:rustc-cfg=aes_has_split_text_registers",
"cargo:rustc-cfg=rng_apb_cycle_wait_num=\"16\"",
"cargo:rustc-cfg=rng_trng_supported",
"cargo:rustc-cfg=rsa_version=\"3\"",
"cargo:rustc-cfg=rsa_size_increment=\"32\"",
"cargo:rustc-cfg=rsa_memory_size_bytes=\"384\"",
"cargo:rustc-cfg=sleep_light_sleep",
"cargo:rustc-cfg=sleep_deep_sleep",
"cargo:rustc-cfg=sleep_has_wakeup_source_gpio",
"cargo:rustc-cfg=sleep_has_wakeup_source_timer",
"cargo:rustc-cfg=sleep_has_wakeup_source_sdio",
"cargo:rustc-cfg=sleep_has_wakeup_source_wifi",
"cargo:rustc-cfg=sleep_has_wakeup_source_uart",
"cargo:rustc-cfg=sleep_has_wakeup_source_touch",
"cargo:rustc-cfg=sleep_has_wakeup_source_ulp",
"cargo:rustc-cfg=sleep_has_wakeup_source_bt",
"cargo:rustc-cfg=sleep_pin_wakeup_version=\"2\"",
"cargo:rustc-cfg=sleep_pin_wakeup_version_is_set",
"cargo:rustc-cfg=sleep_deep_sleep_needs_gpio_isolation",
"cargo:rustc-cfg=assist_debug_has_sp_monitor",
"cargo:rustc-cfg=assist_debug_has_region_monitor",
"cargo:rustc-cfg=dma_mem2mem_requires_peripheral",
"cargo:rustc-cfg=dma_gdma_version=\"1\"",
"cargo:rustc-cfg=dma_gdma_version_is_set",
"cargo:rustc-cfg=soc_has_dma_ch0",
"cargo:rustc-cfg=soc_has_dma_ch1",
"cargo:rustc-cfg=soc_has_dma_ch2",
"cargo:rustc-cfg=dma_supports_mem2mem",
"cargo:rustc-cfg=aes_supports_dma",
"cargo:rustc-cfg=aes_dma_engine=\"AHB_GDMA\"",
"cargo:rustc-cfg=sha_supports_dma",
"cargo:rustc-cfg=sha_dma_engine=\"AHB_GDMA\"",
"cargo:rustc-cfg=spi_master_supports_dma",
"cargo:rustc-cfg=spi_master_dma_engine=\"AHB_GDMA\"",
"cargo:rustc-cfg=spi_slave_supports_dma",
"cargo:rustc-cfg=spi_slave_dma_engine=\"AHB_GDMA\"",
"cargo:rustc-cfg=uhci_supports_dma",
"cargo:rustc-cfg=uhci_dma_engine=\"AHB_GDMA\"",
"cargo:rustc-cfg=i2s_supports_dma",
"cargo:rustc-cfg=i2s_dma_engine=\"AHB_GDMA\"",
"cargo:rustc-cfg=dma_max_priority=\"9\"",
"cargo:rustc-cfg=dma_max_priority_is_set",
"cargo:rustc-cfg=interrupts_status_registers=\"2\"",
"cargo:rustc-cfg=interrupt_controller=\"riscv_basic\"",
"cargo:rustc-cfg=context_switch_source=\"from_cpu\"",
"cargo:rustc-cfg=mmu_page_size=\"65536\"",
"cargo:rustc-cfg=mmu_entry_num=\"128\"",
"cargo:rustc-cfg=rom_has_crc_le",
"cargo:rustc-cfg=rom_has_crc_be",
"cargo:rustc-cfg=rom_has_md5_bsd",
"cargo:rustc-cfg=soc_cpu_has_csr_pc",
"cargo:rustc-cfg=soc_has_swd_watchdog",
"cargo:rustc-cfg=soc_cpu_mcause_mask=\"31\"",
"cargo:rustc-cfg=soc_has_clock_node_xtal_clk",
"cargo:rustc-cfg=soc_clock_node_xtal_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_pll_clk",
"cargo:rustc-cfg=soc_clock_node_pll_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_rc_fast_clk",
"cargo:rustc-cfg=soc_has_clock_node_xtal32k_clk",
"cargo:rustc-cfg=soc_has_clock_node_rc_slow_clk",
"cargo:rustc-cfg=soc_has_clock_node_rc_fast_div_clk",
"cargo:rustc-cfg=soc_has_clock_node_system_pre_div_in",
"cargo:rustc-cfg=soc_clock_node_system_pre_div_in_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_system_pre_div",
"cargo:rustc-cfg=soc_clock_node_system_pre_div_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_cpu_pll_div_out",
"cargo:rustc-cfg=soc_clock_node_cpu_pll_div_out_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_cpu_clk",
"cargo:rustc-cfg=soc_clock_node_cpu_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_pll_80m",
"cargo:rustc-cfg=soc_has_clock_node_pll_160m",
"cargo:rustc-cfg=soc_has_clock_node_apb_clk",
"cargo:rustc-cfg=soc_clock_node_apb_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_crypto_clk",
"cargo:rustc-cfg=soc_clock_node_crypto_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_rc_fast_clk_div_n",
"cargo:rustc-cfg=soc_clock_node_rc_fast_clk_div_n_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_xtal_div_clk",
"cargo:rustc-cfg=soc_has_clock_node_rtc_slow_clk",
"cargo:rustc-cfg=soc_clock_node_rtc_slow_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_rtc_fast_clk",
"cargo:rustc-cfg=soc_clock_node_rtc_fast_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_low_power_clk",
"cargo:rustc-cfg=soc_clock_node_low_power_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_uart_mem_clk",
"cargo:rustc-cfg=soc_has_clock_node_timg_calibration_clock",
"cargo:rustc-cfg=soc_clock_node_timg_calibration_clock_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_timg_function_clock",
"cargo:rustc-cfg=soc_clock_node_timg_function_clock_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_timg_wdt_clock",
"cargo:rustc-cfg=soc_clock_node_timg_wdt_clock_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_sdm_function_clock",
"cargo:rustc-cfg=soc_has_clock_node_rmt_sclk",
"cargo:rustc-cfg=soc_clock_node_rmt_sclk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_uart_function_clock",
"cargo:rustc-cfg=soc_clock_node_uart_function_clock_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_uart_mem_clock",
"cargo:rustc-cfg=soc_has_clock_node_uart_baud_rate_generator",
"cargo:rustc-cfg=soc_clock_node_uart_baud_rate_generator_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_i2c_function_clock",
"cargo:rustc-cfg=soc_clock_node_i2c_function_clock_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_spi_function_clock",
"cargo:rustc-cfg=soc_clock_node_spi_function_clock_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_i2s_tx_clk",
"cargo:rustc-cfg=soc_clock_node_i2s_tx_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_i2s_rx_clk",
"cargo:rustc-cfg=soc_clock_node_i2s_rx_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_i2s_mclk_out",
"cargo:rustc-cfg=soc_clock_node_i2s_mclk_out_is_configurable",
"cargo:rustc-cfg=has_dram_region",
"cargo:rustc-cfg=has_dram2_uninit_region",
"cargo:rustc-cfg=has_irom_region",
"cargo:rustc-cfg=has_drom_region",
],
memory_layout: &MemoryLayout {
regions: &[
(
"dram",
MemoryRegion {
address_range: 0x3FC80000..0x3FCE0000,
},
),
(
"dram2_uninit",
MemoryRegion {
address_range: 0x3FCCE400..0x3FCDE710,
},
),
(
"irom",
MemoryRegion {
address_range: 0x42000000..0x42800000,
},
),
(
"drom",
MemoryRegion {
address_range: 0x3C000000..0x3C800000,
},
),
],
},
pins: &[
PinInfo {
pin: 0,
limitations: &[],
},
PinInfo {
pin: 1,
limitations: &[],
},
PinInfo {
pin: 2,
limitations: &["strapping"],
},
PinInfo {
pin: 3,
limitations: &[],
},
PinInfo {
pin: 4,
limitations: &["jtag"],
},
PinInfo {
pin: 5,
limitations: &["jtag"],
},
PinInfo {
pin: 6,
limitations: &["jtag"],
},
PinInfo {
pin: 7,
limitations: &["jtag"],
},
PinInfo {
pin: 8,
limitations: &["strapping"],
},
PinInfo {
pin: 9,
limitations: &["strapping"],
},
PinInfo {
pin: 10,
limitations: &[],
},
PinInfo {
pin: 11,
limitations: &["spi_flash"],
},
PinInfo {
pin: 12,
limitations: &["spi_flash"],
},
PinInfo {
pin: 13,
limitations: &["spi_flash"],
},
PinInfo {
pin: 14,
limitations: &["spi_flash"],
},
PinInfo {
pin: 15,
limitations: &["spi_flash"],
},
PinInfo {
pin: 16,
limitations: &["spi_flash"],
},
PinInfo {
pin: 17,
limitations: &["spi_flash"],
},
PinInfo {
pin: 18,
limitations: &["usb_jtag"],
},
PinInfo {
pin: 19,
limitations: &["usb_jtag"],
},
PinInfo {
pin: 20,
limitations: &["bootloader_uart"],
},
PinInfo {
pin: 21,
limitations: &["bootloader_uart"],
},
],
},
Self::Esp32c5 => Config {
architecture: "riscv",
target: "riscv32imac-unknown-none-elf",
symbols: &[
"esp32c5",
"riscv",
"single_core",
"soc_has_aes",
"soc_has_assist_debug",
"soc_has_apb_saradc",
"soc_has_cache",
"soc_has_clint",
"soc_has_dma",
"soc_has_ds",
"soc_has_ecc",
"soc_has_ecdsa",
"soc_has_efuse",
"soc_has_etm",
"soc_has_gpio",
"soc_has_gpio_sd",
"soc_has_hmac",
"soc_has_hp_apm",
"soc_has_hp_sys",
"soc_has_huk",
"soc_has_i2c_ana_mst",
"soc_has_i2c0",
"soc_has_i2s0",
"soc_has_ieee802154",
"soc_has_interrupt_core0",
"soc_has_intpri",
"soc_has_io_mux",
"soc_has_keymng",
"soc_has_lp_ana",
"soc_has_lp_aon",
"soc_has_lp_apm0",
"soc_has_lp_clkrst",
"soc_has_lp_gpio",
"soc_has_lp_i2c0",
"soc_has_lp_i2c_ana_mst",
"soc_has_lp_io_mux",
"soc_has_lp_peri",
"soc_has_lp_tee",
"soc_has_rtc_timer",
"soc_has_lp_uart",
"soc_has_lp_wdt",
"soc_has_lpwr",
"soc_has_mcpwm0",
"soc_has_mem_monitor",
"soc_has_modem_lpcon",
"soc_has_modem_syscon",
"soc_has_parl_io",
"soc_has_pau",
"soc_has_pcnt",
"soc_has_pcr",
"soc_has_pmu",
"soc_has_pvt_monitor",
"soc_has_rmt",
"soc_has_rng",
"soc_has_rsa",
"soc_has_sha",
"soc_has_slc",
"soc_has_spi0",
"soc_has_spi1",
"soc_has_spi2",
"soc_has_system",
"soc_has_systimer",
"soc_has_tee",
"soc_has_timg0",
"soc_has_timg1",
"soc_has_uart0",
"soc_has_uart1",
"soc_has_uhci0",
"soc_has_usb_device",
"soc_has_adc1",
"soc_has_bt",
"soc_has_flash",
"soc_has_gpio_dedicated",
"soc_has_lp_core",
"soc_has_wifi",
"soc_has_psram",
"soc_has_from_cpu_intr0",
"soc_has_from_cpu_intr1",
"soc_has_from_cpu_intr2",
"soc_has_from_cpu_intr3",
"gpio_driver_supported",
"dedicated_gpio_driver_supported",
"io_mux_driver_supported",
"lp_io_driver_supported",
"uart_driver_supported",
"uhci_driver_supported",
"i2c_master_driver_supported",
"lp_i2c_master_driver_supported",
"spi_master_driver_supported",
"spi_slave_driver_supported",
"i2s_driver_supported",
"parl_io_driver_supported",
"rmt_driver_supported",
"usb_serial_jtag_driver_supported",
"bt_driver_supported",
"wifi_driver_supported",
"ieee802154_driver_supported",
"phy_driver_supported",
"adc_driver_supported",
"pcnt_driver_supported",
"lp_timer_driver_supported",
"sdm_driver_supported",
"systimer_driver_supported",
"timergroup_driver_supported",
"aes_driver_supported",
"ecc_driver_supported",
"rng_driver_supported",
"rsa_driver_supported",
"sha_driver_supported",
"sleep_driver_supported",
"assist_debug_driver_supported",
"dma_driver_supported",
"interrupts_driver_supported",
"mmu_driver_supported",
"flash_driver_supported",
"psram_driver_supported",
"rom_driver_supported",
"soc_driver_supported",
"uart_uart0",
"uart_uart1",
"i2c_master_i2c0",
"spi_master_spi2",
"spi_slave_spi2",
"i2s_i2s0",
"adc_adc1",
"pcnt_PCNT",
"timergroup_timg0",
"timergroup_timg1",
"gpio_version=\"2\"",
"gpio_has_input_sync",
"gpio_gpio_function=\"1\"",
"gpio_constant_0_input=\"96\"",
"gpio_constant_1_input=\"64\"",
"gpio_func_in_sel_offset=\"0\"",
"soc_has_xtal32k_pads",
"gpio_input_signal_max=\"116\"",
"gpio_output_signal_max=\"256\"",
"dedicated_gpio_version=\"riscv_v1\"",
"lp_io_version=\"v4\"",
"uart_ram_size=\"128\"",
"uart_version=\"2\"",
"uart_peripheral_controls_mem_clk",
"uart_has_sclk_enable",
"uhci_combined_uart_selector_field",
"i2c_master_version=\"4\"",
"i2c_master_has_fsm_timeouts",
"i2c_master_has_hw_bus_clear",
"i2c_master_has_bus_timeout_enable",
"i2c_master_can_estimate_nack_reason",
"i2c_master_has_conf_update",
"i2c_master_has_reliable_fsm_reset",
"i2c_master_has_arbitration_en",
"i2c_master_has_tx_fifo_watermark",
"i2c_master_bus_timeout_is_exponential",
"i2c_master_has_pd_en",
"i2c_master_max_bus_timeout=\"31\"",
"i2c_master_ll_intr_mask=\"262143\"",
"i2c_master_fifo_size=\"32\"",
"lp_i2c_master_version=\"lp_i2c\"",
"lp_i2c_master_fifo_size=\"16\"",
"lp_i2c_master_fifo_size_is_set",
"spi_master_version=\"3\"",
"spi_master_fifo_size=\"64\"",
"spi_master_has_app_interrupts",
"spi_master_has_dma_segmented_transfer",
"spi_master_has_clk_pre_div",
"spi_master_dma_can_access_flash",
"i2s_version=\"3\"",
"i2s_version_is_set",
"i2s_mclk_divider_bit_width=\"9\"",
"i2s_mclk_divider_bit_width_is_set",
"i2s_max_ws_width=\"512\"",
"i2s_max_ws_width_is_set",
"i2s_clock_configured_by_pcr",
"i2s_supports_pdm_tx",
"i2s_supports_pdm_rx",
"i2s_supports_pcm2pdm",
"parl_io_version=\"2\"",
"rmt_ram_start=\"1610638336\"",
"rmt_channel_ram_size=\"48\"",
"rmt_has_tx_immediate_stop",
"rmt_has_tx_loop_count",
"rmt_has_tx_loop_auto_stop",
"rmt_has_tx_carrier_data_only",
"rmt_has_tx_sync",
"rmt_has_rx_wrap",
"rmt_has_rx_demodulation",
"bt_controller=\"npl\"",
"wifi_has_wifi6",
"wifi_mac_version=\"3\"",
"wifi_has_5g",
"wifi_csi_supported",
"soc_has_sdm_ch0",
"soc_has_sdm_ch1",
"soc_has_sdm_ch2",
"soc_has_sdm_ch3",
"timergroup_timg_has_divcnt_rst",
"timergroup_rc_fast_calibration_divider",
"timergroup_rc_fast_calibration_is_set",
"aes_dma_mode_ecb",
"aes_dma_mode_cbc",
"aes_dma_mode_ofb",
"aes_dma_mode_ctr",
"aes_dma_mode_cfb8",
"aes_dma_mode_cfb128",
"aes_has_split_text_registers",
"ecc_separate_jacobian_point_memory",
"ecc_has_memory_clock_gate",
"ecc_supports_enhanced_security",
"ecc_has_modular_arithmetic",
"ecc_has_point_addition",
"ecc_has_curve_p192",
"ecc_has_curve_p256",
"ecc_has_curve_p384",
"rng_apb_cycle_wait_num=\"16\"",
"rng_is_lp_sys",
"rsa_version=\"3\"",
"rsa_size_increment=\"32\"",
"rsa_memory_size_bytes=\"384\"",
"sleep_light_sleep",
"sleep_deep_sleep",
"sleep_has_wakeup_source_ext1",
"sleep_has_wakeup_source_gpio",
"sleep_has_wakeup_source_wifi_beacon",
"sleep_has_wakeup_source_timer",
"sleep_has_wakeup_source_wifi",
"sleep_has_wakeup_source_uart",
"sleep_has_wakeup_source_sdio",
"sleep_has_wakeup_source_bt",
"sleep_has_wakeup_source_lp_core",
"sleep_ext1_version=\"2\"",
"sleep_ext1_version_is_set",
"sleep_pin_wakeup_version=\"3\"",
"sleep_pin_wakeup_version_is_set",
"assist_debug_has_sp_monitor",
"assist_debug_has_region_monitor",
"dma_separate_in_out_interrupts",
"dma_gdma_version=\"2\"",
"dma_gdma_version_is_set",
"soc_has_dma_ch0",
"soc_has_dma_ch1",
"soc_has_dma_ch2",
"dma_supports_mem2mem",
"aes_supports_dma",
"aes_dma_engine=\"AHB_GDMA\"",
"sha_supports_dma",
"sha_dma_engine=\"AHB_GDMA\"",
"spi_master_supports_dma",
"spi_master_dma_engine=\"AHB_GDMA\"",
"spi_slave_supports_dma",
"spi_slave_dma_engine=\"AHB_GDMA\"",
"uhci_supports_dma",
"uhci_dma_engine=\"AHB_GDMA\"",
"i2s_supports_dma",
"i2s_dma_engine=\"AHB_GDMA\"",
"parl_io_supports_dma",
"parl_io_dma_engine=\"AHB_GDMA\"",
"dma_can_access_psram",
"dma_max_priority=\"5\"",
"dma_max_priority_is_set",
"interrupts_status_registers=\"3\"",
"interrupt_controller=\"clic\"",
"context_switch_source=\"clint\"",
"mmu_page_size=\"65536\"",
"mmu_entry_num=\"512\"",
"psram_extmem_origin=\"1107296256\"",
"rom_has_crc_le",
"rom_has_crc_be",
"rom_has_md5_bsd",
"soc_cpu_has_branch_predictor",
"soc_cpu_csr_prv_mode=\"2064\"",
"soc_cpu_csr_prv_mode_is_set",
"soc_has_swd_watchdog",
"soc_cpu_mcause_mask=\"31\"",
"soc_has_clock_node_xtal_clk",
"soc_clock_node_xtal_clk_is_configurable",
"soc_has_clock_node_pll_clk",
"soc_has_clock_node_rc_fast_clk",
"soc_has_clock_node_xtal32k_clk",
"soc_has_clock_node_osc_slow_clk",
"soc_has_clock_node_rc_slow_clk",
"soc_has_clock_node_pll_f12m",
"soc_has_clock_node_pll_f20m",
"soc_has_clock_node_pll_f40m",
"soc_has_clock_node_pll_f48m",
"soc_has_clock_node_pll_f60m",
"soc_has_clock_node_pll_f80m",
"soc_has_clock_node_pll_f120m",
"soc_has_clock_node_pll_f160m",
"soc_has_clock_node_pll_f240m",
"soc_has_clock_node_hp_root_clk",
"soc_clock_node_hp_root_clk_is_configurable",
"soc_has_clock_node_cpu_clk",
"soc_clock_node_cpu_clk_is_configurable",
"soc_has_clock_node_ahb_clk",
"soc_clock_node_ahb_clk_is_configurable",
"soc_has_clock_node_apb_clk",
"soc_clock_node_apb_clk_is_configurable",
"soc_has_clock_node_xtal_d2_clk",
"soc_has_clock_node_lp_fast_clk",
"soc_clock_node_lp_fast_clk_is_configurable",
"soc_has_clock_node_lp_slow_clk",
"soc_clock_node_lp_slow_clk_is_configurable",
"soc_has_clock_node_crypto_pll_div",
"soc_has_clock_node_crypto_clk",
"soc_clock_node_crypto_clk_is_configurable",
"soc_has_clock_node_iomux_function_clock",
"soc_clock_node_iomux_function_clock_is_configurable",
"soc_has_clock_node_timg_calibration_clock",
"soc_clock_node_timg_calibration_clock_is_configurable",
"soc_has_clock_node_uart_function_clock",
"soc_clock_node_uart_function_clock_is_configurable",
"soc_has_clock_node_uart_baud_rate_generator",
"soc_clock_node_uart_baud_rate_generator_is_configurable",
"soc_has_clock_node_timg_function_clock",
"soc_clock_node_timg_function_clock_is_configurable",
"soc_has_clock_node_timg_wdt_clock",
"soc_clock_node_timg_wdt_clock_is_configurable",
"soc_has_clock_node_sdm_function_clock",
"soc_has_clock_node_rmt_sclk",
"soc_clock_node_rmt_sclk_is_configurable",
"soc_has_clock_node_parl_io_rx_clock",
"soc_clock_node_parl_io_rx_clock_is_configurable",
"soc_has_clock_node_parl_io_tx_clock",
"soc_clock_node_parl_io_tx_clock_is_configurable",
"soc_has_clock_node_i2s_tx_clk",
"soc_clock_node_i2s_tx_clk_is_configurable",
"soc_has_clock_node_i2s_rx_clk",
"soc_clock_node_i2s_rx_clk_is_configurable",
"soc_has_clock_node_i2s_mclk_out",
"soc_clock_node_i2s_mclk_out_is_configurable",
"soc_has_clock_node_i2c_function_clock",
"soc_clock_node_i2c_function_clock_is_configurable",
"soc_has_clock_node_spi_function_clock",
"soc_clock_node_spi_function_clock_is_configurable",
"has_dram_region",
"has_dram2_uninit_region",
"has_irom_region",
"has_drom_region",
],
cfgs: &[
"cargo:rustc-cfg=esp32c5",
"cargo:rustc-cfg=riscv",
"cargo:rustc-cfg=single_core",
"cargo:rustc-cfg=soc_has_aes",
"cargo:rustc-cfg=soc_has_assist_debug",
"cargo:rustc-cfg=soc_has_apb_saradc",
"cargo:rustc-cfg=soc_has_cache",
"cargo:rustc-cfg=soc_has_clint",
"cargo:rustc-cfg=soc_has_dma",
"cargo:rustc-cfg=soc_has_ds",
"cargo:rustc-cfg=soc_has_ecc",
"cargo:rustc-cfg=soc_has_ecdsa",
"cargo:rustc-cfg=soc_has_efuse",
"cargo:rustc-cfg=soc_has_etm",
"cargo:rustc-cfg=soc_has_gpio",
"cargo:rustc-cfg=soc_has_gpio_sd",
"cargo:rustc-cfg=soc_has_hmac",
"cargo:rustc-cfg=soc_has_hp_apm",
"cargo:rustc-cfg=soc_has_hp_sys",
"cargo:rustc-cfg=soc_has_huk",
"cargo:rustc-cfg=soc_has_i2c_ana_mst",
"cargo:rustc-cfg=soc_has_i2c0",
"cargo:rustc-cfg=soc_has_i2s0",
"cargo:rustc-cfg=soc_has_ieee802154",
"cargo:rustc-cfg=soc_has_interrupt_core0",
"cargo:rustc-cfg=soc_has_intpri",
"cargo:rustc-cfg=soc_has_io_mux",
"cargo:rustc-cfg=soc_has_keymng",
"cargo:rustc-cfg=soc_has_lp_ana",
"cargo:rustc-cfg=soc_has_lp_aon",
"cargo:rustc-cfg=soc_has_lp_apm0",
"cargo:rustc-cfg=soc_has_lp_clkrst",
"cargo:rustc-cfg=soc_has_lp_gpio",
"cargo:rustc-cfg=soc_has_lp_i2c0",
"cargo:rustc-cfg=soc_has_lp_i2c_ana_mst",
"cargo:rustc-cfg=soc_has_lp_io_mux",
"cargo:rustc-cfg=soc_has_lp_peri",
"cargo:rustc-cfg=soc_has_lp_tee",
"cargo:rustc-cfg=soc_has_rtc_timer",
"cargo:rustc-cfg=soc_has_lp_uart",
"cargo:rustc-cfg=soc_has_lp_wdt",
"cargo:rustc-cfg=soc_has_lpwr",
"cargo:rustc-cfg=soc_has_mcpwm0",
"cargo:rustc-cfg=soc_has_mem_monitor",
"cargo:rustc-cfg=soc_has_modem_lpcon",
"cargo:rustc-cfg=soc_has_modem_syscon",
"cargo:rustc-cfg=soc_has_parl_io",
"cargo:rustc-cfg=soc_has_pau",
"cargo:rustc-cfg=soc_has_pcnt",
"cargo:rustc-cfg=soc_has_pcr",
"cargo:rustc-cfg=soc_has_pmu",
"cargo:rustc-cfg=soc_has_pvt_monitor",
"cargo:rustc-cfg=soc_has_rmt",
"cargo:rustc-cfg=soc_has_rng",
"cargo:rustc-cfg=soc_has_rsa",
"cargo:rustc-cfg=soc_has_sha",
"cargo:rustc-cfg=soc_has_slc",
"cargo:rustc-cfg=soc_has_spi0",
"cargo:rustc-cfg=soc_has_spi1",
"cargo:rustc-cfg=soc_has_spi2",
"cargo:rustc-cfg=soc_has_system",
"cargo:rustc-cfg=soc_has_systimer",
"cargo:rustc-cfg=soc_has_tee",
"cargo:rustc-cfg=soc_has_timg0",
"cargo:rustc-cfg=soc_has_timg1",
"cargo:rustc-cfg=soc_has_uart0",
"cargo:rustc-cfg=soc_has_uart1",
"cargo:rustc-cfg=soc_has_uhci0",
"cargo:rustc-cfg=soc_has_usb_device",
"cargo:rustc-cfg=soc_has_adc1",
"cargo:rustc-cfg=soc_has_bt",
"cargo:rustc-cfg=soc_has_flash",
"cargo:rustc-cfg=soc_has_gpio_dedicated",
"cargo:rustc-cfg=soc_has_lp_core",
"cargo:rustc-cfg=soc_has_wifi",
"cargo:rustc-cfg=soc_has_psram",
"cargo:rustc-cfg=soc_has_from_cpu_intr0",
"cargo:rustc-cfg=soc_has_from_cpu_intr1",
"cargo:rustc-cfg=soc_has_from_cpu_intr2",
"cargo:rustc-cfg=soc_has_from_cpu_intr3",
"cargo:rustc-cfg=gpio_driver_supported",
"cargo:rustc-cfg=dedicated_gpio_driver_supported",
"cargo:rustc-cfg=io_mux_driver_supported",
"cargo:rustc-cfg=lp_io_driver_supported",
"cargo:rustc-cfg=uart_driver_supported",
"cargo:rustc-cfg=uhci_driver_supported",
"cargo:rustc-cfg=i2c_master_driver_supported",
"cargo:rustc-cfg=lp_i2c_master_driver_supported",
"cargo:rustc-cfg=spi_master_driver_supported",
"cargo:rustc-cfg=spi_slave_driver_supported",
"cargo:rustc-cfg=i2s_driver_supported",
"cargo:rustc-cfg=parl_io_driver_supported",
"cargo:rustc-cfg=rmt_driver_supported",
"cargo:rustc-cfg=usb_serial_jtag_driver_supported",
"cargo:rustc-cfg=bt_driver_supported",
"cargo:rustc-cfg=wifi_driver_supported",
"cargo:rustc-cfg=ieee802154_driver_supported",
"cargo:rustc-cfg=phy_driver_supported",
"cargo:rustc-cfg=adc_driver_supported",
"cargo:rustc-cfg=pcnt_driver_supported",
"cargo:rustc-cfg=lp_timer_driver_supported",
"cargo:rustc-cfg=sdm_driver_supported",
"cargo:rustc-cfg=systimer_driver_supported",
"cargo:rustc-cfg=timergroup_driver_supported",
"cargo:rustc-cfg=aes_driver_supported",
"cargo:rustc-cfg=ecc_driver_supported",
"cargo:rustc-cfg=rng_driver_supported",
"cargo:rustc-cfg=rsa_driver_supported",
"cargo:rustc-cfg=sha_driver_supported",
"cargo:rustc-cfg=sleep_driver_supported",
"cargo:rustc-cfg=assist_debug_driver_supported",
"cargo:rustc-cfg=dma_driver_supported",
"cargo:rustc-cfg=interrupts_driver_supported",
"cargo:rustc-cfg=mmu_driver_supported",
"cargo:rustc-cfg=flash_driver_supported",
"cargo:rustc-cfg=psram_driver_supported",
"cargo:rustc-cfg=rom_driver_supported",
"cargo:rustc-cfg=soc_driver_supported",
"cargo:rustc-cfg=uart_uart0",
"cargo:rustc-cfg=uart_uart1",
"cargo:rustc-cfg=i2c_master_i2c0",
"cargo:rustc-cfg=spi_master_spi2",
"cargo:rustc-cfg=spi_slave_spi2",
"cargo:rustc-cfg=i2s_i2s0",
"cargo:rustc-cfg=adc_adc1",
"cargo:rustc-cfg=pcnt_PCNT",
"cargo:rustc-cfg=timergroup_timg0",
"cargo:rustc-cfg=timergroup_timg1",
"cargo:rustc-cfg=gpio_version=\"2\"",
"cargo:rustc-cfg=gpio_has_input_sync",
"cargo:rustc-cfg=gpio_gpio_function=\"1\"",
"cargo:rustc-cfg=gpio_constant_0_input=\"96\"",
"cargo:rustc-cfg=gpio_constant_1_input=\"64\"",
"cargo:rustc-cfg=gpio_func_in_sel_offset=\"0\"",
"cargo:rustc-cfg=soc_has_xtal32k_pads",
"cargo:rustc-cfg=gpio_input_signal_max=\"116\"",
"cargo:rustc-cfg=gpio_output_signal_max=\"256\"",
"cargo:rustc-cfg=dedicated_gpio_version=\"riscv_v1\"",
"cargo:rustc-cfg=lp_io_version=\"v4\"",
"cargo:rustc-cfg=uart_ram_size=\"128\"",
"cargo:rustc-cfg=uart_version=\"2\"",
"cargo:rustc-cfg=uart_peripheral_controls_mem_clk",
"cargo:rustc-cfg=uart_has_sclk_enable",
"cargo:rustc-cfg=uhci_combined_uart_selector_field",
"cargo:rustc-cfg=i2c_master_version=\"4\"",
"cargo:rustc-cfg=i2c_master_has_fsm_timeouts",
"cargo:rustc-cfg=i2c_master_has_hw_bus_clear",
"cargo:rustc-cfg=i2c_master_has_bus_timeout_enable",
"cargo:rustc-cfg=i2c_master_can_estimate_nack_reason",
"cargo:rustc-cfg=i2c_master_has_conf_update",
"cargo:rustc-cfg=i2c_master_has_reliable_fsm_reset",
"cargo:rustc-cfg=i2c_master_has_arbitration_en",
"cargo:rustc-cfg=i2c_master_has_tx_fifo_watermark",
"cargo:rustc-cfg=i2c_master_bus_timeout_is_exponential",
"cargo:rustc-cfg=i2c_master_has_pd_en",
"cargo:rustc-cfg=i2c_master_max_bus_timeout=\"31\"",
"cargo:rustc-cfg=i2c_master_ll_intr_mask=\"262143\"",
"cargo:rustc-cfg=i2c_master_fifo_size=\"32\"",
"cargo:rustc-cfg=lp_i2c_master_version=\"lp_i2c\"",
"cargo:rustc-cfg=lp_i2c_master_fifo_size=\"16\"",
"cargo:rustc-cfg=lp_i2c_master_fifo_size_is_set",
"cargo:rustc-cfg=spi_master_version=\"3\"",
"cargo:rustc-cfg=spi_master_fifo_size=\"64\"",
"cargo:rustc-cfg=spi_master_has_app_interrupts",
"cargo:rustc-cfg=spi_master_has_dma_segmented_transfer",
"cargo:rustc-cfg=spi_master_has_clk_pre_div",
"cargo:rustc-cfg=spi_master_dma_can_access_flash",
"cargo:rustc-cfg=i2s_version=\"3\"",
"cargo:rustc-cfg=i2s_version_is_set",
"cargo:rustc-cfg=i2s_mclk_divider_bit_width=\"9\"",
"cargo:rustc-cfg=i2s_mclk_divider_bit_width_is_set",
"cargo:rustc-cfg=i2s_max_ws_width=\"512\"",
"cargo:rustc-cfg=i2s_max_ws_width_is_set",
"cargo:rustc-cfg=i2s_clock_configured_by_pcr",
"cargo:rustc-cfg=i2s_supports_pdm_tx",
"cargo:rustc-cfg=i2s_supports_pdm_rx",
"cargo:rustc-cfg=i2s_supports_pcm2pdm",
"cargo:rustc-cfg=parl_io_version=\"2\"",
"cargo:rustc-cfg=rmt_ram_start=\"1610638336\"",
"cargo:rustc-cfg=rmt_channel_ram_size=\"48\"",
"cargo:rustc-cfg=rmt_has_tx_immediate_stop",
"cargo:rustc-cfg=rmt_has_tx_loop_count",
"cargo:rustc-cfg=rmt_has_tx_loop_auto_stop",
"cargo:rustc-cfg=rmt_has_tx_carrier_data_only",
"cargo:rustc-cfg=rmt_has_tx_sync",
"cargo:rustc-cfg=rmt_has_rx_wrap",
"cargo:rustc-cfg=rmt_has_rx_demodulation",
"cargo:rustc-cfg=bt_controller=\"npl\"",
"cargo:rustc-cfg=wifi_has_wifi6",
"cargo:rustc-cfg=wifi_mac_version=\"3\"",
"cargo:rustc-cfg=wifi_has_5g",
"cargo:rustc-cfg=wifi_csi_supported",
"cargo:rustc-cfg=soc_has_sdm_ch0",
"cargo:rustc-cfg=soc_has_sdm_ch1",
"cargo:rustc-cfg=soc_has_sdm_ch2",
"cargo:rustc-cfg=soc_has_sdm_ch3",
"cargo:rustc-cfg=timergroup_timg_has_divcnt_rst",
"cargo:rustc-cfg=timergroup_rc_fast_calibration_divider",
"cargo:rustc-cfg=timergroup_rc_fast_calibration_is_set",
"cargo:rustc-cfg=aes_dma_mode_ecb",
"cargo:rustc-cfg=aes_dma_mode_cbc",
"cargo:rustc-cfg=aes_dma_mode_ofb",
"cargo:rustc-cfg=aes_dma_mode_ctr",
"cargo:rustc-cfg=aes_dma_mode_cfb8",
"cargo:rustc-cfg=aes_dma_mode_cfb128",
"cargo:rustc-cfg=aes_has_split_text_registers",
"cargo:rustc-cfg=ecc_separate_jacobian_point_memory",
"cargo:rustc-cfg=ecc_has_memory_clock_gate",
"cargo:rustc-cfg=ecc_supports_enhanced_security",
"cargo:rustc-cfg=ecc_has_modular_arithmetic",
"cargo:rustc-cfg=ecc_has_point_addition",
"cargo:rustc-cfg=ecc_has_curve_p192",
"cargo:rustc-cfg=ecc_has_curve_p256",
"cargo:rustc-cfg=ecc_has_curve_p384",
"cargo:rustc-cfg=rng_apb_cycle_wait_num=\"16\"",
"cargo:rustc-cfg=rng_is_lp_sys",
"cargo:rustc-cfg=rsa_version=\"3\"",
"cargo:rustc-cfg=rsa_size_increment=\"32\"",
"cargo:rustc-cfg=rsa_memory_size_bytes=\"384\"",
"cargo:rustc-cfg=sleep_light_sleep",
"cargo:rustc-cfg=sleep_deep_sleep",
"cargo:rustc-cfg=sleep_has_wakeup_source_ext1",
"cargo:rustc-cfg=sleep_has_wakeup_source_gpio",
"cargo:rustc-cfg=sleep_has_wakeup_source_wifi_beacon",
"cargo:rustc-cfg=sleep_has_wakeup_source_timer",
"cargo:rustc-cfg=sleep_has_wakeup_source_wifi",
"cargo:rustc-cfg=sleep_has_wakeup_source_uart",
"cargo:rustc-cfg=sleep_has_wakeup_source_sdio",
"cargo:rustc-cfg=sleep_has_wakeup_source_bt",
"cargo:rustc-cfg=sleep_has_wakeup_source_lp_core",
"cargo:rustc-cfg=sleep_ext1_version=\"2\"",
"cargo:rustc-cfg=sleep_ext1_version_is_set",
"cargo:rustc-cfg=sleep_pin_wakeup_version=\"3\"",
"cargo:rustc-cfg=sleep_pin_wakeup_version_is_set",
"cargo:rustc-cfg=assist_debug_has_sp_monitor",
"cargo:rustc-cfg=assist_debug_has_region_monitor",
"cargo:rustc-cfg=dma_separate_in_out_interrupts",
"cargo:rustc-cfg=dma_gdma_version=\"2\"",
"cargo:rustc-cfg=dma_gdma_version_is_set",
"cargo:rustc-cfg=soc_has_dma_ch0",
"cargo:rustc-cfg=soc_has_dma_ch1",
"cargo:rustc-cfg=soc_has_dma_ch2",
"cargo:rustc-cfg=dma_supports_mem2mem",
"cargo:rustc-cfg=aes_supports_dma",
"cargo:rustc-cfg=aes_dma_engine=\"AHB_GDMA\"",
"cargo:rustc-cfg=sha_supports_dma",
"cargo:rustc-cfg=sha_dma_engine=\"AHB_GDMA\"",
"cargo:rustc-cfg=spi_master_supports_dma",
"cargo:rustc-cfg=spi_master_dma_engine=\"AHB_GDMA\"",
"cargo:rustc-cfg=spi_slave_supports_dma",
"cargo:rustc-cfg=spi_slave_dma_engine=\"AHB_GDMA\"",
"cargo:rustc-cfg=uhci_supports_dma",
"cargo:rustc-cfg=uhci_dma_engine=\"AHB_GDMA\"",
"cargo:rustc-cfg=i2s_supports_dma",
"cargo:rustc-cfg=i2s_dma_engine=\"AHB_GDMA\"",
"cargo:rustc-cfg=parl_io_supports_dma",
"cargo:rustc-cfg=parl_io_dma_engine=\"AHB_GDMA\"",
"cargo:rustc-cfg=dma_can_access_psram",
"cargo:rustc-cfg=dma_max_priority=\"5\"",
"cargo:rustc-cfg=dma_max_priority_is_set",
"cargo:rustc-cfg=interrupts_status_registers=\"3\"",
"cargo:rustc-cfg=interrupt_controller=\"clic\"",
"cargo:rustc-cfg=context_switch_source=\"clint\"",
"cargo:rustc-cfg=mmu_page_size=\"65536\"",
"cargo:rustc-cfg=mmu_entry_num=\"512\"",
"cargo:rustc-cfg=psram_extmem_origin=\"1107296256\"",
"cargo:rustc-cfg=rom_has_crc_le",
"cargo:rustc-cfg=rom_has_crc_be",
"cargo:rustc-cfg=rom_has_md5_bsd",
"cargo:rustc-cfg=soc_cpu_has_branch_predictor",
"cargo:rustc-cfg=soc_cpu_csr_prv_mode=\"2064\"",
"cargo:rustc-cfg=soc_cpu_csr_prv_mode_is_set",
"cargo:rustc-cfg=soc_has_swd_watchdog",
"cargo:rustc-cfg=soc_cpu_mcause_mask=\"31\"",
"cargo:rustc-cfg=soc_has_clock_node_xtal_clk",
"cargo:rustc-cfg=soc_clock_node_xtal_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_pll_clk",
"cargo:rustc-cfg=soc_has_clock_node_rc_fast_clk",
"cargo:rustc-cfg=soc_has_clock_node_xtal32k_clk",
"cargo:rustc-cfg=soc_has_clock_node_osc_slow_clk",
"cargo:rustc-cfg=soc_has_clock_node_rc_slow_clk",
"cargo:rustc-cfg=soc_has_clock_node_pll_f12m",
"cargo:rustc-cfg=soc_has_clock_node_pll_f20m",
"cargo:rustc-cfg=soc_has_clock_node_pll_f40m",
"cargo:rustc-cfg=soc_has_clock_node_pll_f48m",
"cargo:rustc-cfg=soc_has_clock_node_pll_f60m",
"cargo:rustc-cfg=soc_has_clock_node_pll_f80m",
"cargo:rustc-cfg=soc_has_clock_node_pll_f120m",
"cargo:rustc-cfg=soc_has_clock_node_pll_f160m",
"cargo:rustc-cfg=soc_has_clock_node_pll_f240m",
"cargo:rustc-cfg=soc_has_clock_node_hp_root_clk",
"cargo:rustc-cfg=soc_clock_node_hp_root_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_cpu_clk",
"cargo:rustc-cfg=soc_clock_node_cpu_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_ahb_clk",
"cargo:rustc-cfg=soc_clock_node_ahb_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_apb_clk",
"cargo:rustc-cfg=soc_clock_node_apb_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_xtal_d2_clk",
"cargo:rustc-cfg=soc_has_clock_node_lp_fast_clk",
"cargo:rustc-cfg=soc_clock_node_lp_fast_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_lp_slow_clk",
"cargo:rustc-cfg=soc_clock_node_lp_slow_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_crypto_pll_div",
"cargo:rustc-cfg=soc_has_clock_node_crypto_clk",
"cargo:rustc-cfg=soc_clock_node_crypto_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_iomux_function_clock",
"cargo:rustc-cfg=soc_clock_node_iomux_function_clock_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_timg_calibration_clock",
"cargo:rustc-cfg=soc_clock_node_timg_calibration_clock_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_uart_function_clock",
"cargo:rustc-cfg=soc_clock_node_uart_function_clock_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_uart_baud_rate_generator",
"cargo:rustc-cfg=soc_clock_node_uart_baud_rate_generator_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_timg_function_clock",
"cargo:rustc-cfg=soc_clock_node_timg_function_clock_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_timg_wdt_clock",
"cargo:rustc-cfg=soc_clock_node_timg_wdt_clock_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_sdm_function_clock",
"cargo:rustc-cfg=soc_has_clock_node_rmt_sclk",
"cargo:rustc-cfg=soc_clock_node_rmt_sclk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_parl_io_rx_clock",
"cargo:rustc-cfg=soc_clock_node_parl_io_rx_clock_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_parl_io_tx_clock",
"cargo:rustc-cfg=soc_clock_node_parl_io_tx_clock_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_i2s_tx_clk",
"cargo:rustc-cfg=soc_clock_node_i2s_tx_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_i2s_rx_clk",
"cargo:rustc-cfg=soc_clock_node_i2s_rx_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_i2s_mclk_out",
"cargo:rustc-cfg=soc_clock_node_i2s_mclk_out_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_i2c_function_clock",
"cargo:rustc-cfg=soc_clock_node_i2c_function_clock_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_spi_function_clock",
"cargo:rustc-cfg=soc_clock_node_spi_function_clock_is_configurable",
"cargo:rustc-cfg=has_dram_region",
"cargo:rustc-cfg=has_dram2_uninit_region",
"cargo:rustc-cfg=has_irom_region",
"cargo:rustc-cfg=has_drom_region",
],
memory_layout: &MemoryLayout {
regions: &[
(
"dram",
MemoryRegion {
address_range: 0x40800000..0x40860000,
},
),
(
"dram2_uninit",
MemoryRegion {
address_range: 0x4084E5A0..0x4085E5A0,
},
),
(
"irom",
MemoryRegion {
address_range: 0x42000000..0x44000000,
},
),
(
"drom",
MemoryRegion {
address_range: 0x42000000..0x44000000,
},
),
],
},
pins: &[
PinInfo {
pin: 0,
limitations: &[],
},
PinInfo {
pin: 1,
limitations: &[],
},
PinInfo {
pin: 2,
limitations: &["strapping", "jtag"],
},
PinInfo {
pin: 3,
limitations: &["strapping", "jtag"],
},
PinInfo {
pin: 4,
limitations: &["jtag"],
},
PinInfo {
pin: 5,
limitations: &["jtag"],
},
PinInfo {
pin: 6,
limitations: &[],
},
PinInfo {
pin: 7,
limitations: &["strapping"],
},
PinInfo {
pin: 8,
limitations: &[],
},
PinInfo {
pin: 9,
limitations: &[],
},
PinInfo {
pin: 10,
limitations: &[],
},
PinInfo {
pin: 11,
limitations: &["bootloader_uart"],
},
PinInfo {
pin: 12,
limitations: &["bootloader_uart"],
},
PinInfo {
pin: 13,
limitations: &["usb_jtag"],
},
PinInfo {
pin: 14,
limitations: &["usb_jtag"],
},
PinInfo {
pin: 15,
limitations: &["spi_psram"],
},
PinInfo {
pin: 16,
limitations: &["spi_flash"],
},
PinInfo {
pin: 17,
limitations: &["spi_flash", "spi_psram"],
},
PinInfo {
pin: 18,
limitations: &["spi_flash", "spi_psram"],
},
PinInfo {
pin: 19,
limitations: &["spi_flash", "spi_psram"],
},
PinInfo {
pin: 20,
limitations: &["spi_flash", "spi_psram"],
},
PinInfo {
pin: 21,
limitations: &["spi_flash", "spi_psram"],
},
PinInfo {
pin: 22,
limitations: &["spi_flash", "spi_psram"],
},
PinInfo {
pin: 23,
limitations: &[],
},
PinInfo {
pin: 24,
limitations: &[],
},
PinInfo {
pin: 25,
limitations: &["strapping"],
},
PinInfo {
pin: 26,
limitations: &["strapping"],
},
PinInfo {
pin: 27,
limitations: &["strapping"],
},
PinInfo {
pin: 28,
limitations: &["strapping"],
},
],
},
Self::Esp32c6 => Config {
architecture: "riscv",
target: "riscv32imac-unknown-none-elf",
symbols: &[
"esp32c6",
"riscv",
"single_core",
"soc_has_aes",
"soc_has_apb_saradc",
"soc_has_assist_debug",
"soc_has_atomic",
"soc_has_clint",
"soc_has_dma",
"soc_has_ds",
"soc_has_ecc",
"soc_has_efuse",
"soc_has_extmem",
"soc_has_gpio",
"soc_has_gpio_sd",
"soc_has_hinf",
"soc_has_hmac",
"soc_has_hp_apm",
"soc_has_hp_sys",
"soc_has_i2c_ana_mst",
"soc_has_i2c0",
"soc_has_i2s0",
"soc_has_ieee802154",
"soc_has_interrupt_core0",
"soc_has_intpri",
"soc_has_io_mux",
"soc_has_ledc",
"soc_has_lp_ana",
"soc_has_lp_aon",
"soc_has_lp_apm",
"soc_has_lp_apm0",
"soc_has_lp_clkrst",
"soc_has_lp_i2c0",
"soc_has_lp_i2c_ana_mst",
"soc_has_lp_io",
"soc_has_lp_peri",
"soc_has_lp_tee",
"soc_has_rtc_timer",
"soc_has_lp_uart",
"soc_has_lp_wdt",
"soc_has_lpwr",
"soc_has_mcpwm0",
"soc_has_mem_monitor",
"soc_has_modem_lpcon",
"soc_has_modem_syscon",
"soc_has_otp_debug",
"soc_has_parl_io",
"soc_has_pau",
"soc_has_pcnt",
"soc_has_pcr",
"soc_has_plic_mx",
"soc_has_pmu",
"soc_has_rmt",
"soc_has_rng",
"soc_has_rsa",
"soc_has_sha",
"soc_has_slchost",
"soc_has_etm",
"soc_has_spi0",
"soc_has_spi1",
"soc_has_spi2",
"soc_has_system",
"soc_has_systimer",
"soc_has_tee",
"soc_has_timg0",
"soc_has_timg1",
"soc_has_trace0",
"soc_has_twai0",
"soc_has_twai1",
"soc_has_uart0",
"soc_has_uart1",
"soc_has_uhci0",
"soc_has_usb_device",
"soc_has_adc1",
"soc_has_bt",
"soc_has_flash",
"soc_has_gpio_dedicated",
"soc_has_lp_core",
"soc_has_tsens",
"soc_has_wifi",
"soc_has_from_cpu_intr0",
"soc_has_from_cpu_intr1",
"soc_has_from_cpu_intr2",
"soc_has_from_cpu_intr3",
"gpio_driver_supported",
"dedicated_gpio_driver_supported",
"io_mux_driver_supported",
"lp_io_driver_supported",
"uart_driver_supported",
"lp_uart_driver_supported",
"uhci_driver_supported",
"i2c_master_driver_supported",
"lp_i2c_master_driver_supported",
"i2c_slave_driver_supported",
"spi_master_driver_supported",
"spi_slave_driver_supported",
"i2s_driver_supported",
"parl_io_driver_supported",
"rmt_driver_supported",
"twai_driver_supported",
"usb_serial_jtag_driver_supported",
"bt_driver_supported",
"wifi_driver_supported",
"ieee802154_driver_supported",
"phy_driver_supported",
"adc_driver_supported",
"temp_sensor_driver_supported",
"ledc_driver_supported",
"mcpwm_driver_supported",
"pcnt_driver_supported",
"lp_timer_driver_supported",
"sdm_driver_supported",
"systimer_driver_supported",
"timergroup_driver_supported",
"aes_driver_supported",
"ecc_driver_supported",
"hmac_driver_supported",
"rng_driver_supported",
"rsa_driver_supported",
"sha_driver_supported",
"sleep_driver_supported",
"ulp_riscv_driver_supported",
"assist_debug_driver_supported",
"dma_driver_supported",
"etm_driver_supported",
"interrupts_driver_supported",
"mmu_driver_supported",
"flash_driver_supported",
"rom_driver_supported",
"soc_driver_supported",
"uart_uart0",
"uart_uart1",
"i2c_master_i2c0",
"i2c_slave_i2c0",
"spi_master_spi2",
"spi_slave_spi2",
"i2s_i2s0",
"adc_adc1",
"pcnt_PCNT",
"timergroup_timg0",
"timergroup_timg1",
"gpio_version=\"2\"",
"gpio_has_input_sync",
"gpio_gpio_function=\"1\"",
"gpio_constant_0_input=\"60\"",
"gpio_constant_1_input=\"56\"",
"gpio_func_in_sel_offset=\"0\"",
"soc_has_xtal32k_pads",
"gpio_input_signal_max=\"124\"",
"gpio_output_signal_max=\"128\"",
"dedicated_gpio_version=\"riscv_v1\"",
"lp_io_version=\"v4\"",
"uart_ram_size=\"128\"",
"uart_version=\"2\"",
"uart_peripheral_controls_mem_clk",
"uart_has_sclk_enable",
"lp_uart_ram_size=\"32\"",
"i2c_master_version=\"4\"",
"i2c_master_has_fsm_timeouts",
"i2c_master_has_hw_bus_clear",
"i2c_master_has_bus_timeout_enable",
"i2c_master_can_estimate_nack_reason",
"i2c_master_has_conf_update",
"i2c_master_has_reliable_fsm_reset",
"i2c_master_has_arbitration_en",
"i2c_master_has_tx_fifo_watermark",
"i2c_master_bus_timeout_is_exponential",
"i2c_master_has_pd_en",
"i2c_master_max_bus_timeout=\"31\"",
"i2c_master_ll_intr_mask=\"262143\"",
"i2c_master_fifo_size=\"32\"",
"lp_i2c_master_version=\"lp_i2c\"",
"lp_i2c_master_fifo_size=\"16\"",
"lp_i2c_master_fifo_size_is_set",
"spi_master_version=\"3\"",
"spi_master_fifo_size=\"64\"",
"spi_master_has_app_interrupts",
"spi_master_has_dma_segmented_transfer",
"i2s_version=\"2\"",
"i2s_version_is_set",
"i2s_mclk_divider_bit_width=\"9\"",
"i2s_mclk_divider_bit_width_is_set",
"i2s_max_ws_width=\"128\"",
"i2s_max_ws_width_is_set",
"i2s_clock_configured_by_pcr",
"i2s_supports_pdm_tx",
"i2s_supports_pdm_rx",
"i2s_supports_pcm2pdm",
"parl_io_version=\"1\"",
"rmt_ram_start=\"1610638336\"",
"rmt_channel_ram_size=\"48\"",
"rmt_has_tx_immediate_stop",
"rmt_has_tx_loop_count",
"rmt_has_tx_loop_auto_stop",
"rmt_has_tx_carrier_data_only",
"rmt_has_tx_sync",
"rmt_has_rx_wrap",
"rmt_has_rx_demodulation",
"bt_controller=\"npl\"",
"wifi_has_wifi6",
"wifi_mac_version=\"2\"",
"wifi_csi_supported",
"phy_combo_module",
"ledc_version=\"3\"",
"ledc_channel_count=\"6\"",
"soc_has_sdm_ch0",
"soc_has_sdm_ch1",
"soc_has_sdm_ch2",
"soc_has_sdm_ch3",
"timergroup_timg_has_divcnt_rst",
"timergroup_rc_fast_calibration_divider",
"timergroup_rc_fast_calibration_is_set",
"aes_dma_mode_ecb",
"aes_dma_mode_cbc",
"aes_dma_mode_ofb",
"aes_dma_mode_ctr",
"aes_dma_mode_cfb8",
"aes_dma_mode_cfb128",
"aes_has_split_text_registers",
"ecc_zero_extend_writes",
"ecc_has_memory_clock_gate",
"ecc_has_curve_p192",
"ecc_has_curve_p256",
"rng_apb_cycle_wait_num=\"16\"",
"rng_trng_supported",
"rng_is_lp_sys",
"rsa_version=\"3\"",
"rsa_size_increment=\"32\"",
"rsa_memory_size_bytes=\"384\"",
"sleep_light_sleep",
"sleep_deep_sleep",
"sleep_has_wakeup_source_ext1",
"sleep_has_wakeup_source_gpio",
"sleep_has_wakeup_source_wifi_beacon",
"sleep_has_wakeup_source_timer",
"sleep_has_wakeup_source_wifi",
"sleep_has_wakeup_source_uart",
"sleep_has_wakeup_source_sdio",
"sleep_has_wakeup_source_bt",
"sleep_has_wakeup_source_lp_core",
"sleep_ext1_version=\"2\"",
"sleep_ext1_version_is_set",
"sleep_pin_wakeup_version=\"3\"",
"sleep_pin_wakeup_version_is_set",
"assist_debug_has_sp_monitor",
"assist_debug_has_region_monitor",
"dma_separate_in_out_interrupts",
"dma_gdma_version=\"1\"",
"dma_gdma_version_is_set",
"soc_has_dma_ch0",
"soc_has_dma_ch1",
"soc_has_dma_ch2",
"dma_supports_mem2mem",
"aes_supports_dma",
"aes_dma_engine=\"AHB_GDMA\"",
"sha_supports_dma",
"sha_dma_engine=\"AHB_GDMA\"",
"spi_master_supports_dma",
"spi_master_dma_engine=\"AHB_GDMA\"",
"spi_slave_supports_dma",
"spi_slave_dma_engine=\"AHB_GDMA\"",
"uhci_supports_dma",
"uhci_dma_engine=\"AHB_GDMA\"",
"i2s_supports_dma",
"i2s_dma_engine=\"AHB_GDMA\"",
"parl_io_supports_dma",
"parl_io_dma_engine=\"AHB_GDMA\"",
"dma_max_priority=\"5\"",
"dma_max_priority_is_set",
"interrupts_status_registers=\"3\"",
"interrupt_controller=\"plic\"",
"context_switch_source=\"from_cpu\"",
"mmu_page_size=\"65536\"",
"mmu_entry_num=\"256\"",
"rom_has_crc_le",
"rom_has_crc_be",
"rom_has_md5_bsd",
"soc_cpu_has_csr_pc",
"soc_cpu_csr_prv_mode=\"3088\"",
"soc_cpu_csr_prv_mode_is_set",
"soc_has_swd_watchdog",
"soc_cpu_mcause_mask=\"31\"",
"soc_has_clock_node_xtal_clk",
"soc_clock_node_xtal_clk_is_configurable",
"soc_has_clock_node_pll_clk",
"soc_has_clock_node_rc_fast_clk",
"soc_has_clock_node_xtal32k_clk",
"soc_has_clock_node_osc_slow_clk",
"soc_has_clock_node_rc_slow_clk",
"soc_has_clock_node_soc_root_clk",
"soc_clock_node_soc_root_clk_is_configurable",
"soc_has_clock_node_hp_root_clk",
"soc_clock_node_hp_root_clk_is_configurable",
"soc_has_clock_node_cpu_hs_div",
"soc_clock_node_cpu_hs_div_is_configurable",
"soc_has_clock_node_cpu_ls_div",
"soc_clock_node_cpu_ls_div_is_configurable",
"soc_has_clock_node_cpu_clk",
"soc_clock_node_cpu_clk_is_configurable",
"soc_has_clock_node_ahb_hs_div",
"soc_clock_node_ahb_hs_div_is_configurable",
"soc_has_clock_node_ahb_ls_div",
"soc_clock_node_ahb_ls_div_is_configurable",
"soc_has_clock_node_ahb_clk",
"soc_clock_node_ahb_clk_is_configurable",
"soc_has_clock_node_apb_clk",
"soc_clock_node_apb_clk_is_configurable",
"soc_has_clock_node_mspi_fast_hs_clk",
"soc_clock_node_mspi_fast_hs_clk_is_configurable",
"soc_has_clock_node_mspi_fast_ls_clk",
"soc_clock_node_mspi_fast_ls_clk_is_configurable",
"soc_has_clock_node_mspi_fast_clk",
"soc_clock_node_mspi_fast_clk_is_configurable",
"soc_has_clock_node_pll_f48m",
"soc_has_clock_node_pll_f80m",
"soc_has_clock_node_pll_f160m",
"soc_has_clock_node_pll_f240m",
"soc_has_clock_node_iomux_function_clock",
"soc_clock_node_iomux_function_clock_is_configurable",
"soc_has_clock_node_ledc_sclk",
"soc_clock_node_ledc_sclk_is_configurable",
"soc_has_clock_node_xtal_d2_clk",
"soc_has_clock_node_lp_fast_clk",
"soc_clock_node_lp_fast_clk_is_configurable",
"soc_has_clock_node_lp_slow_clk",
"soc_clock_node_lp_slow_clk_is_configurable",
"soc_has_clock_node_timg_calibration_clock",
"soc_clock_node_timg_calibration_clock_is_configurable",
"soc_has_clock_node_uart_function_clock",
"soc_clock_node_uart_function_clock_is_configurable",
"soc_has_clock_node_uart_baud_rate_generator",
"soc_clock_node_uart_baud_rate_generator_is_configurable",
"soc_has_clock_node_sdm_function_clock",
"soc_has_clock_node_rmt_sclk",
"soc_clock_node_rmt_sclk_is_configurable",
"soc_has_clock_node_timg_function_clock",
"soc_clock_node_timg_function_clock_is_configurable",
"soc_has_clock_node_timg_wdt_clock",
"soc_clock_node_timg_wdt_clock_is_configurable",
"soc_has_clock_node_mcpwm_function_clock",
"soc_clock_node_mcpwm_function_clock_is_configurable",
"soc_has_clock_node_parl_io_rx_clock",
"soc_clock_node_parl_io_rx_clock_is_configurable",
"soc_has_clock_node_parl_io_tx_clock",
"soc_clock_node_parl_io_tx_clock_is_configurable",
"soc_has_clock_node_i2s_tx_clk",
"soc_clock_node_i2s_tx_clk_is_configurable",
"soc_has_clock_node_i2s_rx_clk",
"soc_clock_node_i2s_rx_clk_is_configurable",
"soc_has_clock_node_i2s_mclk_out",
"soc_clock_node_i2s_mclk_out_is_configurable",
"soc_has_clock_node_i2c_function_clock",
"soc_clock_node_i2c_function_clock_is_configurable",
"soc_has_clock_node_spi_function_clock",
"soc_clock_node_spi_function_clock_is_configurable",
"has_dram_region",
"has_dram2_uninit_region",
"has_irom_region",
"has_drom_region",
],
cfgs: &[
"cargo:rustc-cfg=esp32c6",
"cargo:rustc-cfg=riscv",
"cargo:rustc-cfg=single_core",
"cargo:rustc-cfg=soc_has_aes",
"cargo:rustc-cfg=soc_has_apb_saradc",
"cargo:rustc-cfg=soc_has_assist_debug",
"cargo:rustc-cfg=soc_has_atomic",
"cargo:rustc-cfg=soc_has_clint",
"cargo:rustc-cfg=soc_has_dma",
"cargo:rustc-cfg=soc_has_ds",
"cargo:rustc-cfg=soc_has_ecc",
"cargo:rustc-cfg=soc_has_efuse",
"cargo:rustc-cfg=soc_has_extmem",
"cargo:rustc-cfg=soc_has_gpio",
"cargo:rustc-cfg=soc_has_gpio_sd",
"cargo:rustc-cfg=soc_has_hinf",
"cargo:rustc-cfg=soc_has_hmac",
"cargo:rustc-cfg=soc_has_hp_apm",
"cargo:rustc-cfg=soc_has_hp_sys",
"cargo:rustc-cfg=soc_has_i2c_ana_mst",
"cargo:rustc-cfg=soc_has_i2c0",
"cargo:rustc-cfg=soc_has_i2s0",
"cargo:rustc-cfg=soc_has_ieee802154",
"cargo:rustc-cfg=soc_has_interrupt_core0",
"cargo:rustc-cfg=soc_has_intpri",
"cargo:rustc-cfg=soc_has_io_mux",
"cargo:rustc-cfg=soc_has_ledc",
"cargo:rustc-cfg=soc_has_lp_ana",
"cargo:rustc-cfg=soc_has_lp_aon",
"cargo:rustc-cfg=soc_has_lp_apm",
"cargo:rustc-cfg=soc_has_lp_apm0",
"cargo:rustc-cfg=soc_has_lp_clkrst",
"cargo:rustc-cfg=soc_has_lp_i2c0",
"cargo:rustc-cfg=soc_has_lp_i2c_ana_mst",
"cargo:rustc-cfg=soc_has_lp_io",
"cargo:rustc-cfg=soc_has_lp_peri",
"cargo:rustc-cfg=soc_has_lp_tee",
"cargo:rustc-cfg=soc_has_rtc_timer",
"cargo:rustc-cfg=soc_has_lp_uart",
"cargo:rustc-cfg=soc_has_lp_wdt",
"cargo:rustc-cfg=soc_has_lpwr",
"cargo:rustc-cfg=soc_has_mcpwm0",
"cargo:rustc-cfg=soc_has_mem_monitor",
"cargo:rustc-cfg=soc_has_modem_lpcon",
"cargo:rustc-cfg=soc_has_modem_syscon",
"cargo:rustc-cfg=soc_has_otp_debug",
"cargo:rustc-cfg=soc_has_parl_io",
"cargo:rustc-cfg=soc_has_pau",
"cargo:rustc-cfg=soc_has_pcnt",
"cargo:rustc-cfg=soc_has_pcr",
"cargo:rustc-cfg=soc_has_plic_mx",
"cargo:rustc-cfg=soc_has_pmu",
"cargo:rustc-cfg=soc_has_rmt",
"cargo:rustc-cfg=soc_has_rng",
"cargo:rustc-cfg=soc_has_rsa",
"cargo:rustc-cfg=soc_has_sha",
"cargo:rustc-cfg=soc_has_slchost",
"cargo:rustc-cfg=soc_has_etm",
"cargo:rustc-cfg=soc_has_spi0",
"cargo:rustc-cfg=soc_has_spi1",
"cargo:rustc-cfg=soc_has_spi2",
"cargo:rustc-cfg=soc_has_system",
"cargo:rustc-cfg=soc_has_systimer",
"cargo:rustc-cfg=soc_has_tee",
"cargo:rustc-cfg=soc_has_timg0",
"cargo:rustc-cfg=soc_has_timg1",
"cargo:rustc-cfg=soc_has_trace0",
"cargo:rustc-cfg=soc_has_twai0",
"cargo:rustc-cfg=soc_has_twai1",
"cargo:rustc-cfg=soc_has_uart0",
"cargo:rustc-cfg=soc_has_uart1",
"cargo:rustc-cfg=soc_has_uhci0",
"cargo:rustc-cfg=soc_has_usb_device",
"cargo:rustc-cfg=soc_has_adc1",
"cargo:rustc-cfg=soc_has_bt",
"cargo:rustc-cfg=soc_has_flash",
"cargo:rustc-cfg=soc_has_gpio_dedicated",
"cargo:rustc-cfg=soc_has_lp_core",
"cargo:rustc-cfg=soc_has_tsens",
"cargo:rustc-cfg=soc_has_wifi",
"cargo:rustc-cfg=soc_has_from_cpu_intr0",
"cargo:rustc-cfg=soc_has_from_cpu_intr1",
"cargo:rustc-cfg=soc_has_from_cpu_intr2",
"cargo:rustc-cfg=soc_has_from_cpu_intr3",
"cargo:rustc-cfg=gpio_driver_supported",
"cargo:rustc-cfg=dedicated_gpio_driver_supported",
"cargo:rustc-cfg=io_mux_driver_supported",
"cargo:rustc-cfg=lp_io_driver_supported",
"cargo:rustc-cfg=uart_driver_supported",
"cargo:rustc-cfg=lp_uart_driver_supported",
"cargo:rustc-cfg=uhci_driver_supported",
"cargo:rustc-cfg=i2c_master_driver_supported",
"cargo:rustc-cfg=lp_i2c_master_driver_supported",
"cargo:rustc-cfg=i2c_slave_driver_supported",
"cargo:rustc-cfg=spi_master_driver_supported",
"cargo:rustc-cfg=spi_slave_driver_supported",
"cargo:rustc-cfg=i2s_driver_supported",
"cargo:rustc-cfg=parl_io_driver_supported",
"cargo:rustc-cfg=rmt_driver_supported",
"cargo:rustc-cfg=twai_driver_supported",
"cargo:rustc-cfg=usb_serial_jtag_driver_supported",
"cargo:rustc-cfg=bt_driver_supported",
"cargo:rustc-cfg=wifi_driver_supported",
"cargo:rustc-cfg=ieee802154_driver_supported",
"cargo:rustc-cfg=phy_driver_supported",
"cargo:rustc-cfg=adc_driver_supported",
"cargo:rustc-cfg=temp_sensor_driver_supported",
"cargo:rustc-cfg=ledc_driver_supported",
"cargo:rustc-cfg=mcpwm_driver_supported",
"cargo:rustc-cfg=pcnt_driver_supported",
"cargo:rustc-cfg=lp_timer_driver_supported",
"cargo:rustc-cfg=sdm_driver_supported",
"cargo:rustc-cfg=systimer_driver_supported",
"cargo:rustc-cfg=timergroup_driver_supported",
"cargo:rustc-cfg=aes_driver_supported",
"cargo:rustc-cfg=ecc_driver_supported",
"cargo:rustc-cfg=hmac_driver_supported",
"cargo:rustc-cfg=rng_driver_supported",
"cargo:rustc-cfg=rsa_driver_supported",
"cargo:rustc-cfg=sha_driver_supported",
"cargo:rustc-cfg=sleep_driver_supported",
"cargo:rustc-cfg=ulp_riscv_driver_supported",
"cargo:rustc-cfg=assist_debug_driver_supported",
"cargo:rustc-cfg=dma_driver_supported",
"cargo:rustc-cfg=etm_driver_supported",
"cargo:rustc-cfg=interrupts_driver_supported",
"cargo:rustc-cfg=mmu_driver_supported",
"cargo:rustc-cfg=flash_driver_supported",
"cargo:rustc-cfg=rom_driver_supported",
"cargo:rustc-cfg=soc_driver_supported",
"cargo:rustc-cfg=uart_uart0",
"cargo:rustc-cfg=uart_uart1",
"cargo:rustc-cfg=i2c_master_i2c0",
"cargo:rustc-cfg=i2c_slave_i2c0",
"cargo:rustc-cfg=spi_master_spi2",
"cargo:rustc-cfg=spi_slave_spi2",
"cargo:rustc-cfg=i2s_i2s0",
"cargo:rustc-cfg=adc_adc1",
"cargo:rustc-cfg=pcnt_PCNT",
"cargo:rustc-cfg=timergroup_timg0",
"cargo:rustc-cfg=timergroup_timg1",
"cargo:rustc-cfg=gpio_version=\"2\"",
"cargo:rustc-cfg=gpio_has_input_sync",
"cargo:rustc-cfg=gpio_gpio_function=\"1\"",
"cargo:rustc-cfg=gpio_constant_0_input=\"60\"",
"cargo:rustc-cfg=gpio_constant_1_input=\"56\"",
"cargo:rustc-cfg=gpio_func_in_sel_offset=\"0\"",
"cargo:rustc-cfg=soc_has_xtal32k_pads",
"cargo:rustc-cfg=gpio_input_signal_max=\"124\"",
"cargo:rustc-cfg=gpio_output_signal_max=\"128\"",
"cargo:rustc-cfg=dedicated_gpio_version=\"riscv_v1\"",
"cargo:rustc-cfg=lp_io_version=\"v4\"",
"cargo:rustc-cfg=uart_ram_size=\"128\"",
"cargo:rustc-cfg=uart_version=\"2\"",
"cargo:rustc-cfg=uart_peripheral_controls_mem_clk",
"cargo:rustc-cfg=uart_has_sclk_enable",
"cargo:rustc-cfg=lp_uart_ram_size=\"32\"",
"cargo:rustc-cfg=i2c_master_version=\"4\"",
"cargo:rustc-cfg=i2c_master_has_fsm_timeouts",
"cargo:rustc-cfg=i2c_master_has_hw_bus_clear",
"cargo:rustc-cfg=i2c_master_has_bus_timeout_enable",
"cargo:rustc-cfg=i2c_master_can_estimate_nack_reason",
"cargo:rustc-cfg=i2c_master_has_conf_update",
"cargo:rustc-cfg=i2c_master_has_reliable_fsm_reset",
"cargo:rustc-cfg=i2c_master_has_arbitration_en",
"cargo:rustc-cfg=i2c_master_has_tx_fifo_watermark",
"cargo:rustc-cfg=i2c_master_bus_timeout_is_exponential",
"cargo:rustc-cfg=i2c_master_has_pd_en",
"cargo:rustc-cfg=i2c_master_max_bus_timeout=\"31\"",
"cargo:rustc-cfg=i2c_master_ll_intr_mask=\"262143\"",
"cargo:rustc-cfg=i2c_master_fifo_size=\"32\"",
"cargo:rustc-cfg=lp_i2c_master_version=\"lp_i2c\"",
"cargo:rustc-cfg=lp_i2c_master_fifo_size=\"16\"",
"cargo:rustc-cfg=lp_i2c_master_fifo_size_is_set",
"cargo:rustc-cfg=spi_master_version=\"3\"",
"cargo:rustc-cfg=spi_master_fifo_size=\"64\"",
"cargo:rustc-cfg=spi_master_has_app_interrupts",
"cargo:rustc-cfg=spi_master_has_dma_segmented_transfer",
"cargo:rustc-cfg=i2s_version=\"2\"",
"cargo:rustc-cfg=i2s_version_is_set",
"cargo:rustc-cfg=i2s_mclk_divider_bit_width=\"9\"",
"cargo:rustc-cfg=i2s_mclk_divider_bit_width_is_set",
"cargo:rustc-cfg=i2s_max_ws_width=\"128\"",
"cargo:rustc-cfg=i2s_max_ws_width_is_set",
"cargo:rustc-cfg=i2s_clock_configured_by_pcr",
"cargo:rustc-cfg=i2s_supports_pdm_tx",
"cargo:rustc-cfg=i2s_supports_pdm_rx",
"cargo:rustc-cfg=i2s_supports_pcm2pdm",
"cargo:rustc-cfg=parl_io_version=\"1\"",
"cargo:rustc-cfg=rmt_ram_start=\"1610638336\"",
"cargo:rustc-cfg=rmt_channel_ram_size=\"48\"",
"cargo:rustc-cfg=rmt_has_tx_immediate_stop",
"cargo:rustc-cfg=rmt_has_tx_loop_count",
"cargo:rustc-cfg=rmt_has_tx_loop_auto_stop",
"cargo:rustc-cfg=rmt_has_tx_carrier_data_only",
"cargo:rustc-cfg=rmt_has_tx_sync",
"cargo:rustc-cfg=rmt_has_rx_wrap",
"cargo:rustc-cfg=rmt_has_rx_demodulation",
"cargo:rustc-cfg=bt_controller=\"npl\"",
"cargo:rustc-cfg=wifi_has_wifi6",
"cargo:rustc-cfg=wifi_mac_version=\"2\"",
"cargo:rustc-cfg=wifi_csi_supported",
"cargo:rustc-cfg=phy_combo_module",
"cargo:rustc-cfg=ledc_version=\"3\"",
"cargo:rustc-cfg=ledc_channel_count=\"6\"",
"cargo:rustc-cfg=soc_has_sdm_ch0",
"cargo:rustc-cfg=soc_has_sdm_ch1",
"cargo:rustc-cfg=soc_has_sdm_ch2",
"cargo:rustc-cfg=soc_has_sdm_ch3",
"cargo:rustc-cfg=timergroup_timg_has_divcnt_rst",
"cargo:rustc-cfg=timergroup_rc_fast_calibration_divider",
"cargo:rustc-cfg=timergroup_rc_fast_calibration_is_set",
"cargo:rustc-cfg=aes_dma_mode_ecb",
"cargo:rustc-cfg=aes_dma_mode_cbc",
"cargo:rustc-cfg=aes_dma_mode_ofb",
"cargo:rustc-cfg=aes_dma_mode_ctr",
"cargo:rustc-cfg=aes_dma_mode_cfb8",
"cargo:rustc-cfg=aes_dma_mode_cfb128",
"cargo:rustc-cfg=aes_has_split_text_registers",
"cargo:rustc-cfg=ecc_zero_extend_writes",
"cargo:rustc-cfg=ecc_has_memory_clock_gate",
"cargo:rustc-cfg=ecc_has_curve_p192",
"cargo:rustc-cfg=ecc_has_curve_p256",
"cargo:rustc-cfg=rng_apb_cycle_wait_num=\"16\"",
"cargo:rustc-cfg=rng_trng_supported",
"cargo:rustc-cfg=rng_is_lp_sys",
"cargo:rustc-cfg=rsa_version=\"3\"",
"cargo:rustc-cfg=rsa_size_increment=\"32\"",
"cargo:rustc-cfg=rsa_memory_size_bytes=\"384\"",
"cargo:rustc-cfg=sleep_light_sleep",
"cargo:rustc-cfg=sleep_deep_sleep",
"cargo:rustc-cfg=sleep_has_wakeup_source_ext1",
"cargo:rustc-cfg=sleep_has_wakeup_source_gpio",
"cargo:rustc-cfg=sleep_has_wakeup_source_wifi_beacon",
"cargo:rustc-cfg=sleep_has_wakeup_source_timer",
"cargo:rustc-cfg=sleep_has_wakeup_source_wifi",
"cargo:rustc-cfg=sleep_has_wakeup_source_uart",
"cargo:rustc-cfg=sleep_has_wakeup_source_sdio",
"cargo:rustc-cfg=sleep_has_wakeup_source_bt",
"cargo:rustc-cfg=sleep_has_wakeup_source_lp_core",
"cargo:rustc-cfg=sleep_ext1_version=\"2\"",
"cargo:rustc-cfg=sleep_ext1_version_is_set",
"cargo:rustc-cfg=sleep_pin_wakeup_version=\"3\"",
"cargo:rustc-cfg=sleep_pin_wakeup_version_is_set",
"cargo:rustc-cfg=assist_debug_has_sp_monitor",
"cargo:rustc-cfg=assist_debug_has_region_monitor",
"cargo:rustc-cfg=dma_separate_in_out_interrupts",
"cargo:rustc-cfg=dma_gdma_version=\"1\"",
"cargo:rustc-cfg=dma_gdma_version_is_set",
"cargo:rustc-cfg=soc_has_dma_ch0",
"cargo:rustc-cfg=soc_has_dma_ch1",
"cargo:rustc-cfg=soc_has_dma_ch2",
"cargo:rustc-cfg=dma_supports_mem2mem",
"cargo:rustc-cfg=aes_supports_dma",
"cargo:rustc-cfg=aes_dma_engine=\"AHB_GDMA\"",
"cargo:rustc-cfg=sha_supports_dma",
"cargo:rustc-cfg=sha_dma_engine=\"AHB_GDMA\"",
"cargo:rustc-cfg=spi_master_supports_dma",
"cargo:rustc-cfg=spi_master_dma_engine=\"AHB_GDMA\"",
"cargo:rustc-cfg=spi_slave_supports_dma",
"cargo:rustc-cfg=spi_slave_dma_engine=\"AHB_GDMA\"",
"cargo:rustc-cfg=uhci_supports_dma",
"cargo:rustc-cfg=uhci_dma_engine=\"AHB_GDMA\"",
"cargo:rustc-cfg=i2s_supports_dma",
"cargo:rustc-cfg=i2s_dma_engine=\"AHB_GDMA\"",
"cargo:rustc-cfg=parl_io_supports_dma",
"cargo:rustc-cfg=parl_io_dma_engine=\"AHB_GDMA\"",
"cargo:rustc-cfg=dma_max_priority=\"5\"",
"cargo:rustc-cfg=dma_max_priority_is_set",
"cargo:rustc-cfg=interrupts_status_registers=\"3\"",
"cargo:rustc-cfg=interrupt_controller=\"plic\"",
"cargo:rustc-cfg=context_switch_source=\"from_cpu\"",
"cargo:rustc-cfg=mmu_page_size=\"65536\"",
"cargo:rustc-cfg=mmu_entry_num=\"256\"",
"cargo:rustc-cfg=rom_has_crc_le",
"cargo:rustc-cfg=rom_has_crc_be",
"cargo:rustc-cfg=rom_has_md5_bsd",
"cargo:rustc-cfg=soc_cpu_has_csr_pc",
"cargo:rustc-cfg=soc_cpu_csr_prv_mode=\"3088\"",
"cargo:rustc-cfg=soc_cpu_csr_prv_mode_is_set",
"cargo:rustc-cfg=soc_has_swd_watchdog",
"cargo:rustc-cfg=soc_cpu_mcause_mask=\"31\"",
"cargo:rustc-cfg=soc_has_clock_node_xtal_clk",
"cargo:rustc-cfg=soc_clock_node_xtal_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_pll_clk",
"cargo:rustc-cfg=soc_has_clock_node_rc_fast_clk",
"cargo:rustc-cfg=soc_has_clock_node_xtal32k_clk",
"cargo:rustc-cfg=soc_has_clock_node_osc_slow_clk",
"cargo:rustc-cfg=soc_has_clock_node_rc_slow_clk",
"cargo:rustc-cfg=soc_has_clock_node_soc_root_clk",
"cargo:rustc-cfg=soc_clock_node_soc_root_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_hp_root_clk",
"cargo:rustc-cfg=soc_clock_node_hp_root_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_cpu_hs_div",
"cargo:rustc-cfg=soc_clock_node_cpu_hs_div_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_cpu_ls_div",
"cargo:rustc-cfg=soc_clock_node_cpu_ls_div_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_cpu_clk",
"cargo:rustc-cfg=soc_clock_node_cpu_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_ahb_hs_div",
"cargo:rustc-cfg=soc_clock_node_ahb_hs_div_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_ahb_ls_div",
"cargo:rustc-cfg=soc_clock_node_ahb_ls_div_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_ahb_clk",
"cargo:rustc-cfg=soc_clock_node_ahb_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_apb_clk",
"cargo:rustc-cfg=soc_clock_node_apb_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_mspi_fast_hs_clk",
"cargo:rustc-cfg=soc_clock_node_mspi_fast_hs_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_mspi_fast_ls_clk",
"cargo:rustc-cfg=soc_clock_node_mspi_fast_ls_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_mspi_fast_clk",
"cargo:rustc-cfg=soc_clock_node_mspi_fast_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_pll_f48m",
"cargo:rustc-cfg=soc_has_clock_node_pll_f80m",
"cargo:rustc-cfg=soc_has_clock_node_pll_f160m",
"cargo:rustc-cfg=soc_has_clock_node_pll_f240m",
"cargo:rustc-cfg=soc_has_clock_node_iomux_function_clock",
"cargo:rustc-cfg=soc_clock_node_iomux_function_clock_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_ledc_sclk",
"cargo:rustc-cfg=soc_clock_node_ledc_sclk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_xtal_d2_clk",
"cargo:rustc-cfg=soc_has_clock_node_lp_fast_clk",
"cargo:rustc-cfg=soc_clock_node_lp_fast_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_lp_slow_clk",
"cargo:rustc-cfg=soc_clock_node_lp_slow_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_timg_calibration_clock",
"cargo:rustc-cfg=soc_clock_node_timg_calibration_clock_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_uart_function_clock",
"cargo:rustc-cfg=soc_clock_node_uart_function_clock_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_uart_baud_rate_generator",
"cargo:rustc-cfg=soc_clock_node_uart_baud_rate_generator_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_sdm_function_clock",
"cargo:rustc-cfg=soc_has_clock_node_rmt_sclk",
"cargo:rustc-cfg=soc_clock_node_rmt_sclk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_timg_function_clock",
"cargo:rustc-cfg=soc_clock_node_timg_function_clock_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_timg_wdt_clock",
"cargo:rustc-cfg=soc_clock_node_timg_wdt_clock_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_mcpwm_function_clock",
"cargo:rustc-cfg=soc_clock_node_mcpwm_function_clock_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_parl_io_rx_clock",
"cargo:rustc-cfg=soc_clock_node_parl_io_rx_clock_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_parl_io_tx_clock",
"cargo:rustc-cfg=soc_clock_node_parl_io_tx_clock_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_i2s_tx_clk",
"cargo:rustc-cfg=soc_clock_node_i2s_tx_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_i2s_rx_clk",
"cargo:rustc-cfg=soc_clock_node_i2s_rx_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_i2s_mclk_out",
"cargo:rustc-cfg=soc_clock_node_i2s_mclk_out_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_i2c_function_clock",
"cargo:rustc-cfg=soc_clock_node_i2c_function_clock_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_spi_function_clock",
"cargo:rustc-cfg=soc_clock_node_spi_function_clock_is_configurable",
"cargo:rustc-cfg=has_dram_region",
"cargo:rustc-cfg=has_dram2_uninit_region",
"cargo:rustc-cfg=has_irom_region",
"cargo:rustc-cfg=has_drom_region",
],
memory_layout: &MemoryLayout {
regions: &[
(
"dram",
MemoryRegion {
address_range: 0x40800000..0x40880000,
},
),
(
"dram2_uninit",
MemoryRegion {
address_range: 0x4086E610..0x4087E610,
},
),
(
"irom",
MemoryRegion {
address_range: 0x42000000..0x43000000,
},
),
(
"drom",
MemoryRegion {
address_range: 0x42000000..0x43000000,
},
),
],
},
pins: &[
PinInfo {
pin: 0,
limitations: &[],
},
PinInfo {
pin: 1,
limitations: &[],
},
PinInfo {
pin: 2,
limitations: &[],
},
PinInfo {
pin: 3,
limitations: &[],
},
PinInfo {
pin: 4,
limitations: &["strapping", "jtag"],
},
PinInfo {
pin: 5,
limitations: &["strapping", "jtag"],
},
PinInfo {
pin: 6,
limitations: &["jtag"],
},
PinInfo {
pin: 7,
limitations: &["jtag"],
},
PinInfo {
pin: 8,
limitations: &["strapping"],
},
PinInfo {
pin: 9,
limitations: &["strapping"],
},
PinInfo {
pin: 10,
limitations: &[],
},
PinInfo {
pin: 11,
limitations: &[],
},
PinInfo {
pin: 12,
limitations: &["usb_jtag"],
},
PinInfo {
pin: 13,
limitations: &["usb_jtag"],
},
PinInfo {
pin: 14,
limitations: &[],
},
PinInfo {
pin: 15,
limitations: &["strapping"],
},
PinInfo {
pin: 16,
limitations: &["bootloader_uart"],
},
PinInfo {
pin: 17,
limitations: &["bootloader_uart"],
},
PinInfo {
pin: 18,
limitations: &[],
},
PinInfo {
pin: 19,
limitations: &[],
},
PinInfo {
pin: 20,
limitations: &[],
},
PinInfo {
pin: 21,
limitations: &[],
},
PinInfo {
pin: 22,
limitations: &[],
},
PinInfo {
pin: 23,
limitations: &[],
},
PinInfo {
pin: 24,
limitations: &["spi_flash"],
},
PinInfo {
pin: 25,
limitations: &["spi_flash"],
},
PinInfo {
pin: 26,
limitations: &["spi_flash"],
},
PinInfo {
pin: 27,
limitations: &["spi_flash"],
},
PinInfo {
pin: 28,
limitations: &["spi_flash"],
},
PinInfo {
pin: 29,
limitations: &["spi_flash"],
},
PinInfo {
pin: 30,
limitations: &["spi_flash"],
},
],
},
Self::Esp32c61 => Config {
architecture: "riscv",
target: "riscv32imac-unknown-none-elf",
symbols: &[
"esp32c61",
"riscv",
"single_core",
"soc_has_apb_saradc",
"soc_has_assist_debug",
"soc_has_clint",
"soc_has_cache",
"soc_has_dma",
"soc_has_ecc",
"soc_has_ecdsa",
"soc_has_efuse",
"soc_has_etm",
"soc_has_gpio",
"soc_has_gpio_sd",
"soc_has_hp_apm",
"soc_has_hp_sys",
"soc_has_i2c_ana_mst",
"soc_has_i2c0",
"soc_has_i2s0",
"soc_has_interrupt_core0",
"soc_has_intpri",
"soc_has_io_mux",
"soc_has_lp_ana",
"soc_has_lp_aon",
"soc_has_lp_apm",
"soc_has_lp_clkrst",
"soc_has_lpwr",
"soc_has_lp_gpio",
"soc_has_lp_io_mux",
"soc_has_lp_peri",
"soc_has_lp_tee",
"soc_has_rtc_timer",
"soc_has_lp_wdt",
"soc_has_mem_monitor",
"soc_has_modem_lpcon",
"soc_has_modem_syscon",
"soc_has_pau",
"soc_has_pcr",
"soc_has_pmu",
"soc_has_rng",
"soc_has_sha",
"soc_has_slc",
"soc_has_spi0",
"soc_has_spi1",
"soc_has_spi2",
"soc_has_system",
"soc_has_systimer",
"soc_has_tee",
"soc_has_timg0",
"soc_has_timg1",
"soc_has_uart0",
"soc_has_uart1",
"soc_has_uart2",
"soc_has_usb_device",
"soc_has_adc1",
"soc_has_bt",
"soc_has_flash",
"soc_has_gpio_dedicated",
"soc_has_wifi",
"soc_has_psram",
"soc_has_from_cpu_intr0",
"soc_has_from_cpu_intr1",
"soc_has_from_cpu_intr2",
"soc_has_from_cpu_intr3",
"gpio_driver_supported",
"dedicated_gpio_driver_supported",
"io_mux_driver_supported",
"lp_io_driver_supported",
"uart_driver_supported",
"i2c_master_driver_supported",
"spi_master_driver_supported",
"spi_slave_driver_supported",
"i2s_driver_supported",
"usb_serial_jtag_driver_supported",
"bt_driver_supported",
"wifi_driver_supported",
"phy_driver_supported",
"adc_driver_supported",
"lp_timer_driver_supported",
"systimer_driver_supported",
"timergroup_driver_supported",
"ecc_driver_supported",
"rng_driver_supported",
"sha_driver_supported",
"sleep_driver_supported",
"assist_debug_driver_supported",
"dma_driver_supported",
"interrupts_driver_supported",
"mmu_driver_supported",
"flash_driver_supported",
"psram_driver_supported",
"rom_driver_supported",
"soc_driver_supported",
"uart_uart0",
"uart_uart1",
"uart_uart2",
"i2c_master_i2c0",
"spi_master_spi2",
"spi_slave_spi2",
"i2s_i2s0",
"adc_adc1",
"timergroup_timg0",
"timergroup_timg1",
"gpio_version=\"2\"",
"gpio_has_input_sync",
"gpio_gpio_function=\"1\"",
"gpio_constant_0_input=\"96\"",
"gpio_constant_1_input=\"64\"",
"gpio_func_in_sel_offset=\"0\"",
"soc_has_xtal32k_pads",
"gpio_input_signal_max=\"100\"",
"gpio_output_signal_max=\"256\"",
"dedicated_gpio_version=\"riscv_v1\"",
"lp_io_version=\"v4\"",
"uart_ram_size=\"128\"",
"uart_version=\"2\"",
"uart_peripheral_controls_mem_clk",
"uart_has_sclk_enable",
"i2c_master_version=\"4\"",
"i2c_master_has_fsm_timeouts",
"i2c_master_has_hw_bus_clear",
"i2c_master_has_bus_timeout_enable",
"i2c_master_can_estimate_nack_reason",
"i2c_master_has_conf_update",
"i2c_master_has_reliable_fsm_reset",
"i2c_master_has_arbitration_en",
"i2c_master_has_tx_fifo_watermark",
"i2c_master_bus_timeout_is_exponential",
"i2c_master_has_pd_en",
"i2c_master_max_bus_timeout=\"31\"",
"i2c_master_ll_intr_mask=\"262143\"",
"i2c_master_fifo_size=\"32\"",
"spi_master_version=\"3\"",
"spi_master_fifo_size=\"64\"",
"spi_master_has_app_interrupts",
"spi_master_has_dma_segmented_transfer",
"spi_master_has_clk_pre_div",
"spi_master_dma_can_access_flash",
"i2s_version=\"3\"",
"i2s_version_is_set",
"i2s_mclk_divider_bit_width=\"9\"",
"i2s_mclk_divider_bit_width_is_set",
"i2s_max_ws_width=\"512\"",
"i2s_max_ws_width_is_set",
"i2s_clock_configured_by_pcr",
"i2s_supports_pdm_tx",
"i2s_supports_pdm_rx",
"i2s_supports_pcm2pdm",
"bt_controller=\"npl\"",
"wifi_has_wifi6",
"wifi_mac_version=\"3\"",
"wifi_csi_supported",
"phy_combo_module",
"timergroup_timg_has_divcnt_rst",
"timergroup_rc_fast_calibration_divider",
"timergroup_rc_fast_calibration_is_set",
"ecc_zero_extend_writes",
"ecc_separate_jacobian_point_memory",
"ecc_has_memory_clock_gate",
"ecc_supports_enhanced_security",
"ecc_has_modular_arithmetic",
"ecc_has_point_addition",
"ecc_has_curve_p192",
"ecc_has_curve_p256",
"rng_apb_cycle_wait_num=\"16\"",
"rng_is_lp_sys",
"sleep_light_sleep",
"sleep_deep_sleep",
"sleep_has_wakeup_source_ext1",
"sleep_has_wakeup_source_gpio",
"sleep_has_wakeup_source_wifi_beacon",
"sleep_has_wakeup_source_timer",
"sleep_has_wakeup_source_wifi",
"sleep_has_wakeup_source_uart",
"sleep_has_wakeup_source_sdio",
"sleep_has_wakeup_source_bt",
"sleep_has_wakeup_source_lp_core",
"sleep_ext1_version=\"2\"",
"sleep_ext1_version_is_set",
"sleep_pin_wakeup_version=\"3\"",
"sleep_pin_wakeup_version_is_set",
"assist_debug_has_sp_monitor",
"assist_debug_has_region_monitor",
"dma_separate_in_out_interrupts",
"dma_gdma_version=\"2\"",
"dma_gdma_version_is_set",
"soc_has_dma_ch0",
"soc_has_dma_ch1",
"dma_supports_mem2mem",
"sha_supports_dma",
"sha_dma_engine=\"AHB_GDMA\"",
"spi_master_supports_dma",
"spi_master_dma_engine=\"AHB_GDMA\"",
"spi_slave_supports_dma",
"spi_slave_dma_engine=\"AHB_GDMA\"",
"i2s_supports_dma",
"i2s_dma_engine=\"AHB_GDMA\"",
"dma_can_access_psram",
"dma_max_priority=\"5\"",
"dma_max_priority_is_set",
"interrupts_status_registers=\"3\"",
"interrupt_controller=\"clic\"",
"context_switch_source=\"clint\"",
"mmu_page_size=\"65536\"",
"mmu_entry_num=\"512\"",
"psram_extmem_origin=\"1107296256\"",
"rom_has_crc_le",
"rom_has_crc_be",
"rom_has_md5_bsd",
"soc_cpu_has_branch_predictor",
"soc_cpu_csr_prv_mode=\"2064\"",
"soc_cpu_csr_prv_mode_is_set",
"soc_has_swd_watchdog",
"soc_cpu_mcause_mask=\"31\"",
"soc_has_clock_node_xtal_clk",
"soc_clock_node_xtal_clk_is_configurable",
"soc_has_clock_node_rc_fast_clk",
"soc_has_clock_node_pll_clk",
"soc_has_clock_node_xtal32k_clk",
"soc_has_clock_node_osc_slow_clk",
"soc_has_clock_node_rc_slow_clk",
"soc_has_clock_node_pll_f20m",
"soc_has_clock_node_pll_f40m",
"soc_has_clock_node_pll_f48m",
"soc_has_clock_node_pll_f60m",
"soc_has_clock_node_pll_f80m",
"soc_has_clock_node_pll_f120m",
"soc_has_clock_node_pll_f160m",
"soc_has_clock_node_hp_root_clk",
"soc_clock_node_hp_root_clk_is_configurable",
"soc_has_clock_node_cpu_clk",
"soc_clock_node_cpu_clk_is_configurable",
"soc_has_clock_node_ahb_clk",
"soc_clock_node_ahb_clk_is_configurable",
"soc_has_clock_node_apb_clk",
"soc_clock_node_apb_clk_is_configurable",
"soc_has_clock_node_xtal_d2_clk",
"soc_has_clock_node_lp_fast_clk",
"soc_clock_node_lp_fast_clk_is_configurable",
"soc_has_clock_node_lp_slow_clk",
"soc_clock_node_lp_slow_clk_is_configurable",
"soc_has_clock_node_crypto_pll_div",
"soc_has_clock_node_crypto_clk",
"soc_clock_node_crypto_clk_is_configurable",
"soc_has_clock_node_timg_calibration_clock",
"soc_clock_node_timg_calibration_clock_is_configurable",
"soc_has_clock_node_uart_function_clock",
"soc_clock_node_uart_function_clock_is_configurable",
"soc_has_clock_node_uart_baud_rate_generator",
"soc_clock_node_uart_baud_rate_generator_is_configurable",
"soc_has_clock_node_timg_function_clock",
"soc_clock_node_timg_function_clock_is_configurable",
"soc_has_clock_node_timg_wdt_clock",
"soc_clock_node_timg_wdt_clock_is_configurable",
"soc_has_clock_node_i2c_function_clock",
"soc_clock_node_i2c_function_clock_is_configurable",
"soc_has_clock_node_spi_function_clock",
"soc_clock_node_spi_function_clock_is_configurable",
"soc_has_clock_node_i2s_tx_clk",
"soc_clock_node_i2s_tx_clk_is_configurable",
"soc_has_clock_node_i2s_rx_clk",
"soc_clock_node_i2s_rx_clk_is_configurable",
"soc_has_clock_node_i2s_mclk_out",
"soc_clock_node_i2s_mclk_out_is_configurable",
"has_dram_region",
"has_dram2_uninit_region",
"has_irom_region",
"has_drom_region",
],
cfgs: &[
"cargo:rustc-cfg=esp32c61",
"cargo:rustc-cfg=riscv",
"cargo:rustc-cfg=single_core",
"cargo:rustc-cfg=soc_has_apb_saradc",
"cargo:rustc-cfg=soc_has_assist_debug",
"cargo:rustc-cfg=soc_has_clint",
"cargo:rustc-cfg=soc_has_cache",
"cargo:rustc-cfg=soc_has_dma",
"cargo:rustc-cfg=soc_has_ecc",
"cargo:rustc-cfg=soc_has_ecdsa",
"cargo:rustc-cfg=soc_has_efuse",
"cargo:rustc-cfg=soc_has_etm",
"cargo:rustc-cfg=soc_has_gpio",
"cargo:rustc-cfg=soc_has_gpio_sd",
"cargo:rustc-cfg=soc_has_hp_apm",
"cargo:rustc-cfg=soc_has_hp_sys",
"cargo:rustc-cfg=soc_has_i2c_ana_mst",
"cargo:rustc-cfg=soc_has_i2c0",
"cargo:rustc-cfg=soc_has_i2s0",
"cargo:rustc-cfg=soc_has_interrupt_core0",
"cargo:rustc-cfg=soc_has_intpri",
"cargo:rustc-cfg=soc_has_io_mux",
"cargo:rustc-cfg=soc_has_lp_ana",
"cargo:rustc-cfg=soc_has_lp_aon",
"cargo:rustc-cfg=soc_has_lp_apm",
"cargo:rustc-cfg=soc_has_lp_clkrst",
"cargo:rustc-cfg=soc_has_lpwr",
"cargo:rustc-cfg=soc_has_lp_gpio",
"cargo:rustc-cfg=soc_has_lp_io_mux",
"cargo:rustc-cfg=soc_has_lp_peri",
"cargo:rustc-cfg=soc_has_lp_tee",
"cargo:rustc-cfg=soc_has_rtc_timer",
"cargo:rustc-cfg=soc_has_lp_wdt",
"cargo:rustc-cfg=soc_has_mem_monitor",
"cargo:rustc-cfg=soc_has_modem_lpcon",
"cargo:rustc-cfg=soc_has_modem_syscon",
"cargo:rustc-cfg=soc_has_pau",
"cargo:rustc-cfg=soc_has_pcr",
"cargo:rustc-cfg=soc_has_pmu",
"cargo:rustc-cfg=soc_has_rng",
"cargo:rustc-cfg=soc_has_sha",
"cargo:rustc-cfg=soc_has_slc",
"cargo:rustc-cfg=soc_has_spi0",
"cargo:rustc-cfg=soc_has_spi1",
"cargo:rustc-cfg=soc_has_spi2",
"cargo:rustc-cfg=soc_has_system",
"cargo:rustc-cfg=soc_has_systimer",
"cargo:rustc-cfg=soc_has_tee",
"cargo:rustc-cfg=soc_has_timg0",
"cargo:rustc-cfg=soc_has_timg1",
"cargo:rustc-cfg=soc_has_uart0",
"cargo:rustc-cfg=soc_has_uart1",
"cargo:rustc-cfg=soc_has_uart2",
"cargo:rustc-cfg=soc_has_usb_device",
"cargo:rustc-cfg=soc_has_adc1",
"cargo:rustc-cfg=soc_has_bt",
"cargo:rustc-cfg=soc_has_flash",
"cargo:rustc-cfg=soc_has_gpio_dedicated",
"cargo:rustc-cfg=soc_has_wifi",
"cargo:rustc-cfg=soc_has_psram",
"cargo:rustc-cfg=soc_has_from_cpu_intr0",
"cargo:rustc-cfg=soc_has_from_cpu_intr1",
"cargo:rustc-cfg=soc_has_from_cpu_intr2",
"cargo:rustc-cfg=soc_has_from_cpu_intr3",
"cargo:rustc-cfg=gpio_driver_supported",
"cargo:rustc-cfg=dedicated_gpio_driver_supported",
"cargo:rustc-cfg=io_mux_driver_supported",
"cargo:rustc-cfg=lp_io_driver_supported",
"cargo:rustc-cfg=uart_driver_supported",
"cargo:rustc-cfg=i2c_master_driver_supported",
"cargo:rustc-cfg=spi_master_driver_supported",
"cargo:rustc-cfg=spi_slave_driver_supported",
"cargo:rustc-cfg=i2s_driver_supported",
"cargo:rustc-cfg=usb_serial_jtag_driver_supported",
"cargo:rustc-cfg=bt_driver_supported",
"cargo:rustc-cfg=wifi_driver_supported",
"cargo:rustc-cfg=phy_driver_supported",
"cargo:rustc-cfg=adc_driver_supported",
"cargo:rustc-cfg=lp_timer_driver_supported",
"cargo:rustc-cfg=systimer_driver_supported",
"cargo:rustc-cfg=timergroup_driver_supported",
"cargo:rustc-cfg=ecc_driver_supported",
"cargo:rustc-cfg=rng_driver_supported",
"cargo:rustc-cfg=sha_driver_supported",
"cargo:rustc-cfg=sleep_driver_supported",
"cargo:rustc-cfg=assist_debug_driver_supported",
"cargo:rustc-cfg=dma_driver_supported",
"cargo:rustc-cfg=interrupts_driver_supported",
"cargo:rustc-cfg=mmu_driver_supported",
"cargo:rustc-cfg=flash_driver_supported",
"cargo:rustc-cfg=psram_driver_supported",
"cargo:rustc-cfg=rom_driver_supported",
"cargo:rustc-cfg=soc_driver_supported",
"cargo:rustc-cfg=uart_uart0",
"cargo:rustc-cfg=uart_uart1",
"cargo:rustc-cfg=uart_uart2",
"cargo:rustc-cfg=i2c_master_i2c0",
"cargo:rustc-cfg=spi_master_spi2",
"cargo:rustc-cfg=spi_slave_spi2",
"cargo:rustc-cfg=i2s_i2s0",
"cargo:rustc-cfg=adc_adc1",
"cargo:rustc-cfg=timergroup_timg0",
"cargo:rustc-cfg=timergroup_timg1",
"cargo:rustc-cfg=gpio_version=\"2\"",
"cargo:rustc-cfg=gpio_has_input_sync",
"cargo:rustc-cfg=gpio_gpio_function=\"1\"",
"cargo:rustc-cfg=gpio_constant_0_input=\"96\"",
"cargo:rustc-cfg=gpio_constant_1_input=\"64\"",
"cargo:rustc-cfg=gpio_func_in_sel_offset=\"0\"",
"cargo:rustc-cfg=soc_has_xtal32k_pads",
"cargo:rustc-cfg=gpio_input_signal_max=\"100\"",
"cargo:rustc-cfg=gpio_output_signal_max=\"256\"",
"cargo:rustc-cfg=dedicated_gpio_version=\"riscv_v1\"",
"cargo:rustc-cfg=lp_io_version=\"v4\"",
"cargo:rustc-cfg=uart_ram_size=\"128\"",
"cargo:rustc-cfg=uart_version=\"2\"",
"cargo:rustc-cfg=uart_peripheral_controls_mem_clk",
"cargo:rustc-cfg=uart_has_sclk_enable",
"cargo:rustc-cfg=i2c_master_version=\"4\"",
"cargo:rustc-cfg=i2c_master_has_fsm_timeouts",
"cargo:rustc-cfg=i2c_master_has_hw_bus_clear",
"cargo:rustc-cfg=i2c_master_has_bus_timeout_enable",
"cargo:rustc-cfg=i2c_master_can_estimate_nack_reason",
"cargo:rustc-cfg=i2c_master_has_conf_update",
"cargo:rustc-cfg=i2c_master_has_reliable_fsm_reset",
"cargo:rustc-cfg=i2c_master_has_arbitration_en",
"cargo:rustc-cfg=i2c_master_has_tx_fifo_watermark",
"cargo:rustc-cfg=i2c_master_bus_timeout_is_exponential",
"cargo:rustc-cfg=i2c_master_has_pd_en",
"cargo:rustc-cfg=i2c_master_max_bus_timeout=\"31\"",
"cargo:rustc-cfg=i2c_master_ll_intr_mask=\"262143\"",
"cargo:rustc-cfg=i2c_master_fifo_size=\"32\"",
"cargo:rustc-cfg=spi_master_version=\"3\"",
"cargo:rustc-cfg=spi_master_fifo_size=\"64\"",
"cargo:rustc-cfg=spi_master_has_app_interrupts",
"cargo:rustc-cfg=spi_master_has_dma_segmented_transfer",
"cargo:rustc-cfg=spi_master_has_clk_pre_div",
"cargo:rustc-cfg=spi_master_dma_can_access_flash",
"cargo:rustc-cfg=i2s_version=\"3\"",
"cargo:rustc-cfg=i2s_version_is_set",
"cargo:rustc-cfg=i2s_mclk_divider_bit_width=\"9\"",
"cargo:rustc-cfg=i2s_mclk_divider_bit_width_is_set",
"cargo:rustc-cfg=i2s_max_ws_width=\"512\"",
"cargo:rustc-cfg=i2s_max_ws_width_is_set",
"cargo:rustc-cfg=i2s_clock_configured_by_pcr",
"cargo:rustc-cfg=i2s_supports_pdm_tx",
"cargo:rustc-cfg=i2s_supports_pdm_rx",
"cargo:rustc-cfg=i2s_supports_pcm2pdm",
"cargo:rustc-cfg=bt_controller=\"npl\"",
"cargo:rustc-cfg=wifi_has_wifi6",
"cargo:rustc-cfg=wifi_mac_version=\"3\"",
"cargo:rustc-cfg=wifi_csi_supported",
"cargo:rustc-cfg=phy_combo_module",
"cargo:rustc-cfg=timergroup_timg_has_divcnt_rst",
"cargo:rustc-cfg=timergroup_rc_fast_calibration_divider",
"cargo:rustc-cfg=timergroup_rc_fast_calibration_is_set",
"cargo:rustc-cfg=ecc_zero_extend_writes",
"cargo:rustc-cfg=ecc_separate_jacobian_point_memory",
"cargo:rustc-cfg=ecc_has_memory_clock_gate",
"cargo:rustc-cfg=ecc_supports_enhanced_security",
"cargo:rustc-cfg=ecc_has_modular_arithmetic",
"cargo:rustc-cfg=ecc_has_point_addition",
"cargo:rustc-cfg=ecc_has_curve_p192",
"cargo:rustc-cfg=ecc_has_curve_p256",
"cargo:rustc-cfg=rng_apb_cycle_wait_num=\"16\"",
"cargo:rustc-cfg=rng_is_lp_sys",
"cargo:rustc-cfg=sleep_light_sleep",
"cargo:rustc-cfg=sleep_deep_sleep",
"cargo:rustc-cfg=sleep_has_wakeup_source_ext1",
"cargo:rustc-cfg=sleep_has_wakeup_source_gpio",
"cargo:rustc-cfg=sleep_has_wakeup_source_wifi_beacon",
"cargo:rustc-cfg=sleep_has_wakeup_source_timer",
"cargo:rustc-cfg=sleep_has_wakeup_source_wifi",
"cargo:rustc-cfg=sleep_has_wakeup_source_uart",
"cargo:rustc-cfg=sleep_has_wakeup_source_sdio",
"cargo:rustc-cfg=sleep_has_wakeup_source_bt",
"cargo:rustc-cfg=sleep_has_wakeup_source_lp_core",
"cargo:rustc-cfg=sleep_ext1_version=\"2\"",
"cargo:rustc-cfg=sleep_ext1_version_is_set",
"cargo:rustc-cfg=sleep_pin_wakeup_version=\"3\"",
"cargo:rustc-cfg=sleep_pin_wakeup_version_is_set",
"cargo:rustc-cfg=assist_debug_has_sp_monitor",
"cargo:rustc-cfg=assist_debug_has_region_monitor",
"cargo:rustc-cfg=dma_separate_in_out_interrupts",
"cargo:rustc-cfg=dma_gdma_version=\"2\"",
"cargo:rustc-cfg=dma_gdma_version_is_set",
"cargo:rustc-cfg=soc_has_dma_ch0",
"cargo:rustc-cfg=soc_has_dma_ch1",
"cargo:rustc-cfg=dma_supports_mem2mem",
"cargo:rustc-cfg=sha_supports_dma",
"cargo:rustc-cfg=sha_dma_engine=\"AHB_GDMA\"",
"cargo:rustc-cfg=spi_master_supports_dma",
"cargo:rustc-cfg=spi_master_dma_engine=\"AHB_GDMA\"",
"cargo:rustc-cfg=spi_slave_supports_dma",
"cargo:rustc-cfg=spi_slave_dma_engine=\"AHB_GDMA\"",
"cargo:rustc-cfg=i2s_supports_dma",
"cargo:rustc-cfg=i2s_dma_engine=\"AHB_GDMA\"",
"cargo:rustc-cfg=dma_can_access_psram",
"cargo:rustc-cfg=dma_max_priority=\"5\"",
"cargo:rustc-cfg=dma_max_priority_is_set",
"cargo:rustc-cfg=interrupts_status_registers=\"3\"",
"cargo:rustc-cfg=interrupt_controller=\"clic\"",
"cargo:rustc-cfg=context_switch_source=\"clint\"",
"cargo:rustc-cfg=mmu_page_size=\"65536\"",
"cargo:rustc-cfg=mmu_entry_num=\"512\"",
"cargo:rustc-cfg=psram_extmem_origin=\"1107296256\"",
"cargo:rustc-cfg=rom_has_crc_le",
"cargo:rustc-cfg=rom_has_crc_be",
"cargo:rustc-cfg=rom_has_md5_bsd",
"cargo:rustc-cfg=soc_cpu_has_branch_predictor",
"cargo:rustc-cfg=soc_cpu_csr_prv_mode=\"2064\"",
"cargo:rustc-cfg=soc_cpu_csr_prv_mode_is_set",
"cargo:rustc-cfg=soc_has_swd_watchdog",
"cargo:rustc-cfg=soc_cpu_mcause_mask=\"31\"",
"cargo:rustc-cfg=soc_has_clock_node_xtal_clk",
"cargo:rustc-cfg=soc_clock_node_xtal_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_rc_fast_clk",
"cargo:rustc-cfg=soc_has_clock_node_pll_clk",
"cargo:rustc-cfg=soc_has_clock_node_xtal32k_clk",
"cargo:rustc-cfg=soc_has_clock_node_osc_slow_clk",
"cargo:rustc-cfg=soc_has_clock_node_rc_slow_clk",
"cargo:rustc-cfg=soc_has_clock_node_pll_f20m",
"cargo:rustc-cfg=soc_has_clock_node_pll_f40m",
"cargo:rustc-cfg=soc_has_clock_node_pll_f48m",
"cargo:rustc-cfg=soc_has_clock_node_pll_f60m",
"cargo:rustc-cfg=soc_has_clock_node_pll_f80m",
"cargo:rustc-cfg=soc_has_clock_node_pll_f120m",
"cargo:rustc-cfg=soc_has_clock_node_pll_f160m",
"cargo:rustc-cfg=soc_has_clock_node_hp_root_clk",
"cargo:rustc-cfg=soc_clock_node_hp_root_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_cpu_clk",
"cargo:rustc-cfg=soc_clock_node_cpu_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_ahb_clk",
"cargo:rustc-cfg=soc_clock_node_ahb_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_apb_clk",
"cargo:rustc-cfg=soc_clock_node_apb_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_xtal_d2_clk",
"cargo:rustc-cfg=soc_has_clock_node_lp_fast_clk",
"cargo:rustc-cfg=soc_clock_node_lp_fast_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_lp_slow_clk",
"cargo:rustc-cfg=soc_clock_node_lp_slow_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_crypto_pll_div",
"cargo:rustc-cfg=soc_has_clock_node_crypto_clk",
"cargo:rustc-cfg=soc_clock_node_crypto_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_timg_calibration_clock",
"cargo:rustc-cfg=soc_clock_node_timg_calibration_clock_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_uart_function_clock",
"cargo:rustc-cfg=soc_clock_node_uart_function_clock_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_uart_baud_rate_generator",
"cargo:rustc-cfg=soc_clock_node_uart_baud_rate_generator_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_timg_function_clock",
"cargo:rustc-cfg=soc_clock_node_timg_function_clock_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_timg_wdt_clock",
"cargo:rustc-cfg=soc_clock_node_timg_wdt_clock_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_i2c_function_clock",
"cargo:rustc-cfg=soc_clock_node_i2c_function_clock_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_spi_function_clock",
"cargo:rustc-cfg=soc_clock_node_spi_function_clock_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_i2s_tx_clk",
"cargo:rustc-cfg=soc_clock_node_i2s_tx_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_i2s_rx_clk",
"cargo:rustc-cfg=soc_clock_node_i2s_rx_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_i2s_mclk_out",
"cargo:rustc-cfg=soc_clock_node_i2s_mclk_out_is_configurable",
"cargo:rustc-cfg=has_dram_region",
"cargo:rustc-cfg=has_dram2_uninit_region",
"cargo:rustc-cfg=has_irom_region",
"cargo:rustc-cfg=has_drom_region",
],
memory_layout: &MemoryLayout {
regions: &[
(
"dram",
MemoryRegion {
address_range: 0x40800000..0x40850000,
},
),
(
"dram2_uninit",
MemoryRegion {
address_range: 0x4083EA70..0x4084EA70,
},
),
(
"irom",
MemoryRegion {
address_range: 0x42000000..0x44000000,
},
),
(
"drom",
MemoryRegion {
address_range: 0x42000000..0x44000000,
},
),
],
},
pins: &[
PinInfo {
pin: 0,
limitations: &[],
},
PinInfo {
pin: 1,
limitations: &[],
},
PinInfo {
pin: 2,
limitations: &[],
},
PinInfo {
pin: 3,
limitations: &["strapping", "jtag"],
},
PinInfo {
pin: 4,
limitations: &["strapping", "jtag"],
},
PinInfo {
pin: 5,
limitations: &["jtag"],
},
PinInfo {
pin: 6,
limitations: &["jtag"],
},
PinInfo {
pin: 7,
limitations: &["strapping"],
},
PinInfo {
pin: 8,
limitations: &["strapping"],
},
PinInfo {
pin: 9,
limitations: &["strapping"],
},
PinInfo {
pin: 10,
limitations: &["bootloader_uart"],
},
PinInfo {
pin: 11,
limitations: &["bootloader_uart"],
},
PinInfo {
pin: 12,
limitations: &["usb_jtag"],
},
PinInfo {
pin: 13,
limitations: &["usb_jtag"],
},
PinInfo {
pin: 14,
limitations: &["spi_psram"],
},
PinInfo {
pin: 15,
limitations: &["spi_flash"],
},
PinInfo {
pin: 16,
limitations: &["spi_flash", "spi_psram"],
},
PinInfo {
pin: 17,
limitations: &["spi_flash", "spi_psram"],
},
PinInfo {
pin: 18,
limitations: &["spi_flash", "spi_psram"],
},
PinInfo {
pin: 19,
limitations: &["spi_flash", "spi_psram"],
},
PinInfo {
pin: 20,
limitations: &["spi_flash", "spi_psram"],
},
PinInfo {
pin: 21,
limitations: &["spi_flash", "spi_psram"],
},
PinInfo {
pin: 22,
limitations: &[],
},
PinInfo {
pin: 23,
limitations: &[],
},
PinInfo {
pin: 24,
limitations: &[],
},
PinInfo {
pin: 25,
limitations: &[],
},
PinInfo {
pin: 26,
limitations: &[],
},
PinInfo {
pin: 27,
limitations: &[],
},
PinInfo {
pin: 28,
limitations: &[],
},
PinInfo {
pin: 29,
limitations: &[],
},
],
},
Self::Esp32h2 => Config {
architecture: "riscv",
target: "riscv32imac-unknown-none-elf",
symbols: &[
"esp32h2",
"riscv",
"single_core",
"soc_has_aes",
"soc_has_apb_saradc",
"soc_has_assist_debug",
"soc_has_clint",
"soc_has_dma",
"soc_has_ds",
"soc_has_ecc",
"soc_has_efuse",
"soc_has_gpio",
"soc_has_gpio_sd",
"soc_has_hmac",
"soc_has_hp_apm",
"soc_has_hp_sys",
"soc_has_i2c_ana_mst",
"soc_has_i2c0",
"soc_has_i2c1",
"soc_has_i2s0",
"soc_has_ieee802154",
"soc_has_interrupt_core0",
"soc_has_intpri",
"soc_has_io_mux",
"soc_has_ledc",
"soc_has_lpwr",
"soc_has_lp_ana",
"soc_has_lp_aon",
"soc_has_lp_apm",
"soc_has_lp_apm0",
"soc_has_lp_clkrst",
"soc_has_lp_peri",
"soc_has_rtc_timer",
"soc_has_lp_wdt",
"soc_has_mcpwm0",
"soc_has_mem_monitor",
"soc_has_modem_lpcon",
"soc_has_modem_syscon",
"soc_has_otp_debug",
"soc_has_parl_io",
"soc_has_pau",
"soc_has_pcnt",
"soc_has_pcr",
"soc_has_plic_mx",
"soc_has_pmu",
"soc_has_rmt",
"soc_has_rng",
"soc_has_rsa",
"soc_has_sha",
"soc_has_etm",
"soc_has_spi0",
"soc_has_spi1",
"soc_has_spi2",
"soc_has_system",
"soc_has_systimer",
"soc_has_tee",
"soc_has_timg0",
"soc_has_timg1",
"soc_has_trace0",
"soc_has_twai0",
"soc_has_uart0",
"soc_has_uart1",
"soc_has_uhci0",
"soc_has_usb_device",
"soc_has_adc1",
"soc_has_bt",
"soc_has_flash",
"soc_has_gpio_dedicated",
"soc_has_from_cpu_intr0",
"soc_has_from_cpu_intr1",
"soc_has_from_cpu_intr2",
"soc_has_from_cpu_intr3",
"gpio_driver_supported",
"dedicated_gpio_driver_supported",
"io_mux_driver_supported",
"lp_io_driver_supported",
"uart_driver_supported",
"uhci_driver_supported",
"i2c_master_driver_supported",
"spi_master_driver_supported",
"spi_slave_driver_supported",
"i2s_driver_supported",
"parl_io_driver_supported",
"rmt_driver_supported",
"twai_driver_supported",
"usb_serial_jtag_driver_supported",
"bt_driver_supported",
"ieee802154_driver_supported",
"phy_driver_supported",
"adc_driver_supported",
"temp_sensor_driver_supported",
"ledc_driver_supported",
"mcpwm_driver_supported",
"pcnt_driver_supported",
"lp_timer_driver_supported",
"sdm_driver_supported",
"systimer_driver_supported",
"timergroup_driver_supported",
"aes_driver_supported",
"ecc_driver_supported",
"hmac_driver_supported",
"rng_driver_supported",
"rsa_driver_supported",
"sha_driver_supported",
"sleep_driver_supported",
"assist_debug_driver_supported",
"dma_driver_supported",
"etm_driver_supported",
"interrupts_driver_supported",
"mmu_driver_supported",
"flash_driver_supported",
"rom_driver_supported",
"soc_driver_supported",
"uart_uart0",
"uart_uart1",
"i2c_master_i2c0",
"i2c_master_i2c1",
"spi_master_spi2",
"spi_slave_spi2",
"i2s_i2s0",
"adc_adc1",
"pcnt_PCNT",
"timergroup_timg0",
"timergroup_timg1",
"gpio_version=\"2\"",
"gpio_has_input_sync",
"gpio_gpio_function=\"1\"",
"gpio_constant_0_input=\"60\"",
"gpio_constant_1_input=\"56\"",
"gpio_func_in_sel_offset=\"0\"",
"soc_has_xtal32k_pads",
"gpio_input_signal_max=\"124\"",
"gpio_output_signal_max=\"128\"",
"dedicated_gpio_version=\"riscv_v1\"",
"lp_io_version=\"esp32h2\"",
"uart_ram_size=\"128\"",
"uart_version=\"2\"",
"uart_peripheral_controls_mem_clk",
"uart_has_sclk_enable",
"i2c_master_version=\"4\"",
"i2c_master_has_fsm_timeouts",
"i2c_master_has_hw_bus_clear",
"i2c_master_has_bus_timeout_enable",
"i2c_master_can_estimate_nack_reason",
"i2c_master_has_conf_update",
"i2c_master_has_reliable_fsm_reset",
"i2c_master_has_arbitration_en",
"i2c_master_has_tx_fifo_watermark",
"i2c_master_bus_timeout_is_exponential",
"i2c_master_has_pd_en",
"i2c_master_max_bus_timeout=\"31\"",
"i2c_master_ll_intr_mask=\"262143\"",
"i2c_master_fifo_size=\"32\"",
"spi_master_version=\"3\"",
"spi_master_fifo_size=\"64\"",
"spi_master_has_app_interrupts",
"spi_master_has_dma_segmented_transfer",
"i2s_version=\"3\"",
"i2s_version_is_set",
"i2s_mclk_divider_bit_width=\"9\"",
"i2s_mclk_divider_bit_width_is_set",
"i2s_max_ws_width=\"512\"",
"i2s_max_ws_width_is_set",
"i2s_clock_configured_by_pcr",
"i2s_supports_pdm_tx",
"i2s_supports_pdm_rx",
"i2s_supports_pcm2pdm",
"parl_io_version=\"2\"",
"rmt_ram_start=\"1610642432\"",
"rmt_channel_ram_size=\"48\"",
"rmt_has_tx_immediate_stop",
"rmt_has_tx_loop_count",
"rmt_has_tx_loop_auto_stop",
"rmt_has_tx_carrier_data_only",
"rmt_has_tx_sync",
"rmt_has_rx_wrap",
"rmt_has_rx_demodulation",
"bt_controller=\"npl\"",
"ledc_version=\"3\"",
"ledc_channel_count=\"6\"",
"soc_has_sdm_ch0",
"soc_has_sdm_ch1",
"soc_has_sdm_ch2",
"soc_has_sdm_ch3",
"timergroup_timg_has_divcnt_rst",
"timergroup_rc_fast_calibration_divider",
"timergroup_rc_fast_calibration_tick_enable",
"timergroup_rc_fast_calibration_is_set",
"aes_dma_mode_ecb",
"aes_dma_mode_cbc",
"aes_dma_mode_ofb",
"aes_dma_mode_ctr",
"aes_dma_mode_cfb8",
"aes_dma_mode_cfb128",
"aes_has_split_text_registers",
"ecc_zero_extend_writes",
"ecc_separate_jacobian_point_memory",
"ecc_has_memory_clock_gate",
"ecc_supports_enhanced_security",
"ecc_has_modular_arithmetic",
"ecc_has_point_addition",
"ecc_has_curve_p192",
"ecc_has_curve_p256",
"rng_apb_cycle_wait_num=\"16\"",
"rng_trng_supported",
"rsa_version=\"3\"",
"rsa_size_increment=\"32\"",
"rsa_memory_size_bytes=\"384\"",
"sleep_light_sleep",
"sleep_deep_sleep",
"sleep_has_wakeup_source_ext1",
"sleep_has_wakeup_source_gpio",
"sleep_has_wakeup_source_wifi_beacon",
"sleep_has_wakeup_source_timer",
"sleep_has_wakeup_source_wifi",
"sleep_has_wakeup_source_uart",
"sleep_has_wakeup_source_sdio",
"sleep_has_wakeup_source_bt",
"sleep_has_wakeup_source_lp_core",
"sleep_ext1_version=\"2\"",
"sleep_ext1_version_is_set",
"assist_debug_has_sp_monitor",
"assist_debug_has_region_monitor",
"dma_separate_in_out_interrupts",
"dma_gdma_version=\"1\"",
"dma_gdma_version_is_set",
"soc_has_dma_ch0",
"soc_has_dma_ch1",
"soc_has_dma_ch2",
"dma_supports_mem2mem",
"aes_supports_dma",
"aes_dma_engine=\"AHB_GDMA\"",
"sha_supports_dma",
"sha_dma_engine=\"AHB_GDMA\"",
"spi_master_supports_dma",
"spi_master_dma_engine=\"AHB_GDMA\"",
"spi_slave_supports_dma",
"spi_slave_dma_engine=\"AHB_GDMA\"",
"uhci_supports_dma",
"uhci_dma_engine=\"AHB_GDMA\"",
"i2s_supports_dma",
"i2s_dma_engine=\"AHB_GDMA\"",
"parl_io_supports_dma",
"parl_io_dma_engine=\"AHB_GDMA\"",
"dma_max_priority=\"5\"",
"dma_max_priority_is_set",
"interrupts_status_registers=\"2\"",
"interrupt_controller=\"plic\"",
"context_switch_source=\"clint\"",
"mmu_page_size=\"65536\"",
"mmu_entry_num=\"256\"",
"rom_has_crc_le",
"rom_has_crc_be",
"rom_has_md5_bsd",
"soc_cpu_has_csr_pc",
"soc_cpu_csr_prv_mode=\"3088\"",
"soc_cpu_csr_prv_mode_is_set",
"soc_has_swd_watchdog",
"soc_cpu_mcause_mask=\"31\"",
"soc_has_clock_node_xtal_clk",
"soc_clock_node_xtal_clk_is_configurable",
"soc_has_clock_node_pll_f96m_clk",
"soc_has_clock_node_pll_f64m_clk",
"soc_has_clock_node_pll_f48m_clk",
"soc_has_clock_node_rc_fast_clk",
"soc_has_clock_node_iomux_function_clock",
"soc_clock_node_iomux_function_clock_is_configurable",
"soc_has_clock_node_xtal32k_clk",
"soc_has_clock_node_osc_slow_clk",
"soc_has_clock_node_rc_slow_clk",
"soc_has_clock_node_pll_lp_clk",
"soc_has_clock_node_hp_root_clk",
"soc_clock_node_hp_root_clk_is_configurable",
"soc_has_clock_node_cpu_clk",
"soc_clock_node_cpu_clk_is_configurable",
"soc_has_clock_node_ahb_clk",
"soc_clock_node_ahb_clk_is_configurable",
"soc_has_clock_node_apb_clk",
"soc_clock_node_apb_clk_is_configurable",
"soc_has_clock_node_xtal_d2_clk",
"soc_has_clock_node_lp_fast_clk",
"soc_clock_node_lp_fast_clk_is_configurable",
"soc_has_clock_node_lp_slow_clk",
"soc_clock_node_lp_slow_clk_is_configurable",
"soc_has_clock_node_crypto_clk",
"soc_clock_node_crypto_clk_is_configurable",
"soc_has_clock_node_timg_calibration_clock",
"soc_clock_node_timg_calibration_clock_is_configurable",
"soc_has_clock_node_uart_function_clock",
"soc_clock_node_uart_function_clock_is_configurable",
"soc_has_clock_node_uart_baud_rate_generator",
"soc_clock_node_uart_baud_rate_generator_is_configurable",
"soc_has_clock_node_sdm_function_clock",
"soc_has_clock_node_rmt_sclk",
"soc_clock_node_rmt_sclk_is_configurable",
"soc_has_clock_node_timg_function_clock",
"soc_clock_node_timg_function_clock_is_configurable",
"soc_has_clock_node_timg_wdt_clock",
"soc_clock_node_timg_wdt_clock_is_configurable",
"soc_has_clock_node_mcpwm_function_clock",
"soc_clock_node_mcpwm_function_clock_is_configurable",
"soc_has_clock_node_parl_io_rx_clock",
"soc_clock_node_parl_io_rx_clock_is_configurable",
"soc_has_clock_node_parl_io_tx_clock",
"soc_clock_node_parl_io_tx_clock_is_configurable",
"soc_has_clock_node_i2s_tx_clk",
"soc_clock_node_i2s_tx_clk_is_configurable",
"soc_has_clock_node_i2s_rx_clk",
"soc_clock_node_i2s_rx_clk_is_configurable",
"soc_has_clock_node_i2s_mclk_out",
"soc_clock_node_i2s_mclk_out_is_configurable",
"soc_has_clock_node_i2c_function_clock",
"soc_clock_node_i2c_function_clock_is_configurable",
"soc_has_clock_node_spi_function_clock",
"soc_clock_node_spi_function_clock_is_configurable",
"has_dram_region",
"has_dram2_uninit_region",
"has_irom_region",
"has_drom_region",
],
cfgs: &[
"cargo:rustc-cfg=esp32h2",
"cargo:rustc-cfg=riscv",
"cargo:rustc-cfg=single_core",
"cargo:rustc-cfg=soc_has_aes",
"cargo:rustc-cfg=soc_has_apb_saradc",
"cargo:rustc-cfg=soc_has_assist_debug",
"cargo:rustc-cfg=soc_has_clint",
"cargo:rustc-cfg=soc_has_dma",
"cargo:rustc-cfg=soc_has_ds",
"cargo:rustc-cfg=soc_has_ecc",
"cargo:rustc-cfg=soc_has_efuse",
"cargo:rustc-cfg=soc_has_gpio",
"cargo:rustc-cfg=soc_has_gpio_sd",
"cargo:rustc-cfg=soc_has_hmac",
"cargo:rustc-cfg=soc_has_hp_apm",
"cargo:rustc-cfg=soc_has_hp_sys",
"cargo:rustc-cfg=soc_has_i2c_ana_mst",
"cargo:rustc-cfg=soc_has_i2c0",
"cargo:rustc-cfg=soc_has_i2c1",
"cargo:rustc-cfg=soc_has_i2s0",
"cargo:rustc-cfg=soc_has_ieee802154",
"cargo:rustc-cfg=soc_has_interrupt_core0",
"cargo:rustc-cfg=soc_has_intpri",
"cargo:rustc-cfg=soc_has_io_mux",
"cargo:rustc-cfg=soc_has_ledc",
"cargo:rustc-cfg=soc_has_lpwr",
"cargo:rustc-cfg=soc_has_lp_ana",
"cargo:rustc-cfg=soc_has_lp_aon",
"cargo:rustc-cfg=soc_has_lp_apm",
"cargo:rustc-cfg=soc_has_lp_apm0",
"cargo:rustc-cfg=soc_has_lp_clkrst",
"cargo:rustc-cfg=soc_has_lp_peri",
"cargo:rustc-cfg=soc_has_rtc_timer",
"cargo:rustc-cfg=soc_has_lp_wdt",
"cargo:rustc-cfg=soc_has_mcpwm0",
"cargo:rustc-cfg=soc_has_mem_monitor",
"cargo:rustc-cfg=soc_has_modem_lpcon",
"cargo:rustc-cfg=soc_has_modem_syscon",
"cargo:rustc-cfg=soc_has_otp_debug",
"cargo:rustc-cfg=soc_has_parl_io",
"cargo:rustc-cfg=soc_has_pau",
"cargo:rustc-cfg=soc_has_pcnt",
"cargo:rustc-cfg=soc_has_pcr",
"cargo:rustc-cfg=soc_has_plic_mx",
"cargo:rustc-cfg=soc_has_pmu",
"cargo:rustc-cfg=soc_has_rmt",
"cargo:rustc-cfg=soc_has_rng",
"cargo:rustc-cfg=soc_has_rsa",
"cargo:rustc-cfg=soc_has_sha",
"cargo:rustc-cfg=soc_has_etm",
"cargo:rustc-cfg=soc_has_spi0",
"cargo:rustc-cfg=soc_has_spi1",
"cargo:rustc-cfg=soc_has_spi2",
"cargo:rustc-cfg=soc_has_system",
"cargo:rustc-cfg=soc_has_systimer",
"cargo:rustc-cfg=soc_has_tee",
"cargo:rustc-cfg=soc_has_timg0",
"cargo:rustc-cfg=soc_has_timg1",
"cargo:rustc-cfg=soc_has_trace0",
"cargo:rustc-cfg=soc_has_twai0",
"cargo:rustc-cfg=soc_has_uart0",
"cargo:rustc-cfg=soc_has_uart1",
"cargo:rustc-cfg=soc_has_uhci0",
"cargo:rustc-cfg=soc_has_usb_device",
"cargo:rustc-cfg=soc_has_adc1",
"cargo:rustc-cfg=soc_has_bt",
"cargo:rustc-cfg=soc_has_flash",
"cargo:rustc-cfg=soc_has_gpio_dedicated",
"cargo:rustc-cfg=soc_has_from_cpu_intr0",
"cargo:rustc-cfg=soc_has_from_cpu_intr1",
"cargo:rustc-cfg=soc_has_from_cpu_intr2",
"cargo:rustc-cfg=soc_has_from_cpu_intr3",
"cargo:rustc-cfg=gpio_driver_supported",
"cargo:rustc-cfg=dedicated_gpio_driver_supported",
"cargo:rustc-cfg=io_mux_driver_supported",
"cargo:rustc-cfg=lp_io_driver_supported",
"cargo:rustc-cfg=uart_driver_supported",
"cargo:rustc-cfg=uhci_driver_supported",
"cargo:rustc-cfg=i2c_master_driver_supported",
"cargo:rustc-cfg=spi_master_driver_supported",
"cargo:rustc-cfg=spi_slave_driver_supported",
"cargo:rustc-cfg=i2s_driver_supported",
"cargo:rustc-cfg=parl_io_driver_supported",
"cargo:rustc-cfg=rmt_driver_supported",
"cargo:rustc-cfg=twai_driver_supported",
"cargo:rustc-cfg=usb_serial_jtag_driver_supported",
"cargo:rustc-cfg=bt_driver_supported",
"cargo:rustc-cfg=ieee802154_driver_supported",
"cargo:rustc-cfg=phy_driver_supported",
"cargo:rustc-cfg=adc_driver_supported",
"cargo:rustc-cfg=temp_sensor_driver_supported",
"cargo:rustc-cfg=ledc_driver_supported",
"cargo:rustc-cfg=mcpwm_driver_supported",
"cargo:rustc-cfg=pcnt_driver_supported",
"cargo:rustc-cfg=lp_timer_driver_supported",
"cargo:rustc-cfg=sdm_driver_supported",
"cargo:rustc-cfg=systimer_driver_supported",
"cargo:rustc-cfg=timergroup_driver_supported",
"cargo:rustc-cfg=aes_driver_supported",
"cargo:rustc-cfg=ecc_driver_supported",
"cargo:rustc-cfg=hmac_driver_supported",
"cargo:rustc-cfg=rng_driver_supported",
"cargo:rustc-cfg=rsa_driver_supported",
"cargo:rustc-cfg=sha_driver_supported",
"cargo:rustc-cfg=sleep_driver_supported",
"cargo:rustc-cfg=assist_debug_driver_supported",
"cargo:rustc-cfg=dma_driver_supported",
"cargo:rustc-cfg=etm_driver_supported",
"cargo:rustc-cfg=interrupts_driver_supported",
"cargo:rustc-cfg=mmu_driver_supported",
"cargo:rustc-cfg=flash_driver_supported",
"cargo:rustc-cfg=rom_driver_supported",
"cargo:rustc-cfg=soc_driver_supported",
"cargo:rustc-cfg=uart_uart0",
"cargo:rustc-cfg=uart_uart1",
"cargo:rustc-cfg=i2c_master_i2c0",
"cargo:rustc-cfg=i2c_master_i2c1",
"cargo:rustc-cfg=spi_master_spi2",
"cargo:rustc-cfg=spi_slave_spi2",
"cargo:rustc-cfg=i2s_i2s0",
"cargo:rustc-cfg=adc_adc1",
"cargo:rustc-cfg=pcnt_PCNT",
"cargo:rustc-cfg=timergroup_timg0",
"cargo:rustc-cfg=timergroup_timg1",
"cargo:rustc-cfg=gpio_version=\"2\"",
"cargo:rustc-cfg=gpio_has_input_sync",
"cargo:rustc-cfg=gpio_gpio_function=\"1\"",
"cargo:rustc-cfg=gpio_constant_0_input=\"60\"",
"cargo:rustc-cfg=gpio_constant_1_input=\"56\"",
"cargo:rustc-cfg=gpio_func_in_sel_offset=\"0\"",
"cargo:rustc-cfg=soc_has_xtal32k_pads",
"cargo:rustc-cfg=gpio_input_signal_max=\"124\"",
"cargo:rustc-cfg=gpio_output_signal_max=\"128\"",
"cargo:rustc-cfg=dedicated_gpio_version=\"riscv_v1\"",
"cargo:rustc-cfg=lp_io_version=\"esp32h2\"",
"cargo:rustc-cfg=uart_ram_size=\"128\"",
"cargo:rustc-cfg=uart_version=\"2\"",
"cargo:rustc-cfg=uart_peripheral_controls_mem_clk",
"cargo:rustc-cfg=uart_has_sclk_enable",
"cargo:rustc-cfg=i2c_master_version=\"4\"",
"cargo:rustc-cfg=i2c_master_has_fsm_timeouts",
"cargo:rustc-cfg=i2c_master_has_hw_bus_clear",
"cargo:rustc-cfg=i2c_master_has_bus_timeout_enable",
"cargo:rustc-cfg=i2c_master_can_estimate_nack_reason",
"cargo:rustc-cfg=i2c_master_has_conf_update",
"cargo:rustc-cfg=i2c_master_has_reliable_fsm_reset",
"cargo:rustc-cfg=i2c_master_has_arbitration_en",
"cargo:rustc-cfg=i2c_master_has_tx_fifo_watermark",
"cargo:rustc-cfg=i2c_master_bus_timeout_is_exponential",
"cargo:rustc-cfg=i2c_master_has_pd_en",
"cargo:rustc-cfg=i2c_master_max_bus_timeout=\"31\"",
"cargo:rustc-cfg=i2c_master_ll_intr_mask=\"262143\"",
"cargo:rustc-cfg=i2c_master_fifo_size=\"32\"",
"cargo:rustc-cfg=spi_master_version=\"3\"",
"cargo:rustc-cfg=spi_master_fifo_size=\"64\"",
"cargo:rustc-cfg=spi_master_has_app_interrupts",
"cargo:rustc-cfg=spi_master_has_dma_segmented_transfer",
"cargo:rustc-cfg=i2s_version=\"3\"",
"cargo:rustc-cfg=i2s_version_is_set",
"cargo:rustc-cfg=i2s_mclk_divider_bit_width=\"9\"",
"cargo:rustc-cfg=i2s_mclk_divider_bit_width_is_set",
"cargo:rustc-cfg=i2s_max_ws_width=\"512\"",
"cargo:rustc-cfg=i2s_max_ws_width_is_set",
"cargo:rustc-cfg=i2s_clock_configured_by_pcr",
"cargo:rustc-cfg=i2s_supports_pdm_tx",
"cargo:rustc-cfg=i2s_supports_pdm_rx",
"cargo:rustc-cfg=i2s_supports_pcm2pdm",
"cargo:rustc-cfg=parl_io_version=\"2\"",
"cargo:rustc-cfg=rmt_ram_start=\"1610642432\"",
"cargo:rustc-cfg=rmt_channel_ram_size=\"48\"",
"cargo:rustc-cfg=rmt_has_tx_immediate_stop",
"cargo:rustc-cfg=rmt_has_tx_loop_count",
"cargo:rustc-cfg=rmt_has_tx_loop_auto_stop",
"cargo:rustc-cfg=rmt_has_tx_carrier_data_only",
"cargo:rustc-cfg=rmt_has_tx_sync",
"cargo:rustc-cfg=rmt_has_rx_wrap",
"cargo:rustc-cfg=rmt_has_rx_demodulation",
"cargo:rustc-cfg=bt_controller=\"npl\"",
"cargo:rustc-cfg=ledc_version=\"3\"",
"cargo:rustc-cfg=ledc_channel_count=\"6\"",
"cargo:rustc-cfg=soc_has_sdm_ch0",
"cargo:rustc-cfg=soc_has_sdm_ch1",
"cargo:rustc-cfg=soc_has_sdm_ch2",
"cargo:rustc-cfg=soc_has_sdm_ch3",
"cargo:rustc-cfg=timergroup_timg_has_divcnt_rst",
"cargo:rustc-cfg=timergroup_rc_fast_calibration_divider",
"cargo:rustc-cfg=timergroup_rc_fast_calibration_tick_enable",
"cargo:rustc-cfg=timergroup_rc_fast_calibration_is_set",
"cargo:rustc-cfg=aes_dma_mode_ecb",
"cargo:rustc-cfg=aes_dma_mode_cbc",
"cargo:rustc-cfg=aes_dma_mode_ofb",
"cargo:rustc-cfg=aes_dma_mode_ctr",
"cargo:rustc-cfg=aes_dma_mode_cfb8",
"cargo:rustc-cfg=aes_dma_mode_cfb128",
"cargo:rustc-cfg=aes_has_split_text_registers",
"cargo:rustc-cfg=ecc_zero_extend_writes",
"cargo:rustc-cfg=ecc_separate_jacobian_point_memory",
"cargo:rustc-cfg=ecc_has_memory_clock_gate",
"cargo:rustc-cfg=ecc_supports_enhanced_security",
"cargo:rustc-cfg=ecc_has_modular_arithmetic",
"cargo:rustc-cfg=ecc_has_point_addition",
"cargo:rustc-cfg=ecc_has_curve_p192",
"cargo:rustc-cfg=ecc_has_curve_p256",
"cargo:rustc-cfg=rng_apb_cycle_wait_num=\"16\"",
"cargo:rustc-cfg=rng_trng_supported",
"cargo:rustc-cfg=rsa_version=\"3\"",
"cargo:rustc-cfg=rsa_size_increment=\"32\"",
"cargo:rustc-cfg=rsa_memory_size_bytes=\"384\"",
"cargo:rustc-cfg=sleep_light_sleep",
"cargo:rustc-cfg=sleep_deep_sleep",
"cargo:rustc-cfg=sleep_has_wakeup_source_ext1",
"cargo:rustc-cfg=sleep_has_wakeup_source_gpio",
"cargo:rustc-cfg=sleep_has_wakeup_source_wifi_beacon",
"cargo:rustc-cfg=sleep_has_wakeup_source_timer",
"cargo:rustc-cfg=sleep_has_wakeup_source_wifi",
"cargo:rustc-cfg=sleep_has_wakeup_source_uart",
"cargo:rustc-cfg=sleep_has_wakeup_source_sdio",
"cargo:rustc-cfg=sleep_has_wakeup_source_bt",
"cargo:rustc-cfg=sleep_has_wakeup_source_lp_core",
"cargo:rustc-cfg=sleep_ext1_version=\"2\"",
"cargo:rustc-cfg=sleep_ext1_version_is_set",
"cargo:rustc-cfg=assist_debug_has_sp_monitor",
"cargo:rustc-cfg=assist_debug_has_region_monitor",
"cargo:rustc-cfg=dma_separate_in_out_interrupts",
"cargo:rustc-cfg=dma_gdma_version=\"1\"",
"cargo:rustc-cfg=dma_gdma_version_is_set",
"cargo:rustc-cfg=soc_has_dma_ch0",
"cargo:rustc-cfg=soc_has_dma_ch1",
"cargo:rustc-cfg=soc_has_dma_ch2",
"cargo:rustc-cfg=dma_supports_mem2mem",
"cargo:rustc-cfg=aes_supports_dma",
"cargo:rustc-cfg=aes_dma_engine=\"AHB_GDMA\"",
"cargo:rustc-cfg=sha_supports_dma",
"cargo:rustc-cfg=sha_dma_engine=\"AHB_GDMA\"",
"cargo:rustc-cfg=spi_master_supports_dma",
"cargo:rustc-cfg=spi_master_dma_engine=\"AHB_GDMA\"",
"cargo:rustc-cfg=spi_slave_supports_dma",
"cargo:rustc-cfg=spi_slave_dma_engine=\"AHB_GDMA\"",
"cargo:rustc-cfg=uhci_supports_dma",
"cargo:rustc-cfg=uhci_dma_engine=\"AHB_GDMA\"",
"cargo:rustc-cfg=i2s_supports_dma",
"cargo:rustc-cfg=i2s_dma_engine=\"AHB_GDMA\"",
"cargo:rustc-cfg=parl_io_supports_dma",
"cargo:rustc-cfg=parl_io_dma_engine=\"AHB_GDMA\"",
"cargo:rustc-cfg=dma_max_priority=\"5\"",
"cargo:rustc-cfg=dma_max_priority_is_set",
"cargo:rustc-cfg=interrupts_status_registers=\"2\"",
"cargo:rustc-cfg=interrupt_controller=\"plic\"",
"cargo:rustc-cfg=context_switch_source=\"clint\"",
"cargo:rustc-cfg=mmu_page_size=\"65536\"",
"cargo:rustc-cfg=mmu_entry_num=\"256\"",
"cargo:rustc-cfg=rom_has_crc_le",
"cargo:rustc-cfg=rom_has_crc_be",
"cargo:rustc-cfg=rom_has_md5_bsd",
"cargo:rustc-cfg=soc_cpu_has_csr_pc",
"cargo:rustc-cfg=soc_cpu_csr_prv_mode=\"3088\"",
"cargo:rustc-cfg=soc_cpu_csr_prv_mode_is_set",
"cargo:rustc-cfg=soc_has_swd_watchdog",
"cargo:rustc-cfg=soc_cpu_mcause_mask=\"31\"",
"cargo:rustc-cfg=soc_has_clock_node_xtal_clk",
"cargo:rustc-cfg=soc_clock_node_xtal_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_pll_f96m_clk",
"cargo:rustc-cfg=soc_has_clock_node_pll_f64m_clk",
"cargo:rustc-cfg=soc_has_clock_node_pll_f48m_clk",
"cargo:rustc-cfg=soc_has_clock_node_rc_fast_clk",
"cargo:rustc-cfg=soc_has_clock_node_iomux_function_clock",
"cargo:rustc-cfg=soc_clock_node_iomux_function_clock_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_xtal32k_clk",
"cargo:rustc-cfg=soc_has_clock_node_osc_slow_clk",
"cargo:rustc-cfg=soc_has_clock_node_rc_slow_clk",
"cargo:rustc-cfg=soc_has_clock_node_pll_lp_clk",
"cargo:rustc-cfg=soc_has_clock_node_hp_root_clk",
"cargo:rustc-cfg=soc_clock_node_hp_root_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_cpu_clk",
"cargo:rustc-cfg=soc_clock_node_cpu_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_ahb_clk",
"cargo:rustc-cfg=soc_clock_node_ahb_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_apb_clk",
"cargo:rustc-cfg=soc_clock_node_apb_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_xtal_d2_clk",
"cargo:rustc-cfg=soc_has_clock_node_lp_fast_clk",
"cargo:rustc-cfg=soc_clock_node_lp_fast_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_lp_slow_clk",
"cargo:rustc-cfg=soc_clock_node_lp_slow_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_crypto_clk",
"cargo:rustc-cfg=soc_clock_node_crypto_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_timg_calibration_clock",
"cargo:rustc-cfg=soc_clock_node_timg_calibration_clock_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_uart_function_clock",
"cargo:rustc-cfg=soc_clock_node_uart_function_clock_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_uart_baud_rate_generator",
"cargo:rustc-cfg=soc_clock_node_uart_baud_rate_generator_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_sdm_function_clock",
"cargo:rustc-cfg=soc_has_clock_node_rmt_sclk",
"cargo:rustc-cfg=soc_clock_node_rmt_sclk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_timg_function_clock",
"cargo:rustc-cfg=soc_clock_node_timg_function_clock_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_timg_wdt_clock",
"cargo:rustc-cfg=soc_clock_node_timg_wdt_clock_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_mcpwm_function_clock",
"cargo:rustc-cfg=soc_clock_node_mcpwm_function_clock_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_parl_io_rx_clock",
"cargo:rustc-cfg=soc_clock_node_parl_io_rx_clock_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_parl_io_tx_clock",
"cargo:rustc-cfg=soc_clock_node_parl_io_tx_clock_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_i2s_tx_clk",
"cargo:rustc-cfg=soc_clock_node_i2s_tx_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_i2s_rx_clk",
"cargo:rustc-cfg=soc_clock_node_i2s_rx_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_i2s_mclk_out",
"cargo:rustc-cfg=soc_clock_node_i2s_mclk_out_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_i2c_function_clock",
"cargo:rustc-cfg=soc_clock_node_i2c_function_clock_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_spi_function_clock",
"cargo:rustc-cfg=soc_clock_node_spi_function_clock_is_configurable",
"cargo:rustc-cfg=has_dram_region",
"cargo:rustc-cfg=has_dram2_uninit_region",
"cargo:rustc-cfg=has_irom_region",
"cargo:rustc-cfg=has_drom_region",
],
memory_layout: &MemoryLayout {
regions: &[
(
"dram",
MemoryRegion {
address_range: 0x40800000..0x40850000,
},
),
(
"dram2_uninit",
MemoryRegion {
address_range: 0x4083EFD0..0x4084FEE0,
},
),
(
"irom",
MemoryRegion {
address_range: 0x42000000..0x43000000,
},
),
(
"drom",
MemoryRegion {
address_range: 0x42000000..0x43000000,
},
),
],
},
pins: &[
PinInfo {
pin: 0,
limitations: &[],
},
PinInfo {
pin: 1,
limitations: &[],
},
PinInfo {
pin: 2,
limitations: &["jtag"],
},
PinInfo {
pin: 3,
limitations: &["jtag"],
},
PinInfo {
pin: 4,
limitations: &["jtag"],
},
PinInfo {
pin: 5,
limitations: &["jtag"],
},
PinInfo {
pin: 6,
limitations: &["spi_flash"],
},
PinInfo {
pin: 7,
limitations: &["spi_flash"],
},
PinInfo {
pin: 8,
limitations: &["strapping"],
},
PinInfo {
pin: 9,
limitations: &["strapping"],
},
PinInfo {
pin: 10,
limitations: &[],
},
PinInfo {
pin: 11,
limitations: &[],
},
PinInfo {
pin: 12,
limitations: &[],
},
PinInfo {
pin: 13,
limitations: &[],
},
PinInfo {
pin: 14,
limitations: &[],
},
PinInfo {
pin: 22,
limitations: &[],
},
PinInfo {
pin: 23,
limitations: &["bootloader_uart"],
},
PinInfo {
pin: 24,
limitations: &["bootloader_uart"],
},
PinInfo {
pin: 25,
limitations: &["strapping"],
},
PinInfo {
pin: 26,
limitations: &["usb_jtag"],
},
PinInfo {
pin: 27,
limitations: &["usb_jtag"],
},
],
},
Self::Esp32p4 => Config {
architecture: "riscv",
target: "riscv32imafc-unknown-none-elf",
symbols: &[
"esp32p4",
"riscv",
"multi_core",
"soc_has_efuse",
"soc_has_gpio",
"soc_has_gpio_sd",
"soc_has_system",
"soc_has_hp_sys",
"soc_has_hp_sys_clkrst",
"soc_has_rng",
"soc_has_interrupt_core0",
"soc_has_interrupt_core1",
"soc_has_lp_i2c_ana_mst",
"soc_has_clic",
"soc_has_clint",
"soc_has_clint_other_core",
"soc_has_io_mux",
"soc_has_iomux_mspi_pin",
"soc_has_lp_i2c0",
"soc_has_lp_aon",
"soc_has_lp_aon_clkrst",
"soc_has_lp_sys",
"soc_has_lp_gpio",
"soc_has_lp_io_mux",
"soc_has_lp_peri",
"soc_has_rtc_timer",
"soc_has_lp_wdt",
"soc_has_lpwr",
"soc_has_pmu",
"soc_has_systimer",
"soc_has_timg0",
"soc_has_timg1",
"soc_has_uart0",
"soc_has_uart1",
"soc_has_uart2",
"soc_has_uart3",
"soc_has_uart4",
"soc_has_uhci0",
"soc_has_spi0",
"soc_has_spi1",
"soc_has_memspi2",
"soc_has_memspi3",
"soc_has_spi2",
"soc_has_spi3",
"soc_has_i2c0",
"soc_has_i2c1",
"soc_has_i2s0",
"soc_has_i2s1",
"soc_has_i2s2",
"soc_has_twai0",
"soc_has_twai1",
"soc_has_twai2",
"soc_has_dma",
"soc_has_axi_gdma",
"soc_has_eth",
"soc_has_emac_dma",
"soc_has_emac_mac",
"soc_has_mipi_dsi",
"soc_has_vdma",
"soc_has_mipi_dsi_host",
"soc_has_mipi_dsi_bridge",
"soc_has_usb_device",
"soc_has_sdhost",
"soc_has_ledc",
"soc_has_mcpwm0",
"soc_has_mcpwm1",
"soc_has_pcnt",
"soc_has_apb_saradc",
"soc_has_lp_adc",
"soc_has_rmt",
"soc_has_aes",
"soc_has_sha",
"soc_has_rsa",
"soc_has_ecc",
"soc_has_usb_fs",
"soc_has_usb_hs",
"soc_has_usb_wrap",
"soc_has_adc1",
"soc_has_adc2",
"soc_has_flash",
"soc_has_psram",
"soc_has_gpio_dedicated",
"soc_has_cpu_ctrl",
"soc_has_ipc",
"soc_has_from_cpu_intr0",
"soc_has_from_cpu_intr1",
"soc_has_from_cpu_intr2",
"soc_has_from_cpu_intr3",
"gpio_driver_supported",
"dedicated_gpio_driver_supported",
"io_mux_driver_supported",
"lp_io_driver_supported",
"uart_driver_supported",
"uhci_driver_supported",
"i2c_master_driver_supported",
"lp_i2c_master_driver_supported",
"spi_master_driver_supported",
"spi_slave_driver_supported",
"i2s_driver_supported",
"rmt_driver_supported",
"sdmmc_driver_supported",
"usb_otg_driver_supported",
"usb_otg_hs_driver_supported",
"usb_serial_jtag_driver_supported",
"ethernet_driver_supported",
"mipi_dsi_driver_supported",
"adc_driver_supported",
"pcnt_driver_supported",
"lp_timer_driver_supported",
"sdm_driver_supported",
"systimer_driver_supported",
"timergroup_driver_supported",
"aes_driver_supported",
"ecc_driver_supported",
"rng_driver_supported",
"rsa_driver_supported",
"sha_driver_supported",
"sleep_driver_supported",
"dma_driver_supported",
"interrupts_driver_supported",
"mmu_driver_supported",
"flash_driver_supported",
"psram_driver_supported",
"rom_driver_supported",
"soc_driver_supported",
"uart_uart0",
"uart_uart1",
"uart_uart2",
"uart_uart3",
"uart_uart4",
"i2c_master_i2c0",
"i2c_master_i2c1",
"spi_master_spi2",
"spi_master_spi3",
"spi_slave_spi2",
"spi_slave_spi3",
"i2s_i2s0",
"i2s_i2s1",
"i2s_i2s2",
"adc_adc1",
"adc_adc2",
"pcnt_PCNT",
"timergroup_timg0",
"timergroup_timg1",
"gpio_version=\"3\"",
"gpio_has_input_sync",
"gpio_gpio_function=\"1\"",
"gpio_constant_0_input=\"62\"",
"gpio_constant_1_input=\"63\"",
"gpio_func_in_sel_offset=\"1\"",
"gpio_has_bank_1",
"gpio_input_signal_max=\"249\"",
"gpio_output_signal_max=\"256\"",
"dedicated_gpio_version=\"riscv_v2\"",
"lp_io_version=\"esp32p4\"",
"lp_io_has_gpio_matrix",
"uart_ram_size=\"128\"",
"uart_version=\"2\"",
"uhci_combined_uart_selector_field",
"i2c_master_version=\"4\"",
"i2c_master_has_fsm_timeouts",
"i2c_master_has_hw_bus_clear",
"i2c_master_has_bus_timeout_enable",
"i2c_master_can_estimate_nack_reason",
"i2c_master_has_conf_update",
"i2c_master_has_arbitration_en",
"i2c_master_has_pd_en",
"i2c_master_max_bus_timeout=\"31\"",
"i2c_master_ll_intr_mask=\"262143\"",
"i2c_master_fifo_size=\"32\"",
"lp_i2c_master_version=\"lp_i2c\"",
"lp_i2c_master_fifo_size=\"16\"",
"lp_i2c_master_fifo_size_is_set",
"spi_master_version=\"3\"",
"spi_master_fifo_size=\"64\"",
"i2s_version=\"3\"",
"i2s_version_is_set",
"i2s_mclk_divider_bit_width=\"9\"",
"i2s_mclk_divider_bit_width_is_set",
"i2s_max_ws_width=\"128\"",
"i2s_max_ws_width_is_set",
"i2s_clock_configured_by_hp_sys_clkrst",
"i2s_supports_pdm_rx_hp_filter",
"i2s_supports_pdm_tx",
"i2s_supports_pdm_rx",
"i2s_supports_pcm2pdm",
"i2s_supports_pdm2pcm",
"rmt_ram_start=\"1342842880\"",
"rmt_channel_ram_size=\"48\"",
"rmt_has_tx_immediate_stop",
"rmt_has_tx_loop_count",
"rmt_has_tx_loop_auto_stop",
"rmt_has_tx_carrier_data_only",
"rmt_has_tx_sync",
"rmt_has_rx_wrap",
"rmt_has_rx_demodulation",
"sdmmc_delay_phase_num=\"8\"",
"sdmmc_delay_phase_num_is_set",
"sdmmc_has_iomux",
"sdmmc_has_gpio_matrix",
"sdmmc_psram_dma",
"usb_otg_fifo_depth_words=\"200\"",
"usb_otg_hs_fifo_depth_words=\"896\"",
"ethernet_mii_via_gpio_matrix",
"ethernet_rx_checksum_offload",
"ethernet_dma_burst_len=\"32\"",
"soc_has_sdm_ch0",
"soc_has_sdm_ch1",
"soc_has_sdm_ch2",
"soc_has_sdm_ch3",
"soc_has_sdm_ch4",
"soc_has_sdm_ch5",
"soc_has_sdm_ch6",
"soc_has_sdm_ch7",
"timergroup_timg_has_timer1",
"timergroup_timg_has_divcnt_rst",
"timergroup_rc_fast_calibration_is_set",
"aes_dma_mode_ecb",
"aes_dma_mode_cbc",
"aes_dma_mode_ofb",
"aes_dma_mode_ctr",
"aes_dma_mode_cfb8",
"aes_dma_mode_cfb128",
"aes_dma_mode_gcm",
"aes_has_split_text_registers",
"ecc_separate_jacobian_point_memory",
"ecc_has_memory_clock_gate",
"ecc_supports_enhanced_security",
"ecc_has_modular_arithmetic",
"ecc_has_point_addition",
"ecc_has_curve_p192",
"ecc_has_curve_p256",
"ecc_has_curve_p384",
"rng_apb_cycle_wait_num=\"16\"",
"rng_is_lp_sys",
"rsa_version=\"3\"",
"rsa_size_increment=\"32\"",
"rsa_memory_size_bytes=\"512\"",
"sleep_light_sleep",
"sleep_deep_sleep",
"sleep_has_wakeup_source_sdio",
"sleep_has_wakeup_source_gpio",
"sleep_has_wakeup_source_usb",
"sleep_has_wakeup_source_uart",
"sleep_has_wakeup_source_touch",
"sleep_has_wakeup_source_ext1",
"sleep_has_wakeup_source_timer",
"sleep_ext1_version=\"3\"",
"sleep_ext1_version_is_set",
"sleep_pin_wakeup_version=\"3\"",
"sleep_pin_wakeup_version_is_set",
"dma_separate_in_out_interrupts",
"dma_gdma_version=\"2\"",
"dma_gdma_version_is_set",
"soc_has_dma_ch0",
"soc_has_dma_ch1",
"soc_has_dma_ch2",
"soc_has_dma_axi_ch0",
"soc_has_dma_axi_ch1",
"soc_has_dma_axi_ch2",
"soc_has_vdma_ch0",
"soc_has_vdma_ch1",
"soc_has_vdma_ch2",
"soc_has_vdma_ch3",
"dma_supports_mem2mem",
"i2s_supports_dma",
"i2s_dma_engine=\"AHB_GDMA\"",
"uhci_supports_dma",
"uhci_dma_engine=\"AHB_GDMA\"",
"aes_supports_dma",
"aes_dma_engine=\"AXI_GDMA\"",
"sha_supports_dma",
"sha_dma_engine=\"AXI_GDMA\"",
"spi_master_supports_dma",
"spi_master_dma_engine=\"AXI_GDMA\"",
"spi_slave_supports_dma",
"spi_slave_dma_engine=\"AXI_GDMA\"",
"mipi_dsi_supports_dma",
"mipi_dsi_dma_engine=\"VDMA\"",
"dma_can_access_psram",
"dma_max_priority=\"5\"",
"dma_max_priority_is_set",
"interrupts_status_registers=\"5\"",
"interrupt_controller=\"clic\"",
"context_switch_source=\"ipc\"",
"mmu_page_size=\"65536\"",
"mmu_entry_num=\"512\"",
"psram_octal_spi",
"psram_hex_spi",
"psram_extmem_origin=\"1207959552\"",
"rom_has_crc_le",
"rom_has_crc_be",
"rom_has_md5_bsd",
"soc_cpu_has_branch_predictor",
"soc_multi_core_enabled",
"soc_internal_memory_cached",
"soc_has_swd_watchdog",
"soc_cpu_mcause_mask=\"63\"",
"soc_has_clock_node_xtal_clk",
"soc_has_clock_node_cpll_clk",
"soc_clock_node_cpll_clk_is_configurable",
"soc_has_clock_node_spll_clk",
"soc_has_clock_node_mpll_clk",
"soc_clock_node_mpll_clk_is_configurable",
"soc_has_clock_node_rc_fast_clk",
"soc_has_clock_node_xtal32k_clk",
"soc_has_clock_node_osc_slow_clk",
"soc_has_clock_node_rc_slow_clk",
"soc_has_clock_node_rc32k_clk",
"soc_has_clock_node_pll_f20m",
"soc_has_clock_node_pll_f80m",
"soc_has_clock_node_pll_f120m",
"soc_has_clock_node_pll_f160m",
"soc_has_clock_node_pll_f240m",
"soc_has_clock_node_spll_d3_clock",
"soc_has_clock_node_iomux_function_clock",
"soc_clock_node_iomux_function_clock_is_configurable",
"soc_has_clock_node_pll_f25m",
"soc_has_clock_node_pll_f50m",
"soc_has_clock_node_xtal_d2_clk",
"soc_has_clock_node_cpu_root_clk",
"soc_clock_node_cpu_root_clk_is_configurable",
"soc_has_clock_node_cpu_clk",
"soc_clock_node_cpu_clk_is_configurable",
"soc_has_clock_node_mem_clk",
"soc_clock_node_mem_clk_is_configurable",
"soc_has_clock_node_sys_clk",
"soc_clock_node_sys_clk_is_configurable",
"soc_has_clock_node_apb_clk",
"soc_clock_node_apb_clk_is_configurable",
"soc_has_clock_node_lp_fast_clk",
"soc_clock_node_lp_fast_clk_is_configurable",
"soc_has_clock_node_lp_slow_clk",
"soc_clock_node_lp_slow_clk_is_configurable",
"soc_has_clock_node_crypto_clk",
"soc_clock_node_crypto_clk_is_configurable",
"soc_has_clock_node_timg_calibration_clock",
"soc_clock_node_timg_calibration_clock_is_configurable",
"soc_has_clock_node_psram_function_clock",
"soc_clock_node_psram_function_clock_is_configurable",
"soc_has_clock_node_uart_function_clock",
"soc_clock_node_uart_function_clock_is_configurable",
"soc_has_clock_node_uart_baud_rate_generator",
"soc_clock_node_uart_baud_rate_generator_is_configurable",
"soc_has_clock_node_sdm_function_clock",
"soc_has_clock_node_timg_function_clock",
"soc_clock_node_timg_function_clock_is_configurable",
"soc_has_clock_node_timg_wdt_clock",
"soc_clock_node_timg_wdt_clock_is_configurable",
"soc_has_clock_node_i2c_function_clock",
"soc_clock_node_i2c_function_clock_is_configurable",
"soc_has_clock_node_rmt_sclk",
"soc_clock_node_rmt_sclk_is_configurable",
"soc_has_clock_node_spi_function_clock",
"soc_clock_node_spi_function_clock_is_configurable",
"soc_has_clock_node_i2s_tx_clk",
"soc_clock_node_i2s_tx_clk_is_configurable",
"soc_has_clock_node_i2s_rx_clk",
"soc_clock_node_i2s_rx_clk_is_configurable",
"soc_has_clock_node_i2s_mclk_out",
"soc_clock_node_i2s_mclk_out_is_configurable",
"soc_has_clock_node_mipi_dsi_dpi_clk",
"soc_clock_node_mipi_dsi_dpi_clk_is_configurable",
"soc_has_clock_node_mipi_dsi_phy_pll_refclk",
"soc_clock_node_mipi_dsi_phy_pll_refclk_is_configurable",
"soc_has_clock_node_mipi_dsi_phy_cfg_clk",
"soc_clock_node_mipi_dsi_phy_cfg_clk_is_configurable",
"has_dram_region",
"has_dram2_uninit_region",
"has_irom_region",
"has_drom_region",
],
cfgs: &[
"cargo:rustc-cfg=esp32p4",
"cargo:rustc-cfg=riscv",
"cargo:rustc-cfg=multi_core",
"cargo:rustc-cfg=soc_has_efuse",
"cargo:rustc-cfg=soc_has_gpio",
"cargo:rustc-cfg=soc_has_gpio_sd",
"cargo:rustc-cfg=soc_has_system",
"cargo:rustc-cfg=soc_has_hp_sys",
"cargo:rustc-cfg=soc_has_hp_sys_clkrst",
"cargo:rustc-cfg=soc_has_rng",
"cargo:rustc-cfg=soc_has_interrupt_core0",
"cargo:rustc-cfg=soc_has_interrupt_core1",
"cargo:rustc-cfg=soc_has_lp_i2c_ana_mst",
"cargo:rustc-cfg=soc_has_clic",
"cargo:rustc-cfg=soc_has_clint",
"cargo:rustc-cfg=soc_has_clint_other_core",
"cargo:rustc-cfg=soc_has_io_mux",
"cargo:rustc-cfg=soc_has_iomux_mspi_pin",
"cargo:rustc-cfg=soc_has_lp_i2c0",
"cargo:rustc-cfg=soc_has_lp_aon",
"cargo:rustc-cfg=soc_has_lp_aon_clkrst",
"cargo:rustc-cfg=soc_has_lp_sys",
"cargo:rustc-cfg=soc_has_lp_gpio",
"cargo:rustc-cfg=soc_has_lp_io_mux",
"cargo:rustc-cfg=soc_has_lp_peri",
"cargo:rustc-cfg=soc_has_rtc_timer",
"cargo:rustc-cfg=soc_has_lp_wdt",
"cargo:rustc-cfg=soc_has_lpwr",
"cargo:rustc-cfg=soc_has_pmu",
"cargo:rustc-cfg=soc_has_systimer",
"cargo:rustc-cfg=soc_has_timg0",
"cargo:rustc-cfg=soc_has_timg1",
"cargo:rustc-cfg=soc_has_uart0",
"cargo:rustc-cfg=soc_has_uart1",
"cargo:rustc-cfg=soc_has_uart2",
"cargo:rustc-cfg=soc_has_uart3",
"cargo:rustc-cfg=soc_has_uart4",
"cargo:rustc-cfg=soc_has_uhci0",
"cargo:rustc-cfg=soc_has_spi0",
"cargo:rustc-cfg=soc_has_spi1",
"cargo:rustc-cfg=soc_has_memspi2",
"cargo:rustc-cfg=soc_has_memspi3",
"cargo:rustc-cfg=soc_has_spi2",
"cargo:rustc-cfg=soc_has_spi3",
"cargo:rustc-cfg=soc_has_i2c0",
"cargo:rustc-cfg=soc_has_i2c1",
"cargo:rustc-cfg=soc_has_i2s0",
"cargo:rustc-cfg=soc_has_i2s1",
"cargo:rustc-cfg=soc_has_i2s2",
"cargo:rustc-cfg=soc_has_twai0",
"cargo:rustc-cfg=soc_has_twai1",
"cargo:rustc-cfg=soc_has_twai2",
"cargo:rustc-cfg=soc_has_dma",
"cargo:rustc-cfg=soc_has_axi_gdma",
"cargo:rustc-cfg=soc_has_eth",
"cargo:rustc-cfg=soc_has_emac_dma",
"cargo:rustc-cfg=soc_has_emac_mac",
"cargo:rustc-cfg=soc_has_mipi_dsi",
"cargo:rustc-cfg=soc_has_vdma",
"cargo:rustc-cfg=soc_has_mipi_dsi_host",
"cargo:rustc-cfg=soc_has_mipi_dsi_bridge",
"cargo:rustc-cfg=soc_has_usb_device",
"cargo:rustc-cfg=soc_has_sdhost",
"cargo:rustc-cfg=soc_has_ledc",
"cargo:rustc-cfg=soc_has_mcpwm0",
"cargo:rustc-cfg=soc_has_mcpwm1",
"cargo:rustc-cfg=soc_has_pcnt",
"cargo:rustc-cfg=soc_has_apb_saradc",
"cargo:rustc-cfg=soc_has_lp_adc",
"cargo:rustc-cfg=soc_has_rmt",
"cargo:rustc-cfg=soc_has_aes",
"cargo:rustc-cfg=soc_has_sha",
"cargo:rustc-cfg=soc_has_rsa",
"cargo:rustc-cfg=soc_has_ecc",
"cargo:rustc-cfg=soc_has_usb_fs",
"cargo:rustc-cfg=soc_has_usb_hs",
"cargo:rustc-cfg=soc_has_usb_wrap",
"cargo:rustc-cfg=soc_has_adc1",
"cargo:rustc-cfg=soc_has_adc2",
"cargo:rustc-cfg=soc_has_flash",
"cargo:rustc-cfg=soc_has_psram",
"cargo:rustc-cfg=soc_has_gpio_dedicated",
"cargo:rustc-cfg=soc_has_cpu_ctrl",
"cargo:rustc-cfg=soc_has_ipc",
"cargo:rustc-cfg=soc_has_from_cpu_intr0",
"cargo:rustc-cfg=soc_has_from_cpu_intr1",
"cargo:rustc-cfg=soc_has_from_cpu_intr2",
"cargo:rustc-cfg=soc_has_from_cpu_intr3",
"cargo:rustc-cfg=gpio_driver_supported",
"cargo:rustc-cfg=dedicated_gpio_driver_supported",
"cargo:rustc-cfg=io_mux_driver_supported",
"cargo:rustc-cfg=lp_io_driver_supported",
"cargo:rustc-cfg=uart_driver_supported",
"cargo:rustc-cfg=uhci_driver_supported",
"cargo:rustc-cfg=i2c_master_driver_supported",
"cargo:rustc-cfg=lp_i2c_master_driver_supported",
"cargo:rustc-cfg=spi_master_driver_supported",
"cargo:rustc-cfg=spi_slave_driver_supported",
"cargo:rustc-cfg=i2s_driver_supported",
"cargo:rustc-cfg=rmt_driver_supported",
"cargo:rustc-cfg=sdmmc_driver_supported",
"cargo:rustc-cfg=usb_otg_driver_supported",
"cargo:rustc-cfg=usb_otg_hs_driver_supported",
"cargo:rustc-cfg=usb_serial_jtag_driver_supported",
"cargo:rustc-cfg=ethernet_driver_supported",
"cargo:rustc-cfg=mipi_dsi_driver_supported",
"cargo:rustc-cfg=adc_driver_supported",
"cargo:rustc-cfg=pcnt_driver_supported",
"cargo:rustc-cfg=lp_timer_driver_supported",
"cargo:rustc-cfg=sdm_driver_supported",
"cargo:rustc-cfg=systimer_driver_supported",
"cargo:rustc-cfg=timergroup_driver_supported",
"cargo:rustc-cfg=aes_driver_supported",
"cargo:rustc-cfg=ecc_driver_supported",
"cargo:rustc-cfg=rng_driver_supported",
"cargo:rustc-cfg=rsa_driver_supported",
"cargo:rustc-cfg=sha_driver_supported",
"cargo:rustc-cfg=sleep_driver_supported",
"cargo:rustc-cfg=dma_driver_supported",
"cargo:rustc-cfg=interrupts_driver_supported",
"cargo:rustc-cfg=mmu_driver_supported",
"cargo:rustc-cfg=flash_driver_supported",
"cargo:rustc-cfg=psram_driver_supported",
"cargo:rustc-cfg=rom_driver_supported",
"cargo:rustc-cfg=soc_driver_supported",
"cargo:rustc-cfg=uart_uart0",
"cargo:rustc-cfg=uart_uart1",
"cargo:rustc-cfg=uart_uart2",
"cargo:rustc-cfg=uart_uart3",
"cargo:rustc-cfg=uart_uart4",
"cargo:rustc-cfg=i2c_master_i2c0",
"cargo:rustc-cfg=i2c_master_i2c1",
"cargo:rustc-cfg=spi_master_spi2",
"cargo:rustc-cfg=spi_master_spi3",
"cargo:rustc-cfg=spi_slave_spi2",
"cargo:rustc-cfg=spi_slave_spi3",
"cargo:rustc-cfg=i2s_i2s0",
"cargo:rustc-cfg=i2s_i2s1",
"cargo:rustc-cfg=i2s_i2s2",
"cargo:rustc-cfg=adc_adc1",
"cargo:rustc-cfg=adc_adc2",
"cargo:rustc-cfg=pcnt_PCNT",
"cargo:rustc-cfg=timergroup_timg0",
"cargo:rustc-cfg=timergroup_timg1",
"cargo:rustc-cfg=gpio_version=\"3\"",
"cargo:rustc-cfg=gpio_has_input_sync",
"cargo:rustc-cfg=gpio_gpio_function=\"1\"",
"cargo:rustc-cfg=gpio_constant_0_input=\"62\"",
"cargo:rustc-cfg=gpio_constant_1_input=\"63\"",
"cargo:rustc-cfg=gpio_func_in_sel_offset=\"1\"",
"cargo:rustc-cfg=gpio_has_bank_1",
"cargo:rustc-cfg=gpio_input_signal_max=\"249\"",
"cargo:rustc-cfg=gpio_output_signal_max=\"256\"",
"cargo:rustc-cfg=dedicated_gpio_version=\"riscv_v2\"",
"cargo:rustc-cfg=lp_io_version=\"esp32p4\"",
"cargo:rustc-cfg=lp_io_has_gpio_matrix",
"cargo:rustc-cfg=uart_ram_size=\"128\"",
"cargo:rustc-cfg=uart_version=\"2\"",
"cargo:rustc-cfg=uhci_combined_uart_selector_field",
"cargo:rustc-cfg=i2c_master_version=\"4\"",
"cargo:rustc-cfg=i2c_master_has_fsm_timeouts",
"cargo:rustc-cfg=i2c_master_has_hw_bus_clear",
"cargo:rustc-cfg=i2c_master_has_bus_timeout_enable",
"cargo:rustc-cfg=i2c_master_can_estimate_nack_reason",
"cargo:rustc-cfg=i2c_master_has_conf_update",
"cargo:rustc-cfg=i2c_master_has_arbitration_en",
"cargo:rustc-cfg=i2c_master_has_pd_en",
"cargo:rustc-cfg=i2c_master_max_bus_timeout=\"31\"",
"cargo:rustc-cfg=i2c_master_ll_intr_mask=\"262143\"",
"cargo:rustc-cfg=i2c_master_fifo_size=\"32\"",
"cargo:rustc-cfg=lp_i2c_master_version=\"lp_i2c\"",
"cargo:rustc-cfg=lp_i2c_master_fifo_size=\"16\"",
"cargo:rustc-cfg=lp_i2c_master_fifo_size_is_set",
"cargo:rustc-cfg=spi_master_version=\"3\"",
"cargo:rustc-cfg=spi_master_fifo_size=\"64\"",
"cargo:rustc-cfg=i2s_version=\"3\"",
"cargo:rustc-cfg=i2s_version_is_set",
"cargo:rustc-cfg=i2s_mclk_divider_bit_width=\"9\"",
"cargo:rustc-cfg=i2s_mclk_divider_bit_width_is_set",
"cargo:rustc-cfg=i2s_max_ws_width=\"128\"",
"cargo:rustc-cfg=i2s_max_ws_width_is_set",
"cargo:rustc-cfg=i2s_clock_configured_by_hp_sys_clkrst",
"cargo:rustc-cfg=i2s_supports_pdm_rx_hp_filter",
"cargo:rustc-cfg=i2s_supports_pdm_tx",
"cargo:rustc-cfg=i2s_supports_pdm_rx",
"cargo:rustc-cfg=i2s_supports_pcm2pdm",
"cargo:rustc-cfg=i2s_supports_pdm2pcm",
"cargo:rustc-cfg=rmt_ram_start=\"1342842880\"",
"cargo:rustc-cfg=rmt_channel_ram_size=\"48\"",
"cargo:rustc-cfg=rmt_has_tx_immediate_stop",
"cargo:rustc-cfg=rmt_has_tx_loop_count",
"cargo:rustc-cfg=rmt_has_tx_loop_auto_stop",
"cargo:rustc-cfg=rmt_has_tx_carrier_data_only",
"cargo:rustc-cfg=rmt_has_tx_sync",
"cargo:rustc-cfg=rmt_has_rx_wrap",
"cargo:rustc-cfg=rmt_has_rx_demodulation",
"cargo:rustc-cfg=sdmmc_delay_phase_num=\"8\"",
"cargo:rustc-cfg=sdmmc_delay_phase_num_is_set",
"cargo:rustc-cfg=sdmmc_has_iomux",
"cargo:rustc-cfg=sdmmc_has_gpio_matrix",
"cargo:rustc-cfg=sdmmc_psram_dma",
"cargo:rustc-cfg=usb_otg_fifo_depth_words=\"200\"",
"cargo:rustc-cfg=usb_otg_hs_fifo_depth_words=\"896\"",
"cargo:rustc-cfg=ethernet_mii_via_gpio_matrix",
"cargo:rustc-cfg=ethernet_rx_checksum_offload",
"cargo:rustc-cfg=ethernet_dma_burst_len=\"32\"",
"cargo:rustc-cfg=soc_has_sdm_ch0",
"cargo:rustc-cfg=soc_has_sdm_ch1",
"cargo:rustc-cfg=soc_has_sdm_ch2",
"cargo:rustc-cfg=soc_has_sdm_ch3",
"cargo:rustc-cfg=soc_has_sdm_ch4",
"cargo:rustc-cfg=soc_has_sdm_ch5",
"cargo:rustc-cfg=soc_has_sdm_ch6",
"cargo:rustc-cfg=soc_has_sdm_ch7",
"cargo:rustc-cfg=timergroup_timg_has_timer1",
"cargo:rustc-cfg=timergroup_timg_has_divcnt_rst",
"cargo:rustc-cfg=timergroup_rc_fast_calibration_is_set",
"cargo:rustc-cfg=aes_dma_mode_ecb",
"cargo:rustc-cfg=aes_dma_mode_cbc",
"cargo:rustc-cfg=aes_dma_mode_ofb",
"cargo:rustc-cfg=aes_dma_mode_ctr",
"cargo:rustc-cfg=aes_dma_mode_cfb8",
"cargo:rustc-cfg=aes_dma_mode_cfb128",
"cargo:rustc-cfg=aes_dma_mode_gcm",
"cargo:rustc-cfg=aes_has_split_text_registers",
"cargo:rustc-cfg=ecc_separate_jacobian_point_memory",
"cargo:rustc-cfg=ecc_has_memory_clock_gate",
"cargo:rustc-cfg=ecc_supports_enhanced_security",
"cargo:rustc-cfg=ecc_has_modular_arithmetic",
"cargo:rustc-cfg=ecc_has_point_addition",
"cargo:rustc-cfg=ecc_has_curve_p192",
"cargo:rustc-cfg=ecc_has_curve_p256",
"cargo:rustc-cfg=ecc_has_curve_p384",
"cargo:rustc-cfg=rng_apb_cycle_wait_num=\"16\"",
"cargo:rustc-cfg=rng_is_lp_sys",
"cargo:rustc-cfg=rsa_version=\"3\"",
"cargo:rustc-cfg=rsa_size_increment=\"32\"",
"cargo:rustc-cfg=rsa_memory_size_bytes=\"512\"",
"cargo:rustc-cfg=sleep_light_sleep",
"cargo:rustc-cfg=sleep_deep_sleep",
"cargo:rustc-cfg=sleep_has_wakeup_source_sdio",
"cargo:rustc-cfg=sleep_has_wakeup_source_gpio",
"cargo:rustc-cfg=sleep_has_wakeup_source_usb",
"cargo:rustc-cfg=sleep_has_wakeup_source_uart",
"cargo:rustc-cfg=sleep_has_wakeup_source_touch",
"cargo:rustc-cfg=sleep_has_wakeup_source_ext1",
"cargo:rustc-cfg=sleep_has_wakeup_source_timer",
"cargo:rustc-cfg=sleep_ext1_version=\"3\"",
"cargo:rustc-cfg=sleep_ext1_version_is_set",
"cargo:rustc-cfg=sleep_pin_wakeup_version=\"3\"",
"cargo:rustc-cfg=sleep_pin_wakeup_version_is_set",
"cargo:rustc-cfg=dma_separate_in_out_interrupts",
"cargo:rustc-cfg=dma_gdma_version=\"2\"",
"cargo:rustc-cfg=dma_gdma_version_is_set",
"cargo:rustc-cfg=soc_has_dma_ch0",
"cargo:rustc-cfg=soc_has_dma_ch1",
"cargo:rustc-cfg=soc_has_dma_ch2",
"cargo:rustc-cfg=soc_has_dma_axi_ch0",
"cargo:rustc-cfg=soc_has_dma_axi_ch1",
"cargo:rustc-cfg=soc_has_dma_axi_ch2",
"cargo:rustc-cfg=soc_has_vdma_ch0",
"cargo:rustc-cfg=soc_has_vdma_ch1",
"cargo:rustc-cfg=soc_has_vdma_ch2",
"cargo:rustc-cfg=soc_has_vdma_ch3",
"cargo:rustc-cfg=dma_supports_mem2mem",
"cargo:rustc-cfg=i2s_supports_dma",
"cargo:rustc-cfg=i2s_dma_engine=\"AHB_GDMA\"",
"cargo:rustc-cfg=uhci_supports_dma",
"cargo:rustc-cfg=uhci_dma_engine=\"AHB_GDMA\"",
"cargo:rustc-cfg=aes_supports_dma",
"cargo:rustc-cfg=aes_dma_engine=\"AXI_GDMA\"",
"cargo:rustc-cfg=sha_supports_dma",
"cargo:rustc-cfg=sha_dma_engine=\"AXI_GDMA\"",
"cargo:rustc-cfg=spi_master_supports_dma",
"cargo:rustc-cfg=spi_master_dma_engine=\"AXI_GDMA\"",
"cargo:rustc-cfg=spi_slave_supports_dma",
"cargo:rustc-cfg=spi_slave_dma_engine=\"AXI_GDMA\"",
"cargo:rustc-cfg=mipi_dsi_supports_dma",
"cargo:rustc-cfg=mipi_dsi_dma_engine=\"VDMA\"",
"cargo:rustc-cfg=dma_can_access_psram",
"cargo:rustc-cfg=dma_max_priority=\"5\"",
"cargo:rustc-cfg=dma_max_priority_is_set",
"cargo:rustc-cfg=interrupts_status_registers=\"5\"",
"cargo:rustc-cfg=interrupt_controller=\"clic\"",
"cargo:rustc-cfg=context_switch_source=\"ipc\"",
"cargo:rustc-cfg=mmu_page_size=\"65536\"",
"cargo:rustc-cfg=mmu_entry_num=\"512\"",
"cargo:rustc-cfg=psram_octal_spi",
"cargo:rustc-cfg=psram_hex_spi",
"cargo:rustc-cfg=psram_extmem_origin=\"1207959552\"",
"cargo:rustc-cfg=rom_has_crc_le",
"cargo:rustc-cfg=rom_has_crc_be",
"cargo:rustc-cfg=rom_has_md5_bsd",
"cargo:rustc-cfg=soc_cpu_has_branch_predictor",
"cargo:rustc-cfg=soc_multi_core_enabled",
"cargo:rustc-cfg=soc_internal_memory_cached",
"cargo:rustc-cfg=soc_has_swd_watchdog",
"cargo:rustc-cfg=soc_cpu_mcause_mask=\"63\"",
"cargo:rustc-cfg=soc_has_clock_node_xtal_clk",
"cargo:rustc-cfg=soc_has_clock_node_cpll_clk",
"cargo:rustc-cfg=soc_clock_node_cpll_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_spll_clk",
"cargo:rustc-cfg=soc_has_clock_node_mpll_clk",
"cargo:rustc-cfg=soc_clock_node_mpll_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_rc_fast_clk",
"cargo:rustc-cfg=soc_has_clock_node_xtal32k_clk",
"cargo:rustc-cfg=soc_has_clock_node_osc_slow_clk",
"cargo:rustc-cfg=soc_has_clock_node_rc_slow_clk",
"cargo:rustc-cfg=soc_has_clock_node_rc32k_clk",
"cargo:rustc-cfg=soc_has_clock_node_pll_f20m",
"cargo:rustc-cfg=soc_has_clock_node_pll_f80m",
"cargo:rustc-cfg=soc_has_clock_node_pll_f120m",
"cargo:rustc-cfg=soc_has_clock_node_pll_f160m",
"cargo:rustc-cfg=soc_has_clock_node_pll_f240m",
"cargo:rustc-cfg=soc_has_clock_node_spll_d3_clock",
"cargo:rustc-cfg=soc_has_clock_node_iomux_function_clock",
"cargo:rustc-cfg=soc_clock_node_iomux_function_clock_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_pll_f25m",
"cargo:rustc-cfg=soc_has_clock_node_pll_f50m",
"cargo:rustc-cfg=soc_has_clock_node_xtal_d2_clk",
"cargo:rustc-cfg=soc_has_clock_node_cpu_root_clk",
"cargo:rustc-cfg=soc_clock_node_cpu_root_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_cpu_clk",
"cargo:rustc-cfg=soc_clock_node_cpu_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_mem_clk",
"cargo:rustc-cfg=soc_clock_node_mem_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_sys_clk",
"cargo:rustc-cfg=soc_clock_node_sys_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_apb_clk",
"cargo:rustc-cfg=soc_clock_node_apb_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_lp_fast_clk",
"cargo:rustc-cfg=soc_clock_node_lp_fast_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_lp_slow_clk",
"cargo:rustc-cfg=soc_clock_node_lp_slow_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_crypto_clk",
"cargo:rustc-cfg=soc_clock_node_crypto_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_timg_calibration_clock",
"cargo:rustc-cfg=soc_clock_node_timg_calibration_clock_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_psram_function_clock",
"cargo:rustc-cfg=soc_clock_node_psram_function_clock_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_uart_function_clock",
"cargo:rustc-cfg=soc_clock_node_uart_function_clock_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_uart_baud_rate_generator",
"cargo:rustc-cfg=soc_clock_node_uart_baud_rate_generator_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_sdm_function_clock",
"cargo:rustc-cfg=soc_has_clock_node_timg_function_clock",
"cargo:rustc-cfg=soc_clock_node_timg_function_clock_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_timg_wdt_clock",
"cargo:rustc-cfg=soc_clock_node_timg_wdt_clock_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_i2c_function_clock",
"cargo:rustc-cfg=soc_clock_node_i2c_function_clock_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_rmt_sclk",
"cargo:rustc-cfg=soc_clock_node_rmt_sclk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_spi_function_clock",
"cargo:rustc-cfg=soc_clock_node_spi_function_clock_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_i2s_tx_clk",
"cargo:rustc-cfg=soc_clock_node_i2s_tx_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_i2s_rx_clk",
"cargo:rustc-cfg=soc_clock_node_i2s_rx_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_i2s_mclk_out",
"cargo:rustc-cfg=soc_clock_node_i2s_mclk_out_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_mipi_dsi_dpi_clk",
"cargo:rustc-cfg=soc_clock_node_mipi_dsi_dpi_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_mipi_dsi_phy_pll_refclk",
"cargo:rustc-cfg=soc_clock_node_mipi_dsi_phy_pll_refclk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_mipi_dsi_phy_cfg_clk",
"cargo:rustc-cfg=soc_clock_node_mipi_dsi_phy_cfg_clk_is_configurable",
"cargo:rustc-cfg=has_dram_region",
"cargo:rustc-cfg=has_dram2_uninit_region",
"cargo:rustc-cfg=has_irom_region",
"cargo:rustc-cfg=has_drom_region",
],
memory_layout: &MemoryLayout {
regions: &[
(
"dram",
MemoryRegion {
address_range: 0x4FF40000..0x4FFADFC0,
},
),
(
"dram2_uninit",
MemoryRegion {
address_range: 0x4FFADFC0..0x4FFBEFC0,
},
),
(
"irom",
MemoryRegion {
address_range: 0x40000000..0x44000000,
},
),
(
"drom",
MemoryRegion {
address_range: 0x40000000..0x44000000,
},
),
],
},
pins: &[
PinInfo {
pin: 0,
limitations: &[],
},
PinInfo {
pin: 1,
limitations: &[],
},
PinInfo {
pin: 2,
limitations: &["jtag"],
},
PinInfo {
pin: 3,
limitations: &["jtag"],
},
PinInfo {
pin: 4,
limitations: &["jtag"],
},
PinInfo {
pin: 5,
limitations: &["jtag"],
},
PinInfo {
pin: 6,
limitations: &[],
},
PinInfo {
pin: 7,
limitations: &[],
},
PinInfo {
pin: 8,
limitations: &[],
},
PinInfo {
pin: 9,
limitations: &[],
},
PinInfo {
pin: 10,
limitations: &[],
},
PinInfo {
pin: 11,
limitations: &[],
},
PinInfo {
pin: 12,
limitations: &[],
},
PinInfo {
pin: 13,
limitations: &[],
},
PinInfo {
pin: 14,
limitations: &[],
},
PinInfo {
pin: 15,
limitations: &[],
},
PinInfo {
pin: 16,
limitations: &[],
},
PinInfo {
pin: 17,
limitations: &[],
},
PinInfo {
pin: 18,
limitations: &[],
},
PinInfo {
pin: 19,
limitations: &[],
},
PinInfo {
pin: 20,
limitations: &[],
},
PinInfo {
pin: 21,
limitations: &[],
},
PinInfo {
pin: 22,
limitations: &[],
},
PinInfo {
pin: 23,
limitations: &[],
},
PinInfo {
pin: 24,
limitations: &["usb_jtag"],
},
PinInfo {
pin: 25,
limitations: &["usb_jtag"],
},
PinInfo {
pin: 26,
limitations: &[],
},
PinInfo {
pin: 27,
limitations: &[],
},
PinInfo {
pin: 28,
limitations: &[],
},
PinInfo {
pin: 29,
limitations: &[],
},
PinInfo {
pin: 30,
limitations: &[],
},
PinInfo {
pin: 31,
limitations: &[],
},
PinInfo {
pin: 32,
limitations: &["strapping"],
},
PinInfo {
pin: 33,
limitations: &["strapping"],
},
PinInfo {
pin: 34,
limitations: &["strapping"],
},
PinInfo {
pin: 35,
limitations: &["strapping"],
},
PinInfo {
pin: 36,
limitations: &["strapping"],
},
PinInfo {
pin: 37,
limitations: &["strapping"],
},
PinInfo {
pin: 38,
limitations: &["strapping"],
},
PinInfo {
pin: 39,
limitations: &[],
},
PinInfo {
pin: 40,
limitations: &[],
},
PinInfo {
pin: 41,
limitations: &[],
},
PinInfo {
pin: 42,
limitations: &[],
},
PinInfo {
pin: 43,
limitations: &[],
},
PinInfo {
pin: 44,
limitations: &[],
},
PinInfo {
pin: 45,
limitations: &[],
},
PinInfo {
pin: 46,
limitations: &[],
},
PinInfo {
pin: 47,
limitations: &[],
},
PinInfo {
pin: 48,
limitations: &[],
},
PinInfo {
pin: 49,
limitations: &[],
},
PinInfo {
pin: 50,
limitations: &[],
},
PinInfo {
pin: 51,
limitations: &[],
},
PinInfo {
pin: 52,
limitations: &[],
},
PinInfo {
pin: 53,
limitations: &[],
},
PinInfo {
pin: 54,
limitations: &[],
},
],
},
Self::Esp32s2 => Config {
architecture: "xtensa",
target: "xtensa-esp32s2-none-elf",
symbols: &[
"esp32s2",
"xtensa",
"single_core",
"soc_has_aes",
"soc_has_apb_saradc",
"soc_has_ds",
"soc_has_efuse",
"soc_has_extmem",
"soc_has_mmu_table",
"soc_has_fe",
"soc_has_fe2",
"soc_has_gpio",
"soc_has_gpio_sd",
"soc_has_hmac",
"soc_has_i2c_ana_mst",
"soc_has_i2c0",
"soc_has_i2c1",
"soc_has_i2s0",
"soc_has_interrupt_core0",
"soc_has_io_mux",
"soc_has_ledc",
"soc_has_nrx",
"soc_has_pcnt",
"soc_has_pms",
"soc_has_rmt",
"soc_has_rng",
"soc_has_rsa",
"soc_has_lpwr",
"soc_has_rtc_timer",
"soc_has_lp_i2c0",
"soc_has_rtc_io",
"soc_has_sens",
"soc_has_sha",
"soc_has_spi0",
"soc_has_spi1",
"soc_has_spi2",
"soc_has_spi3",
"soc_has_syscon",
"soc_has_system",
"soc_has_systimer",
"soc_has_timg0",
"soc_has_timg1",
"soc_has_twai0",
"soc_has_uart0",
"soc_has_uart1",
"soc_has_uhci0",
"soc_has_usb_fs",
"soc_has_usb_wrap",
"soc_has_xts_aes",
"soc_has_wifi",
"soc_has_adc1",
"soc_has_adc2",
"soc_has_dac1",
"soc_has_dac2",
"soc_has_flash",
"soc_has_gpio_dedicated",
"soc_has_psram",
"soc_has_ulp_riscv_core",
"soc_has_from_cpu_intr0",
"soc_has_from_cpu_intr1",
"soc_has_from_cpu_intr2",
"soc_has_from_cpu_intr3",
"gpio_driver_supported",
"dedicated_gpio_driver_supported",
"io_mux_driver_supported",
"lp_io_driver_supported",
"uart_driver_supported",
"i2c_master_driver_supported",
"spi_master_driver_supported",
"spi_slave_driver_supported",
"i2s_driver_supported",
"rmt_driver_supported",
"twai_driver_supported",
"usb_otg_driver_supported",
"wifi_driver_supported",
"phy_driver_supported",
"adc_driver_supported",
"dac_driver_supported",
"temp_sensor_driver_supported",
"ledc_driver_supported",
"pcnt_driver_supported",
"lp_timer_driver_supported",
"sdm_driver_supported",
"systimer_driver_supported",
"timergroup_driver_supported",
"aes_driver_supported",
"hmac_driver_supported",
"rng_driver_supported",
"rsa_driver_supported",
"sha_driver_supported",
"sleep_driver_supported",
"ulp_riscv_driver_supported",
"dma_driver_supported",
"interrupts_driver_supported",
"mmu_driver_supported",
"flash_driver_supported",
"psram_driver_supported",
"rom_driver_supported",
"soc_driver_supported",
"uart_uart0",
"uart_uart1",
"i2c_master_i2c0",
"i2c_master_i2c1",
"spi_master_spi2",
"spi_master_spi3",
"spi_slave_spi2",
"spi_slave_spi3",
"i2s_i2s0",
"adc_adc1",
"adc_adc2",
"dac_dac1",
"dac_dac2",
"pcnt_PCNT",
"timergroup_timg0",
"timergroup_timg1",
"gpio_version=\"2\"",
"gpio_has_input_sync",
"gpio_gpio_function=\"1\"",
"gpio_constant_0_input=\"60\"",
"gpio_constant_1_input=\"56\"",
"gpio_func_in_sel_offset=\"0\"",
"soc_has_xtal32k_pads",
"gpio_has_bank_1",
"gpio_input_signal_max=\"242\"",
"gpio_output_signal_max=\"256\"",
"dedicated_gpio_version=\"esp32s2\"",
"dedicated_gpio_needs_initialization",
"lp_io_version=\"v2\"",
"uart_ram_size=\"128\"",
"uart_version=\"1\"",
"i2c_master_version=\"2\"",
"i2c_master_has_bus_timeout_enable",
"i2c_master_separate_filter_config_registers",
"i2c_master_has_arbitration_en",
"i2c_master_has_pd_en",
"i2c_master_i2c0_data_register_ahb_address=\"1610690588\"",
"i2c_master_i2c0_data_register_ahb_address_is_set",
"i2c_master_max_bus_timeout=\"16777215\"",
"i2c_master_ll_intr_mask=\"131071\"",
"i2c_master_fifo_size=\"32\"",
"spi_master_version=\"2\"",
"spi_master_fifo_size=\"72\"",
"spi_master_bit_order_is_bool",
"spi_master_has_octal",
"spi_master_has_dma_segmented_transfer",
"i2s_version=\"1\"",
"i2s_version_is_set",
"i2s_mclk_divider_bit_width=\"6\"",
"i2s_mclk_divider_bit_width_is_set",
"i2s_max_ws_width=\"128\"",
"i2s_max_ws_width_is_set",
"rmt_ram_start=\"1061250048\"",
"rmt_channel_ram_size=\"64\"",
"rmt_has_tx_immediate_stop",
"rmt_has_tx_loop_count",
"rmt_has_tx_carrier_data_only",
"rmt_has_tx_sync",
"rmt_has_rx_demodulation",
"rmt_has_per_channel_clock",
"usb_otg_fifo_depth_words=\"256\"",
"wifi_mac_version=\"1\"",
"wifi_csi_supported",
"ledc_version=\"2\"",
"ledc_channel_count=\"8\"",
"soc_has_sdm_ch0",
"soc_has_sdm_ch1",
"soc_has_sdm_ch2",
"soc_has_sdm_ch3",
"soc_has_sdm_ch4",
"soc_has_sdm_ch5",
"soc_has_sdm_ch6",
"soc_has_sdm_ch7",
"timergroup_timg_has_timer1",
"timergroup_rc_fast_calibration_is_set",
"aes_dma_mode_ecb",
"aes_dma_mode_cbc",
"aes_dma_mode_ofb",
"aes_dma_mode_ctr",
"aes_dma_mode_cfb8",
"aes_dma_mode_cfb128",
"aes_dma_mode_gcm",
"aes_has_split_text_registers",
"aes_endianness_configurable",
"rng_apb_cycle_wait_num=\"16\"",
"rng_trng_supported",
"rsa_version=\"2\"",
"rsa_size_increment=\"32\"",
"rsa_memory_size_bytes=\"512\"",
"sleep_light_sleep",
"sleep_deep_sleep",
"sleep_has_wakeup_source_ext0",
"sleep_has_wakeup_source_ext1",
"sleep_has_wakeup_source_gpio",
"sleep_has_wakeup_source_timer",
"sleep_has_wakeup_source_wifi",
"sleep_has_wakeup_source_uart",
"sleep_has_wakeup_source_touch",
"sleep_has_wakeup_source_ulp_riscv",
"sleep_has_wakeup_source_ulp_riscv_trap",
"sleep_ext1_version=\"1\"",
"sleep_ext1_version_is_set",
"sleep_pin_wakeup_version=\"1\"",
"sleep_pin_wakeup_version_is_set",
"sleep_deep_sleep_needs_gpio_isolation",
"dma_ext_mem_configurable_block_size",
"soc_has_dma_spi2",
"soc_has_dma_spi3",
"soc_has_dma_i2s0",
"soc_has_dma_crypto",
"soc_has_dma_copy",
"dma_supports_mem2mem",
"spi_master_supports_dma",
"spi_master_dma_engine=\"SPI_DMA\"",
"spi_slave_supports_dma",
"spi_slave_dma_engine=\"SPI_DMA\"",
"i2s_supports_dma",
"i2s_dma_engine=\"I2S_DMA\"",
"aes_supports_dma",
"aes_dma_engine=\"CRYPTO_DMA\"",
"sha_supports_dma",
"sha_dma_engine=\"CRYPTO_DMA\"",
"dma_can_access_psram",
"interrupts_status_registers=\"3\"",
"interrupt_controller=\"xtensa\"",
"context_switch_source=\"software0\"",
"mmu_page_size=\"65536\"",
"mmu_entry_num=\"256\"",
"psram_extmem_origin=\"1062207488\"",
"rom_has_crc_le",
"rom_has_md5_bsd",
"soc_has_swd_watchdog",
"soc_cpu_mcause_mask=\"0\"",
"soc_has_clock_node_xtal_clk",
"soc_clock_node_xtal_clk_is_configurable",
"soc_has_clock_node_pll_clk",
"soc_clock_node_pll_clk_is_configurable",
"soc_has_clock_node_apll_clk",
"soc_clock_node_apll_clk_is_configurable",
"soc_has_clock_node_pll_f160m_clk",
"soc_has_clock_node_rc_fast_clk",
"soc_has_clock_node_cpu_pll_div_in",
"soc_clock_node_cpu_pll_div_in_is_configurable",
"soc_has_clock_node_cpu_pll_div",
"soc_clock_node_cpu_pll_div_is_configurable",
"soc_has_clock_node_system_pre_div_in",
"soc_clock_node_system_pre_div_in_is_configurable",
"soc_has_clock_node_system_pre_div",
"soc_clock_node_system_pre_div_is_configurable",
"soc_has_clock_node_cpu_clk",
"soc_clock_node_cpu_clk_is_configurable",
"soc_has_clock_node_apb_clk_cpu_div2",
"soc_has_clock_node_apb_clk_80m",
"soc_has_clock_node_apb_clk",
"soc_clock_node_apb_clk_is_configurable",
"soc_has_clock_node_ref_tick_xtal",
"soc_clock_node_ref_tick_xtal_is_configurable",
"soc_has_clock_node_ref_tick_ck8m",
"soc_clock_node_ref_tick_ck8m_is_configurable",
"soc_has_clock_node_ref_tick",
"soc_clock_node_ref_tick_is_configurable",
"soc_has_clock_node_xtal32k_clk",
"soc_has_clock_node_rc_slow_clk",
"soc_has_clock_node_rc_fast_div_clk",
"soc_has_clock_node_xtal_div_clk",
"soc_has_clock_node_rtc_slow_clk",
"soc_clock_node_rtc_slow_clk_is_configurable",
"soc_has_clock_node_rtc_fast_clk",
"soc_clock_node_rtc_fast_clk_is_configurable",
"soc_has_clock_node_uart_mem_clk",
"soc_has_clock_node_timg_calibration_clock",
"soc_clock_node_timg_calibration_clock_is_configurable",
"soc_has_clock_node_timg_function_clock",
"soc_clock_node_timg_function_clock_is_configurable",
"soc_has_clock_node_uart_function_clock",
"soc_clock_node_uart_function_clock_is_configurable",
"soc_has_clock_node_uart_baud_rate_generator",
"soc_clock_node_uart_baud_rate_generator_is_configurable",
"soc_has_clock_node_uart_mem_clock",
"soc_has_clock_node_sdm_function_clock",
"soc_has_clock_node_rmt_sclk",
"soc_clock_node_rmt_sclk_is_configurable",
"soc_has_clock_node_i2c_function_clock",
"soc_clock_node_i2c_function_clock_is_configurable",
"soc_has_clock_node_spi_function_clock",
"soc_has_clock_node_i2s_mclk",
"soc_clock_node_i2s_mclk_is_configurable",
"has_dram_region",
"has_dram2_uninit_region",
"has_irom_region",
"has_drom_region",
],
cfgs: &[
"cargo:rustc-cfg=esp32s2",
"cargo:rustc-cfg=xtensa",
"cargo:rustc-cfg=single_core",
"cargo:rustc-cfg=soc_has_aes",
"cargo:rustc-cfg=soc_has_apb_saradc",
"cargo:rustc-cfg=soc_has_ds",
"cargo:rustc-cfg=soc_has_efuse",
"cargo:rustc-cfg=soc_has_extmem",
"cargo:rustc-cfg=soc_has_mmu_table",
"cargo:rustc-cfg=soc_has_fe",
"cargo:rustc-cfg=soc_has_fe2",
"cargo:rustc-cfg=soc_has_gpio",
"cargo:rustc-cfg=soc_has_gpio_sd",
"cargo:rustc-cfg=soc_has_hmac",
"cargo:rustc-cfg=soc_has_i2c_ana_mst",
"cargo:rustc-cfg=soc_has_i2c0",
"cargo:rustc-cfg=soc_has_i2c1",
"cargo:rustc-cfg=soc_has_i2s0",
"cargo:rustc-cfg=soc_has_interrupt_core0",
"cargo:rustc-cfg=soc_has_io_mux",
"cargo:rustc-cfg=soc_has_ledc",
"cargo:rustc-cfg=soc_has_nrx",
"cargo:rustc-cfg=soc_has_pcnt",
"cargo:rustc-cfg=soc_has_pms",
"cargo:rustc-cfg=soc_has_rmt",
"cargo:rustc-cfg=soc_has_rng",
"cargo:rustc-cfg=soc_has_rsa",
"cargo:rustc-cfg=soc_has_lpwr",
"cargo:rustc-cfg=soc_has_rtc_timer",
"cargo:rustc-cfg=soc_has_lp_i2c0",
"cargo:rustc-cfg=soc_has_rtc_io",
"cargo:rustc-cfg=soc_has_sens",
"cargo:rustc-cfg=soc_has_sha",
"cargo:rustc-cfg=soc_has_spi0",
"cargo:rustc-cfg=soc_has_spi1",
"cargo:rustc-cfg=soc_has_spi2",
"cargo:rustc-cfg=soc_has_spi3",
"cargo:rustc-cfg=soc_has_syscon",
"cargo:rustc-cfg=soc_has_system",
"cargo:rustc-cfg=soc_has_systimer",
"cargo:rustc-cfg=soc_has_timg0",
"cargo:rustc-cfg=soc_has_timg1",
"cargo:rustc-cfg=soc_has_twai0",
"cargo:rustc-cfg=soc_has_uart0",
"cargo:rustc-cfg=soc_has_uart1",
"cargo:rustc-cfg=soc_has_uhci0",
"cargo:rustc-cfg=soc_has_usb_fs",
"cargo:rustc-cfg=soc_has_usb_wrap",
"cargo:rustc-cfg=soc_has_xts_aes",
"cargo:rustc-cfg=soc_has_wifi",
"cargo:rustc-cfg=soc_has_adc1",
"cargo:rustc-cfg=soc_has_adc2",
"cargo:rustc-cfg=soc_has_dac1",
"cargo:rustc-cfg=soc_has_dac2",
"cargo:rustc-cfg=soc_has_flash",
"cargo:rustc-cfg=soc_has_gpio_dedicated",
"cargo:rustc-cfg=soc_has_psram",
"cargo:rustc-cfg=soc_has_ulp_riscv_core",
"cargo:rustc-cfg=soc_has_from_cpu_intr0",
"cargo:rustc-cfg=soc_has_from_cpu_intr1",
"cargo:rustc-cfg=soc_has_from_cpu_intr2",
"cargo:rustc-cfg=soc_has_from_cpu_intr3",
"cargo:rustc-cfg=gpio_driver_supported",
"cargo:rustc-cfg=dedicated_gpio_driver_supported",
"cargo:rustc-cfg=io_mux_driver_supported",
"cargo:rustc-cfg=lp_io_driver_supported",
"cargo:rustc-cfg=uart_driver_supported",
"cargo:rustc-cfg=i2c_master_driver_supported",
"cargo:rustc-cfg=spi_master_driver_supported",
"cargo:rustc-cfg=spi_slave_driver_supported",
"cargo:rustc-cfg=i2s_driver_supported",
"cargo:rustc-cfg=rmt_driver_supported",
"cargo:rustc-cfg=twai_driver_supported",
"cargo:rustc-cfg=usb_otg_driver_supported",
"cargo:rustc-cfg=wifi_driver_supported",
"cargo:rustc-cfg=phy_driver_supported",
"cargo:rustc-cfg=adc_driver_supported",
"cargo:rustc-cfg=dac_driver_supported",
"cargo:rustc-cfg=temp_sensor_driver_supported",
"cargo:rustc-cfg=ledc_driver_supported",
"cargo:rustc-cfg=pcnt_driver_supported",
"cargo:rustc-cfg=lp_timer_driver_supported",
"cargo:rustc-cfg=sdm_driver_supported",
"cargo:rustc-cfg=systimer_driver_supported",
"cargo:rustc-cfg=timergroup_driver_supported",
"cargo:rustc-cfg=aes_driver_supported",
"cargo:rustc-cfg=hmac_driver_supported",
"cargo:rustc-cfg=rng_driver_supported",
"cargo:rustc-cfg=rsa_driver_supported",
"cargo:rustc-cfg=sha_driver_supported",
"cargo:rustc-cfg=sleep_driver_supported",
"cargo:rustc-cfg=ulp_riscv_driver_supported",
"cargo:rustc-cfg=dma_driver_supported",
"cargo:rustc-cfg=interrupts_driver_supported",
"cargo:rustc-cfg=mmu_driver_supported",
"cargo:rustc-cfg=flash_driver_supported",
"cargo:rustc-cfg=psram_driver_supported",
"cargo:rustc-cfg=rom_driver_supported",
"cargo:rustc-cfg=soc_driver_supported",
"cargo:rustc-cfg=uart_uart0",
"cargo:rustc-cfg=uart_uart1",
"cargo:rustc-cfg=i2c_master_i2c0",
"cargo:rustc-cfg=i2c_master_i2c1",
"cargo:rustc-cfg=spi_master_spi2",
"cargo:rustc-cfg=spi_master_spi3",
"cargo:rustc-cfg=spi_slave_spi2",
"cargo:rustc-cfg=spi_slave_spi3",
"cargo:rustc-cfg=i2s_i2s0",
"cargo:rustc-cfg=adc_adc1",
"cargo:rustc-cfg=adc_adc2",
"cargo:rustc-cfg=dac_dac1",
"cargo:rustc-cfg=dac_dac2",
"cargo:rustc-cfg=pcnt_PCNT",
"cargo:rustc-cfg=timergroup_timg0",
"cargo:rustc-cfg=timergroup_timg1",
"cargo:rustc-cfg=gpio_version=\"2\"",
"cargo:rustc-cfg=gpio_has_input_sync",
"cargo:rustc-cfg=gpio_gpio_function=\"1\"",
"cargo:rustc-cfg=gpio_constant_0_input=\"60\"",
"cargo:rustc-cfg=gpio_constant_1_input=\"56\"",
"cargo:rustc-cfg=gpio_func_in_sel_offset=\"0\"",
"cargo:rustc-cfg=soc_has_xtal32k_pads",
"cargo:rustc-cfg=gpio_has_bank_1",
"cargo:rustc-cfg=gpio_input_signal_max=\"242\"",
"cargo:rustc-cfg=gpio_output_signal_max=\"256\"",
"cargo:rustc-cfg=dedicated_gpio_version=\"esp32s2\"",
"cargo:rustc-cfg=dedicated_gpio_needs_initialization",
"cargo:rustc-cfg=lp_io_version=\"v2\"",
"cargo:rustc-cfg=uart_ram_size=\"128\"",
"cargo:rustc-cfg=uart_version=\"1\"",
"cargo:rustc-cfg=i2c_master_version=\"2\"",
"cargo:rustc-cfg=i2c_master_has_bus_timeout_enable",
"cargo:rustc-cfg=i2c_master_separate_filter_config_registers",
"cargo:rustc-cfg=i2c_master_has_arbitration_en",
"cargo:rustc-cfg=i2c_master_has_pd_en",
"cargo:rustc-cfg=i2c_master_i2c0_data_register_ahb_address=\"1610690588\"",
"cargo:rustc-cfg=i2c_master_i2c0_data_register_ahb_address_is_set",
"cargo:rustc-cfg=i2c_master_max_bus_timeout=\"16777215\"",
"cargo:rustc-cfg=i2c_master_ll_intr_mask=\"131071\"",
"cargo:rustc-cfg=i2c_master_fifo_size=\"32\"",
"cargo:rustc-cfg=spi_master_version=\"2\"",
"cargo:rustc-cfg=spi_master_fifo_size=\"72\"",
"cargo:rustc-cfg=spi_master_bit_order_is_bool",
"cargo:rustc-cfg=spi_master_has_octal",
"cargo:rustc-cfg=spi_master_has_dma_segmented_transfer",
"cargo:rustc-cfg=i2s_version=\"1\"",
"cargo:rustc-cfg=i2s_version_is_set",
"cargo:rustc-cfg=i2s_mclk_divider_bit_width=\"6\"",
"cargo:rustc-cfg=i2s_mclk_divider_bit_width_is_set",
"cargo:rustc-cfg=i2s_max_ws_width=\"128\"",
"cargo:rustc-cfg=i2s_max_ws_width_is_set",
"cargo:rustc-cfg=rmt_ram_start=\"1061250048\"",
"cargo:rustc-cfg=rmt_channel_ram_size=\"64\"",
"cargo:rustc-cfg=rmt_has_tx_immediate_stop",
"cargo:rustc-cfg=rmt_has_tx_loop_count",
"cargo:rustc-cfg=rmt_has_tx_carrier_data_only",
"cargo:rustc-cfg=rmt_has_tx_sync",
"cargo:rustc-cfg=rmt_has_rx_demodulation",
"cargo:rustc-cfg=rmt_has_per_channel_clock",
"cargo:rustc-cfg=usb_otg_fifo_depth_words=\"256\"",
"cargo:rustc-cfg=wifi_mac_version=\"1\"",
"cargo:rustc-cfg=wifi_csi_supported",
"cargo:rustc-cfg=ledc_version=\"2\"",
"cargo:rustc-cfg=ledc_channel_count=\"8\"",
"cargo:rustc-cfg=soc_has_sdm_ch0",
"cargo:rustc-cfg=soc_has_sdm_ch1",
"cargo:rustc-cfg=soc_has_sdm_ch2",
"cargo:rustc-cfg=soc_has_sdm_ch3",
"cargo:rustc-cfg=soc_has_sdm_ch4",
"cargo:rustc-cfg=soc_has_sdm_ch5",
"cargo:rustc-cfg=soc_has_sdm_ch6",
"cargo:rustc-cfg=soc_has_sdm_ch7",
"cargo:rustc-cfg=timergroup_timg_has_timer1",
"cargo:rustc-cfg=timergroup_rc_fast_calibration_is_set",
"cargo:rustc-cfg=aes_dma_mode_ecb",
"cargo:rustc-cfg=aes_dma_mode_cbc",
"cargo:rustc-cfg=aes_dma_mode_ofb",
"cargo:rustc-cfg=aes_dma_mode_ctr",
"cargo:rustc-cfg=aes_dma_mode_cfb8",
"cargo:rustc-cfg=aes_dma_mode_cfb128",
"cargo:rustc-cfg=aes_dma_mode_gcm",
"cargo:rustc-cfg=aes_has_split_text_registers",
"cargo:rustc-cfg=aes_endianness_configurable",
"cargo:rustc-cfg=rng_apb_cycle_wait_num=\"16\"",
"cargo:rustc-cfg=rng_trng_supported",
"cargo:rustc-cfg=rsa_version=\"2\"",
"cargo:rustc-cfg=rsa_size_increment=\"32\"",
"cargo:rustc-cfg=rsa_memory_size_bytes=\"512\"",
"cargo:rustc-cfg=sleep_light_sleep",
"cargo:rustc-cfg=sleep_deep_sleep",
"cargo:rustc-cfg=sleep_has_wakeup_source_ext0",
"cargo:rustc-cfg=sleep_has_wakeup_source_ext1",
"cargo:rustc-cfg=sleep_has_wakeup_source_gpio",
"cargo:rustc-cfg=sleep_has_wakeup_source_timer",
"cargo:rustc-cfg=sleep_has_wakeup_source_wifi",
"cargo:rustc-cfg=sleep_has_wakeup_source_uart",
"cargo:rustc-cfg=sleep_has_wakeup_source_touch",
"cargo:rustc-cfg=sleep_has_wakeup_source_ulp_riscv",
"cargo:rustc-cfg=sleep_has_wakeup_source_ulp_riscv_trap",
"cargo:rustc-cfg=sleep_ext1_version=\"1\"",
"cargo:rustc-cfg=sleep_ext1_version_is_set",
"cargo:rustc-cfg=sleep_pin_wakeup_version=\"1\"",
"cargo:rustc-cfg=sleep_pin_wakeup_version_is_set",
"cargo:rustc-cfg=sleep_deep_sleep_needs_gpio_isolation",
"cargo:rustc-cfg=dma_ext_mem_configurable_block_size",
"cargo:rustc-cfg=soc_has_dma_spi2",
"cargo:rustc-cfg=soc_has_dma_spi3",
"cargo:rustc-cfg=soc_has_dma_i2s0",
"cargo:rustc-cfg=soc_has_dma_crypto",
"cargo:rustc-cfg=soc_has_dma_copy",
"cargo:rustc-cfg=dma_supports_mem2mem",
"cargo:rustc-cfg=spi_master_supports_dma",
"cargo:rustc-cfg=spi_master_dma_engine=\"SPI_DMA\"",
"cargo:rustc-cfg=spi_slave_supports_dma",
"cargo:rustc-cfg=spi_slave_dma_engine=\"SPI_DMA\"",
"cargo:rustc-cfg=i2s_supports_dma",
"cargo:rustc-cfg=i2s_dma_engine=\"I2S_DMA\"",
"cargo:rustc-cfg=aes_supports_dma",
"cargo:rustc-cfg=aes_dma_engine=\"CRYPTO_DMA\"",
"cargo:rustc-cfg=sha_supports_dma",
"cargo:rustc-cfg=sha_dma_engine=\"CRYPTO_DMA\"",
"cargo:rustc-cfg=dma_can_access_psram",
"cargo:rustc-cfg=interrupts_status_registers=\"3\"",
"cargo:rustc-cfg=interrupt_controller=\"xtensa\"",
"cargo:rustc-cfg=context_switch_source=\"software0\"",
"cargo:rustc-cfg=mmu_page_size=\"65536\"",
"cargo:rustc-cfg=mmu_entry_num=\"256\"",
"cargo:rustc-cfg=psram_extmem_origin=\"1062207488\"",
"cargo:rustc-cfg=rom_has_crc_le",
"cargo:rustc-cfg=rom_has_md5_bsd",
"cargo:rustc-cfg=soc_has_swd_watchdog",
"cargo:rustc-cfg=soc_cpu_mcause_mask=\"0\"",
"cargo:rustc-cfg=soc_has_clock_node_xtal_clk",
"cargo:rustc-cfg=soc_clock_node_xtal_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_pll_clk",
"cargo:rustc-cfg=soc_clock_node_pll_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_apll_clk",
"cargo:rustc-cfg=soc_clock_node_apll_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_pll_f160m_clk",
"cargo:rustc-cfg=soc_has_clock_node_rc_fast_clk",
"cargo:rustc-cfg=soc_has_clock_node_cpu_pll_div_in",
"cargo:rustc-cfg=soc_clock_node_cpu_pll_div_in_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_cpu_pll_div",
"cargo:rustc-cfg=soc_clock_node_cpu_pll_div_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_system_pre_div_in",
"cargo:rustc-cfg=soc_clock_node_system_pre_div_in_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_system_pre_div",
"cargo:rustc-cfg=soc_clock_node_system_pre_div_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_cpu_clk",
"cargo:rustc-cfg=soc_clock_node_cpu_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_apb_clk_cpu_div2",
"cargo:rustc-cfg=soc_has_clock_node_apb_clk_80m",
"cargo:rustc-cfg=soc_has_clock_node_apb_clk",
"cargo:rustc-cfg=soc_clock_node_apb_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_ref_tick_xtal",
"cargo:rustc-cfg=soc_clock_node_ref_tick_xtal_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_ref_tick_ck8m",
"cargo:rustc-cfg=soc_clock_node_ref_tick_ck8m_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_ref_tick",
"cargo:rustc-cfg=soc_clock_node_ref_tick_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_xtal32k_clk",
"cargo:rustc-cfg=soc_has_clock_node_rc_slow_clk",
"cargo:rustc-cfg=soc_has_clock_node_rc_fast_div_clk",
"cargo:rustc-cfg=soc_has_clock_node_xtal_div_clk",
"cargo:rustc-cfg=soc_has_clock_node_rtc_slow_clk",
"cargo:rustc-cfg=soc_clock_node_rtc_slow_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_rtc_fast_clk",
"cargo:rustc-cfg=soc_clock_node_rtc_fast_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_uart_mem_clk",
"cargo:rustc-cfg=soc_has_clock_node_timg_calibration_clock",
"cargo:rustc-cfg=soc_clock_node_timg_calibration_clock_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_timg_function_clock",
"cargo:rustc-cfg=soc_clock_node_timg_function_clock_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_uart_function_clock",
"cargo:rustc-cfg=soc_clock_node_uart_function_clock_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_uart_baud_rate_generator",
"cargo:rustc-cfg=soc_clock_node_uart_baud_rate_generator_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_uart_mem_clock",
"cargo:rustc-cfg=soc_has_clock_node_sdm_function_clock",
"cargo:rustc-cfg=soc_has_clock_node_rmt_sclk",
"cargo:rustc-cfg=soc_clock_node_rmt_sclk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_i2c_function_clock",
"cargo:rustc-cfg=soc_clock_node_i2c_function_clock_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_spi_function_clock",
"cargo:rustc-cfg=soc_has_clock_node_i2s_mclk",
"cargo:rustc-cfg=soc_clock_node_i2s_mclk_is_configurable",
"cargo:rustc-cfg=has_dram_region",
"cargo:rustc-cfg=has_dram2_uninit_region",
"cargo:rustc-cfg=has_irom_region",
"cargo:rustc-cfg=has_drom_region",
],
memory_layout: &MemoryLayout {
regions: &[
(
"dram",
MemoryRegion {
address_range: 0x3FFB0000..0x40000000,
},
),
(
"dram2_uninit",
MemoryRegion {
address_range: 0x3FFDE000..0x40000000,
},
),
(
"irom",
MemoryRegion {
address_range: 0x40080000..0x40800000,
},
),
(
"drom",
MemoryRegion {
address_range: 0x3F000000..0x3F400000,
},
),
],
},
pins: &[
PinInfo {
pin: 0,
limitations: &["strapping"],
},
PinInfo {
pin: 1,
limitations: &[],
},
PinInfo {
pin: 2,
limitations: &[],
},
PinInfo {
pin: 3,
limitations: &[],
},
PinInfo {
pin: 4,
limitations: &[],
},
PinInfo {
pin: 5,
limitations: &[],
},
PinInfo {
pin: 6,
limitations: &[],
},
PinInfo {
pin: 7,
limitations: &[],
},
PinInfo {
pin: 8,
limitations: &[],
},
PinInfo {
pin: 9,
limitations: &[],
},
PinInfo {
pin: 10,
limitations: &[],
},
PinInfo {
pin: 11,
limitations: &[],
},
PinInfo {
pin: 12,
limitations: &[],
},
PinInfo {
pin: 13,
limitations: &[],
},
PinInfo {
pin: 14,
limitations: &[],
},
PinInfo {
pin: 15,
limitations: &[],
},
PinInfo {
pin: 16,
limitations: &[],
},
PinInfo {
pin: 17,
limitations: &[],
},
PinInfo {
pin: 18,
limitations: &[],
},
PinInfo {
pin: 19,
limitations: &[],
},
PinInfo {
pin: 20,
limitations: &[],
},
PinInfo {
pin: 21,
limitations: &[],
},
PinInfo {
pin: 26,
limitations: &["spi_psram"],
},
PinInfo {
pin: 27,
limitations: &["spi_flash", "spi_psram"],
},
PinInfo {
pin: 28,
limitations: &["spi_flash", "spi_psram"],
},
PinInfo {
pin: 29,
limitations: &["spi_flash"],
},
PinInfo {
pin: 30,
limitations: &["spi_flash", "spi_psram"],
},
PinInfo {
pin: 31,
limitations: &["spi_flash", "spi_psram"],
},
PinInfo {
pin: 32,
limitations: &["spi_flash", "spi_psram"],
},
PinInfo {
pin: 33,
limitations: &["octal_flash", "octal_psram"],
},
PinInfo {
pin: 34,
limitations: &["octal_flash", "octal_psram"],
},
PinInfo {
pin: 35,
limitations: &["octal_flash", "octal_psram"],
},
PinInfo {
pin: 36,
limitations: &["octal_flash", "octal_psram"],
},
PinInfo {
pin: 37,
limitations: &["octal_flash", "octal_psram"],
},
PinInfo {
pin: 38,
limitations: &[],
},
PinInfo {
pin: 39,
limitations: &["jtag"],
},
PinInfo {
pin: 40,
limitations: &["jtag"],
},
PinInfo {
pin: 41,
limitations: &["jtag"],
},
PinInfo {
pin: 42,
limitations: &["jtag"],
},
PinInfo {
pin: 43,
limitations: &["bootloader_uart"],
},
PinInfo {
pin: 44,
limitations: &["bootloader_uart"],
},
PinInfo {
pin: 45,
limitations: &["strapping"],
},
PinInfo {
pin: 46,
limitations: &["strapping"],
},
],
},
Self::Esp32s3 => Config {
architecture: "xtensa",
target: "xtensa-esp32s3-none-elf",
symbols: &[
"esp32s3",
"xtensa",
"multi_core",
"soc_has_aes",
"soc_has_apb_ctrl",
"soc_has_apb_saradc",
"soc_has_assist_debug",
"soc_has_dma",
"soc_has_ds",
"soc_has_efuse",
"soc_has_extmem",
"soc_has_mmu_table",
"soc_has_gpio",
"soc_has_gpio_sd",
"soc_has_hmac",
"soc_has_i2c_ana_mst",
"soc_has_i2c0",
"soc_has_i2c1",
"soc_has_i2s0",
"soc_has_i2s1",
"soc_has_interrupt_core0",
"soc_has_interrupt_core1",
"soc_has_io_mux",
"soc_has_lcd_cam",
"soc_has_ledc",
"soc_has_lpwr",
"soc_has_rtc_timer",
"soc_has_mcpwm0",
"soc_has_mcpwm1",
"soc_has_pcnt",
"soc_has_peri_backup",
"soc_has_rmt",
"soc_has_rng",
"soc_has_rsa",
"soc_has_rtc_cntl",
"soc_has_lp_i2c0",
"soc_has_rtc_io",
"soc_has_sdhost",
"soc_has_sens",
"soc_has_sensitive",
"soc_has_sha",
"soc_has_spi0",
"soc_has_spi1",
"soc_has_spi2",
"soc_has_spi3",
"soc_has_system",
"soc_has_systimer",
"soc_has_timg0",
"soc_has_timg1",
"soc_has_twai0",
"soc_has_uart0",
"soc_has_uart1",
"soc_has_uart2",
"soc_has_uhci0",
"soc_has_usb_fs",
"soc_has_usb_device",
"soc_has_usb_wrap",
"soc_has_wcl",
"soc_has_xts_aes",
"soc_has_adc1",
"soc_has_adc2",
"soc_has_bt",
"soc_has_cpu_ctrl",
"soc_has_flash",
"soc_has_gpio_dedicated",
"soc_has_psram",
"soc_has_ulp_riscv_core",
"soc_has_wifi",
"soc_has_ipc",
"soc_has_from_cpu_intr0",
"soc_has_from_cpu_intr1",
"soc_has_from_cpu_intr2",
"soc_has_from_cpu_intr3",
"gpio_driver_supported",
"dedicated_gpio_driver_supported",
"io_mux_driver_supported",
"lp_io_driver_supported",
"uart_driver_supported",
"uhci_driver_supported",
"i2c_master_driver_supported",
"lp_i2c_master_driver_supported",
"spi_master_driver_supported",
"spi_slave_driver_supported",
"i2s_driver_supported",
"rmt_driver_supported",
"sdmmc_driver_supported",
"twai_driver_supported",
"usb_otg_driver_supported",
"usb_serial_jtag_driver_supported",
"bt_driver_supported",
"wifi_driver_supported",
"phy_driver_supported",
"camera_driver_supported",
"rgb_display_driver_supported",
"adc_driver_supported",
"temp_sensor_driver_supported",
"ledc_driver_supported",
"mcpwm_driver_supported",
"pcnt_driver_supported",
"lp_timer_driver_supported",
"sdm_driver_supported",
"systimer_driver_supported",
"timergroup_driver_supported",
"aes_driver_supported",
"hmac_driver_supported",
"rng_driver_supported",
"rsa_driver_supported",
"sha_driver_supported",
"sleep_driver_supported",
"ulp_riscv_driver_supported",
"assist_debug_driver_supported",
"dma_driver_supported",
"interrupts_driver_supported",
"mmu_driver_supported",
"flash_driver_supported",
"psram_driver_supported",
"rom_driver_supported",
"soc_driver_supported",
"uart_uart0",
"uart_uart1",
"uart_uart2",
"i2c_master_i2c0",
"i2c_master_i2c1",
"spi_master_spi2",
"spi_master_spi3",
"spi_slave_spi2",
"spi_slave_spi3",
"i2s_i2s0",
"i2s_i2s1",
"adc_adc1",
"adc_adc2",
"pcnt_PCNT",
"timergroup_timg0",
"timergroup_timg1",
"gpio_version=\"2\"",
"gpio_has_input_sync",
"gpio_gpio_function=\"1\"",
"gpio_constant_0_input=\"60\"",
"gpio_constant_1_input=\"56\"",
"gpio_func_in_sel_offset=\"0\"",
"soc_has_xtal32k_pads",
"gpio_has_bank_1",
"gpio_input_signal_max=\"255\"",
"gpio_output_signal_max=\"256\"",
"dedicated_gpio_version=\"esp32s3\"",
"dedicated_gpio_needs_initialization",
"lp_io_version=\"v2\"",
"uart_ram_size=\"128\"",
"uart_version=\"1\"",
"uart_has_sclk_divider",
"uart_has_sclk_enable",
"i2c_master_version=\"3\"",
"i2c_master_has_fsm_timeouts",
"i2c_master_has_bus_timeout_enable",
"i2c_master_can_estimate_nack_reason",
"i2c_master_has_conf_update",
"i2c_master_has_arbitration_en",
"i2c_master_has_tx_fifo_watermark",
"i2c_master_bus_timeout_is_exponential",
"i2c_master_has_pd_en",
"i2c_master_max_bus_timeout=\"31\"",
"i2c_master_ll_intr_mask=\"262143\"",
"i2c_master_fifo_size=\"32\"",
"lp_i2c_master_version=\"rtc_i2c\"",
"spi_master_version=\"3\"",
"spi_master_fifo_size=\"64\"",
"spi_master_has_octal",
"spi_master_has_app_interrupts",
"spi_master_has_dma_segmented_transfer",
"i2s_version=\"2\"",
"i2s_version_is_set",
"i2s_mclk_divider_bit_width=\"9\"",
"i2s_mclk_divider_bit_width_is_set",
"i2s_max_ws_width=\"128\"",
"i2s_max_ws_width_is_set",
"i2s_supports_pdm_tx",
"i2s_supports_pdm_rx",
"i2s_supports_pcm2pdm",
"i2s_supports_pdm2pcm",
"rmt_ram_start=\"1610704896\"",
"rmt_channel_ram_size=\"48\"",
"rmt_has_tx_immediate_stop",
"rmt_has_tx_loop_count",
"rmt_has_tx_loop_auto_stop",
"rmt_has_tx_carrier_data_only",
"rmt_has_tx_sync",
"rmt_has_rx_wrap",
"rmt_has_rx_demodulation",
"sdmmc_delay_phase_num=\"4\"",
"sdmmc_delay_phase_num_is_set",
"sdmmc_has_gpio_matrix",
"usb_otg_fifo_depth_words=\"256\"",
"bt_controller=\"btdm\"",
"wifi_mac_version=\"1\"",
"wifi_csi_supported",
"phy_combo_module",
"phy_backed_up_digital_register_count=\"21\"",
"phy_backed_up_digital_register_count_is_set",
"rgb_display_output_lines=\"16\"",
"ledc_version=\"2\"",
"ledc_channel_count=\"8\"",
"soc_has_sdm_ch0",
"soc_has_sdm_ch1",
"soc_has_sdm_ch2",
"soc_has_sdm_ch3",
"soc_has_sdm_ch4",
"soc_has_sdm_ch5",
"soc_has_sdm_ch6",
"soc_has_sdm_ch7",
"timergroup_timg_has_timer1",
"timergroup_rc_fast_calibration_is_set",
"aes_dma_mode_ecb",
"aes_dma_mode_cbc",
"aes_dma_mode_ofb",
"aes_dma_mode_ctr",
"aes_dma_mode_cfb8",
"aes_dma_mode_cfb128",
"aes_has_split_text_registers",
"rng_apb_cycle_wait_num=\"16\"",
"rng_trng_supported",
"rsa_version=\"2\"",
"rsa_size_increment=\"32\"",
"rsa_memory_size_bytes=\"512\"",
"sleep_light_sleep",
"sleep_deep_sleep",
"sleep_has_wakeup_source_ext0",
"sleep_has_wakeup_source_ext1",
"sleep_has_wakeup_source_gpio",
"sleep_has_wakeup_source_timer",
"sleep_has_wakeup_source_sdio",
"sleep_has_wakeup_source_wifi",
"sleep_has_wakeup_source_uart",
"sleep_has_wakeup_source_touch",
"sleep_has_wakeup_source_bt",
"sleep_has_wakeup_source_ulp_riscv",
"sleep_has_wakeup_source_ulp_riscv_trap",
"sleep_ext1_version=\"1\"",
"sleep_ext1_version_is_set",
"sleep_pin_wakeup_version=\"1\"",
"sleep_pin_wakeup_version_is_set",
"sleep_deep_sleep_needs_gpio_isolation",
"assist_debug_has_region_monitor",
"dma_mem2mem_requires_peripheral",
"dma_ext_mem_configurable_block_size",
"dma_separate_in_out_interrupts",
"dma_gdma_version=\"1\"",
"dma_gdma_version_is_set",
"soc_has_dma_ch0",
"soc_has_dma_ch1",
"soc_has_dma_ch2",
"soc_has_dma_ch3",
"soc_has_dma_ch4",
"dma_supports_mem2mem",
"aes_supports_dma",
"aes_dma_engine=\"AHB_GDMA\"",
"sha_supports_dma",
"sha_dma_engine=\"AHB_GDMA\"",
"spi_master_supports_dma",
"spi_master_dma_engine=\"AHB_GDMA\"",
"spi_slave_supports_dma",
"spi_slave_dma_engine=\"AHB_GDMA\"",
"rmt_supports_dma",
"rmt_dma_engine=\"AHB_GDMA\"",
"uhci_supports_dma",
"uhci_dma_engine=\"AHB_GDMA\"",
"i2s_supports_dma",
"i2s_dma_engine=\"AHB_GDMA\"",
"lcd_cam_supports_dma",
"lcd_cam_dma_engine=\"AHB_GDMA\"",
"dma_can_access_psram",
"dma_max_priority=\"9\"",
"dma_max_priority_is_set",
"interrupts_status_registers=\"4\"",
"interrupt_controller=\"xtensa\"",
"context_switch_source=\"software0\"",
"mmu_page_size=\"65536\"",
"mmu_entry_num=\"384\"",
"psram_octal_spi",
"psram_extmem_origin=\"1006632960\"",
"rom_has_crc_le",
"rom_has_crc_be",
"rom_has_md5_bsd",
"soc_multi_core_enabled",
"soc_has_swd_watchdog",
"soc_cpu_mcause_mask=\"0\"",
"soc_has_clock_node_xtal_clk",
"soc_clock_node_xtal_clk_is_configurable",
"soc_has_clock_node_pll_clk",
"soc_clock_node_pll_clk_is_configurable",
"soc_has_clock_node_rc_fast_clk",
"soc_has_clock_node_xtal32k_clk",
"soc_has_clock_node_rc_slow_clk",
"soc_has_clock_node_rc_fast_div_clk",
"soc_has_clock_node_system_pre_div_in",
"soc_clock_node_system_pre_div_in_is_configurable",
"soc_has_clock_node_system_pre_div",
"soc_clock_node_system_pre_div_is_configurable",
"soc_has_clock_node_cpu_pll_div_out",
"soc_clock_node_cpu_pll_div_out_is_configurable",
"soc_has_clock_node_cpu_clk",
"soc_clock_node_cpu_clk_is_configurable",
"soc_has_clock_node_pll_d2",
"soc_has_clock_node_pll_160m",
"soc_has_clock_node_apb_80m",
"soc_has_clock_node_apb_clk",
"soc_clock_node_apb_clk_is_configurable",
"soc_has_clock_node_crypto_pwm_clk",
"soc_clock_node_crypto_pwm_clk_is_configurable",
"soc_has_clock_node_rc_fast_clk_div_n",
"soc_clock_node_rc_fast_clk_div_n_is_configurable",
"soc_has_clock_node_xtal_div_clk",
"soc_has_clock_node_rtc_slow_clk",
"soc_clock_node_rtc_slow_clk_is_configurable",
"soc_has_clock_node_rtc_fast_clk",
"soc_clock_node_rtc_fast_clk_is_configurable",
"soc_has_clock_node_low_power_clk",
"soc_clock_node_low_power_clk_is_configurable",
"soc_has_clock_node_uart_mem_clk",
"soc_has_clock_node_timg_calibration_clock",
"soc_clock_node_timg_calibration_clock_is_configurable",
"soc_has_clock_node_mcpwm_function_clock",
"soc_has_clock_node_timg_function_clock",
"soc_clock_node_timg_function_clock_is_configurable",
"soc_has_clock_node_sdm_function_clock",
"soc_has_clock_node_rmt_sclk",
"soc_clock_node_rmt_sclk_is_configurable",
"soc_has_clock_node_uart_function_clock",
"soc_clock_node_uart_function_clock_is_configurable",
"soc_has_clock_node_uart_baud_rate_generator",
"soc_clock_node_uart_baud_rate_generator_is_configurable",
"soc_has_clock_node_uart_mem_clock",
"soc_has_clock_node_i2c_function_clock",
"soc_clock_node_i2c_function_clock_is_configurable",
"soc_has_clock_node_lcd_cam_lcd_clock",
"soc_clock_node_lcd_cam_lcd_clock_is_configurable",
"soc_has_clock_node_lcd_cam_cam_clock",
"soc_clock_node_lcd_cam_cam_clock_is_configurable",
"soc_has_clock_node_spi_function_clock",
"soc_clock_node_spi_function_clock_is_configurable",
"soc_has_clock_node_i2s_tx_clk",
"soc_clock_node_i2s_tx_clk_is_configurable",
"soc_has_clock_node_i2s_rx_clk",
"soc_clock_node_i2s_rx_clk_is_configurable",
"soc_has_clock_node_i2s_mclk_out",
"soc_clock_node_i2s_mclk_out_is_configurable",
"has_dram_region",
"has_dram2_uninit_region",
"has_irom_region",
"has_drom_region",
],
cfgs: &[
"cargo:rustc-cfg=esp32s3",
"cargo:rustc-cfg=xtensa",
"cargo:rustc-cfg=multi_core",
"cargo:rustc-cfg=soc_has_aes",
"cargo:rustc-cfg=soc_has_apb_ctrl",
"cargo:rustc-cfg=soc_has_apb_saradc",
"cargo:rustc-cfg=soc_has_assist_debug",
"cargo:rustc-cfg=soc_has_dma",
"cargo:rustc-cfg=soc_has_ds",
"cargo:rustc-cfg=soc_has_efuse",
"cargo:rustc-cfg=soc_has_extmem",
"cargo:rustc-cfg=soc_has_mmu_table",
"cargo:rustc-cfg=soc_has_gpio",
"cargo:rustc-cfg=soc_has_gpio_sd",
"cargo:rustc-cfg=soc_has_hmac",
"cargo:rustc-cfg=soc_has_i2c_ana_mst",
"cargo:rustc-cfg=soc_has_i2c0",
"cargo:rustc-cfg=soc_has_i2c1",
"cargo:rustc-cfg=soc_has_i2s0",
"cargo:rustc-cfg=soc_has_i2s1",
"cargo:rustc-cfg=soc_has_interrupt_core0",
"cargo:rustc-cfg=soc_has_interrupt_core1",
"cargo:rustc-cfg=soc_has_io_mux",
"cargo:rustc-cfg=soc_has_lcd_cam",
"cargo:rustc-cfg=soc_has_ledc",
"cargo:rustc-cfg=soc_has_lpwr",
"cargo:rustc-cfg=soc_has_rtc_timer",
"cargo:rustc-cfg=soc_has_mcpwm0",
"cargo:rustc-cfg=soc_has_mcpwm1",
"cargo:rustc-cfg=soc_has_pcnt",
"cargo:rustc-cfg=soc_has_peri_backup",
"cargo:rustc-cfg=soc_has_rmt",
"cargo:rustc-cfg=soc_has_rng",
"cargo:rustc-cfg=soc_has_rsa",
"cargo:rustc-cfg=soc_has_rtc_cntl",
"cargo:rustc-cfg=soc_has_lp_i2c0",
"cargo:rustc-cfg=soc_has_rtc_io",
"cargo:rustc-cfg=soc_has_sdhost",
"cargo:rustc-cfg=soc_has_sens",
"cargo:rustc-cfg=soc_has_sensitive",
"cargo:rustc-cfg=soc_has_sha",
"cargo:rustc-cfg=soc_has_spi0",
"cargo:rustc-cfg=soc_has_spi1",
"cargo:rustc-cfg=soc_has_spi2",
"cargo:rustc-cfg=soc_has_spi3",
"cargo:rustc-cfg=soc_has_system",
"cargo:rustc-cfg=soc_has_systimer",
"cargo:rustc-cfg=soc_has_timg0",
"cargo:rustc-cfg=soc_has_timg1",
"cargo:rustc-cfg=soc_has_twai0",
"cargo:rustc-cfg=soc_has_uart0",
"cargo:rustc-cfg=soc_has_uart1",
"cargo:rustc-cfg=soc_has_uart2",
"cargo:rustc-cfg=soc_has_uhci0",
"cargo:rustc-cfg=soc_has_usb_fs",
"cargo:rustc-cfg=soc_has_usb_device",
"cargo:rustc-cfg=soc_has_usb_wrap",
"cargo:rustc-cfg=soc_has_wcl",
"cargo:rustc-cfg=soc_has_xts_aes",
"cargo:rustc-cfg=soc_has_adc1",
"cargo:rustc-cfg=soc_has_adc2",
"cargo:rustc-cfg=soc_has_bt",
"cargo:rustc-cfg=soc_has_cpu_ctrl",
"cargo:rustc-cfg=soc_has_flash",
"cargo:rustc-cfg=soc_has_gpio_dedicated",
"cargo:rustc-cfg=soc_has_psram",
"cargo:rustc-cfg=soc_has_ulp_riscv_core",
"cargo:rustc-cfg=soc_has_wifi",
"cargo:rustc-cfg=soc_has_ipc",
"cargo:rustc-cfg=soc_has_from_cpu_intr0",
"cargo:rustc-cfg=soc_has_from_cpu_intr1",
"cargo:rustc-cfg=soc_has_from_cpu_intr2",
"cargo:rustc-cfg=soc_has_from_cpu_intr3",
"cargo:rustc-cfg=gpio_driver_supported",
"cargo:rustc-cfg=dedicated_gpio_driver_supported",
"cargo:rustc-cfg=io_mux_driver_supported",
"cargo:rustc-cfg=lp_io_driver_supported",
"cargo:rustc-cfg=uart_driver_supported",
"cargo:rustc-cfg=uhci_driver_supported",
"cargo:rustc-cfg=i2c_master_driver_supported",
"cargo:rustc-cfg=lp_i2c_master_driver_supported",
"cargo:rustc-cfg=spi_master_driver_supported",
"cargo:rustc-cfg=spi_slave_driver_supported",
"cargo:rustc-cfg=i2s_driver_supported",
"cargo:rustc-cfg=rmt_driver_supported",
"cargo:rustc-cfg=sdmmc_driver_supported",
"cargo:rustc-cfg=twai_driver_supported",
"cargo:rustc-cfg=usb_otg_driver_supported",
"cargo:rustc-cfg=usb_serial_jtag_driver_supported",
"cargo:rustc-cfg=bt_driver_supported",
"cargo:rustc-cfg=wifi_driver_supported",
"cargo:rustc-cfg=phy_driver_supported",
"cargo:rustc-cfg=camera_driver_supported",
"cargo:rustc-cfg=rgb_display_driver_supported",
"cargo:rustc-cfg=adc_driver_supported",
"cargo:rustc-cfg=temp_sensor_driver_supported",
"cargo:rustc-cfg=ledc_driver_supported",
"cargo:rustc-cfg=mcpwm_driver_supported",
"cargo:rustc-cfg=pcnt_driver_supported",
"cargo:rustc-cfg=lp_timer_driver_supported",
"cargo:rustc-cfg=sdm_driver_supported",
"cargo:rustc-cfg=systimer_driver_supported",
"cargo:rustc-cfg=timergroup_driver_supported",
"cargo:rustc-cfg=aes_driver_supported",
"cargo:rustc-cfg=hmac_driver_supported",
"cargo:rustc-cfg=rng_driver_supported",
"cargo:rustc-cfg=rsa_driver_supported",
"cargo:rustc-cfg=sha_driver_supported",
"cargo:rustc-cfg=sleep_driver_supported",
"cargo:rustc-cfg=ulp_riscv_driver_supported",
"cargo:rustc-cfg=assist_debug_driver_supported",
"cargo:rustc-cfg=dma_driver_supported",
"cargo:rustc-cfg=interrupts_driver_supported",
"cargo:rustc-cfg=mmu_driver_supported",
"cargo:rustc-cfg=flash_driver_supported",
"cargo:rustc-cfg=psram_driver_supported",
"cargo:rustc-cfg=rom_driver_supported",
"cargo:rustc-cfg=soc_driver_supported",
"cargo:rustc-cfg=uart_uart0",
"cargo:rustc-cfg=uart_uart1",
"cargo:rustc-cfg=uart_uart2",
"cargo:rustc-cfg=i2c_master_i2c0",
"cargo:rustc-cfg=i2c_master_i2c1",
"cargo:rustc-cfg=spi_master_spi2",
"cargo:rustc-cfg=spi_master_spi3",
"cargo:rustc-cfg=spi_slave_spi2",
"cargo:rustc-cfg=spi_slave_spi3",
"cargo:rustc-cfg=i2s_i2s0",
"cargo:rustc-cfg=i2s_i2s1",
"cargo:rustc-cfg=adc_adc1",
"cargo:rustc-cfg=adc_adc2",
"cargo:rustc-cfg=pcnt_PCNT",
"cargo:rustc-cfg=timergroup_timg0",
"cargo:rustc-cfg=timergroup_timg1",
"cargo:rustc-cfg=gpio_version=\"2\"",
"cargo:rustc-cfg=gpio_has_input_sync",
"cargo:rustc-cfg=gpio_gpio_function=\"1\"",
"cargo:rustc-cfg=gpio_constant_0_input=\"60\"",
"cargo:rustc-cfg=gpio_constant_1_input=\"56\"",
"cargo:rustc-cfg=gpio_func_in_sel_offset=\"0\"",
"cargo:rustc-cfg=soc_has_xtal32k_pads",
"cargo:rustc-cfg=gpio_has_bank_1",
"cargo:rustc-cfg=gpio_input_signal_max=\"255\"",
"cargo:rustc-cfg=gpio_output_signal_max=\"256\"",
"cargo:rustc-cfg=dedicated_gpio_version=\"esp32s3\"",
"cargo:rustc-cfg=dedicated_gpio_needs_initialization",
"cargo:rustc-cfg=lp_io_version=\"v2\"",
"cargo:rustc-cfg=uart_ram_size=\"128\"",
"cargo:rustc-cfg=uart_version=\"1\"",
"cargo:rustc-cfg=uart_has_sclk_divider",
"cargo:rustc-cfg=uart_has_sclk_enable",
"cargo:rustc-cfg=i2c_master_version=\"3\"",
"cargo:rustc-cfg=i2c_master_has_fsm_timeouts",
"cargo:rustc-cfg=i2c_master_has_bus_timeout_enable",
"cargo:rustc-cfg=i2c_master_can_estimate_nack_reason",
"cargo:rustc-cfg=i2c_master_has_conf_update",
"cargo:rustc-cfg=i2c_master_has_arbitration_en",
"cargo:rustc-cfg=i2c_master_has_tx_fifo_watermark",
"cargo:rustc-cfg=i2c_master_bus_timeout_is_exponential",
"cargo:rustc-cfg=i2c_master_has_pd_en",
"cargo:rustc-cfg=i2c_master_max_bus_timeout=\"31\"",
"cargo:rustc-cfg=i2c_master_ll_intr_mask=\"262143\"",
"cargo:rustc-cfg=i2c_master_fifo_size=\"32\"",
"cargo:rustc-cfg=lp_i2c_master_version=\"rtc_i2c\"",
"cargo:rustc-cfg=spi_master_version=\"3\"",
"cargo:rustc-cfg=spi_master_fifo_size=\"64\"",
"cargo:rustc-cfg=spi_master_has_octal",
"cargo:rustc-cfg=spi_master_has_app_interrupts",
"cargo:rustc-cfg=spi_master_has_dma_segmented_transfer",
"cargo:rustc-cfg=i2s_version=\"2\"",
"cargo:rustc-cfg=i2s_version_is_set",
"cargo:rustc-cfg=i2s_mclk_divider_bit_width=\"9\"",
"cargo:rustc-cfg=i2s_mclk_divider_bit_width_is_set",
"cargo:rustc-cfg=i2s_max_ws_width=\"128\"",
"cargo:rustc-cfg=i2s_max_ws_width_is_set",
"cargo:rustc-cfg=i2s_supports_pdm_tx",
"cargo:rustc-cfg=i2s_supports_pdm_rx",
"cargo:rustc-cfg=i2s_supports_pcm2pdm",
"cargo:rustc-cfg=i2s_supports_pdm2pcm",
"cargo:rustc-cfg=rmt_ram_start=\"1610704896\"",
"cargo:rustc-cfg=rmt_channel_ram_size=\"48\"",
"cargo:rustc-cfg=rmt_has_tx_immediate_stop",
"cargo:rustc-cfg=rmt_has_tx_loop_count",
"cargo:rustc-cfg=rmt_has_tx_loop_auto_stop",
"cargo:rustc-cfg=rmt_has_tx_carrier_data_only",
"cargo:rustc-cfg=rmt_has_tx_sync",
"cargo:rustc-cfg=rmt_has_rx_wrap",
"cargo:rustc-cfg=rmt_has_rx_demodulation",
"cargo:rustc-cfg=sdmmc_delay_phase_num=\"4\"",
"cargo:rustc-cfg=sdmmc_delay_phase_num_is_set",
"cargo:rustc-cfg=sdmmc_has_gpio_matrix",
"cargo:rustc-cfg=usb_otg_fifo_depth_words=\"256\"",
"cargo:rustc-cfg=bt_controller=\"btdm\"",
"cargo:rustc-cfg=wifi_mac_version=\"1\"",
"cargo:rustc-cfg=wifi_csi_supported",
"cargo:rustc-cfg=phy_combo_module",
"cargo:rustc-cfg=phy_backed_up_digital_register_count=\"21\"",
"cargo:rustc-cfg=phy_backed_up_digital_register_count_is_set",
"cargo:rustc-cfg=rgb_display_output_lines=\"16\"",
"cargo:rustc-cfg=ledc_version=\"2\"",
"cargo:rustc-cfg=ledc_channel_count=\"8\"",
"cargo:rustc-cfg=soc_has_sdm_ch0",
"cargo:rustc-cfg=soc_has_sdm_ch1",
"cargo:rustc-cfg=soc_has_sdm_ch2",
"cargo:rustc-cfg=soc_has_sdm_ch3",
"cargo:rustc-cfg=soc_has_sdm_ch4",
"cargo:rustc-cfg=soc_has_sdm_ch5",
"cargo:rustc-cfg=soc_has_sdm_ch6",
"cargo:rustc-cfg=soc_has_sdm_ch7",
"cargo:rustc-cfg=timergroup_timg_has_timer1",
"cargo:rustc-cfg=timergroup_rc_fast_calibration_is_set",
"cargo:rustc-cfg=aes_dma_mode_ecb",
"cargo:rustc-cfg=aes_dma_mode_cbc",
"cargo:rustc-cfg=aes_dma_mode_ofb",
"cargo:rustc-cfg=aes_dma_mode_ctr",
"cargo:rustc-cfg=aes_dma_mode_cfb8",
"cargo:rustc-cfg=aes_dma_mode_cfb128",
"cargo:rustc-cfg=aes_has_split_text_registers",
"cargo:rustc-cfg=rng_apb_cycle_wait_num=\"16\"",
"cargo:rustc-cfg=rng_trng_supported",
"cargo:rustc-cfg=rsa_version=\"2\"",
"cargo:rustc-cfg=rsa_size_increment=\"32\"",
"cargo:rustc-cfg=rsa_memory_size_bytes=\"512\"",
"cargo:rustc-cfg=sleep_light_sleep",
"cargo:rustc-cfg=sleep_deep_sleep",
"cargo:rustc-cfg=sleep_has_wakeup_source_ext0",
"cargo:rustc-cfg=sleep_has_wakeup_source_ext1",
"cargo:rustc-cfg=sleep_has_wakeup_source_gpio",
"cargo:rustc-cfg=sleep_has_wakeup_source_timer",
"cargo:rustc-cfg=sleep_has_wakeup_source_sdio",
"cargo:rustc-cfg=sleep_has_wakeup_source_wifi",
"cargo:rustc-cfg=sleep_has_wakeup_source_uart",
"cargo:rustc-cfg=sleep_has_wakeup_source_touch",
"cargo:rustc-cfg=sleep_has_wakeup_source_bt",
"cargo:rustc-cfg=sleep_has_wakeup_source_ulp_riscv",
"cargo:rustc-cfg=sleep_has_wakeup_source_ulp_riscv_trap",
"cargo:rustc-cfg=sleep_ext1_version=\"1\"",
"cargo:rustc-cfg=sleep_ext1_version_is_set",
"cargo:rustc-cfg=sleep_pin_wakeup_version=\"1\"",
"cargo:rustc-cfg=sleep_pin_wakeup_version_is_set",
"cargo:rustc-cfg=sleep_deep_sleep_needs_gpio_isolation",
"cargo:rustc-cfg=assist_debug_has_region_monitor",
"cargo:rustc-cfg=dma_mem2mem_requires_peripheral",
"cargo:rustc-cfg=dma_ext_mem_configurable_block_size",
"cargo:rustc-cfg=dma_separate_in_out_interrupts",
"cargo:rustc-cfg=dma_gdma_version=\"1\"",
"cargo:rustc-cfg=dma_gdma_version_is_set",
"cargo:rustc-cfg=soc_has_dma_ch0",
"cargo:rustc-cfg=soc_has_dma_ch1",
"cargo:rustc-cfg=soc_has_dma_ch2",
"cargo:rustc-cfg=soc_has_dma_ch3",
"cargo:rustc-cfg=soc_has_dma_ch4",
"cargo:rustc-cfg=dma_supports_mem2mem",
"cargo:rustc-cfg=aes_supports_dma",
"cargo:rustc-cfg=aes_dma_engine=\"AHB_GDMA\"",
"cargo:rustc-cfg=sha_supports_dma",
"cargo:rustc-cfg=sha_dma_engine=\"AHB_GDMA\"",
"cargo:rustc-cfg=spi_master_supports_dma",
"cargo:rustc-cfg=spi_master_dma_engine=\"AHB_GDMA\"",
"cargo:rustc-cfg=spi_slave_supports_dma",
"cargo:rustc-cfg=spi_slave_dma_engine=\"AHB_GDMA\"",
"cargo:rustc-cfg=rmt_supports_dma",
"cargo:rustc-cfg=rmt_dma_engine=\"AHB_GDMA\"",
"cargo:rustc-cfg=uhci_supports_dma",
"cargo:rustc-cfg=uhci_dma_engine=\"AHB_GDMA\"",
"cargo:rustc-cfg=i2s_supports_dma",
"cargo:rustc-cfg=i2s_dma_engine=\"AHB_GDMA\"",
"cargo:rustc-cfg=lcd_cam_supports_dma",
"cargo:rustc-cfg=lcd_cam_dma_engine=\"AHB_GDMA\"",
"cargo:rustc-cfg=dma_can_access_psram",
"cargo:rustc-cfg=dma_max_priority=\"9\"",
"cargo:rustc-cfg=dma_max_priority_is_set",
"cargo:rustc-cfg=interrupts_status_registers=\"4\"",
"cargo:rustc-cfg=interrupt_controller=\"xtensa\"",
"cargo:rustc-cfg=context_switch_source=\"software0\"",
"cargo:rustc-cfg=mmu_page_size=\"65536\"",
"cargo:rustc-cfg=mmu_entry_num=\"384\"",
"cargo:rustc-cfg=psram_octal_spi",
"cargo:rustc-cfg=psram_extmem_origin=\"1006632960\"",
"cargo:rustc-cfg=rom_has_crc_le",
"cargo:rustc-cfg=rom_has_crc_be",
"cargo:rustc-cfg=rom_has_md5_bsd",
"cargo:rustc-cfg=soc_multi_core_enabled",
"cargo:rustc-cfg=soc_has_swd_watchdog",
"cargo:rustc-cfg=soc_cpu_mcause_mask=\"0\"",
"cargo:rustc-cfg=soc_has_clock_node_xtal_clk",
"cargo:rustc-cfg=soc_clock_node_xtal_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_pll_clk",
"cargo:rustc-cfg=soc_clock_node_pll_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_rc_fast_clk",
"cargo:rustc-cfg=soc_has_clock_node_xtal32k_clk",
"cargo:rustc-cfg=soc_has_clock_node_rc_slow_clk",
"cargo:rustc-cfg=soc_has_clock_node_rc_fast_div_clk",
"cargo:rustc-cfg=soc_has_clock_node_system_pre_div_in",
"cargo:rustc-cfg=soc_clock_node_system_pre_div_in_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_system_pre_div",
"cargo:rustc-cfg=soc_clock_node_system_pre_div_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_cpu_pll_div_out",
"cargo:rustc-cfg=soc_clock_node_cpu_pll_div_out_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_cpu_clk",
"cargo:rustc-cfg=soc_clock_node_cpu_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_pll_d2",
"cargo:rustc-cfg=soc_has_clock_node_pll_160m",
"cargo:rustc-cfg=soc_has_clock_node_apb_80m",
"cargo:rustc-cfg=soc_has_clock_node_apb_clk",
"cargo:rustc-cfg=soc_clock_node_apb_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_crypto_pwm_clk",
"cargo:rustc-cfg=soc_clock_node_crypto_pwm_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_rc_fast_clk_div_n",
"cargo:rustc-cfg=soc_clock_node_rc_fast_clk_div_n_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_xtal_div_clk",
"cargo:rustc-cfg=soc_has_clock_node_rtc_slow_clk",
"cargo:rustc-cfg=soc_clock_node_rtc_slow_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_rtc_fast_clk",
"cargo:rustc-cfg=soc_clock_node_rtc_fast_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_low_power_clk",
"cargo:rustc-cfg=soc_clock_node_low_power_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_uart_mem_clk",
"cargo:rustc-cfg=soc_has_clock_node_timg_calibration_clock",
"cargo:rustc-cfg=soc_clock_node_timg_calibration_clock_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_mcpwm_function_clock",
"cargo:rustc-cfg=soc_has_clock_node_timg_function_clock",
"cargo:rustc-cfg=soc_clock_node_timg_function_clock_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_sdm_function_clock",
"cargo:rustc-cfg=soc_has_clock_node_rmt_sclk",
"cargo:rustc-cfg=soc_clock_node_rmt_sclk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_uart_function_clock",
"cargo:rustc-cfg=soc_clock_node_uart_function_clock_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_uart_baud_rate_generator",
"cargo:rustc-cfg=soc_clock_node_uart_baud_rate_generator_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_uart_mem_clock",
"cargo:rustc-cfg=soc_has_clock_node_i2c_function_clock",
"cargo:rustc-cfg=soc_clock_node_i2c_function_clock_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_lcd_cam_lcd_clock",
"cargo:rustc-cfg=soc_clock_node_lcd_cam_lcd_clock_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_lcd_cam_cam_clock",
"cargo:rustc-cfg=soc_clock_node_lcd_cam_cam_clock_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_spi_function_clock",
"cargo:rustc-cfg=soc_clock_node_spi_function_clock_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_i2s_tx_clk",
"cargo:rustc-cfg=soc_clock_node_i2s_tx_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_i2s_rx_clk",
"cargo:rustc-cfg=soc_clock_node_i2s_rx_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_i2s_mclk_out",
"cargo:rustc-cfg=soc_clock_node_i2s_mclk_out_is_configurable",
"cargo:rustc-cfg=has_dram_region",
"cargo:rustc-cfg=has_dram2_uninit_region",
"cargo:rustc-cfg=has_irom_region",
"cargo:rustc-cfg=has_drom_region",
],
memory_layout: &MemoryLayout {
regions: &[
(
"dram",
MemoryRegion {
address_range: 0x3FC88000..0x3FD00000,
},
),
(
"dram2_uninit",
MemoryRegion {
address_range: 0x3FCDB700..0x3FCED710,
},
),
(
"irom",
MemoryRegion {
address_range: 0x42000000..0x44000000,
},
),
(
"drom",
MemoryRegion {
address_range: 0x3C000000..0x3E000000,
},
),
],
},
pins: &[
PinInfo {
pin: 0,
limitations: &["strapping"],
},
PinInfo {
pin: 1,
limitations: &[],
},
PinInfo {
pin: 2,
limitations: &[],
},
PinInfo {
pin: 3,
limitations: &["strapping"],
},
PinInfo {
pin: 4,
limitations: &[],
},
PinInfo {
pin: 5,
limitations: &[],
},
PinInfo {
pin: 6,
limitations: &[],
},
PinInfo {
pin: 7,
limitations: &[],
},
PinInfo {
pin: 8,
limitations: &[],
},
PinInfo {
pin: 9,
limitations: &[],
},
PinInfo {
pin: 10,
limitations: &[],
},
PinInfo {
pin: 11,
limitations: &[],
},
PinInfo {
pin: 12,
limitations: &[],
},
PinInfo {
pin: 13,
limitations: &[],
},
PinInfo {
pin: 14,
limitations: &[],
},
PinInfo {
pin: 15,
limitations: &[],
},
PinInfo {
pin: 16,
limitations: &[],
},
PinInfo {
pin: 17,
limitations: &[],
},
PinInfo {
pin: 18,
limitations: &[],
},
PinInfo {
pin: 19,
limitations: &["usb_jtag"],
},
PinInfo {
pin: 20,
limitations: &["usb_jtag"],
},
PinInfo {
pin: 21,
limitations: &[],
},
PinInfo {
pin: 26,
limitations: &["spi_psram"],
},
PinInfo {
pin: 27,
limitations: &["spi_flash", "spi_psram"],
},
PinInfo {
pin: 28,
limitations: &["spi_flash", "spi_psram"],
},
PinInfo {
pin: 29,
limitations: &["spi_flash"],
},
PinInfo {
pin: 30,
limitations: &["spi_flash", "spi_psram"],
},
PinInfo {
pin: 31,
limitations: &["spi_flash", "spi_psram"],
},
PinInfo {
pin: 32,
limitations: &["spi_flash"],
},
PinInfo {
pin: 33,
limitations: &["octal_flash", "octal_psram"],
},
PinInfo {
pin: 34,
limitations: &["octal_flash", "octal_psram"],
},
PinInfo {
pin: 35,
limitations: &["octal_flash", "octal_psram"],
},
PinInfo {
pin: 36,
limitations: &["octal_flash", "octal_psram"],
},
PinInfo {
pin: 37,
limitations: &["octal_flash", "octal_psram"],
},
PinInfo {
pin: 38,
limitations: &[],
},
PinInfo {
pin: 39,
limitations: &["jtag"],
},
PinInfo {
pin: 40,
limitations: &["jtag"],
},
PinInfo {
pin: 41,
limitations: &["jtag"],
},
PinInfo {
pin: 42,
limitations: &["jtag"],
},
PinInfo {
pin: 43,
limitations: &["bootloader_uart"],
},
PinInfo {
pin: 44,
limitations: &["bootloader_uart"],
},
PinInfo {
pin: 45,
limitations: &["strapping"],
},
PinInfo {
pin: 46,
limitations: &["strapping"],
},
PinInfo {
pin: 47,
limitations: &[],
},
PinInfo {
pin: 48,
limitations: &[],
},
],
},
Self::Esp32s31 => Config {
architecture: "riscv",
target: "riscv32imafc-unknown-none-elf",
symbols: &[
"esp32s31",
"riscv",
"multi_core",
"soc_has_aes",
"soc_has_apb_saradc",
"soc_has_assist_debug",
"soc_has_cache",
"soc_has_clic",
"soc_has_clint",
"soc_has_clint_other_core",
"soc_has_cnnt_sys",
"soc_has_cnnt_io_mux",
"soc_has_eth",
"soc_has_emac_dma",
"soc_has_emac_mac",
"soc_has_ecc",
"soc_has_efuse",
"soc_has_gpio",
"soc_has_gpio_sd",
"soc_has_hp_apm",
"soc_has_hp_mem_apm",
"soc_has_hp_sys",
"soc_has_hp_alive_sys",
"soc_has_hp_sys_clkrst",
"soc_has_i2c0",
"soc_has_i2c1",
"soc_has_i2s0",
"soc_has_i2s1",
"soc_has_ieee802154",
"soc_has_interrupt_core0",
"soc_has_interrupt_core1",
"soc_has_io_mux",
"soc_has_lcd_cam",
"soc_has_iomux_mspi_pin",
"soc_has_lp_aon_clk_rst",
"soc_has_lp_apm",
"soc_has_lp_gpio",
"soc_has_lp_io_mux",
"soc_has_lp_peri",
"soc_has_lp_sys",
"soc_has_lp_tee",
"soc_has_lp_wdt",
"soc_has_lpwr",
"soc_has_mem_monitor",
"soc_has_modem_lpcon",
"soc_has_modem_syscon",
"soc_has_pau",
"soc_has_pcnt",
"soc_has_pcnt1",
"soc_has_pmu",
"soc_has_rtc_timer",
"soc_has_rng",
"soc_has_rmt",
"soc_has_rsa",
"soc_has_spi0",
"soc_has_spi1",
"soc_has_memspi2",
"soc_has_memspi3",
"soc_has_spi2",
"soc_has_spi3",
"soc_has_axi_gdma",
"soc_has_dma",
"soc_has_sha",
"soc_has_system",
"soc_has_systimer",
"soc_has_sdhost",
"soc_has_tee",
"soc_has_timg0",
"soc_has_timg1",
"soc_has_uart0",
"soc_has_uart1",
"soc_has_uart2",
"soc_has_uart3",
"soc_has_uhci0",
"soc_has_usb_device",
"soc_has_usb_hs",
"soc_has_adc1",
"soc_has_adc2",
"soc_has_flash",
"soc_has_psram",
"soc_has_gpio_dedicated",
"soc_has_wifi",
"soc_has_cpu_ctrl",
"soc_has_ipc",
"soc_has_from_cpu_intr0",
"soc_has_from_cpu_intr1",
"soc_has_from_cpu_intr2",
"soc_has_from_cpu_intr3",
"gpio_driver_supported",
"dedicated_gpio_driver_supported",
"io_mux_driver_supported",
"lp_io_driver_supported",
"uart_driver_supported",
"uhci_driver_supported",
"i2c_master_driver_supported",
"spi_master_driver_supported",
"spi_slave_driver_supported",
"i2s_driver_supported",
"rmt_driver_supported",
"sdmmc_driver_supported",
"usb_otg_hs_driver_supported",
"usb_serial_jtag_driver_supported",
"wifi_driver_supported",
"ieee802154_driver_supported",
"ethernet_driver_supported",
"phy_driver_supported",
"camera_driver_supported",
"rgb_display_driver_supported",
"adc_driver_supported",
"pcnt_driver_supported",
"lp_timer_driver_supported",
"sdm_driver_supported",
"systimer_driver_supported",
"timergroup_driver_supported",
"aes_driver_supported",
"ecc_driver_supported",
"rng_driver_supported",
"rsa_driver_supported",
"sha_driver_supported",
"sleep_driver_supported",
"dma_driver_supported",
"interrupts_driver_supported",
"mmu_driver_supported",
"flash_driver_supported",
"psram_driver_supported",
"rom_driver_supported",
"soc_driver_supported",
"uart_uart0",
"uart_uart1",
"uart_uart2",
"uart_uart3",
"i2c_master_i2c0",
"i2c_master_i2c1",
"spi_master_spi2",
"spi_master_spi3",
"spi_slave_spi2",
"spi_slave_spi3",
"i2s_i2s0",
"i2s_i2s1",
"adc_adc1",
"adc_adc2",
"pcnt_PCNT",
"pcnt_PCNT1",
"timergroup_timg0",
"timergroup_timg1",
"gpio_version=\"3\"",
"gpio_has_input_sync",
"gpio_gpio_function=\"1\"",
"gpio_constant_0_input=\"192\"",
"gpio_constant_1_input=\"128\"",
"gpio_func_in_sel_offset=\"0\"",
"soc_has_xtal32k_pads",
"gpio_has_bank_1",
"gpio_input_signal_max=\"255\"",
"gpio_output_signal_max=\"256\"",
"dedicated_gpio_version=\"riscv_v2\"",
"lp_io_version=\"esp32s31\"",
"lp_io_has_gpio_matrix",
"uart_ram_size=\"128\"",
"uart_version=\"2\"",
"uart_peripheral_controls_mem_clk",
"uart_has_sclk_enable",
"uhci_combined_uart_selector_field",
"i2c_master_version=\"4\"",
"i2c_master_has_fsm_timeouts",
"i2c_master_has_hw_bus_clear",
"i2c_master_has_bus_timeout_enable",
"i2c_master_can_estimate_nack_reason",
"i2c_master_has_conf_update",
"i2c_master_has_reliable_fsm_reset",
"i2c_master_has_arbitration_en",
"i2c_master_has_tx_fifo_watermark",
"i2c_master_bus_timeout_is_exponential",
"i2c_master_has_pd_en",
"i2c_master_max_bus_timeout=\"31\"",
"i2c_master_ll_intr_mask=\"262143\"",
"i2c_master_fifo_size=\"32\"",
"spi_master_version=\"3\"",
"spi_master_fifo_size=\"64\"",
"spi_master_has_octal",
"spi_master_has_app_interrupts",
"spi_master_has_dma_segmented_transfer",
"i2s_version=\"3\"",
"i2s_version_is_set",
"i2s_mclk_divider_bit_width=\"8\"",
"i2s_mclk_divider_bit_width_is_set",
"i2s_max_ws_width=\"512\"",
"i2s_max_ws_width_is_set",
"i2s_clock_configured_by_hp_sys_clkrst",
"i2s_supports_pdm_rx_hp_filter",
"i2s_supports_pdm_tx",
"i2s_supports_pdm_rx",
"i2s_supports_pcm2pdm",
"i2s_supports_pdm2pcm",
"rmt_ram_start=\"540366848\"",
"rmt_channel_ram_size=\"48\"",
"rmt_has_tx_immediate_stop",
"rmt_has_tx_loop_count",
"rmt_has_tx_loop_auto_stop",
"rmt_has_tx_carrier_data_only",
"rmt_has_tx_sync",
"rmt_has_rx_wrap",
"rmt_has_rx_demodulation",
"sdmmc_delay_phase_num=\"8\"",
"sdmmc_delay_phase_num_is_set",
"sdmmc_has_iomux",
"sdmmc_psram_dma",
"usb_otg_hs_fifo_depth_words=\"896\"",
"wifi_has_wifi6",
"wifi_mac_version=\"3\"",
"wifi_csi_supported",
"ethernet_mii_via_gpio_matrix",
"ethernet_rx_checksum_offload",
"ethernet_dma_burst_len=\"16\"",
"ethernet_has_rgmii",
"rgb_display_output_lines=\"24\"",
"soc_has_sdm_ch0",
"soc_has_sdm_ch1",
"soc_has_sdm_ch2",
"soc_has_sdm_ch3",
"soc_has_sdm_ch4",
"soc_has_sdm_ch5",
"soc_has_sdm_ch6",
"soc_has_sdm_ch7",
"timergroup_timg_has_divcnt_rst",
"timergroup_rc_fast_calibration_divider",
"timergroup_rc_fast_calibration_is_set",
"aes_dma_mode_ecb",
"aes_dma_mode_cbc",
"aes_dma_mode_ofb",
"aes_dma_mode_ctr",
"aes_dma_mode_cfb8",
"aes_dma_mode_cfb128",
"aes_dma_mode_gcm",
"aes_has_split_text_registers",
"ecc_separate_jacobian_point_memory",
"ecc_has_memory_clock_gate",
"ecc_supports_enhanced_security",
"ecc_has_modular_arithmetic",
"ecc_has_point_addition",
"ecc_has_curve_p192",
"ecc_has_curve_p256",
"ecc_has_curve_p384",
"rng_apb_cycle_wait_num=\"16\"",
"rsa_version=\"3\"",
"rsa_size_increment=\"32\"",
"rsa_memory_size_bytes=\"512\"",
"sleep_light_sleep",
"sleep_deep_sleep",
"sleep_has_wakeup_source_lp_core",
"sleep_has_wakeup_source_gpio",
"sleep_has_wakeup_source_usb",
"sleep_has_wakeup_source_uart",
"sleep_has_wakeup_source_ext1",
"sleep_has_wakeup_source_timer",
"sleep_has_wakeup_source_wifi",
"sleep_has_wakeup_source_wifi_beacon",
"sleep_has_wakeup_source_bt",
"sleep_ext1_version=\"3\"",
"sleep_ext1_version_is_set",
"sleep_pin_wakeup_version=\"3\"",
"sleep_pin_wakeup_version_is_set",
"dma_separate_in_out_interrupts",
"dma_gdma_version=\"3\"",
"dma_gdma_version_is_set",
"soc_has_dma_ch0",
"soc_has_dma_ch1",
"soc_has_dma_ch2",
"soc_has_dma_ch3",
"soc_has_dma_ch4",
"soc_has_dma_axi_ch0",
"soc_has_dma_axi_ch1",
"soc_has_dma_axi_ch2",
"dma_supports_mem2mem",
"uhci_supports_dma",
"uhci_dma_engine=\"AHB_GDMA\"",
"i2s_supports_dma",
"i2s_dma_engine=\"AHB_GDMA\"",
"spi_master_supports_dma",
"spi_master_dma_engine=\"AXI_GDMA\"",
"spi_slave_supports_dma",
"spi_slave_dma_engine=\"AXI_GDMA\"",
"aes_supports_dma",
"aes_dma_engine=\"AXI_GDMA\"",
"lcd_cam_supports_dma",
"lcd_cam_dma_engine=\"AXI_GDMA\"",
"dma_can_access_psram",
"dma_max_priority=\"15\"",
"dma_max_priority_is_set",
"interrupts_status_registers=\"6\"",
"interrupt_controller=\"clic\"",
"context_switch_source=\"ipc\"",
"mmu_page_size=\"65536\"",
"mmu_entry_num=\"1024\"",
"psram_octal_spi",
"psram_extmem_origin=\"1342177280\"",
"rom_has_crc_le",
"rom_has_crc_be",
"rom_has_md5_bsd",
"soc_cpu_has_branch_predictor",
"soc_multi_core_enabled",
"soc_cpu_csr_prv_mode=\"2064\"",
"soc_cpu_csr_prv_mode_is_set",
"soc_has_swd_watchdog",
"soc_cpu_mcause_mask=\"63\"",
"soc_has_clock_node_xtal_clk",
"soc_has_clock_node_bbpll_clk",
"soc_has_clock_node_cpll_clk",
"soc_has_clock_node_mpll_clk",
"soc_has_clock_node_rc_fast_clk",
"soc_has_clock_node_xtal32k_clk",
"soc_has_clock_node_rc_slow_clk",
"soc_has_clock_node_pll_f20m",
"soc_has_clock_node_pll_f80m",
"soc_has_clock_node_pll_f120m",
"soc_has_clock_node_pll_f160m",
"soc_has_clock_node_pll_f240m",
"soc_has_clock_node_bbpll_d3_clock",
"soc_has_clock_node_pll_f25m",
"soc_has_clock_node_pll_f50m",
"soc_has_clock_node_xtal_d2_clk",
"soc_has_clock_node_cpu_root_clk",
"soc_clock_node_cpu_root_clk_is_configurable",
"soc_has_clock_node_cpu_clk",
"soc_clock_node_cpu_clk_is_configurable",
"soc_has_clock_node_mem_clk",
"soc_clock_node_mem_clk_is_configurable",
"soc_has_clock_node_sys_clk",
"soc_clock_node_sys_clk_is_configurable",
"soc_has_clock_node_apb_clk",
"soc_clock_node_apb_clk_is_configurable",
"soc_has_clock_node_lp_fast_clk",
"soc_clock_node_lp_fast_clk_is_configurable",
"soc_has_clock_node_lp_slow_clk",
"soc_clock_node_lp_slow_clk_is_configurable",
"soc_has_clock_node_crypto_clk",
"soc_clock_node_crypto_clk_is_configurable",
"soc_has_clock_node_iomux_function_clock",
"soc_clock_node_iomux_function_clock_is_configurable",
"soc_has_clock_node_timg_calibration_clock",
"soc_clock_node_timg_calibration_clock_is_configurable",
"soc_has_clock_node_psram_function_clock",
"soc_clock_node_psram_function_clock_is_configurable",
"soc_has_clock_node_uart_function_clock",
"soc_clock_node_uart_function_clock_is_configurable",
"soc_has_clock_node_uart_baud_rate_generator",
"soc_clock_node_uart_baud_rate_generator_is_configurable",
"soc_has_clock_node_uart_mem_clock",
"soc_has_clock_node_timg_function_clock",
"soc_clock_node_timg_function_clock_is_configurable",
"soc_has_clock_node_timg_wdt_clock",
"soc_clock_node_timg_wdt_clock_is_configurable",
"soc_has_clock_node_spi_function_clock",
"soc_clock_node_spi_function_clock_is_configurable",
"soc_has_clock_node_i2c_function_clock",
"soc_clock_node_i2c_function_clock_is_configurable",
"soc_has_clock_node_i2s_tx_clk",
"soc_clock_node_i2s_tx_clk_is_configurable",
"soc_has_clock_node_i2s_rx_clk",
"soc_clock_node_i2s_rx_clk_is_configurable",
"soc_has_clock_node_i2s_mclk_out",
"soc_clock_node_i2s_mclk_out_is_configurable",
"soc_has_clock_node_rmt_sclk",
"soc_clock_node_rmt_sclk_is_configurable",
"soc_has_clock_node_sdm_function_clock",
"soc_has_clock_node_lcd_cam_lcd_clock",
"soc_clock_node_lcd_cam_lcd_clock_is_configurable",
"soc_has_clock_node_lcd_cam_cam_clock",
"soc_clock_node_lcd_cam_cam_clock_is_configurable",
"has_dram_region",
"has_dram2_uninit_region",
"has_irom_region",
"has_drom_region",
],
cfgs: &[
"cargo:rustc-cfg=esp32s31",
"cargo:rustc-cfg=riscv",
"cargo:rustc-cfg=multi_core",
"cargo:rustc-cfg=soc_has_aes",
"cargo:rustc-cfg=soc_has_apb_saradc",
"cargo:rustc-cfg=soc_has_assist_debug",
"cargo:rustc-cfg=soc_has_cache",
"cargo:rustc-cfg=soc_has_clic",
"cargo:rustc-cfg=soc_has_clint",
"cargo:rustc-cfg=soc_has_clint_other_core",
"cargo:rustc-cfg=soc_has_cnnt_sys",
"cargo:rustc-cfg=soc_has_cnnt_io_mux",
"cargo:rustc-cfg=soc_has_eth",
"cargo:rustc-cfg=soc_has_emac_dma",
"cargo:rustc-cfg=soc_has_emac_mac",
"cargo:rustc-cfg=soc_has_ecc",
"cargo:rustc-cfg=soc_has_efuse",
"cargo:rustc-cfg=soc_has_gpio",
"cargo:rustc-cfg=soc_has_gpio_sd",
"cargo:rustc-cfg=soc_has_hp_apm",
"cargo:rustc-cfg=soc_has_hp_mem_apm",
"cargo:rustc-cfg=soc_has_hp_sys",
"cargo:rustc-cfg=soc_has_hp_alive_sys",
"cargo:rustc-cfg=soc_has_hp_sys_clkrst",
"cargo:rustc-cfg=soc_has_i2c0",
"cargo:rustc-cfg=soc_has_i2c1",
"cargo:rustc-cfg=soc_has_i2s0",
"cargo:rustc-cfg=soc_has_i2s1",
"cargo:rustc-cfg=soc_has_ieee802154",
"cargo:rustc-cfg=soc_has_interrupt_core0",
"cargo:rustc-cfg=soc_has_interrupt_core1",
"cargo:rustc-cfg=soc_has_io_mux",
"cargo:rustc-cfg=soc_has_lcd_cam",
"cargo:rustc-cfg=soc_has_iomux_mspi_pin",
"cargo:rustc-cfg=soc_has_lp_aon_clk_rst",
"cargo:rustc-cfg=soc_has_lp_apm",
"cargo:rustc-cfg=soc_has_lp_gpio",
"cargo:rustc-cfg=soc_has_lp_io_mux",
"cargo:rustc-cfg=soc_has_lp_peri",
"cargo:rustc-cfg=soc_has_lp_sys",
"cargo:rustc-cfg=soc_has_lp_tee",
"cargo:rustc-cfg=soc_has_lp_wdt",
"cargo:rustc-cfg=soc_has_lpwr",
"cargo:rustc-cfg=soc_has_mem_monitor",
"cargo:rustc-cfg=soc_has_modem_lpcon",
"cargo:rustc-cfg=soc_has_modem_syscon",
"cargo:rustc-cfg=soc_has_pau",
"cargo:rustc-cfg=soc_has_pcnt",
"cargo:rustc-cfg=soc_has_pcnt1",
"cargo:rustc-cfg=soc_has_pmu",
"cargo:rustc-cfg=soc_has_rtc_timer",
"cargo:rustc-cfg=soc_has_rng",
"cargo:rustc-cfg=soc_has_rmt",
"cargo:rustc-cfg=soc_has_rsa",
"cargo:rustc-cfg=soc_has_spi0",
"cargo:rustc-cfg=soc_has_spi1",
"cargo:rustc-cfg=soc_has_memspi2",
"cargo:rustc-cfg=soc_has_memspi3",
"cargo:rustc-cfg=soc_has_spi2",
"cargo:rustc-cfg=soc_has_spi3",
"cargo:rustc-cfg=soc_has_axi_gdma",
"cargo:rustc-cfg=soc_has_dma",
"cargo:rustc-cfg=soc_has_sha",
"cargo:rustc-cfg=soc_has_system",
"cargo:rustc-cfg=soc_has_systimer",
"cargo:rustc-cfg=soc_has_sdhost",
"cargo:rustc-cfg=soc_has_tee",
"cargo:rustc-cfg=soc_has_timg0",
"cargo:rustc-cfg=soc_has_timg1",
"cargo:rustc-cfg=soc_has_uart0",
"cargo:rustc-cfg=soc_has_uart1",
"cargo:rustc-cfg=soc_has_uart2",
"cargo:rustc-cfg=soc_has_uart3",
"cargo:rustc-cfg=soc_has_uhci0",
"cargo:rustc-cfg=soc_has_usb_device",
"cargo:rustc-cfg=soc_has_usb_hs",
"cargo:rustc-cfg=soc_has_adc1",
"cargo:rustc-cfg=soc_has_adc2",
"cargo:rustc-cfg=soc_has_flash",
"cargo:rustc-cfg=soc_has_psram",
"cargo:rustc-cfg=soc_has_gpio_dedicated",
"cargo:rustc-cfg=soc_has_wifi",
"cargo:rustc-cfg=soc_has_cpu_ctrl",
"cargo:rustc-cfg=soc_has_ipc",
"cargo:rustc-cfg=soc_has_from_cpu_intr0",
"cargo:rustc-cfg=soc_has_from_cpu_intr1",
"cargo:rustc-cfg=soc_has_from_cpu_intr2",
"cargo:rustc-cfg=soc_has_from_cpu_intr3",
"cargo:rustc-cfg=gpio_driver_supported",
"cargo:rustc-cfg=dedicated_gpio_driver_supported",
"cargo:rustc-cfg=io_mux_driver_supported",
"cargo:rustc-cfg=lp_io_driver_supported",
"cargo:rustc-cfg=uart_driver_supported",
"cargo:rustc-cfg=uhci_driver_supported",
"cargo:rustc-cfg=i2c_master_driver_supported",
"cargo:rustc-cfg=spi_master_driver_supported",
"cargo:rustc-cfg=spi_slave_driver_supported",
"cargo:rustc-cfg=i2s_driver_supported",
"cargo:rustc-cfg=rmt_driver_supported",
"cargo:rustc-cfg=sdmmc_driver_supported",
"cargo:rustc-cfg=usb_otg_hs_driver_supported",
"cargo:rustc-cfg=usb_serial_jtag_driver_supported",
"cargo:rustc-cfg=wifi_driver_supported",
"cargo:rustc-cfg=ieee802154_driver_supported",
"cargo:rustc-cfg=ethernet_driver_supported",
"cargo:rustc-cfg=phy_driver_supported",
"cargo:rustc-cfg=camera_driver_supported",
"cargo:rustc-cfg=rgb_display_driver_supported",
"cargo:rustc-cfg=adc_driver_supported",
"cargo:rustc-cfg=pcnt_driver_supported",
"cargo:rustc-cfg=lp_timer_driver_supported",
"cargo:rustc-cfg=sdm_driver_supported",
"cargo:rustc-cfg=systimer_driver_supported",
"cargo:rustc-cfg=timergroup_driver_supported",
"cargo:rustc-cfg=aes_driver_supported",
"cargo:rustc-cfg=ecc_driver_supported",
"cargo:rustc-cfg=rng_driver_supported",
"cargo:rustc-cfg=rsa_driver_supported",
"cargo:rustc-cfg=sha_driver_supported",
"cargo:rustc-cfg=sleep_driver_supported",
"cargo:rustc-cfg=dma_driver_supported",
"cargo:rustc-cfg=interrupts_driver_supported",
"cargo:rustc-cfg=mmu_driver_supported",
"cargo:rustc-cfg=flash_driver_supported",
"cargo:rustc-cfg=psram_driver_supported",
"cargo:rustc-cfg=rom_driver_supported",
"cargo:rustc-cfg=soc_driver_supported",
"cargo:rustc-cfg=uart_uart0",
"cargo:rustc-cfg=uart_uart1",
"cargo:rustc-cfg=uart_uart2",
"cargo:rustc-cfg=uart_uart3",
"cargo:rustc-cfg=i2c_master_i2c0",
"cargo:rustc-cfg=i2c_master_i2c1",
"cargo:rustc-cfg=spi_master_spi2",
"cargo:rustc-cfg=spi_master_spi3",
"cargo:rustc-cfg=spi_slave_spi2",
"cargo:rustc-cfg=spi_slave_spi3",
"cargo:rustc-cfg=i2s_i2s0",
"cargo:rustc-cfg=i2s_i2s1",
"cargo:rustc-cfg=adc_adc1",
"cargo:rustc-cfg=adc_adc2",
"cargo:rustc-cfg=pcnt_PCNT",
"cargo:rustc-cfg=pcnt_PCNT1",
"cargo:rustc-cfg=timergroup_timg0",
"cargo:rustc-cfg=timergroup_timg1",
"cargo:rustc-cfg=gpio_version=\"3\"",
"cargo:rustc-cfg=gpio_has_input_sync",
"cargo:rustc-cfg=gpio_gpio_function=\"1\"",
"cargo:rustc-cfg=gpio_constant_0_input=\"192\"",
"cargo:rustc-cfg=gpio_constant_1_input=\"128\"",
"cargo:rustc-cfg=gpio_func_in_sel_offset=\"0\"",
"cargo:rustc-cfg=soc_has_xtal32k_pads",
"cargo:rustc-cfg=gpio_has_bank_1",
"cargo:rustc-cfg=gpio_input_signal_max=\"255\"",
"cargo:rustc-cfg=gpio_output_signal_max=\"256\"",
"cargo:rustc-cfg=dedicated_gpio_version=\"riscv_v2\"",
"cargo:rustc-cfg=lp_io_version=\"esp32s31\"",
"cargo:rustc-cfg=lp_io_has_gpio_matrix",
"cargo:rustc-cfg=uart_ram_size=\"128\"",
"cargo:rustc-cfg=uart_version=\"2\"",
"cargo:rustc-cfg=uart_peripheral_controls_mem_clk",
"cargo:rustc-cfg=uart_has_sclk_enable",
"cargo:rustc-cfg=uhci_combined_uart_selector_field",
"cargo:rustc-cfg=i2c_master_version=\"4\"",
"cargo:rustc-cfg=i2c_master_has_fsm_timeouts",
"cargo:rustc-cfg=i2c_master_has_hw_bus_clear",
"cargo:rustc-cfg=i2c_master_has_bus_timeout_enable",
"cargo:rustc-cfg=i2c_master_can_estimate_nack_reason",
"cargo:rustc-cfg=i2c_master_has_conf_update",
"cargo:rustc-cfg=i2c_master_has_reliable_fsm_reset",
"cargo:rustc-cfg=i2c_master_has_arbitration_en",
"cargo:rustc-cfg=i2c_master_has_tx_fifo_watermark",
"cargo:rustc-cfg=i2c_master_bus_timeout_is_exponential",
"cargo:rustc-cfg=i2c_master_has_pd_en",
"cargo:rustc-cfg=i2c_master_max_bus_timeout=\"31\"",
"cargo:rustc-cfg=i2c_master_ll_intr_mask=\"262143\"",
"cargo:rustc-cfg=i2c_master_fifo_size=\"32\"",
"cargo:rustc-cfg=spi_master_version=\"3\"",
"cargo:rustc-cfg=spi_master_fifo_size=\"64\"",
"cargo:rustc-cfg=spi_master_has_octal",
"cargo:rustc-cfg=spi_master_has_app_interrupts",
"cargo:rustc-cfg=spi_master_has_dma_segmented_transfer",
"cargo:rustc-cfg=i2s_version=\"3\"",
"cargo:rustc-cfg=i2s_version_is_set",
"cargo:rustc-cfg=i2s_mclk_divider_bit_width=\"8\"",
"cargo:rustc-cfg=i2s_mclk_divider_bit_width_is_set",
"cargo:rustc-cfg=i2s_max_ws_width=\"512\"",
"cargo:rustc-cfg=i2s_max_ws_width_is_set",
"cargo:rustc-cfg=i2s_clock_configured_by_hp_sys_clkrst",
"cargo:rustc-cfg=i2s_supports_pdm_rx_hp_filter",
"cargo:rustc-cfg=i2s_supports_pdm_tx",
"cargo:rustc-cfg=i2s_supports_pdm_rx",
"cargo:rustc-cfg=i2s_supports_pcm2pdm",
"cargo:rustc-cfg=i2s_supports_pdm2pcm",
"cargo:rustc-cfg=rmt_ram_start=\"540366848\"",
"cargo:rustc-cfg=rmt_channel_ram_size=\"48\"",
"cargo:rustc-cfg=rmt_has_tx_immediate_stop",
"cargo:rustc-cfg=rmt_has_tx_loop_count",
"cargo:rustc-cfg=rmt_has_tx_loop_auto_stop",
"cargo:rustc-cfg=rmt_has_tx_carrier_data_only",
"cargo:rustc-cfg=rmt_has_tx_sync",
"cargo:rustc-cfg=rmt_has_rx_wrap",
"cargo:rustc-cfg=rmt_has_rx_demodulation",
"cargo:rustc-cfg=sdmmc_delay_phase_num=\"8\"",
"cargo:rustc-cfg=sdmmc_delay_phase_num_is_set",
"cargo:rustc-cfg=sdmmc_has_iomux",
"cargo:rustc-cfg=sdmmc_psram_dma",
"cargo:rustc-cfg=usb_otg_hs_fifo_depth_words=\"896\"",
"cargo:rustc-cfg=wifi_has_wifi6",
"cargo:rustc-cfg=wifi_mac_version=\"3\"",
"cargo:rustc-cfg=wifi_csi_supported",
"cargo:rustc-cfg=ethernet_mii_via_gpio_matrix",
"cargo:rustc-cfg=ethernet_rx_checksum_offload",
"cargo:rustc-cfg=ethernet_dma_burst_len=\"16\"",
"cargo:rustc-cfg=ethernet_has_rgmii",
"cargo:rustc-cfg=rgb_display_output_lines=\"24\"",
"cargo:rustc-cfg=soc_has_sdm_ch0",
"cargo:rustc-cfg=soc_has_sdm_ch1",
"cargo:rustc-cfg=soc_has_sdm_ch2",
"cargo:rustc-cfg=soc_has_sdm_ch3",
"cargo:rustc-cfg=soc_has_sdm_ch4",
"cargo:rustc-cfg=soc_has_sdm_ch5",
"cargo:rustc-cfg=soc_has_sdm_ch6",
"cargo:rustc-cfg=soc_has_sdm_ch7",
"cargo:rustc-cfg=timergroup_timg_has_divcnt_rst",
"cargo:rustc-cfg=timergroup_rc_fast_calibration_divider",
"cargo:rustc-cfg=timergroup_rc_fast_calibration_is_set",
"cargo:rustc-cfg=aes_dma_mode_ecb",
"cargo:rustc-cfg=aes_dma_mode_cbc",
"cargo:rustc-cfg=aes_dma_mode_ofb",
"cargo:rustc-cfg=aes_dma_mode_ctr",
"cargo:rustc-cfg=aes_dma_mode_cfb8",
"cargo:rustc-cfg=aes_dma_mode_cfb128",
"cargo:rustc-cfg=aes_dma_mode_gcm",
"cargo:rustc-cfg=aes_has_split_text_registers",
"cargo:rustc-cfg=ecc_separate_jacobian_point_memory",
"cargo:rustc-cfg=ecc_has_memory_clock_gate",
"cargo:rustc-cfg=ecc_supports_enhanced_security",
"cargo:rustc-cfg=ecc_has_modular_arithmetic",
"cargo:rustc-cfg=ecc_has_point_addition",
"cargo:rustc-cfg=ecc_has_curve_p192",
"cargo:rustc-cfg=ecc_has_curve_p256",
"cargo:rustc-cfg=ecc_has_curve_p384",
"cargo:rustc-cfg=rng_apb_cycle_wait_num=\"16\"",
"cargo:rustc-cfg=rsa_version=\"3\"",
"cargo:rustc-cfg=rsa_size_increment=\"32\"",
"cargo:rustc-cfg=rsa_memory_size_bytes=\"512\"",
"cargo:rustc-cfg=sleep_light_sleep",
"cargo:rustc-cfg=sleep_deep_sleep",
"cargo:rustc-cfg=sleep_has_wakeup_source_lp_core",
"cargo:rustc-cfg=sleep_has_wakeup_source_gpio",
"cargo:rustc-cfg=sleep_has_wakeup_source_usb",
"cargo:rustc-cfg=sleep_has_wakeup_source_uart",
"cargo:rustc-cfg=sleep_has_wakeup_source_ext1",
"cargo:rustc-cfg=sleep_has_wakeup_source_timer",
"cargo:rustc-cfg=sleep_has_wakeup_source_wifi",
"cargo:rustc-cfg=sleep_has_wakeup_source_wifi_beacon",
"cargo:rustc-cfg=sleep_has_wakeup_source_bt",
"cargo:rustc-cfg=sleep_ext1_version=\"3\"",
"cargo:rustc-cfg=sleep_ext1_version_is_set",
"cargo:rustc-cfg=sleep_pin_wakeup_version=\"3\"",
"cargo:rustc-cfg=sleep_pin_wakeup_version_is_set",
"cargo:rustc-cfg=dma_separate_in_out_interrupts",
"cargo:rustc-cfg=dma_gdma_version=\"3\"",
"cargo:rustc-cfg=dma_gdma_version_is_set",
"cargo:rustc-cfg=soc_has_dma_ch0",
"cargo:rustc-cfg=soc_has_dma_ch1",
"cargo:rustc-cfg=soc_has_dma_ch2",
"cargo:rustc-cfg=soc_has_dma_ch3",
"cargo:rustc-cfg=soc_has_dma_ch4",
"cargo:rustc-cfg=soc_has_dma_axi_ch0",
"cargo:rustc-cfg=soc_has_dma_axi_ch1",
"cargo:rustc-cfg=soc_has_dma_axi_ch2",
"cargo:rustc-cfg=dma_supports_mem2mem",
"cargo:rustc-cfg=uhci_supports_dma",
"cargo:rustc-cfg=uhci_dma_engine=\"AHB_GDMA\"",
"cargo:rustc-cfg=i2s_supports_dma",
"cargo:rustc-cfg=i2s_dma_engine=\"AHB_GDMA\"",
"cargo:rustc-cfg=spi_master_supports_dma",
"cargo:rustc-cfg=spi_master_dma_engine=\"AXI_GDMA\"",
"cargo:rustc-cfg=spi_slave_supports_dma",
"cargo:rustc-cfg=spi_slave_dma_engine=\"AXI_GDMA\"",
"cargo:rustc-cfg=aes_supports_dma",
"cargo:rustc-cfg=aes_dma_engine=\"AXI_GDMA\"",
"cargo:rustc-cfg=lcd_cam_supports_dma",
"cargo:rustc-cfg=lcd_cam_dma_engine=\"AXI_GDMA\"",
"cargo:rustc-cfg=dma_can_access_psram",
"cargo:rustc-cfg=dma_max_priority=\"15\"",
"cargo:rustc-cfg=dma_max_priority_is_set",
"cargo:rustc-cfg=interrupts_status_registers=\"6\"",
"cargo:rustc-cfg=interrupt_controller=\"clic\"",
"cargo:rustc-cfg=context_switch_source=\"ipc\"",
"cargo:rustc-cfg=mmu_page_size=\"65536\"",
"cargo:rustc-cfg=mmu_entry_num=\"1024\"",
"cargo:rustc-cfg=psram_octal_spi",
"cargo:rustc-cfg=psram_extmem_origin=\"1342177280\"",
"cargo:rustc-cfg=rom_has_crc_le",
"cargo:rustc-cfg=rom_has_crc_be",
"cargo:rustc-cfg=rom_has_md5_bsd",
"cargo:rustc-cfg=soc_cpu_has_branch_predictor",
"cargo:rustc-cfg=soc_multi_core_enabled",
"cargo:rustc-cfg=soc_cpu_csr_prv_mode=\"2064\"",
"cargo:rustc-cfg=soc_cpu_csr_prv_mode_is_set",
"cargo:rustc-cfg=soc_has_swd_watchdog",
"cargo:rustc-cfg=soc_cpu_mcause_mask=\"63\"",
"cargo:rustc-cfg=soc_has_clock_node_xtal_clk",
"cargo:rustc-cfg=soc_has_clock_node_bbpll_clk",
"cargo:rustc-cfg=soc_has_clock_node_cpll_clk",
"cargo:rustc-cfg=soc_has_clock_node_mpll_clk",
"cargo:rustc-cfg=soc_has_clock_node_rc_fast_clk",
"cargo:rustc-cfg=soc_has_clock_node_xtal32k_clk",
"cargo:rustc-cfg=soc_has_clock_node_rc_slow_clk",
"cargo:rustc-cfg=soc_has_clock_node_pll_f20m",
"cargo:rustc-cfg=soc_has_clock_node_pll_f80m",
"cargo:rustc-cfg=soc_has_clock_node_pll_f120m",
"cargo:rustc-cfg=soc_has_clock_node_pll_f160m",
"cargo:rustc-cfg=soc_has_clock_node_pll_f240m",
"cargo:rustc-cfg=soc_has_clock_node_bbpll_d3_clock",
"cargo:rustc-cfg=soc_has_clock_node_pll_f25m",
"cargo:rustc-cfg=soc_has_clock_node_pll_f50m",
"cargo:rustc-cfg=soc_has_clock_node_xtal_d2_clk",
"cargo:rustc-cfg=soc_has_clock_node_cpu_root_clk",
"cargo:rustc-cfg=soc_clock_node_cpu_root_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_cpu_clk",
"cargo:rustc-cfg=soc_clock_node_cpu_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_mem_clk",
"cargo:rustc-cfg=soc_clock_node_mem_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_sys_clk",
"cargo:rustc-cfg=soc_clock_node_sys_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_apb_clk",
"cargo:rustc-cfg=soc_clock_node_apb_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_lp_fast_clk",
"cargo:rustc-cfg=soc_clock_node_lp_fast_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_lp_slow_clk",
"cargo:rustc-cfg=soc_clock_node_lp_slow_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_crypto_clk",
"cargo:rustc-cfg=soc_clock_node_crypto_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_iomux_function_clock",
"cargo:rustc-cfg=soc_clock_node_iomux_function_clock_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_timg_calibration_clock",
"cargo:rustc-cfg=soc_clock_node_timg_calibration_clock_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_psram_function_clock",
"cargo:rustc-cfg=soc_clock_node_psram_function_clock_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_uart_function_clock",
"cargo:rustc-cfg=soc_clock_node_uart_function_clock_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_uart_baud_rate_generator",
"cargo:rustc-cfg=soc_clock_node_uart_baud_rate_generator_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_uart_mem_clock",
"cargo:rustc-cfg=soc_has_clock_node_timg_function_clock",
"cargo:rustc-cfg=soc_clock_node_timg_function_clock_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_timg_wdt_clock",
"cargo:rustc-cfg=soc_clock_node_timg_wdt_clock_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_spi_function_clock",
"cargo:rustc-cfg=soc_clock_node_spi_function_clock_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_i2c_function_clock",
"cargo:rustc-cfg=soc_clock_node_i2c_function_clock_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_i2s_tx_clk",
"cargo:rustc-cfg=soc_clock_node_i2s_tx_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_i2s_rx_clk",
"cargo:rustc-cfg=soc_clock_node_i2s_rx_clk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_i2s_mclk_out",
"cargo:rustc-cfg=soc_clock_node_i2s_mclk_out_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_rmt_sclk",
"cargo:rustc-cfg=soc_clock_node_rmt_sclk_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_sdm_function_clock",
"cargo:rustc-cfg=soc_has_clock_node_lcd_cam_lcd_clock",
"cargo:rustc-cfg=soc_clock_node_lcd_cam_lcd_clock_is_configurable",
"cargo:rustc-cfg=soc_has_clock_node_lcd_cam_cam_clock",
"cargo:rustc-cfg=soc_clock_node_lcd_cam_cam_clock_is_configurable",
"cargo:rustc-cfg=has_dram_region",
"cargo:rustc-cfg=has_dram2_uninit_region",
"cargo:rustc-cfg=has_irom_region",
"cargo:rustc-cfg=has_drom_region",
],
memory_layout: &MemoryLayout {
regions: &[
(
"dram",
MemoryRegion {
address_range: 0x2F000000..0x2F07AFC0,
},
),
(
"dram2_uninit",
MemoryRegion {
address_range: 0x2F07AFC0..0x2F07CFB0,
},
),
(
"irom",
MemoryRegion {
address_range: 0x40000000..0x50000000,
},
),
(
"drom",
MemoryRegion {
address_range: 0x40000000..0x50000000,
},
),
],
},
pins: &[
PinInfo {
pin: 0,
limitations: &[],
},
PinInfo {
pin: 1,
limitations: &[],
},
PinInfo {
pin: 2,
limitations: &[],
},
PinInfo {
pin: 3,
limitations: &[],
},
PinInfo {
pin: 4,
limitations: &[],
},
PinInfo {
pin: 5,
limitations: &[],
},
PinInfo {
pin: 6,
limitations: &[],
},
PinInfo {
pin: 7,
limitations: &[],
},
PinInfo {
pin: 8,
limitations: &[],
},
PinInfo {
pin: 9,
limitations: &[],
},
PinInfo {
pin: 10,
limitations: &[],
},
PinInfo {
pin: 11,
limitations: &[],
},
PinInfo {
pin: 12,
limitations: &[],
},
PinInfo {
pin: 13,
limitations: &[],
},
PinInfo {
pin: 14,
limitations: &[],
},
PinInfo {
pin: 15,
limitations: &[],
},
PinInfo {
pin: 16,
limitations: &[],
},
PinInfo {
pin: 17,
limitations: &[],
},
PinInfo {
pin: 18,
limitations: &[],
},
PinInfo {
pin: 19,
limitations: &[],
},
PinInfo {
pin: 20,
limitations: &[],
},
PinInfo {
pin: 21,
limitations: &[],
},
PinInfo {
pin: 22,
limitations: &[],
},
PinInfo {
pin: 23,
limitations: &[],
},
PinInfo {
pin: 24,
limitations: &[],
},
PinInfo {
pin: 25,
limitations: &[],
},
PinInfo {
pin: 26,
limitations: &["spi_flash"],
},
PinInfo {
pin: 27,
limitations: &["spi_flash", "strapping"],
},
PinInfo {
pin: 28,
limitations: &["spi_flash", "strapping"],
},
PinInfo {
pin: 30,
limitations: &["spi_flash"],
},
PinInfo {
pin: 31,
limitations: &["spi_flash"],
},
PinInfo {
pin: 32,
limitations: &["spi_flash"],
},
PinInfo {
pin: 33,
limitations: &["usb_jtag"],
},
PinInfo {
pin: 34,
limitations: &["usb_jtag"],
},
PinInfo {
pin: 35,
limitations: &[],
},
PinInfo {
pin: 36,
limitations: &["strapping"],
},
PinInfo {
pin: 37,
limitations: &["strapping"],
},
PinInfo {
pin: 38,
limitations: &["strapping"],
},
PinInfo {
pin: 39,
limitations: &["strapping"],
},
PinInfo {
pin: 40,
limitations: &["strapping"],
},
PinInfo {
pin: 42,
limitations: &[],
},
PinInfo {
pin: 43,
limitations: &[],
},
PinInfo {
pin: 44,
limitations: &[],
},
PinInfo {
pin: 45,
limitations: &[],
},
PinInfo {
pin: 46,
limitations: &[],
},
PinInfo {
pin: 47,
limitations: &[],
},
PinInfo {
pin: 48,
limitations: &[],
},
PinInfo {
pin: 49,
limitations: &[],
},
PinInfo {
pin: 50,
limitations: &[],
},
PinInfo {
pin: 51,
limitations: &[],
},
PinInfo {
pin: 52,
limitations: &[],
},
PinInfo {
pin: 53,
limitations: &[],
},
PinInfo {
pin: 54,
limitations: &["jtag"],
},
PinInfo {
pin: 55,
limitations: &["jtag"],
},
PinInfo {
pin: 56,
limitations: &["jtag"],
},
PinInfo {
pin: 57,
limitations: &["jtag"],
},
PinInfo {
pin: 58,
limitations: &["bootloader_uart"],
},
PinInfo {
pin: 59,
limitations: &["bootloader_uart"],
},
PinInfo {
pin: 60,
limitations: &["strapping"],
},
PinInfo {
pin: 61,
limitations: &["strapping"],
},
],
},
}
}
pub fn all_possible_symbols() -> &'static [&'static str] {
&[
"esp32",
"xtensa",
"multi_core",
"soc_has_aes",
"soc_has_apb_ctrl",
"soc_has_bb",
"soc_has_dport",
"soc_has_system",
"soc_has_efuse",
"soc_has_eth",
"soc_has_emac_dma",
"soc_has_emac_ext",
"soc_has_emac_mac",
"soc_has_flash_encryption",
"soc_has_frc_timer",
"soc_has_gpio",
"soc_has_gpio_sd",
"soc_has_hinf",
"soc_has_i2c0",
"soc_has_i2c1",
"soc_has_i2s0",
"soc_has_i2s1",
"soc_has_io_mux",
"soc_has_ledc",
"soc_has_mcpwm0",
"soc_has_mmu_table",
"soc_has_mcpwm1",
"soc_has_nrx",
"soc_has_pcnt",
"soc_has_rmt",
"soc_has_rng",
"soc_has_rsa",
"soc_has_lpwr",
"soc_has_rtc_timer",
"soc_has_lp_i2c0",
"soc_has_rtc_io",
"soc_has_sdhost",
"soc_has_sens",
"soc_has_sha",
"soc_has_slc",
"soc_has_slchost",
"soc_has_spi0",
"soc_has_spi1",
"soc_has_spi2",
"soc_has_spi3",
"soc_has_timg0",
"soc_has_timg1",
"soc_has_twai0",
"soc_has_uart0",
"soc_has_uart1",
"soc_has_uart2",
"soc_has_uhci0",
"soc_has_uhci1",
"soc_has_wifi",
"soc_has_adc1",
"soc_has_adc2",
"soc_has_bt",
"soc_has_cpu_ctrl",
"soc_has_dac1",
"soc_has_dac2",
"soc_has_flash",
"soc_has_psram",
"soc_has_touch",
"soc_has_ipc",
"soc_has_from_cpu_intr0",
"soc_has_from_cpu_intr1",
"soc_has_from_cpu_intr2",
"soc_has_from_cpu_intr3",
"gpio_driver_supported",
"io_mux_driver_supported",
"lp_io_driver_supported",
"uart_driver_supported",
"i2c_master_driver_supported",
"spi_master_driver_supported",
"spi_slave_driver_supported",
"i2s_driver_supported",
"rmt_driver_supported",
"sdmmc_driver_supported",
"twai_driver_supported",
"bt_driver_supported",
"wifi_driver_supported",
"ethernet_driver_supported",
"phy_driver_supported",
"rgb_display_driver_supported",
"adc_driver_supported",
"dac_driver_supported",
"temp_sensor_driver_supported",
"touch_driver_supported",
"ledc_driver_supported",
"mcpwm_driver_supported",
"pcnt_driver_supported",
"lp_timer_driver_supported",
"sdm_driver_supported",
"timergroup_driver_supported",
"aes_driver_supported",
"rng_driver_supported",
"rsa_driver_supported",
"sha_driver_supported",
"sleep_driver_supported",
"dma_driver_supported",
"interrupts_driver_supported",
"mmu_driver_supported",
"flash_driver_supported",
"psram_driver_supported",
"rom_driver_supported",
"soc_driver_supported",
"uart_uart0",
"uart_uart1",
"uart_uart2",
"i2c_master_i2c0",
"i2c_master_i2c1",
"spi_master_spi2",
"spi_master_spi3",
"spi_slave_spi2",
"spi_slave_spi3",
"i2s_i2s0",
"i2s_i2s1",
"adc_adc1",
"adc_adc2",
"dac_dac1",
"dac_dac2",
"pcnt_PCNT",
"timergroup_timg0",
"timergroup_timg1",
"gpio_remap_iomux_pin_registers",
"soc_has_xtal32k_pads",
"gpio_has_bank_1",
"i2c_master_separate_filter_config_registers",
"i2c_master_i2c0_data_register_ahb_address_is_set",
"spi_master_bit_order_is_bool",
"i2s_version_is_set",
"i2s_mclk_divider_bit_width_is_set",
"i2s_max_ws_width_is_set",
"i2s_supports_pdm_tx",
"i2s_supports_pdm_rx",
"i2s_supports_pcm2pdm",
"i2s_supports_pdm2pcm",
"rmt_has_per_channel_clock",
"sdmmc_has_iomux",
"wifi_csi_supported",
"ethernet_rx_store_and_forward",
"phy_combo_module",
"soc_has_sdm_ch0",
"soc_has_sdm_ch1",
"soc_has_sdm_ch2",
"soc_has_sdm_ch3",
"soc_has_sdm_ch4",
"soc_has_sdm_ch5",
"soc_has_sdm_ch6",
"soc_has_sdm_ch7",
"timergroup_timg_has_timer1",
"timergroup_rc_fast_calibration_is_set",
"aes_endianness_configurable",
"rng_trng_supported",
"sleep_light_sleep",
"sleep_deep_sleep",
"sleep_has_wakeup_source_ext0",
"sleep_has_wakeup_source_ext1",
"sleep_has_wakeup_source_gpio",
"sleep_has_wakeup_source_timer",
"sleep_has_wakeup_source_sdio",
"sleep_has_wakeup_source_wifi",
"sleep_has_wakeup_source_uart",
"sleep_has_wakeup_source_touch",
"sleep_has_wakeup_source_ulp",
"sleep_has_wakeup_source_bt",
"sleep_ext1_version_is_set",
"sleep_pin_wakeup_version_is_set",
"sleep_deep_sleep_needs_gpio_isolation",
"soc_has_dma_spi2",
"soc_has_dma_spi3",
"soc_has_dma_i2s0",
"soc_has_dma_i2s1",
"spi_master_supports_dma",
"spi_slave_supports_dma",
"i2s_supports_dma",
"rom_has_crc_le",
"rom_has_crc_be",
"rom_has_md5_bsd",
"soc_multi_core_enabled",
"soc_has_clock_node_xtal_clk",
"soc_clock_node_xtal_clk_is_configurable",
"soc_has_clock_node_pll_clk",
"soc_clock_node_pll_clk_is_configurable",
"soc_has_clock_node_apll_clk",
"soc_clock_node_apll_clk_is_configurable",
"soc_has_clock_node_rc_fast_clk",
"soc_has_clock_node_pll_f160m_clk",
"soc_has_clock_node_pll_d2_clk",
"soc_has_clock_node_cpu_pll_div_in",
"soc_clock_node_cpu_pll_div_in_is_configurable",
"soc_has_clock_node_cpu_pll_div",
"soc_clock_node_cpu_pll_div_is_configurable",
"soc_has_clock_node_syscon_pre_div_in",
"soc_clock_node_syscon_pre_div_in_is_configurable",
"soc_has_clock_node_syscon_pre_div",
"soc_clock_node_syscon_pre_div_is_configurable",
"soc_has_clock_node_cpu_clk",
"soc_clock_node_cpu_clk_is_configurable",
"soc_has_clock_node_apb_clk_cpu_div2",
"soc_has_clock_node_apb_clk_80m",
"soc_has_clock_node_apb_clk",
"soc_clock_node_apb_clk_is_configurable",
"soc_has_clock_node_ref_tick_pll",
"soc_clock_node_ref_tick_pll_is_configurable",
"soc_has_clock_node_ref_tick_apll",
"soc_clock_node_ref_tick_apll_is_configurable",
"soc_has_clock_node_ref_tick_xtal",
"soc_clock_node_ref_tick_xtal_is_configurable",
"soc_has_clock_node_ref_tick_fosc",
"soc_clock_node_ref_tick_fosc_is_configurable",
"soc_has_clock_node_ref_tick",
"soc_clock_node_ref_tick_is_configurable",
"soc_has_clock_node_xtal32k_clk",
"soc_has_clock_node_rc_slow_clk",
"soc_has_clock_node_rc_fast_div_clk",
"soc_has_clock_node_xtal_div_clk",
"soc_has_clock_node_rtc_slow_clk",
"soc_clock_node_rtc_slow_clk_is_configurable",
"soc_has_clock_node_rtc_fast_clk",
"soc_clock_node_rtc_fast_clk_is_configurable",
"soc_has_clock_node_uart_mem_clk",
"soc_has_clock_node_timg_calibration_clock",
"soc_clock_node_timg_calibration_clock_is_configurable",
"soc_has_clock_node_mcpwm_function_clock",
"soc_has_clock_node_i2c_function_clock",
"soc_clock_node_i2c_function_clock_is_configurable",
"soc_has_clock_node_uart_function_clock",
"soc_clock_node_uart_function_clock_is_configurable",
"soc_has_clock_node_uart_mem_clock",
"soc_has_clock_node_uart_baud_rate_generator",
"soc_clock_node_uart_baud_rate_generator_is_configurable",
"soc_has_clock_node_sdm_function_clock",
"soc_has_clock_node_rmt_sclk",
"soc_clock_node_rmt_sclk_is_configurable",
"soc_has_clock_node_spi_function_clock",
"soc_has_clock_node_i2s_mclk",
"soc_clock_node_i2s_mclk_is_configurable",
"has_dram_region",
"has_dram2_uninit_region",
"has_irom_region",
"has_drom_region",
"esp32c2",
"riscv",
"single_core",
"soc_has_apb_saradc",
"soc_has_assist_debug",
"soc_has_dma",
"soc_has_ecc",
"soc_has_extmem",
"soc_has_i2c_ana_mst",
"soc_has_interrupt_core0",
"soc_has_modem_clkrst",
"soc_has_sensitive",
"soc_has_systimer",
"soc_has_xts_aes",
"soc_has_gpio_dedicated",
"dedicated_gpio_driver_supported",
"systimer_driver_supported",
"ecc_driver_supported",
"assist_debug_driver_supported",
"gpio_has_input_sync",
"uart_has_sclk_divider",
"uart_has_sclk_enable",
"i2c_master_has_fsm_timeouts",
"i2c_master_has_hw_bus_clear",
"i2c_master_has_bus_timeout_enable",
"i2c_master_has_conf_update",
"i2c_master_has_arbitration_en",
"i2c_master_has_tx_fifo_watermark",
"i2c_master_bus_timeout_is_exponential",
"i2c_master_has_pd_en",
"spi_master_has_app_interrupts",
"spi_master_has_dma_segmented_transfer",
"timergroup_timg_has_divcnt_rst",
"ecc_zero_extend_writes",
"ecc_has_finite_field_division",
"ecc_has_curve_p192",
"ecc_has_curve_p256",
"assist_debug_has_sp_monitor",
"dma_gdma_version_is_set",
"soc_has_dma_ch0",
"dma_supports_mem2mem",
"sha_supports_dma",
"dma_max_priority_is_set",
"rom_has_md5_mbedtls",
"soc_cpu_has_csr_pc",
"soc_has_swd_watchdog",
"soc_has_clock_node_osc_slow_clk",
"soc_has_clock_node_system_pre_div_in",
"soc_clock_node_system_pre_div_in_is_configurable",
"soc_has_clock_node_system_pre_div",
"soc_clock_node_system_pre_div_is_configurable",
"soc_has_clock_node_pll_40m",
"soc_has_clock_node_pll_60m",
"soc_has_clock_node_pll_80m",
"soc_has_clock_node_cpu_div2",
"soc_has_clock_node_crypto_clk",
"soc_clock_node_crypto_clk_is_configurable",
"soc_has_clock_node_mspi_clk",
"soc_clock_node_mspi_clk_is_configurable",
"soc_has_clock_node_rc_fast_clk_div_n",
"soc_clock_node_rc_fast_clk_div_n_is_configurable",
"soc_has_clock_node_low_power_clk",
"soc_clock_node_low_power_clk_is_configurable",
"soc_has_clock_node_timg_function_clock",
"soc_clock_node_timg_function_clock_is_configurable",
"soc_has_clock_node_timg_wdt_clock",
"soc_clock_node_timg_wdt_clock_is_configurable",
"soc_clock_node_spi_function_clock_is_configurable",
"esp32c3",
"soc_has_ds",
"soc_has_fe",
"soc_has_fe2",
"soc_has_hmac",
"soc_has_usb_device",
"soc_has_tsens",
"uhci_driver_supported",
"i2c_slave_driver_supported",
"usb_serial_jtag_driver_supported",
"hmac_driver_supported",
"i2c_slave_i2c0",
"rmt_has_tx_immediate_stop",
"rmt_has_tx_loop_count",
"rmt_has_tx_carrier_data_only",
"rmt_has_tx_sync",
"rmt_has_rx_wrap",
"rmt_has_rx_demodulation",
"phy_backed_up_digital_register_count_is_set",
"aes_dma_mode_ecb",
"aes_dma_mode_cbc",
"aes_dma_mode_ofb",
"aes_dma_mode_ctr",
"aes_dma_mode_cfb8",
"aes_dma_mode_cfb128",
"aes_has_split_text_registers",
"assist_debug_has_region_monitor",
"dma_mem2mem_requires_peripheral",
"soc_has_dma_ch1",
"soc_has_dma_ch2",
"aes_supports_dma",
"uhci_supports_dma",
"soc_has_clock_node_cpu_pll_div_out",
"soc_clock_node_cpu_pll_div_out_is_configurable",
"soc_has_clock_node_pll_160m",
"soc_has_clock_node_i2s_tx_clk",
"soc_clock_node_i2s_tx_clk_is_configurable",
"soc_has_clock_node_i2s_rx_clk",
"soc_clock_node_i2s_rx_clk_is_configurable",
"soc_has_clock_node_i2s_mclk_out",
"soc_clock_node_i2s_mclk_out_is_configurable",
"esp32c5",
"soc_has_cache",
"soc_has_clint",
"soc_has_ecdsa",
"soc_has_etm",
"soc_has_hp_apm",
"soc_has_hp_sys",
"soc_has_huk",
"soc_has_ieee802154",
"soc_has_intpri",
"soc_has_keymng",
"soc_has_lp_ana",
"soc_has_lp_aon",
"soc_has_lp_apm0",
"soc_has_lp_clkrst",
"soc_has_lp_gpio",
"soc_has_lp_i2c_ana_mst",
"soc_has_lp_io_mux",
"soc_has_lp_peri",
"soc_has_lp_tee",
"soc_has_lp_uart",
"soc_has_lp_wdt",
"soc_has_mem_monitor",
"soc_has_modem_lpcon",
"soc_has_modem_syscon",
"soc_has_parl_io",
"soc_has_pau",
"soc_has_pcr",
"soc_has_pmu",
"soc_has_pvt_monitor",
"soc_has_tee",
"soc_has_lp_core",
"lp_i2c_master_driver_supported",
"parl_io_driver_supported",
"ieee802154_driver_supported",
"uart_peripheral_controls_mem_clk",
"uhci_combined_uart_selector_field",
"i2c_master_can_estimate_nack_reason",
"i2c_master_has_reliable_fsm_reset",
"lp_i2c_master_fifo_size_is_set",
"spi_master_has_clk_pre_div",
"spi_master_dma_can_access_flash",
"i2s_clock_configured_by_pcr",
"rmt_has_tx_loop_auto_stop",
"wifi_has_wifi6",
"wifi_has_5g",
"timergroup_rc_fast_calibration_divider",
"ecc_separate_jacobian_point_memory",
"ecc_has_memory_clock_gate",
"ecc_supports_enhanced_security",
"ecc_has_modular_arithmetic",
"ecc_has_point_addition",
"ecc_has_curve_p384",
"rng_is_lp_sys",
"sleep_has_wakeup_source_wifi_beacon",
"sleep_has_wakeup_source_lp_core",
"dma_separate_in_out_interrupts",
"parl_io_supports_dma",
"dma_can_access_psram",
"soc_cpu_has_branch_predictor",
"soc_cpu_csr_prv_mode_is_set",
"soc_has_clock_node_pll_f12m",
"soc_has_clock_node_pll_f20m",
"soc_has_clock_node_pll_f40m",
"soc_has_clock_node_pll_f48m",
"soc_has_clock_node_pll_f60m",
"soc_has_clock_node_pll_f80m",
"soc_has_clock_node_pll_f120m",
"soc_has_clock_node_pll_f160m",
"soc_has_clock_node_pll_f240m",
"soc_has_clock_node_hp_root_clk",
"soc_clock_node_hp_root_clk_is_configurable",
"soc_has_clock_node_ahb_clk",
"soc_clock_node_ahb_clk_is_configurable",
"soc_has_clock_node_xtal_d2_clk",
"soc_has_clock_node_lp_fast_clk",
"soc_clock_node_lp_fast_clk_is_configurable",
"soc_has_clock_node_lp_slow_clk",
"soc_clock_node_lp_slow_clk_is_configurable",
"soc_has_clock_node_crypto_pll_div",
"soc_has_clock_node_iomux_function_clock",
"soc_clock_node_iomux_function_clock_is_configurable",
"soc_has_clock_node_parl_io_rx_clock",
"soc_clock_node_parl_io_rx_clock_is_configurable",
"soc_has_clock_node_parl_io_tx_clock",
"soc_clock_node_parl_io_tx_clock_is_configurable",
"esp32c6",
"soc_has_atomic",
"soc_has_lp_apm",
"soc_has_lp_io",
"soc_has_otp_debug",
"soc_has_plic_mx",
"soc_has_trace0",
"soc_has_twai1",
"lp_uart_driver_supported",
"ulp_riscv_driver_supported",
"etm_driver_supported",
"soc_has_clock_node_soc_root_clk",
"soc_clock_node_soc_root_clk_is_configurable",
"soc_has_clock_node_cpu_hs_div",
"soc_clock_node_cpu_hs_div_is_configurable",
"soc_has_clock_node_cpu_ls_div",
"soc_clock_node_cpu_ls_div_is_configurable",
"soc_has_clock_node_ahb_hs_div",
"soc_clock_node_ahb_hs_div_is_configurable",
"soc_has_clock_node_ahb_ls_div",
"soc_clock_node_ahb_ls_div_is_configurable",
"soc_has_clock_node_mspi_fast_hs_clk",
"soc_clock_node_mspi_fast_hs_clk_is_configurable",
"soc_has_clock_node_mspi_fast_ls_clk",
"soc_clock_node_mspi_fast_ls_clk_is_configurable",
"soc_has_clock_node_mspi_fast_clk",
"soc_clock_node_mspi_fast_clk_is_configurable",
"soc_has_clock_node_ledc_sclk",
"soc_clock_node_ledc_sclk_is_configurable",
"soc_clock_node_mcpwm_function_clock_is_configurable",
"esp32c61",
"esp32h2",
"timergroup_rc_fast_calibration_tick_enable",
"soc_has_clock_node_pll_f96m_clk",
"soc_has_clock_node_pll_f64m_clk",
"soc_has_clock_node_pll_f48m_clk",
"soc_has_clock_node_pll_lp_clk",
"esp32p4",
"soc_has_hp_sys_clkrst",
"soc_has_interrupt_core1",
"soc_has_clic",
"soc_has_clint_other_core",
"soc_has_iomux_mspi_pin",
"soc_has_lp_aon_clkrst",
"soc_has_lp_sys",
"soc_has_uart3",
"soc_has_uart4",
"soc_has_memspi2",
"soc_has_memspi3",
"soc_has_i2s2",
"soc_has_twai2",
"soc_has_axi_gdma",
"soc_has_mipi_dsi",
"soc_has_vdma",
"soc_has_mipi_dsi_host",
"soc_has_mipi_dsi_bridge",
"soc_has_lp_adc",
"soc_has_usb_fs",
"soc_has_usb_hs",
"soc_has_usb_wrap",
"usb_otg_driver_supported",
"usb_otg_hs_driver_supported",
"mipi_dsi_driver_supported",
"uart_uart3",
"uart_uart4",
"i2s_i2s2",
"lp_io_has_gpio_matrix",
"i2s_clock_configured_by_hp_sys_clkrst",
"i2s_supports_pdm_rx_hp_filter",
"sdmmc_delay_phase_num_is_set",
"sdmmc_has_gpio_matrix",
"sdmmc_psram_dma",
"ethernet_mii_via_gpio_matrix",
"ethernet_rx_checksum_offload",
"aes_dma_mode_gcm",
"sleep_has_wakeup_source_usb",
"soc_has_dma_axi_ch0",
"soc_has_dma_axi_ch1",
"soc_has_dma_axi_ch2",
"soc_has_vdma_ch0",
"soc_has_vdma_ch1",
"soc_has_vdma_ch2",
"soc_has_vdma_ch3",
"mipi_dsi_supports_dma",
"psram_octal_spi",
"psram_hex_spi",
"soc_internal_memory_cached",
"soc_has_clock_node_cpll_clk",
"soc_clock_node_cpll_clk_is_configurable",
"soc_has_clock_node_spll_clk",
"soc_has_clock_node_mpll_clk",
"soc_clock_node_mpll_clk_is_configurable",
"soc_has_clock_node_rc32k_clk",
"soc_has_clock_node_spll_d3_clock",
"soc_has_clock_node_pll_f25m",
"soc_has_clock_node_pll_f50m",
"soc_has_clock_node_cpu_root_clk",
"soc_clock_node_cpu_root_clk_is_configurable",
"soc_has_clock_node_mem_clk",
"soc_clock_node_mem_clk_is_configurable",
"soc_has_clock_node_sys_clk",
"soc_clock_node_sys_clk_is_configurable",
"soc_has_clock_node_psram_function_clock",
"soc_clock_node_psram_function_clock_is_configurable",
"soc_has_clock_node_mipi_dsi_dpi_clk",
"soc_clock_node_mipi_dsi_dpi_clk_is_configurable",
"soc_has_clock_node_mipi_dsi_phy_pll_refclk",
"soc_clock_node_mipi_dsi_phy_pll_refclk_is_configurable",
"soc_has_clock_node_mipi_dsi_phy_cfg_clk",
"soc_clock_node_mipi_dsi_phy_cfg_clk_is_configurable",
"esp32s2",
"soc_has_pms",
"soc_has_syscon",
"soc_has_ulp_riscv_core",
"dedicated_gpio_needs_initialization",
"spi_master_has_octal",
"sleep_has_wakeup_source_ulp_riscv",
"sleep_has_wakeup_source_ulp_riscv_trap",
"dma_ext_mem_configurable_block_size",
"soc_has_dma_crypto",
"soc_has_dma_copy",
"soc_has_clock_node_ref_tick_ck8m",
"soc_clock_node_ref_tick_ck8m_is_configurable",
"esp32s3",
"soc_has_lcd_cam",
"soc_has_peri_backup",
"soc_has_rtc_cntl",
"soc_has_wcl",
"camera_driver_supported",
"soc_has_dma_ch3",
"soc_has_dma_ch4",
"rmt_supports_dma",
"lcd_cam_supports_dma",
"soc_has_clock_node_pll_d2",
"soc_has_clock_node_apb_80m",
"soc_has_clock_node_crypto_pwm_clk",
"soc_clock_node_crypto_pwm_clk_is_configurable",
"soc_has_clock_node_lcd_cam_lcd_clock",
"soc_clock_node_lcd_cam_lcd_clock_is_configurable",
"soc_has_clock_node_lcd_cam_cam_clock",
"soc_clock_node_lcd_cam_cam_clock_is_configurable",
"esp32s31",
"soc_has_cnnt_sys",
"soc_has_cnnt_io_mux",
"soc_has_hp_mem_apm",
"soc_has_hp_alive_sys",
"soc_has_lp_aon_clk_rst",
"soc_has_pcnt1",
"pcnt_PCNT1",
"ethernet_has_rgmii",
"soc_has_clock_node_bbpll_clk",
"soc_has_clock_node_bbpll_d3_clock",
"gpio_version, values(\"1\",\"2\",\"3\")",
"gpio_gpio_function, values(\"2\",\"1\")",
"gpio_constant_0_input, values(\"48\",\"31\",\"96\",\"60\",\"62\",\"192\")",
"gpio_constant_1_input, values(\"56\",\"30\",\"64\",\"63\",\"128\")",
"gpio_func_in_sel_offset, values(\"0\",\"1\")",
"gpio_input_signal_max, \
values(\"206\",\"100\",\"116\",\"124\",\"249\",\"242\",\"255\")",
"gpio_output_signal_max, values(\"256\",\"128\")",
"lp_io_version, \
values(\"esp32\",\"v3\",\"v4\",\"esp32h2\",\"esp32p4\",\"v2\",\"esp32s31\")",
"uart_ram_size, values(\"128\")",
"uart_version, values(\"1\",\"2\")",
"i2c_master_version, values(\"1\",\"3\",\"4\",\"2\")",
"i2c_master_i2c0_data_register_ahb_address, values(\"1610690588\")",
"i2c_master_max_bus_timeout, values(\"1048575\",\"31\",\"16777215\")",
"i2c_master_ll_intr_mask, values(\"262143\",\"131071\")",
"i2c_master_fifo_size, values(\"32\",\"16\")",
"spi_master_version, values(\"1\",\"3\",\"2\")",
"spi_master_fifo_size, values(\"64\",\"72\")",
"i2s_version, values(\"1\",\"2\",\"3\")",
"i2s_mclk_divider_bit_width, values(\"6\",\"9\",\"8\")",
"i2s_max_ws_width, values(\"128\",\"512\")",
"rmt_ram_start, \
values(\"1073047552\",\"1610703872\",\"1610638336\",\"1610642432\",\"1342842880\",\"\
1061250048\",\"1610704896\",\"540366848\")",
"rmt_channel_ram_size, values(\"64\",\"48\")",
"bt_controller, values(\"btdm\",\"npl\")",
"wifi_mac_version, values(\"1\",\"3\",\"2\")",
"ethernet_dma_burst_len, values(\"32\",\"16\")",
"rgb_display_output_lines, values(\"24\",\"16\")",
"ledc_version, values(\"1\",\"2\",\"3\")",
"ledc_channel_count, values(\"8\",\"6\")",
"rng_apb_cycle_wait_num, values(\"16\")",
"rsa_version, values(\"1\",\"3\",\"2\")",
"rsa_size_increment, values(\"512\",\"32\")",
"rsa_memory_size_bytes, values(\"512\",\"384\")",
"sleep_ext1_version, values(\"1\",\"2\",\"3\")",
"sleep_pin_wakeup_version, values(\"1\",\"2\",\"3\")",
"spi_master_dma_engine, values(\"SPI_DMA\",\"AHB_GDMA\",\"AXI_GDMA\")",
"spi_slave_dma_engine, values(\"SPI_DMA\",\"AHB_GDMA\",\"AXI_GDMA\")",
"i2s_dma_engine, values(\"I2S_DMA\",\"AHB_GDMA\")",
"interrupts_status_registers, values(\"3\",\"2\",\"5\",\"4\",\"6\")",
"interrupt_controller, values(\"xtensa\",\"riscv_basic\",\"clic\",\"plic\")",
"context_switch_source, values(\"ipc\",\"from_cpu\",\"clint\",\"software0\")",
"mmu_page_size, values(\"65536\")",
"mmu_entry_num, values(\"256\",\"64\",\"128\",\"512\",\"384\",\"1024\")",
"psram_extmem_origin, \
values(\"1065353216\",\"1107296256\",\"1207959552\",\"1062207488\",\"1006632960\",\"\
1342177280\")",
"soc_cpu_mcause_mask, values(\"0\",\"31\",\"63\")",
"dedicated_gpio_version, values(\"riscv_v1\",\"riscv_v2\",\"esp32s2\",\"esp32s3\")",
"dma_gdma_version, values(\"1\",\"2\",\"3\")",
"sha_dma_engine, values(\"AHB_GDMA\",\"AXI_GDMA\",\"CRYPTO_DMA\")",
"dma_max_priority, values(\"9\",\"5\",\"15\")",
"phy_backed_up_digital_register_count, values(\"21\")",
"aes_dma_engine, values(\"AHB_GDMA\",\"AXI_GDMA\",\"CRYPTO_DMA\")",
"uhci_dma_engine, values(\"AHB_GDMA\")",
"lp_i2c_master_version, values(\"lp_i2c\",\"rtc_i2c\")",
"lp_i2c_master_fifo_size, values(\"16\")",
"parl_io_version, values(\"2\",\"1\")",
"parl_io_dma_engine, values(\"AHB_GDMA\")",
"soc_cpu_csr_prv_mode, values(\"2064\",\"3088\")",
"lp_uart_ram_size, values(\"32\")",
"sdmmc_delay_phase_num, values(\"8\",\"4\")",
"usb_otg_fifo_depth_words, values(\"200\",\"256\")",
"usb_otg_hs_fifo_depth_words, values(\"896\")",
"mipi_dsi_dma_engine, values(\"VDMA\")",
"rmt_dma_engine, values(\"AHB_GDMA\")",
"lcd_cam_dma_engine, values(\"AHB_GDMA\",\"AXI_GDMA\")",
]
}
}
pub struct MemoryRegion {
address_range: Range<u32>,
}
impl MemoryRegion {
pub fn range(&self) -> Range<u32> {
self.address_range.clone()
}
pub fn size(&self) -> u32 {
self.address_range.end - self.address_range.start
}
}
pub struct MemoryLayout {
regions: &'static [(&'static str, MemoryRegion)],
}
impl MemoryLayout {
pub fn region(&self, name: &str) -> Option<&'static MemoryRegion> {
self.regions
.iter()
.find_map(|(n, r)| if *n == name { Some(r) } else { None })
}
}
#[non_exhaustive]
pub struct PinInfo {
pub pin: usize,
pub limitations: &'static [&'static str],
}
struct Config {
architecture: &'static str,
target: &'static str,
symbols: &'static [&'static str],
cfgs: &'static [&'static str],
memory_layout: &'static MemoryLayout,
pins: &'static [PinInfo],
}
impl Config {
fn define_cfgs(&self) {
emit_check_cfg_directives();
for cfg in self.cfgs {
println!("{cfg}");
}
}
}
pub fn emit_check_cfg_directives() {
println!("cargo:rustc-check-cfg=cfg(not_really_docsrs)");
println!("cargo:rustc-check-cfg=cfg(semver_checks)");
for cfg in Chip::all_possible_symbols() {
println!("cargo:rustc-check-cfg=cfg({cfg})");
}
}