// Do NOT edit this file directly. Make your changes to esp-metadata,
// then run `cargo xtask update-metadata`.

#[cfg(docsrs)]
macro_rules! println {
    ($($any:tt)*) => {};
}
#[derive(Clone, Copy, PartialEq, Eq, Hash)]
#[cfg_attr(docsrs, doc(cfg(feature = "build-script")))]
pub enum Chip {
    Esp32,
    Esp32c2,
    Esp32c3,
    Esp32c6,
    Esp32h2,
    Esp32s2,
    Esp32s3,
}
impl core::str::FromStr for Chip {
    type Err = ();
    fn from_str(s: &str) -> Result<Self, Self::Err> {
        match s {
            "esp32" => Ok(Self::Esp32),
            "esp32c2" => Ok(Self::Esp32c2),
            "esp32c3" => Ok(Self::Esp32c3),
            "esp32c6" => Ok(Self::Esp32c6),
            "esp32h2" => Ok(Self::Esp32h2),
            "esp32s2" => Ok(Self::Esp32s2),
            "esp32s3" => Ok(Self::Esp32s3),
            _ => Err(()),
        }
    }
}
impl Chip {
    /// Tries to extract the active chip from the active cargo features.
    ///
    /// Exactly one device feature must be enabled for this function to succeed.
    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_ESP32C6", Self::Esp32c6),
            ("CARGO_FEATURE_ESP32H2", Self::Esp32h2),
            ("CARGO_FEATURE_ESP32S2", Self::Esp32s2),
            ("CARGO_FEATURE_ESP32S3", Self::Esp32s3),
        ];
        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, esp32c6, esp32h2, esp32s2, esp32s3",
                    );
                }
                chip = Some(c);
            }
        }
        match chip {
            Some(chip) => Ok(chip),
            None => Err(
                "Expected exactly one of the following features to be enabled: esp32, esp32c2, esp32c3, esp32c6, esp32h2, esp32s2, esp32s3",
            ),
        }
    }
    /// Returns whether the current chip uses the Tensilica Xtensa ISA.
    pub fn is_xtensa(self) -> bool {
        self.config().architecture == "xtensa"
    }
    /// The target triple of the current chip.
    pub fn target(self) -> &'static str {
        self.config().target
    }
    /// The simple name of the current chip.
    ///
    /// ## Example
    ///
    /// ```rust
    /// assert_eq!(Chip::Esp32s3.name(), "esp32s3");
    /// ```
    pub fn name(self) -> &'static str {
        match self {
            Self::Esp32 => "esp32",
            Self::Esp32c2 => "esp32c2",
            Self::Esp32c3 => "esp32c3",
            Self::Esp32c6 => "esp32c6",
            Self::Esp32h2 => "esp32h2",
            Self::Esp32s2 => "esp32s2",
            Self::Esp32s3 => "esp32s3",
        }
    }
    /// Returns whether the chip configuration contains the given symbol.
    ///
    /// This function is a short-hand for `self.all_symbols().contains(&symbol)`.
    ///
    /// ## Example
    ///
    /// ```rust
    /// assert!(Chip::Esp32s3.contains("soc_has_pcnt"));
    /// ```
    pub fn contains(self, symbol: &str) -> bool {
        self.all_symbols().contains(&symbol)
    }
    /// Calling this function will define all cfg symbols for the firmware crate to use.
    pub fn define_cfgs(self) {
        self.config().define_cfgs()
    }
    /// Returns all symbols as a big slice.
    ///
    /// ## Example
    ///
    /// ```rust
    /// assert!(Chip::Esp32s3.all_symbols().contains("soc_has_pcnt"));
    /// ```
    pub fn all_symbols(&self) -> &'static [&'static str] {
        self.config().symbols
    }
    /// Returns an iterator over all chips.
    ///
    /// ## Example
    ///
    /// ```rust
    /// assert!(Chip::iter().any(|c| c == Chip::Esp32));
    /// ```
    pub fn iter() -> impl Iterator<Item = Chip> {
        [
            Self::Esp32,
            Self::Esp32c2,
            Self::Esp32c3,
            Self::Esp32c6,
            Self::Esp32h2,
            Self::Esp32s2,
            Self::Esp32s3,
        ]
        .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_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_mcpwm1",
                    "soc_has_nrx",
                    "soc_has_pcnt",
                    "soc_has_rmt",
                    "soc_has_rng",
                    "soc_has_rsa",
                    "soc_has_lpwr",
                    "soc_has_rtc_i2c",
                    "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_dma_spi2",
                    "soc_has_dma_spi3",
                    "soc_has_dma_i2s0",
                    "soc_has_dma_i2s1",
                    "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_sw_interrupt",
                    "soc_has_touch",
                    "pdma",
                    "phy",
                    "psram",
                    "touch",
                    "rom_crc_le",
                    "rom_crc_be",
                    "rom_md5_bsd",
                    "pm_support_ext0_wakeup",
                    "pm_support_ext1_wakeup",
                    "pm_support_touch_sensor_wakeup",
                    "ulp_supported",
                    "soc",
                    "adc",
                    "aes",
                    "dac",
                    "dma",
                    "gpio",
                    "i2c_master",
                    "i2s",
                    "interrupts",
                    "io_mux",
                    "rgb_display",
                    "ledc",
                    "mcpwm",
                    "pcnt",
                    "psram",
                    "rmt",
                    "rng",
                    "rsa",
                    "sd_host",
                    "sd_slave",
                    "sleep",
                    "sha",
                    "spi_master",
                    "spi_slave",
                    "temp_sensor",
                    "timergroup",
                    "touch",
                    "twai",
                    "uart",
                    "ulp_fsm",
                    "wifi",
                    "bt",
                    "phy",
                    "adc_adc1",
                    "adc_adc2",
                    "dac_dac1",
                    "dac_dac2",
                    "i2c_master_i2c0",
                    "i2c_master_i2c1",
                    "spi_master_spi2",
                    "spi_master_spi3",
                    "spi_slave_spi2",
                    "spi_slave_spi3",
                    "timergroup_timg0",
                    "timergroup_timg1",
                    "uart_uart0",
                    "uart_uart1",
                    "uart_uart2",
                    "soc_ref_tick_hz=\"1000000\"",
                    "soc_ref_tick_hz_is_set",
                    "soc_rc_fast_clk_default=\"8500000\"",
                    "soc_rc_fast_clk_default_is_set",
                    "soc_rc_slow_clock=\"150000\"",
                    "soc_rc_slow_clock_is_set",
                    "has_dram_region",
                    "has_dram2_uninit_region",
                    "soc_has_multiple_xtal_options",
                    "aes_endianness_configurable",
                    "gpio_has_bank_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\"",
                    "gpio_input_signal_max=\"206\"",
                    "gpio_output_signal_max=\"256\"",
                    "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\"",
                    "interrupts_status_registers=\"3\"",
                    "rmt_ram_start=\"1073047552\"",
                    "rmt_channel_ram_size=\"64\"",
                    "rmt_has_per_channel_clock",
                    "rmt_supports_reftick_clock",
                    "rmt_supports_apb_clock",
                    "rng_apb_cycle_wait_num=\"16\"",
                    "rsa_size_increment=\"512\"",
                    "rsa_memory_size_bytes=\"512\"",
                    "timergroup_timg_has_timer1",
                    "uart_ram_size=\"128\"",
                    "bt_controller=\"btdm\"",
                    "phy_combo_module",
                ],
                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_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_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_i2c",
                    "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_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=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_sw_interrupt",
                    "cargo:rustc-cfg=soc_has_touch",
                    "cargo:rustc-cfg=pdma",
                    "cargo:rustc-cfg=phy",
                    "cargo:rustc-cfg=psram",
                    "cargo:rustc-cfg=touch",
                    "cargo:rustc-cfg=rom_crc_le",
                    "cargo:rustc-cfg=rom_crc_be",
                    "cargo:rustc-cfg=rom_md5_bsd",
                    "cargo:rustc-cfg=pm_support_ext0_wakeup",
                    "cargo:rustc-cfg=pm_support_ext1_wakeup",
                    "cargo:rustc-cfg=pm_support_touch_sensor_wakeup",
                    "cargo:rustc-cfg=ulp_supported",
                    "cargo:rustc-cfg=soc",
                    "cargo:rustc-cfg=adc",
                    "cargo:rustc-cfg=aes",
                    "cargo:rustc-cfg=dac",
                    "cargo:rustc-cfg=dma",
                    "cargo:rustc-cfg=gpio",
                    "cargo:rustc-cfg=i2c_master",
                    "cargo:rustc-cfg=i2s",
                    "cargo:rustc-cfg=interrupts",
                    "cargo:rustc-cfg=io_mux",
                    "cargo:rustc-cfg=rgb_display",
                    "cargo:rustc-cfg=ledc",
                    "cargo:rustc-cfg=mcpwm",
                    "cargo:rustc-cfg=pcnt",
                    "cargo:rustc-cfg=psram",
                    "cargo:rustc-cfg=rmt",
                    "cargo:rustc-cfg=rng",
                    "cargo:rustc-cfg=rsa",
                    "cargo:rustc-cfg=sd_host",
                    "cargo:rustc-cfg=sd_slave",
                    "cargo:rustc-cfg=sleep",
                    "cargo:rustc-cfg=sha",
                    "cargo:rustc-cfg=spi_master",
                    "cargo:rustc-cfg=spi_slave",
                    "cargo:rustc-cfg=temp_sensor",
                    "cargo:rustc-cfg=timergroup",
                    "cargo:rustc-cfg=touch",
                    "cargo:rustc-cfg=twai",
                    "cargo:rustc-cfg=uart",
                    "cargo:rustc-cfg=ulp_fsm",
                    "cargo:rustc-cfg=wifi",
                    "cargo:rustc-cfg=bt",
                    "cargo:rustc-cfg=phy",
                    "cargo:rustc-cfg=adc_adc1",
                    "cargo:rustc-cfg=adc_adc2",
                    "cargo:rustc-cfg=dac_dac1",
                    "cargo:rustc-cfg=dac_dac2",
                    "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=timergroup_timg0",
                    "cargo:rustc-cfg=timergroup_timg1",
                    "cargo:rustc-cfg=uart_uart0",
                    "cargo:rustc-cfg=uart_uart1",
                    "cargo:rustc-cfg=uart_uart2",
                    "cargo:rustc-cfg=soc_ref_tick_hz=\"1000000\"",
                    "cargo:rustc-cfg=soc_ref_tick_hz_is_set",
                    "cargo:rustc-cfg=soc_rc_fast_clk_default=\"8500000\"",
                    "cargo:rustc-cfg=soc_rc_fast_clk_default_is_set",
                    "cargo:rustc-cfg=soc_rc_slow_clock=\"150000\"",
                    "cargo:rustc-cfg=soc_rc_slow_clock_is_set",
                    "cargo:rustc-cfg=has_dram_region",
                    "cargo:rustc-cfg=has_dram2_uninit_region",
                    "cargo:rustc-cfg=soc_has_multiple_xtal_options",
                    "cargo:rustc-cfg=aes_endianness_configurable",
                    "cargo:rustc-cfg=gpio_has_bank_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=gpio_input_signal_max=\"206\"",
                    "cargo:rustc-cfg=gpio_output_signal_max=\"256\"",
                    "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=interrupts_status_registers=\"3\"",
                    "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=rmt_supports_reftick_clock",
                    "cargo:rustc-cfg=rmt_supports_apb_clock",
                    "cargo:rustc-cfg=rng_apb_cycle_wait_num=\"16\"",
                    "cargo:rustc-cfg=rsa_size_increment=\"512\"",
                    "cargo:rustc-cfg=rsa_memory_size_bytes=\"512\"",
                    "cargo:rustc-cfg=timergroup_timg_has_timer1",
                    "cargo:rustc-cfg=uart_ram_size=\"128\"",
                    "cargo:rustc-cfg=bt_controller=\"btdm\"",
                    "cargo:rustc-cfg=phy_combo_module",
                ],
            },
            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_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_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_dma_ch0",
                    "soc_has_adc1",
                    "soc_has_bt",
                    "soc_has_flash",
                    "soc_has_sw_interrupt",
                    "soc_has_wifi",
                    "soc_has_mem2mem1",
                    "soc_has_mem2mem2",
                    "soc_has_mem2mem3",
                    "soc_has_mem2mem4",
                    "soc_has_mem2mem5",
                    "soc_has_mem2mem6",
                    "soc_has_mem2mem7",
                    "soc_has_mem2mem8",
                    "gdma",
                    "phy",
                    "swd",
                    "rom_crc_le",
                    "rom_crc_be",
                    "rom_md5_mbedtls",
                    "pm_support_wifi_wakeup",
                    "pm_support_bt_wakeup",
                    "uart_support_wakeup_int",
                    "gpio_support_deepsleep_wakeup",
                    "soc",
                    "adc",
                    "assist_debug",
                    "dma",
                    "ecc",
                    "gpio",
                    "i2c_master",
                    "interrupts",
                    "io_mux",
                    "ledc",
                    "rng",
                    "sleep",
                    "sha",
                    "spi_master",
                    "spi_slave",
                    "systimer",
                    "temp_sensor",
                    "timergroup",
                    "uart",
                    "wifi",
                    "bt",
                    "phy",
                    "adc_adc1",
                    "i2c_master_i2c0",
                    "spi_master_spi2",
                    "spi_slave_spi2",
                    "timergroup_timg0",
                    "uart_uart0",
                    "uart_uart1",
                    "soc_cpu_has_csr_pc",
                    "soc_rc_fast_clk_default=\"17500000\"",
                    "soc_rc_fast_clk_default_is_set",
                    "soc_rc_slow_clock=\"136000\"",
                    "soc_rc_slow_clock_is_set",
                    "has_dram_region",
                    "has_dram2_uninit_region",
                    "soc_has_multiple_xtal_options",
                    "assist_debug_has_sp_monitor",
                    "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\"",
                    "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_max_bus_timeout=\"31\"",
                    "i2c_master_ll_intr_mask=\"262143\"",
                    "i2c_master_fifo_size=\"16\"",
                    "interrupts_status_registers=\"2\"",
                    "rng_apb_cycle_wait_num=\"16\"",
                    "sha_dma",
                    "timergroup_timg_has_divcnt_rst",
                    "timergroup_default_clock_source=\"0\"",
                    "timergroup_default_clock_source_is_set",
                    "timergroup_default_wdt_clock_source=\"0\"",
                    "timergroup_default_wdt_clock_source_is_set",
                    "uart_ram_size=\"128\"",
                    "bt_controller=\"npl\"",
                    "phy_combo_module",
                ],
                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_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_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_dma_ch0",
                    "cargo:rustc-cfg=soc_has_adc1",
                    "cargo:rustc-cfg=soc_has_bt",
                    "cargo:rustc-cfg=soc_has_flash",
                    "cargo:rustc-cfg=soc_has_sw_interrupt",
                    "cargo:rustc-cfg=soc_has_wifi",
                    "cargo:rustc-cfg=soc_has_mem2mem1",
                    "cargo:rustc-cfg=soc_has_mem2mem2",
                    "cargo:rustc-cfg=soc_has_mem2mem3",
                    "cargo:rustc-cfg=soc_has_mem2mem4",
                    "cargo:rustc-cfg=soc_has_mem2mem5",
                    "cargo:rustc-cfg=soc_has_mem2mem6",
                    "cargo:rustc-cfg=soc_has_mem2mem7",
                    "cargo:rustc-cfg=soc_has_mem2mem8",
                    "cargo:rustc-cfg=gdma",
                    "cargo:rustc-cfg=phy",
                    "cargo:rustc-cfg=swd",
                    "cargo:rustc-cfg=rom_crc_le",
                    "cargo:rustc-cfg=rom_crc_be",
                    "cargo:rustc-cfg=rom_md5_mbedtls",
                    "cargo:rustc-cfg=pm_support_wifi_wakeup",
                    "cargo:rustc-cfg=pm_support_bt_wakeup",
                    "cargo:rustc-cfg=uart_support_wakeup_int",
                    "cargo:rustc-cfg=gpio_support_deepsleep_wakeup",
                    "cargo:rustc-cfg=soc",
                    "cargo:rustc-cfg=adc",
                    "cargo:rustc-cfg=assist_debug",
                    "cargo:rustc-cfg=dma",
                    "cargo:rustc-cfg=ecc",
                    "cargo:rustc-cfg=gpio",
                    "cargo:rustc-cfg=i2c_master",
                    "cargo:rustc-cfg=interrupts",
                    "cargo:rustc-cfg=io_mux",
                    "cargo:rustc-cfg=ledc",
                    "cargo:rustc-cfg=rng",
                    "cargo:rustc-cfg=sleep",
                    "cargo:rustc-cfg=sha",
                    "cargo:rustc-cfg=spi_master",
                    "cargo:rustc-cfg=spi_slave",
                    "cargo:rustc-cfg=systimer",
                    "cargo:rustc-cfg=temp_sensor",
                    "cargo:rustc-cfg=timergroup",
                    "cargo:rustc-cfg=uart",
                    "cargo:rustc-cfg=wifi",
                    "cargo:rustc-cfg=bt",
                    "cargo:rustc-cfg=phy",
                    "cargo:rustc-cfg=adc_adc1",
                    "cargo:rustc-cfg=i2c_master_i2c0",
                    "cargo:rustc-cfg=spi_master_spi2",
                    "cargo:rustc-cfg=spi_slave_spi2",
                    "cargo:rustc-cfg=timergroup_timg0",
                    "cargo:rustc-cfg=uart_uart0",
                    "cargo:rustc-cfg=uart_uart1",
                    "cargo:rustc-cfg=soc_cpu_has_csr_pc",
                    "cargo:rustc-cfg=soc_rc_fast_clk_default=\"17500000\"",
                    "cargo:rustc-cfg=soc_rc_fast_clk_default_is_set",
                    "cargo:rustc-cfg=soc_rc_slow_clock=\"136000\"",
                    "cargo:rustc-cfg=soc_rc_slow_clock_is_set",
                    "cargo:rustc-cfg=has_dram_region",
                    "cargo:rustc-cfg=has_dram2_uninit_region",
                    "cargo:rustc-cfg=soc_has_multiple_xtal_options",
                    "cargo:rustc-cfg=assist_debug_has_sp_monitor",
                    "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=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_max_bus_timeout=\"31\"",
                    "cargo:rustc-cfg=i2c_master_ll_intr_mask=\"262143\"",
                    "cargo:rustc-cfg=i2c_master_fifo_size=\"16\"",
                    "cargo:rustc-cfg=interrupts_status_registers=\"2\"",
                    "cargo:rustc-cfg=rng_apb_cycle_wait_num=\"16\"",
                    "cargo:rustc-cfg=sha_dma",
                    "cargo:rustc-cfg=timergroup_timg_has_divcnt_rst",
                    "cargo:rustc-cfg=timergroup_default_clock_source=\"0\"",
                    "cargo:rustc-cfg=timergroup_default_clock_source_is_set",
                    "cargo:rustc-cfg=timergroup_default_wdt_clock_source=\"0\"",
                    "cargo:rustc-cfg=timergroup_default_wdt_clock_source_is_set",
                    "cargo:rustc-cfg=uart_ram_size=\"128\"",
                    "cargo:rustc-cfg=bt_controller=\"npl\"",
                    "cargo:rustc-cfg=phy_combo_module",
                ],
            },
            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_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_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_dma_ch0",
                    "soc_has_dma_ch1",
                    "soc_has_dma_ch2",
                    "soc_has_adc1",
                    "soc_has_adc2",
                    "soc_has_bt",
                    "soc_has_flash",
                    "soc_has_sw_interrupt",
                    "soc_has_tsens",
                    "soc_has_wifi",
                    "gdma",
                    "phy",
                    "swd",
                    "rom_crc_le",
                    "rom_crc_be",
                    "rom_md5_bsd",
                    "pm_support_wifi_wakeup",
                    "pm_support_bt_wakeup",
                    "uart_support_wakeup_int",
                    "gpio_support_deepsleep_wakeup",
                    "soc",
                    "adc",
                    "aes",
                    "assist_debug",
                    "dma",
                    "gpio",
                    "hmac",
                    "i2c_master",
                    "i2s",
                    "interrupts",
                    "io_mux",
                    "ledc",
                    "rmt",
                    "rng",
                    "rsa",
                    "sleep",
                    "sha",
                    "spi_master",
                    "spi_slave",
                    "systimer",
                    "temp_sensor",
                    "timergroup",
                    "twai",
                    "uart",
                    "usb_serial_jtag",
                    "wifi",
                    "bt",
                    "phy",
                    "adc_adc1",
                    "adc_adc2",
                    "i2c_master_i2c0",
                    "spi_master_spi2",
                    "spi_slave_spi2",
                    "timergroup_timg0",
                    "timergroup_timg1",
                    "uart_uart0",
                    "uart_uart1",
                    "soc_cpu_has_csr_pc",
                    "soc_rc_fast_clk_default=\"17500000\"",
                    "soc_rc_fast_clk_default_is_set",
                    "soc_rc_slow_clock=\"136000\"",
                    "soc_rc_slow_clock_is_set",
                    "has_dram_region",
                    "has_dram2_uninit_region",
                    "soc_xtal_frequency=\"40\"",
                    "aes_dma",
                    "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_sp_monitor",
                    "assist_debug_has_region_monitor",
                    "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\"",
                    "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_max_bus_timeout=\"31\"",
                    "i2c_master_ll_intr_mask=\"262143\"",
                    "i2c_master_fifo_size=\"32\"",
                    "interrupts_status_registers=\"2\"",
                    "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",
                    "rmt_supports_none_clock",
                    "rmt_supports_apb_clock",
                    "rmt_supports_rcfast_clock",
                    "rmt_supports_xtal_clock",
                    "rng_apb_cycle_wait_num=\"16\"",
                    "rsa_size_increment=\"32\"",
                    "rsa_memory_size_bytes=\"384\"",
                    "sha_dma",
                    "timergroup_timg_has_divcnt_rst",
                    "timergroup_default_clock_source=\"0\"",
                    "timergroup_default_clock_source_is_set",
                    "timergroup_default_wdt_clock_source=\"0\"",
                    "timergroup_default_wdt_clock_source_is_set",
                    "uart_ram_size=\"128\"",
                    "bt_controller=\"btdm\"",
                    "phy_combo_module",
                    "phy_backed_up_digital_register_count=\"21\"",
                    "phy_backed_up_digital_register_count_is_set",
                ],
                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_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_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_dma_ch0",
                    "cargo:rustc-cfg=soc_has_dma_ch1",
                    "cargo:rustc-cfg=soc_has_dma_ch2",
                    "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_sw_interrupt",
                    "cargo:rustc-cfg=soc_has_tsens",
                    "cargo:rustc-cfg=soc_has_wifi",
                    "cargo:rustc-cfg=gdma",
                    "cargo:rustc-cfg=phy",
                    "cargo:rustc-cfg=swd",
                    "cargo:rustc-cfg=rom_crc_le",
                    "cargo:rustc-cfg=rom_crc_be",
                    "cargo:rustc-cfg=rom_md5_bsd",
                    "cargo:rustc-cfg=pm_support_wifi_wakeup",
                    "cargo:rustc-cfg=pm_support_bt_wakeup",
                    "cargo:rustc-cfg=uart_support_wakeup_int",
                    "cargo:rustc-cfg=gpio_support_deepsleep_wakeup",
                    "cargo:rustc-cfg=soc",
                    "cargo:rustc-cfg=adc",
                    "cargo:rustc-cfg=aes",
                    "cargo:rustc-cfg=assist_debug",
                    "cargo:rustc-cfg=dma",
                    "cargo:rustc-cfg=gpio",
                    "cargo:rustc-cfg=hmac",
                    "cargo:rustc-cfg=i2c_master",
                    "cargo:rustc-cfg=i2s",
                    "cargo:rustc-cfg=interrupts",
                    "cargo:rustc-cfg=io_mux",
                    "cargo:rustc-cfg=ledc",
                    "cargo:rustc-cfg=rmt",
                    "cargo:rustc-cfg=rng",
                    "cargo:rustc-cfg=rsa",
                    "cargo:rustc-cfg=sleep",
                    "cargo:rustc-cfg=sha",
                    "cargo:rustc-cfg=spi_master",
                    "cargo:rustc-cfg=spi_slave",
                    "cargo:rustc-cfg=systimer",
                    "cargo:rustc-cfg=temp_sensor",
                    "cargo:rustc-cfg=timergroup",
                    "cargo:rustc-cfg=twai",
                    "cargo:rustc-cfg=uart",
                    "cargo:rustc-cfg=usb_serial_jtag",
                    "cargo:rustc-cfg=wifi",
                    "cargo:rustc-cfg=bt",
                    "cargo:rustc-cfg=phy",
                    "cargo:rustc-cfg=adc_adc1",
                    "cargo:rustc-cfg=adc_adc2",
                    "cargo:rustc-cfg=i2c_master_i2c0",
                    "cargo:rustc-cfg=spi_master_spi2",
                    "cargo:rustc-cfg=spi_slave_spi2",
                    "cargo:rustc-cfg=timergroup_timg0",
                    "cargo:rustc-cfg=timergroup_timg1",
                    "cargo:rustc-cfg=uart_uart0",
                    "cargo:rustc-cfg=uart_uart1",
                    "cargo:rustc-cfg=soc_cpu_has_csr_pc",
                    "cargo:rustc-cfg=soc_rc_fast_clk_default=\"17500000\"",
                    "cargo:rustc-cfg=soc_rc_fast_clk_default_is_set",
                    "cargo:rustc-cfg=soc_rc_slow_clock=\"136000\"",
                    "cargo:rustc-cfg=soc_rc_slow_clock_is_set",
                    "cargo:rustc-cfg=has_dram_region",
                    "cargo:rustc-cfg=has_dram2_uninit_region",
                    "cargo:rustc-cfg=soc_xtal_frequency=\"40\"",
                    "cargo:rustc-cfg=aes_dma",
                    "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=assist_debug_has_sp_monitor",
                    "cargo:rustc-cfg=assist_debug_has_region_monitor",
                    "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=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_max_bus_timeout=\"31\"",
                    "cargo:rustc-cfg=i2c_master_ll_intr_mask=\"262143\"",
                    "cargo:rustc-cfg=i2c_master_fifo_size=\"32\"",
                    "cargo:rustc-cfg=interrupts_status_registers=\"2\"",
                    "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=rmt_supports_none_clock",
                    "cargo:rustc-cfg=rmt_supports_apb_clock",
                    "cargo:rustc-cfg=rmt_supports_rcfast_clock",
                    "cargo:rustc-cfg=rmt_supports_xtal_clock",
                    "cargo:rustc-cfg=rng_apb_cycle_wait_num=\"16\"",
                    "cargo:rustc-cfg=rsa_size_increment=\"32\"",
                    "cargo:rustc-cfg=rsa_memory_size_bytes=\"384\"",
                    "cargo:rustc-cfg=sha_dma",
                    "cargo:rustc-cfg=timergroup_timg_has_divcnt_rst",
                    "cargo:rustc-cfg=timergroup_default_clock_source=\"0\"",
                    "cargo:rustc-cfg=timergroup_default_clock_source_is_set",
                    "cargo:rustc-cfg=timergroup_default_wdt_clock_source=\"0\"",
                    "cargo:rustc-cfg=timergroup_default_wdt_clock_source_is_set",
                    "cargo:rustc-cfg=uart_ram_size=\"128\"",
                    "cargo:rustc-cfg=bt_controller=\"btdm\"",
                    "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",
                ],
            },
            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_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_lp_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_dma_ch0",
                    "soc_has_dma_ch1",
                    "soc_has_dma_ch2",
                    "soc_has_adc1",
                    "soc_has_bt",
                    "soc_has_flash",
                    "soc_has_lp_core",
                    "soc_has_sw_interrupt",
                    "soc_has_tsens",
                    "soc_has_wifi",
                    "soc_has_mem2mem1",
                    "soc_has_mem2mem4",
                    "soc_has_mem2mem5",
                    "soc_has_mem2mem10",
                    "soc_has_mem2mem11",
                    "soc_has_mem2mem12",
                    "soc_has_mem2mem13",
                    "soc_has_mem2mem14",
                    "soc_has_mem2mem15",
                    "gdma",
                    "plic",
                    "phy",
                    "lp_core",
                    "swd",
                    "rom_crc_le",
                    "rom_crc_be",
                    "rom_md5_bsd",
                    "pm_support_wifi_wakeup",
                    "pm_support_beacon_wakeup",
                    "pm_support_bt_wakeup",
                    "gpio_support_deepsleep_wakeup",
                    "uart_support_wakeup_int",
                    "pm_support_ext1_wakeup",
                    "soc",
                    "adc",
                    "aes",
                    "assist_debug",
                    "dma",
                    "ecc",
                    "etm",
                    "gpio",
                    "hmac",
                    "i2c_master",
                    "lp_i2c_master",
                    "i2s",
                    "interrupts",
                    "io_mux",
                    "ledc",
                    "mcpwm",
                    "parl_io",
                    "pcnt",
                    "rmt",
                    "rng",
                    "rsa",
                    "sd_slave",
                    "sleep",
                    "sha",
                    "spi_master",
                    "spi_slave",
                    "systimer",
                    "temp_sensor",
                    "timergroup",
                    "twai",
                    "uart",
                    "lp_uart",
                    "ulp_riscv",
                    "usb_serial_jtag",
                    "wifi",
                    "bt",
                    "ieee802154",
                    "phy",
                    "adc_adc1",
                    "i2c_master_i2c0",
                    "spi_master_spi2",
                    "spi_slave_spi2",
                    "timergroup_timg0",
                    "timergroup_timg1",
                    "uart_uart0",
                    "uart_uart1",
                    "soc_cpu_has_csr_pc",
                    "soc_cpu_has_prv_mode",
                    "soc_rc_fast_clk_default=\"17500000\"",
                    "soc_rc_fast_clk_default_is_set",
                    "soc_rc_slow_clock=\"136000\"",
                    "soc_rc_slow_clock_is_set",
                    "has_dram_region",
                    "has_dram2_uninit_region",
                    "soc_xtal_frequency=\"40\"",
                    "aes_dma",
                    "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_sp_monitor",
                    "assist_debug_has_region_monitor",
                    "gpio_gpio_function=\"1\"",
                    "gpio_constant_0_input=\"60\"",
                    "gpio_constant_1_input=\"56\"",
                    "gpio_func_in_sel_offset=\"0\"",
                    "gpio_input_signal_max=\"124\"",
                    "gpio_output_signal_max=\"128\"",
                    "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_max_bus_timeout=\"31\"",
                    "i2c_master_ll_intr_mask=\"262143\"",
                    "i2c_master_fifo_size=\"32\"",
                    "lp_i2c_master_fifo_size=\"16\"",
                    "interrupts_status_registers=\"3\"",
                    "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",
                    "rmt_supports_none_clock",
                    "rmt_supports_pll80mhz_clock",
                    "rmt_supports_rcfast_clock",
                    "rmt_supports_xtal_clock",
                    "rng_apb_cycle_wait_num=\"16\"",
                    "rsa_size_increment=\"32\"",
                    "rsa_memory_size_bytes=\"384\"",
                    "sha_dma",
                    "timergroup_timg_has_divcnt_rst",
                    "timergroup_default_clock_source=\"1\"",
                    "timergroup_default_clock_source_is_set",
                    "timergroup_default_wdt_clock_source=\"1\"",
                    "timergroup_default_wdt_clock_source_is_set",
                    "uart_ram_size=\"128\"",
                    "uart_peripheral_controls_mem_clk",
                    "lp_uart_ram_size=\"32\"",
                    "wifi_has_wifi6",
                    "bt_controller=\"npl\"",
                    "phy_combo_module",
                ],
                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_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_lp_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_dma_ch0",
                    "cargo:rustc-cfg=soc_has_dma_ch1",
                    "cargo:rustc-cfg=soc_has_dma_ch2",
                    "cargo:rustc-cfg=soc_has_adc1",
                    "cargo:rustc-cfg=soc_has_bt",
                    "cargo:rustc-cfg=soc_has_flash",
                    "cargo:rustc-cfg=soc_has_lp_core",
                    "cargo:rustc-cfg=soc_has_sw_interrupt",
                    "cargo:rustc-cfg=soc_has_tsens",
                    "cargo:rustc-cfg=soc_has_wifi",
                    "cargo:rustc-cfg=soc_has_mem2mem1",
                    "cargo:rustc-cfg=soc_has_mem2mem4",
                    "cargo:rustc-cfg=soc_has_mem2mem5",
                    "cargo:rustc-cfg=soc_has_mem2mem10",
                    "cargo:rustc-cfg=soc_has_mem2mem11",
                    "cargo:rustc-cfg=soc_has_mem2mem12",
                    "cargo:rustc-cfg=soc_has_mem2mem13",
                    "cargo:rustc-cfg=soc_has_mem2mem14",
                    "cargo:rustc-cfg=soc_has_mem2mem15",
                    "cargo:rustc-cfg=gdma",
                    "cargo:rustc-cfg=plic",
                    "cargo:rustc-cfg=phy",
                    "cargo:rustc-cfg=lp_core",
                    "cargo:rustc-cfg=swd",
                    "cargo:rustc-cfg=rom_crc_le",
                    "cargo:rustc-cfg=rom_crc_be",
                    "cargo:rustc-cfg=rom_md5_bsd",
                    "cargo:rustc-cfg=pm_support_wifi_wakeup",
                    "cargo:rustc-cfg=pm_support_beacon_wakeup",
                    "cargo:rustc-cfg=pm_support_bt_wakeup",
                    "cargo:rustc-cfg=gpio_support_deepsleep_wakeup",
                    "cargo:rustc-cfg=uart_support_wakeup_int",
                    "cargo:rustc-cfg=pm_support_ext1_wakeup",
                    "cargo:rustc-cfg=soc",
                    "cargo:rustc-cfg=adc",
                    "cargo:rustc-cfg=aes",
                    "cargo:rustc-cfg=assist_debug",
                    "cargo:rustc-cfg=dma",
                    "cargo:rustc-cfg=ecc",
                    "cargo:rustc-cfg=etm",
                    "cargo:rustc-cfg=gpio",
                    "cargo:rustc-cfg=hmac",
                    "cargo:rustc-cfg=i2c_master",
                    "cargo:rustc-cfg=lp_i2c_master",
                    "cargo:rustc-cfg=i2s",
                    "cargo:rustc-cfg=interrupts",
                    "cargo:rustc-cfg=io_mux",
                    "cargo:rustc-cfg=ledc",
                    "cargo:rustc-cfg=mcpwm",
                    "cargo:rustc-cfg=parl_io",
                    "cargo:rustc-cfg=pcnt",
                    "cargo:rustc-cfg=rmt",
                    "cargo:rustc-cfg=rng",
                    "cargo:rustc-cfg=rsa",
                    "cargo:rustc-cfg=sd_slave",
                    "cargo:rustc-cfg=sleep",
                    "cargo:rustc-cfg=sha",
                    "cargo:rustc-cfg=spi_master",
                    "cargo:rustc-cfg=spi_slave",
                    "cargo:rustc-cfg=systimer",
                    "cargo:rustc-cfg=temp_sensor",
                    "cargo:rustc-cfg=timergroup",
                    "cargo:rustc-cfg=twai",
                    "cargo:rustc-cfg=uart",
                    "cargo:rustc-cfg=lp_uart",
                    "cargo:rustc-cfg=ulp_riscv",
                    "cargo:rustc-cfg=usb_serial_jtag",
                    "cargo:rustc-cfg=wifi",
                    "cargo:rustc-cfg=bt",
                    "cargo:rustc-cfg=ieee802154",
                    "cargo:rustc-cfg=phy",
                    "cargo:rustc-cfg=adc_adc1",
                    "cargo:rustc-cfg=i2c_master_i2c0",
                    "cargo:rustc-cfg=spi_master_spi2",
                    "cargo:rustc-cfg=spi_slave_spi2",
                    "cargo:rustc-cfg=timergroup_timg0",
                    "cargo:rustc-cfg=timergroup_timg1",
                    "cargo:rustc-cfg=uart_uart0",
                    "cargo:rustc-cfg=uart_uart1",
                    "cargo:rustc-cfg=soc_cpu_has_csr_pc",
                    "cargo:rustc-cfg=soc_cpu_has_prv_mode",
                    "cargo:rustc-cfg=soc_rc_fast_clk_default=\"17500000\"",
                    "cargo:rustc-cfg=soc_rc_fast_clk_default_is_set",
                    "cargo:rustc-cfg=soc_rc_slow_clock=\"136000\"",
                    "cargo:rustc-cfg=soc_rc_slow_clock_is_set",
                    "cargo:rustc-cfg=has_dram_region",
                    "cargo:rustc-cfg=has_dram2_uninit_region",
                    "cargo:rustc-cfg=soc_xtal_frequency=\"40\"",
                    "cargo:rustc-cfg=aes_dma",
                    "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=assist_debug_has_sp_monitor",
                    "cargo:rustc-cfg=assist_debug_has_region_monitor",
                    "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=gpio_input_signal_max=\"124\"",
                    "cargo:rustc-cfg=gpio_output_signal_max=\"128\"",
                    "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_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_fifo_size=\"16\"",
                    "cargo:rustc-cfg=interrupts_status_registers=\"3\"",
                    "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=rmt_supports_none_clock",
                    "cargo:rustc-cfg=rmt_supports_pll80mhz_clock",
                    "cargo:rustc-cfg=rmt_supports_rcfast_clock",
                    "cargo:rustc-cfg=rmt_supports_xtal_clock",
                    "cargo:rustc-cfg=rng_apb_cycle_wait_num=\"16\"",
                    "cargo:rustc-cfg=rsa_size_increment=\"32\"",
                    "cargo:rustc-cfg=rsa_memory_size_bytes=\"384\"",
                    "cargo:rustc-cfg=sha_dma",
                    "cargo:rustc-cfg=timergroup_timg_has_divcnt_rst",
                    "cargo:rustc-cfg=timergroup_default_clock_source=\"1\"",
                    "cargo:rustc-cfg=timergroup_default_clock_source_is_set",
                    "cargo:rustc-cfg=timergroup_default_wdt_clock_source=\"1\"",
                    "cargo:rustc-cfg=timergroup_default_wdt_clock_source_is_set",
                    "cargo:rustc-cfg=uart_ram_size=\"128\"",
                    "cargo:rustc-cfg=uart_peripheral_controls_mem_clk",
                    "cargo:rustc-cfg=lp_uart_ram_size=\"32\"",
                    "cargo:rustc-cfg=wifi_has_wifi6",
                    "cargo:rustc-cfg=bt_controller=\"npl\"",
                    "cargo:rustc-cfg=phy_combo_module",
                ],
            },
            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_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_lp_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_dma_ch0",
                    "soc_has_dma_ch1",
                    "soc_has_dma_ch2",
                    "soc_has_adc1",
                    "soc_has_bt",
                    "soc_has_flash",
                    "soc_has_sw_interrupt",
                    "soc_has_mem2mem1",
                    "soc_has_mem2mem4",
                    "soc_has_mem2mem5",
                    "soc_has_mem2mem10",
                    "soc_has_mem2mem11",
                    "soc_has_mem2mem12",
                    "soc_has_mem2mem13",
                    "soc_has_mem2mem14",
                    "soc_has_mem2mem15",
                    "gdma",
                    "plic",
                    "phy",
                    "swd",
                    "rom_crc_le",
                    "rom_crc_be",
                    "rom_md5_bsd",
                    "soc",
                    "adc",
                    "aes",
                    "assist_debug",
                    "dma",
                    "ecc",
                    "etm",
                    "gpio",
                    "hmac",
                    "i2c_master",
                    "i2s",
                    "interrupts",
                    "io_mux",
                    "ledc",
                    "mcpwm",
                    "parl_io",
                    "pcnt",
                    "rmt",
                    "rng",
                    "rsa",
                    "sleep",
                    "sha",
                    "spi_master",
                    "spi_slave",
                    "systimer",
                    "temp_sensor",
                    "timergroup",
                    "twai",
                    "uart",
                    "usb_serial_jtag",
                    "bt",
                    "ieee802154",
                    "phy",
                    "adc_adc1",
                    "i2c_master_i2c0",
                    "i2c_master_i2c1",
                    "spi_master_spi2",
                    "spi_slave_spi2",
                    "timergroup_timg0",
                    "timergroup_timg1",
                    "uart_uart0",
                    "uart_uart1",
                    "soc_cpu_has_csr_pc",
                    "soc_cpu_has_prv_mode",
                    "soc_rc_fast_clk_default=\"8500000\"",
                    "soc_rc_fast_clk_default_is_set",
                    "soc_rc_slow_clock=\"136000\"",
                    "soc_rc_slow_clock_is_set",
                    "has_dram_region",
                    "has_dram2_uninit_region",
                    "soc_xtal_frequency=\"32\"",
                    "aes_dma",
                    "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_sp_monitor",
                    "assist_debug_has_region_monitor",
                    "gpio_gpio_function=\"1\"",
                    "gpio_constant_0_input=\"60\"",
                    "gpio_constant_1_input=\"56\"",
                    "gpio_func_in_sel_offset=\"0\"",
                    "gpio_input_signal_max=\"124\"",
                    "gpio_output_signal_max=\"128\"",
                    "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_max_bus_timeout=\"31\"",
                    "i2c_master_ll_intr_mask=\"262143\"",
                    "i2c_master_fifo_size=\"32\"",
                    "interrupts_status_registers=\"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",
                    "rmt_supports_xtal_clock",
                    "rmt_supports_rcfast_clock",
                    "rng_apb_cycle_wait_num=\"16\"",
                    "rsa_size_increment=\"32\"",
                    "rsa_memory_size_bytes=\"384\"",
                    "sha_dma",
                    "timergroup_timg_has_divcnt_rst",
                    "timergroup_default_clock_source=\"2\"",
                    "timergroup_default_clock_source_is_set",
                    "timergroup_default_wdt_clock_source=\"2\"",
                    "timergroup_default_wdt_clock_source_is_set",
                    "uart_ram_size=\"128\"",
                    "uart_peripheral_controls_mem_clk",
                    "bt_controller=\"npl\"",
                ],
                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_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_lp_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_dma_ch0",
                    "cargo:rustc-cfg=soc_has_dma_ch1",
                    "cargo:rustc-cfg=soc_has_dma_ch2",
                    "cargo:rustc-cfg=soc_has_adc1",
                    "cargo:rustc-cfg=soc_has_bt",
                    "cargo:rustc-cfg=soc_has_flash",
                    "cargo:rustc-cfg=soc_has_sw_interrupt",
                    "cargo:rustc-cfg=soc_has_mem2mem1",
                    "cargo:rustc-cfg=soc_has_mem2mem4",
                    "cargo:rustc-cfg=soc_has_mem2mem5",
                    "cargo:rustc-cfg=soc_has_mem2mem10",
                    "cargo:rustc-cfg=soc_has_mem2mem11",
                    "cargo:rustc-cfg=soc_has_mem2mem12",
                    "cargo:rustc-cfg=soc_has_mem2mem13",
                    "cargo:rustc-cfg=soc_has_mem2mem14",
                    "cargo:rustc-cfg=soc_has_mem2mem15",
                    "cargo:rustc-cfg=gdma",
                    "cargo:rustc-cfg=plic",
                    "cargo:rustc-cfg=phy",
                    "cargo:rustc-cfg=swd",
                    "cargo:rustc-cfg=rom_crc_le",
                    "cargo:rustc-cfg=rom_crc_be",
                    "cargo:rustc-cfg=rom_md5_bsd",
                    "cargo:rustc-cfg=soc",
                    "cargo:rustc-cfg=adc",
                    "cargo:rustc-cfg=aes",
                    "cargo:rustc-cfg=assist_debug",
                    "cargo:rustc-cfg=dma",
                    "cargo:rustc-cfg=ecc",
                    "cargo:rustc-cfg=etm",
                    "cargo:rustc-cfg=gpio",
                    "cargo:rustc-cfg=hmac",
                    "cargo:rustc-cfg=i2c_master",
                    "cargo:rustc-cfg=i2s",
                    "cargo:rustc-cfg=interrupts",
                    "cargo:rustc-cfg=io_mux",
                    "cargo:rustc-cfg=ledc",
                    "cargo:rustc-cfg=mcpwm",
                    "cargo:rustc-cfg=parl_io",
                    "cargo:rustc-cfg=pcnt",
                    "cargo:rustc-cfg=rmt",
                    "cargo:rustc-cfg=rng",
                    "cargo:rustc-cfg=rsa",
                    "cargo:rustc-cfg=sleep",
                    "cargo:rustc-cfg=sha",
                    "cargo:rustc-cfg=spi_master",
                    "cargo:rustc-cfg=spi_slave",
                    "cargo:rustc-cfg=systimer",
                    "cargo:rustc-cfg=temp_sensor",
                    "cargo:rustc-cfg=timergroup",
                    "cargo:rustc-cfg=twai",
                    "cargo:rustc-cfg=uart",
                    "cargo:rustc-cfg=usb_serial_jtag",
                    "cargo:rustc-cfg=bt",
                    "cargo:rustc-cfg=ieee802154",
                    "cargo:rustc-cfg=phy",
                    "cargo:rustc-cfg=adc_adc1",
                    "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=timergroup_timg0",
                    "cargo:rustc-cfg=timergroup_timg1",
                    "cargo:rustc-cfg=uart_uart0",
                    "cargo:rustc-cfg=uart_uart1",
                    "cargo:rustc-cfg=soc_cpu_has_csr_pc",
                    "cargo:rustc-cfg=soc_cpu_has_prv_mode",
                    "cargo:rustc-cfg=soc_rc_fast_clk_default=\"8500000\"",
                    "cargo:rustc-cfg=soc_rc_fast_clk_default_is_set",
                    "cargo:rustc-cfg=soc_rc_slow_clock=\"136000\"",
                    "cargo:rustc-cfg=soc_rc_slow_clock_is_set",
                    "cargo:rustc-cfg=has_dram_region",
                    "cargo:rustc-cfg=has_dram2_uninit_region",
                    "cargo:rustc-cfg=soc_xtal_frequency=\"32\"",
                    "cargo:rustc-cfg=aes_dma",
                    "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=assist_debug_has_sp_monitor",
                    "cargo:rustc-cfg=assist_debug_has_region_monitor",
                    "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=gpio_input_signal_max=\"124\"",
                    "cargo:rustc-cfg=gpio_output_signal_max=\"128\"",
                    "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_max_bus_timeout=\"31\"",
                    "cargo:rustc-cfg=i2c_master_ll_intr_mask=\"262143\"",
                    "cargo:rustc-cfg=i2c_master_fifo_size=\"32\"",
                    "cargo:rustc-cfg=interrupts_status_registers=\"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=rmt_supports_xtal_clock",
                    "cargo:rustc-cfg=rmt_supports_rcfast_clock",
                    "cargo:rustc-cfg=rng_apb_cycle_wait_num=\"16\"",
                    "cargo:rustc-cfg=rsa_size_increment=\"32\"",
                    "cargo:rustc-cfg=rsa_memory_size_bytes=\"384\"",
                    "cargo:rustc-cfg=sha_dma",
                    "cargo:rustc-cfg=timergroup_timg_has_divcnt_rst",
                    "cargo:rustc-cfg=timergroup_default_clock_source=\"2\"",
                    "cargo:rustc-cfg=timergroup_default_clock_source_is_set",
                    "cargo:rustc-cfg=timergroup_default_wdt_clock_source=\"2\"",
                    "cargo:rustc-cfg=timergroup_default_wdt_clock_source_is_set",
                    "cargo:rustc-cfg=uart_ram_size=\"128\"",
                    "cargo:rustc-cfg=uart_peripheral_controls_mem_clk",
                    "cargo:rustc-cfg=bt_controller=\"npl\"",
                ],
            },
            Self::Esp32s2 => Config {
                architecture: "xtensa",
                target: "xtensa-esp32s2-none-elf",
                symbols: &[
                    "esp32s2",
                    "xtensa",
                    "single_core",
                    "soc_has_aes",
                    "soc_has_apb_saradc",
                    "soc_has_dedicated_gpio",
                    "soc_has_ds",
                    "soc_has_efuse",
                    "soc_has_extmem",
                    "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_i2c",
                    "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_usb0",
                    "soc_has_usb_wrap",
                    "soc_has_xts_aes",
                    "soc_has_wifi",
                    "soc_has_dma_spi2",
                    "soc_has_dma_spi3",
                    "soc_has_dma_i2s0",
                    "soc_has_dma_crypto",
                    "soc_has_dma_copy",
                    "soc_has_adc1",
                    "soc_has_adc2",
                    "soc_has_dac1",
                    "soc_has_dac2",
                    "soc_has_flash",
                    "soc_has_psram",
                    "soc_has_sw_interrupt",
                    "soc_has_ulp_riscv_core",
                    "pdma",
                    "phy",
                    "psram",
                    "psram_dma",
                    "ulp_riscv_core",
                    "soc_has_copy_dma",
                    "soc_has_crypto_dma",
                    "rom_crc_le",
                    "rom_md5_bsd",
                    "pm_support_ext0_wakeup",
                    "pm_support_ext1_wakeup",
                    "pm_support_touch_sensor_wakeup",
                    "pm_support_wifi_wakeup",
                    "uart_support_wakeup_int",
                    "ulp_supported",
                    "riscv_coproc_supported",
                    "soc",
                    "adc",
                    "aes",
                    "dac",
                    "dma",
                    "gpio",
                    "hmac",
                    "i2c_master",
                    "i2s",
                    "interrupts",
                    "io_mux",
                    "ledc",
                    "pcnt",
                    "psram",
                    "rmt",
                    "rng",
                    "rsa",
                    "sleep",
                    "sha",
                    "spi_master",
                    "spi_slave",
                    "systimer",
                    "temp_sensor",
                    "timergroup",
                    "twai",
                    "uart",
                    "ulp_fsm",
                    "ulp_riscv",
                    "usb_otg",
                    "wifi",
                    "phy",
                    "adc_adc1",
                    "adc_adc2",
                    "dac_dac1",
                    "dac_dac2",
                    "i2c_master_i2c0",
                    "i2c_master_i2c1",
                    "spi_master_spi2",
                    "spi_master_spi3",
                    "spi_slave_spi2",
                    "spi_slave_spi3",
                    "timergroup_timg0",
                    "timergroup_timg1",
                    "uart_uart0",
                    "uart_uart1",
                    "soc_ref_tick_hz=\"1000000\"",
                    "soc_ref_tick_hz_is_set",
                    "soc_rc_fast_clk_default=\"8500000\"",
                    "soc_rc_fast_clk_default_is_set",
                    "soc_rc_slow_clock=\"90000\"",
                    "soc_rc_slow_clock_is_set",
                    "has_dram_region",
                    "has_dram2_uninit_region",
                    "soc_xtal_frequency=\"40\"",
                    "aes_dma",
                    "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",
                    "gpio_has_bank_1",
                    "gpio_gpio_function=\"1\"",
                    "gpio_constant_0_input=\"60\"",
                    "gpio_constant_1_input=\"56\"",
                    "gpio_func_in_sel_offset=\"0\"",
                    "gpio_input_signal_max=\"242\"",
                    "gpio_output_signal_max=\"256\"",
                    "i2c_master_has_bus_timeout_enable",
                    "i2c_master_separate_filter_config_registers",
                    "i2c_master_has_arbitration_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\"",
                    "interrupts_status_registers=\"3\"",
                    "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",
                    "rmt_supports_reftick_clock",
                    "rmt_supports_apb_clock",
                    "rng_apb_cycle_wait_num=\"16\"",
                    "rsa_size_increment=\"32\"",
                    "rsa_memory_size_bytes=\"512\"",
                    "sha_dma",
                    "spi_master_has_octal",
                    "timergroup_timg_has_timer1",
                    "timergroup_default_clock_source=\"0\"",
                    "timergroup_default_clock_source_is_set",
                    "uart_ram_size=\"128\"",
                ],
                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_dedicated_gpio",
                    "cargo:rustc-cfg=soc_has_ds",
                    "cargo:rustc-cfg=soc_has_efuse",
                    "cargo:rustc-cfg=soc_has_extmem",
                    "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_i2c",
                    "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_usb0",
                    "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_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=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_psram",
                    "cargo:rustc-cfg=soc_has_sw_interrupt",
                    "cargo:rustc-cfg=soc_has_ulp_riscv_core",
                    "cargo:rustc-cfg=pdma",
                    "cargo:rustc-cfg=phy",
                    "cargo:rustc-cfg=psram",
                    "cargo:rustc-cfg=psram_dma",
                    "cargo:rustc-cfg=ulp_riscv_core",
                    "cargo:rustc-cfg=soc_has_copy_dma",
                    "cargo:rustc-cfg=soc_has_crypto_dma",
                    "cargo:rustc-cfg=rom_crc_le",
                    "cargo:rustc-cfg=rom_md5_bsd",
                    "cargo:rustc-cfg=pm_support_ext0_wakeup",
                    "cargo:rustc-cfg=pm_support_ext1_wakeup",
                    "cargo:rustc-cfg=pm_support_touch_sensor_wakeup",
                    "cargo:rustc-cfg=pm_support_wifi_wakeup",
                    "cargo:rustc-cfg=uart_support_wakeup_int",
                    "cargo:rustc-cfg=ulp_supported",
                    "cargo:rustc-cfg=riscv_coproc_supported",
                    "cargo:rustc-cfg=soc",
                    "cargo:rustc-cfg=adc",
                    "cargo:rustc-cfg=aes",
                    "cargo:rustc-cfg=dac",
                    "cargo:rustc-cfg=dma",
                    "cargo:rustc-cfg=gpio",
                    "cargo:rustc-cfg=hmac",
                    "cargo:rustc-cfg=i2c_master",
                    "cargo:rustc-cfg=i2s",
                    "cargo:rustc-cfg=interrupts",
                    "cargo:rustc-cfg=io_mux",
                    "cargo:rustc-cfg=ledc",
                    "cargo:rustc-cfg=pcnt",
                    "cargo:rustc-cfg=psram",
                    "cargo:rustc-cfg=rmt",
                    "cargo:rustc-cfg=rng",
                    "cargo:rustc-cfg=rsa",
                    "cargo:rustc-cfg=sleep",
                    "cargo:rustc-cfg=sha",
                    "cargo:rustc-cfg=spi_master",
                    "cargo:rustc-cfg=spi_slave",
                    "cargo:rustc-cfg=systimer",
                    "cargo:rustc-cfg=temp_sensor",
                    "cargo:rustc-cfg=timergroup",
                    "cargo:rustc-cfg=twai",
                    "cargo:rustc-cfg=uart",
                    "cargo:rustc-cfg=ulp_fsm",
                    "cargo:rustc-cfg=ulp_riscv",
                    "cargo:rustc-cfg=usb_otg",
                    "cargo:rustc-cfg=wifi",
                    "cargo:rustc-cfg=phy",
                    "cargo:rustc-cfg=adc_adc1",
                    "cargo:rustc-cfg=adc_adc2",
                    "cargo:rustc-cfg=dac_dac1",
                    "cargo:rustc-cfg=dac_dac2",
                    "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=timergroup_timg0",
                    "cargo:rustc-cfg=timergroup_timg1",
                    "cargo:rustc-cfg=uart_uart0",
                    "cargo:rustc-cfg=uart_uart1",
                    "cargo:rustc-cfg=soc_ref_tick_hz=\"1000000\"",
                    "cargo:rustc-cfg=soc_ref_tick_hz_is_set",
                    "cargo:rustc-cfg=soc_rc_fast_clk_default=\"8500000\"",
                    "cargo:rustc-cfg=soc_rc_fast_clk_default_is_set",
                    "cargo:rustc-cfg=soc_rc_slow_clock=\"90000\"",
                    "cargo:rustc-cfg=soc_rc_slow_clock_is_set",
                    "cargo:rustc-cfg=has_dram_region",
                    "cargo:rustc-cfg=has_dram2_uninit_region",
                    "cargo:rustc-cfg=soc_xtal_frequency=\"40\"",
                    "cargo:rustc-cfg=aes_dma",
                    "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=gpio_has_bank_1",
                    "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=gpio_input_signal_max=\"242\"",
                    "cargo:rustc-cfg=gpio_output_signal_max=\"256\"",
                    "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_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=interrupts_status_registers=\"3\"",
                    "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=rmt_supports_reftick_clock",
                    "cargo:rustc-cfg=rmt_supports_apb_clock",
                    "cargo:rustc-cfg=rng_apb_cycle_wait_num=\"16\"",
                    "cargo:rustc-cfg=rsa_size_increment=\"32\"",
                    "cargo:rustc-cfg=rsa_memory_size_bytes=\"512\"",
                    "cargo:rustc-cfg=sha_dma",
                    "cargo:rustc-cfg=spi_master_has_octal",
                    "cargo:rustc-cfg=timergroup_timg_has_timer1",
                    "cargo:rustc-cfg=timergroup_default_clock_source=\"0\"",
                    "cargo:rustc-cfg=timergroup_default_clock_source_is_set",
                    "cargo:rustc-cfg=uart_ram_size=\"128\"",
                ],
            },
            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_gpio",
                    "soc_has_gpio_sd",
                    "soc_has_hmac",
                    "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_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_rtc_i2c",
                    "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_usb0",
                    "soc_has_usb_device",
                    "soc_has_usb_wrap",
                    "soc_has_wcl",
                    "soc_has_xts_aes",
                    "soc_has_dma_ch0",
                    "soc_has_dma_ch1",
                    "soc_has_dma_ch2",
                    "soc_has_dma_ch3",
                    "soc_has_dma_ch4",
                    "soc_has_adc1",
                    "soc_has_adc2",
                    "soc_has_bt",
                    "soc_has_cpu_ctrl",
                    "soc_has_flash",
                    "soc_has_psram",
                    "soc_has_sw_interrupt",
                    "soc_has_ulp_riscv_core",
                    "soc_has_wifi",
                    "gdma",
                    "phy",
                    "psram",
                    "psram_dma",
                    "octal_psram",
                    "swd",
                    "ulp_riscv_core",
                    "rom_crc_le",
                    "rom_crc_be",
                    "rom_md5_bsd",
                    "pm_support_ext0_wakeup",
                    "pm_support_ext1_wakeup",
                    "pm_support_touch_sensor_wakeup",
                    "pm_support_wifi_wakeup",
                    "pm_support_bt_wakeup",
                    "uart_support_wakeup_int",
                    "ulp_supported",
                    "riscv_coproc_supported",
                    "soc",
                    "adc",
                    "aes",
                    "assist_debug",
                    "dma",
                    "gpio",
                    "hmac",
                    "i2c_master",
                    "i2s",
                    "interrupts",
                    "io_mux",
                    "camera",
                    "rgb_display",
                    "ledc",
                    "mcpwm",
                    "pcnt",
                    "psram",
                    "rmt",
                    "rng",
                    "rsa",
                    "sd_host",
                    "sleep",
                    "sha",
                    "spi_master",
                    "spi_slave",
                    "systimer",
                    "temp_sensor",
                    "timergroup",
                    "twai",
                    "uart",
                    "ulp_fsm",
                    "ulp_riscv",
                    "usb_otg",
                    "usb_serial_jtag",
                    "wifi",
                    "bt",
                    "phy",
                    "adc_adc1",
                    "adc_adc2",
                    "i2c_master_i2c0",
                    "i2c_master_i2c1",
                    "spi_master_spi2",
                    "spi_master_spi3",
                    "spi_slave_spi2",
                    "spi_slave_spi3",
                    "timergroup_timg0",
                    "timergroup_timg1",
                    "uart_uart0",
                    "uart_uart1",
                    "uart_uart2",
                    "soc_rc_fast_clk_default=\"17500000\"",
                    "soc_rc_fast_clk_default_is_set",
                    "soc_rc_slow_clock=\"136000\"",
                    "soc_rc_slow_clock_is_set",
                    "has_dram_region",
                    "has_dram2_uninit_region",
                    "soc_xtal_frequency=\"40\"",
                    "aes_dma",
                    "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",
                    "gpio_has_bank_1",
                    "gpio_gpio_function=\"1\"",
                    "gpio_constant_0_input=\"60\"",
                    "gpio_constant_1_input=\"56\"",
                    "gpio_func_in_sel_offset=\"0\"",
                    "gpio_input_signal_max=\"255\"",
                    "gpio_output_signal_max=\"256\"",
                    "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_max_bus_timeout=\"31\"",
                    "i2c_master_ll_intr_mask=\"262143\"",
                    "i2c_master_fifo_size=\"32\"",
                    "interrupts_status_registers=\"4\"",
                    "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",
                    "rmt_has_dma",
                    "rmt_supports_none_clock",
                    "rmt_supports_apb_clock",
                    "rmt_supports_rcfast_clock",
                    "rmt_supports_xtal_clock",
                    "rng_apb_cycle_wait_num=\"16\"",
                    "rsa_size_increment=\"32\"",
                    "rsa_memory_size_bytes=\"512\"",
                    "sha_dma",
                    "spi_master_has_octal",
                    "timergroup_timg_has_timer1",
                    "timergroup_default_clock_source=\"0\"",
                    "timergroup_default_clock_source_is_set",
                    "uart_ram_size=\"128\"",
                    "bt_controller=\"btdm\"",
                    "phy_combo_module",
                    "phy_backed_up_digital_register_count=\"21\"",
                    "phy_backed_up_digital_register_count_is_set",
                ],
                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_gpio",
                    "cargo:rustc-cfg=soc_has_gpio_sd",
                    "cargo:rustc-cfg=soc_has_hmac",
                    "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_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_rtc_i2c",
                    "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_usb0",
                    "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_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_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_psram",
                    "cargo:rustc-cfg=soc_has_sw_interrupt",
                    "cargo:rustc-cfg=soc_has_ulp_riscv_core",
                    "cargo:rustc-cfg=soc_has_wifi",
                    "cargo:rustc-cfg=gdma",
                    "cargo:rustc-cfg=phy",
                    "cargo:rustc-cfg=psram",
                    "cargo:rustc-cfg=psram_dma",
                    "cargo:rustc-cfg=octal_psram",
                    "cargo:rustc-cfg=swd",
                    "cargo:rustc-cfg=ulp_riscv_core",
                    "cargo:rustc-cfg=rom_crc_le",
                    "cargo:rustc-cfg=rom_crc_be",
                    "cargo:rustc-cfg=rom_md5_bsd",
                    "cargo:rustc-cfg=pm_support_ext0_wakeup",
                    "cargo:rustc-cfg=pm_support_ext1_wakeup",
                    "cargo:rustc-cfg=pm_support_touch_sensor_wakeup",
                    "cargo:rustc-cfg=pm_support_wifi_wakeup",
                    "cargo:rustc-cfg=pm_support_bt_wakeup",
                    "cargo:rustc-cfg=uart_support_wakeup_int",
                    "cargo:rustc-cfg=ulp_supported",
                    "cargo:rustc-cfg=riscv_coproc_supported",
                    "cargo:rustc-cfg=soc",
                    "cargo:rustc-cfg=adc",
                    "cargo:rustc-cfg=aes",
                    "cargo:rustc-cfg=assist_debug",
                    "cargo:rustc-cfg=dma",
                    "cargo:rustc-cfg=gpio",
                    "cargo:rustc-cfg=hmac",
                    "cargo:rustc-cfg=i2c_master",
                    "cargo:rustc-cfg=i2s",
                    "cargo:rustc-cfg=interrupts",
                    "cargo:rustc-cfg=io_mux",
                    "cargo:rustc-cfg=camera",
                    "cargo:rustc-cfg=rgb_display",
                    "cargo:rustc-cfg=ledc",
                    "cargo:rustc-cfg=mcpwm",
                    "cargo:rustc-cfg=pcnt",
                    "cargo:rustc-cfg=psram",
                    "cargo:rustc-cfg=rmt",
                    "cargo:rustc-cfg=rng",
                    "cargo:rustc-cfg=rsa",
                    "cargo:rustc-cfg=sd_host",
                    "cargo:rustc-cfg=sleep",
                    "cargo:rustc-cfg=sha",
                    "cargo:rustc-cfg=spi_master",
                    "cargo:rustc-cfg=spi_slave",
                    "cargo:rustc-cfg=systimer",
                    "cargo:rustc-cfg=temp_sensor",
                    "cargo:rustc-cfg=timergroup",
                    "cargo:rustc-cfg=twai",
                    "cargo:rustc-cfg=uart",
                    "cargo:rustc-cfg=ulp_fsm",
                    "cargo:rustc-cfg=ulp_riscv",
                    "cargo:rustc-cfg=usb_otg",
                    "cargo:rustc-cfg=usb_serial_jtag",
                    "cargo:rustc-cfg=wifi",
                    "cargo:rustc-cfg=bt",
                    "cargo:rustc-cfg=phy",
                    "cargo:rustc-cfg=adc_adc1",
                    "cargo:rustc-cfg=adc_adc2",
                    "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=timergroup_timg0",
                    "cargo:rustc-cfg=timergroup_timg1",
                    "cargo:rustc-cfg=uart_uart0",
                    "cargo:rustc-cfg=uart_uart1",
                    "cargo:rustc-cfg=uart_uart2",
                    "cargo:rustc-cfg=soc_rc_fast_clk_default=\"17500000\"",
                    "cargo:rustc-cfg=soc_rc_fast_clk_default_is_set",
                    "cargo:rustc-cfg=soc_rc_slow_clock=\"136000\"",
                    "cargo:rustc-cfg=soc_rc_slow_clock_is_set",
                    "cargo:rustc-cfg=has_dram_region",
                    "cargo:rustc-cfg=has_dram2_uninit_region",
                    "cargo:rustc-cfg=soc_xtal_frequency=\"40\"",
                    "cargo:rustc-cfg=aes_dma",
                    "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=assist_debug_has_region_monitor",
                    "cargo:rustc-cfg=gpio_has_bank_1",
                    "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=gpio_input_signal_max=\"255\"",
                    "cargo:rustc-cfg=gpio_output_signal_max=\"256\"",
                    "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_max_bus_timeout=\"31\"",
                    "cargo:rustc-cfg=i2c_master_ll_intr_mask=\"262143\"",
                    "cargo:rustc-cfg=i2c_master_fifo_size=\"32\"",
                    "cargo:rustc-cfg=interrupts_status_registers=\"4\"",
                    "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=rmt_has_dma",
                    "cargo:rustc-cfg=rmt_supports_none_clock",
                    "cargo:rustc-cfg=rmt_supports_apb_clock",
                    "cargo:rustc-cfg=rmt_supports_rcfast_clock",
                    "cargo:rustc-cfg=rmt_supports_xtal_clock",
                    "cargo:rustc-cfg=rng_apb_cycle_wait_num=\"16\"",
                    "cargo:rustc-cfg=rsa_size_increment=\"32\"",
                    "cargo:rustc-cfg=rsa_memory_size_bytes=\"512\"",
                    "cargo:rustc-cfg=sha_dma",
                    "cargo:rustc-cfg=spi_master_has_octal",
                    "cargo:rustc-cfg=timergroup_timg_has_timer1",
                    "cargo:rustc-cfg=timergroup_default_clock_source=\"0\"",
                    "cargo:rustc-cfg=timergroup_default_clock_source_is_set",
                    "cargo:rustc-cfg=uart_ram_size=\"128\"",
                    "cargo:rustc-cfg=bt_controller=\"btdm\"",
                    "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",
                ],
            },
        }
    }
}
struct Config {
    architecture: &'static str,
    target: &'static str,
    symbols: &'static [&'static str],
    cfgs: &'static [&'static str],
}
impl Config {
    fn define_cfgs(&self) {
        emit_check_cfg_directives();
        for cfg in self.cfgs {
            println!("{cfg}");
        }
    }
}
/// Prints `cargo:rustc-check-cfg` lines.
pub fn emit_check_cfg_directives() {
    println!("cargo:rustc-check-cfg=cfg(not_really_docsrs)");
    println!("cargo:rustc-check-cfg=cfg(semver_checks)");
    println!("cargo:rustc-check-cfg=cfg(esp32)");
    println!("cargo:rustc-check-cfg=cfg(xtensa)");
    println!("cargo:rustc-check-cfg=cfg(multi_core)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_aes)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_apb_ctrl)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_bb)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_dport)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_system)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_efuse)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_emac_dma)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_emac_ext)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_emac_mac)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_flash_encryption)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_frc_timer)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_gpio)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_gpio_sd)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_hinf)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_i2c0)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_i2c1)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_i2s0)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_i2s1)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_io_mux)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_ledc)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_mcpwm0)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_mcpwm1)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_nrx)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_pcnt)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_rmt)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_rng)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_rsa)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_lpwr)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_rtc_i2c)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_rtc_io)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_sdhost)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_sens)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_sha)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_slc)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_slchost)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_spi0)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_spi1)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_spi2)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_spi3)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_timg0)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_timg1)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_twai0)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_uart0)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_uart1)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_uart2)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_uhci0)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_uhci1)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_wifi)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_dma_spi2)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_dma_spi3)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_dma_i2s0)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_dma_i2s1)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_adc1)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_adc2)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_bt)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_cpu_ctrl)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_dac1)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_dac2)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_flash)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_psram)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_sw_interrupt)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_touch)");
    println!("cargo:rustc-check-cfg=cfg(pdma)");
    println!("cargo:rustc-check-cfg=cfg(phy)");
    println!("cargo:rustc-check-cfg=cfg(psram)");
    println!("cargo:rustc-check-cfg=cfg(touch)");
    println!("cargo:rustc-check-cfg=cfg(rom_crc_le)");
    println!("cargo:rustc-check-cfg=cfg(rom_crc_be)");
    println!("cargo:rustc-check-cfg=cfg(rom_md5_bsd)");
    println!("cargo:rustc-check-cfg=cfg(pm_support_ext0_wakeup)");
    println!("cargo:rustc-check-cfg=cfg(pm_support_ext1_wakeup)");
    println!("cargo:rustc-check-cfg=cfg(pm_support_touch_sensor_wakeup)");
    println!("cargo:rustc-check-cfg=cfg(ulp_supported)");
    println!("cargo:rustc-check-cfg=cfg(soc)");
    println!("cargo:rustc-check-cfg=cfg(adc)");
    println!("cargo:rustc-check-cfg=cfg(aes)");
    println!("cargo:rustc-check-cfg=cfg(dac)");
    println!("cargo:rustc-check-cfg=cfg(dma)");
    println!("cargo:rustc-check-cfg=cfg(gpio)");
    println!("cargo:rustc-check-cfg=cfg(i2c_master)");
    println!("cargo:rustc-check-cfg=cfg(i2s)");
    println!("cargo:rustc-check-cfg=cfg(interrupts)");
    println!("cargo:rustc-check-cfg=cfg(io_mux)");
    println!("cargo:rustc-check-cfg=cfg(rgb_display)");
    println!("cargo:rustc-check-cfg=cfg(ledc)");
    println!("cargo:rustc-check-cfg=cfg(mcpwm)");
    println!("cargo:rustc-check-cfg=cfg(pcnt)");
    println!("cargo:rustc-check-cfg=cfg(rmt)");
    println!("cargo:rustc-check-cfg=cfg(rng)");
    println!("cargo:rustc-check-cfg=cfg(rsa)");
    println!("cargo:rustc-check-cfg=cfg(sd_host)");
    println!("cargo:rustc-check-cfg=cfg(sd_slave)");
    println!("cargo:rustc-check-cfg=cfg(sleep)");
    println!("cargo:rustc-check-cfg=cfg(sha)");
    println!("cargo:rustc-check-cfg=cfg(spi_master)");
    println!("cargo:rustc-check-cfg=cfg(spi_slave)");
    println!("cargo:rustc-check-cfg=cfg(temp_sensor)");
    println!("cargo:rustc-check-cfg=cfg(timergroup)");
    println!("cargo:rustc-check-cfg=cfg(twai)");
    println!("cargo:rustc-check-cfg=cfg(uart)");
    println!("cargo:rustc-check-cfg=cfg(ulp_fsm)");
    println!("cargo:rustc-check-cfg=cfg(wifi)");
    println!("cargo:rustc-check-cfg=cfg(bt)");
    println!("cargo:rustc-check-cfg=cfg(adc_adc1)");
    println!("cargo:rustc-check-cfg=cfg(adc_adc2)");
    println!("cargo:rustc-check-cfg=cfg(dac_dac1)");
    println!("cargo:rustc-check-cfg=cfg(dac_dac2)");
    println!("cargo:rustc-check-cfg=cfg(i2c_master_i2c0)");
    println!("cargo:rustc-check-cfg=cfg(i2c_master_i2c1)");
    println!("cargo:rustc-check-cfg=cfg(spi_master_spi2)");
    println!("cargo:rustc-check-cfg=cfg(spi_master_spi3)");
    println!("cargo:rustc-check-cfg=cfg(spi_slave_spi2)");
    println!("cargo:rustc-check-cfg=cfg(spi_slave_spi3)");
    println!("cargo:rustc-check-cfg=cfg(timergroup_timg0)");
    println!("cargo:rustc-check-cfg=cfg(timergroup_timg1)");
    println!("cargo:rustc-check-cfg=cfg(uart_uart0)");
    println!("cargo:rustc-check-cfg=cfg(uart_uart1)");
    println!("cargo:rustc-check-cfg=cfg(uart_uart2)");
    println!("cargo:rustc-check-cfg=cfg(soc_ref_tick_hz_is_set)");
    println!("cargo:rustc-check-cfg=cfg(soc_rc_fast_clk_default_is_set)");
    println!("cargo:rustc-check-cfg=cfg(soc_rc_slow_clock_is_set)");
    println!("cargo:rustc-check-cfg=cfg(has_dram_region)");
    println!("cargo:rustc-check-cfg=cfg(has_dram2_uninit_region)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_multiple_xtal_options)");
    println!("cargo:rustc-check-cfg=cfg(aes_endianness_configurable)");
    println!("cargo:rustc-check-cfg=cfg(gpio_has_bank_1)");
    println!("cargo:rustc-check-cfg=cfg(gpio_remap_iomux_pin_registers)");
    println!("cargo:rustc-check-cfg=cfg(i2c_master_separate_filter_config_registers)");
    println!("cargo:rustc-check-cfg=cfg(i2c_master_i2c0_data_register_ahb_address_is_set)");
    println!("cargo:rustc-check-cfg=cfg(rmt_has_per_channel_clock)");
    println!("cargo:rustc-check-cfg=cfg(rmt_supports_reftick_clock)");
    println!("cargo:rustc-check-cfg=cfg(rmt_supports_apb_clock)");
    println!("cargo:rustc-check-cfg=cfg(timergroup_timg_has_timer1)");
    println!("cargo:rustc-check-cfg=cfg(phy_combo_module)");
    println!("cargo:rustc-check-cfg=cfg(esp32c2)");
    println!("cargo:rustc-check-cfg=cfg(riscv)");
    println!("cargo:rustc-check-cfg=cfg(single_core)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_apb_saradc)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_assist_debug)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_dma)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_ecc)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_extmem)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_i2c_ana_mst)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_interrupt_core0)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_modem_clkrst)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_sensitive)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_systimer)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_xts_aes)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_dma_ch0)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_mem2mem1)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_mem2mem2)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_mem2mem3)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_mem2mem4)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_mem2mem5)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_mem2mem6)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_mem2mem7)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_mem2mem8)");
    println!("cargo:rustc-check-cfg=cfg(gdma)");
    println!("cargo:rustc-check-cfg=cfg(swd)");
    println!("cargo:rustc-check-cfg=cfg(rom_md5_mbedtls)");
    println!("cargo:rustc-check-cfg=cfg(pm_support_wifi_wakeup)");
    println!("cargo:rustc-check-cfg=cfg(pm_support_bt_wakeup)");
    println!("cargo:rustc-check-cfg=cfg(uart_support_wakeup_int)");
    println!("cargo:rustc-check-cfg=cfg(gpio_support_deepsleep_wakeup)");
    println!("cargo:rustc-check-cfg=cfg(assist_debug)");
    println!("cargo:rustc-check-cfg=cfg(ecc)");
    println!("cargo:rustc-check-cfg=cfg(systimer)");
    println!("cargo:rustc-check-cfg=cfg(soc_cpu_has_csr_pc)");
    println!("cargo:rustc-check-cfg=cfg(assist_debug_has_sp_monitor)");
    println!("cargo:rustc-check-cfg=cfg(i2c_master_has_fsm_timeouts)");
    println!("cargo:rustc-check-cfg=cfg(i2c_master_has_hw_bus_clear)");
    println!("cargo:rustc-check-cfg=cfg(i2c_master_has_bus_timeout_enable)");
    println!("cargo:rustc-check-cfg=cfg(i2c_master_has_conf_update)");
    println!("cargo:rustc-check-cfg=cfg(i2c_master_has_arbitration_en)");
    println!("cargo:rustc-check-cfg=cfg(i2c_master_has_tx_fifo_watermark)");
    println!("cargo:rustc-check-cfg=cfg(i2c_master_bus_timeout_is_exponential)");
    println!("cargo:rustc-check-cfg=cfg(sha_dma)");
    println!("cargo:rustc-check-cfg=cfg(timergroup_timg_has_divcnt_rst)");
    println!("cargo:rustc-check-cfg=cfg(timergroup_default_clock_source_is_set)");
    println!("cargo:rustc-check-cfg=cfg(timergroup_default_wdt_clock_source_is_set)");
    println!("cargo:rustc-check-cfg=cfg(esp32c3)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_ds)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_fe)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_fe2)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_hmac)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_usb_device)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_dma_ch1)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_dma_ch2)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_tsens)");
    println!("cargo:rustc-check-cfg=cfg(hmac)");
    println!("cargo:rustc-check-cfg=cfg(usb_serial_jtag)");
    println!("cargo:rustc-check-cfg=cfg(aes_dma)");
    println!("cargo:rustc-check-cfg=cfg(aes_dma_mode_ecb)");
    println!("cargo:rustc-check-cfg=cfg(aes_dma_mode_cbc)");
    println!("cargo:rustc-check-cfg=cfg(aes_dma_mode_ofb)");
    println!("cargo:rustc-check-cfg=cfg(aes_dma_mode_ctr)");
    println!("cargo:rustc-check-cfg=cfg(aes_dma_mode_cfb8)");
    println!("cargo:rustc-check-cfg=cfg(aes_dma_mode_cfb128)");
    println!("cargo:rustc-check-cfg=cfg(aes_has_split_text_registers)");
    println!("cargo:rustc-check-cfg=cfg(assist_debug_has_region_monitor)");
    println!("cargo:rustc-check-cfg=cfg(rmt_has_tx_immediate_stop)");
    println!("cargo:rustc-check-cfg=cfg(rmt_has_tx_loop_count)");
    println!("cargo:rustc-check-cfg=cfg(rmt_has_tx_carrier_data_only)");
    println!("cargo:rustc-check-cfg=cfg(rmt_has_tx_sync)");
    println!("cargo:rustc-check-cfg=cfg(rmt_has_rx_wrap)");
    println!("cargo:rustc-check-cfg=cfg(rmt_has_rx_demodulation)");
    println!("cargo:rustc-check-cfg=cfg(rmt_supports_none_clock)");
    println!("cargo:rustc-check-cfg=cfg(rmt_supports_rcfast_clock)");
    println!("cargo:rustc-check-cfg=cfg(rmt_supports_xtal_clock)");
    println!("cargo:rustc-check-cfg=cfg(phy_backed_up_digital_register_count_is_set)");
    println!("cargo:rustc-check-cfg=cfg(esp32c6)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_atomic)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_hp_apm)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_hp_sys)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_ieee802154)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_intpri)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_lp_ana)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_lp_aon)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_lp_apm)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_lp_apm0)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_lp_clkrst)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_lp_i2c0)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_lp_i2c_ana_mst)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_lp_io)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_lp_peri)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_lp_tee)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_lp_timer)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_lp_uart)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_lp_wdt)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_mem_monitor)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_modem_lpcon)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_modem_syscon)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_otp_debug)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_parl_io)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_pau)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_pcr)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_plic_mx)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_pmu)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_etm)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_tee)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_trace0)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_twai1)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_lp_core)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_mem2mem10)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_mem2mem11)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_mem2mem12)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_mem2mem13)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_mem2mem14)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_mem2mem15)");
    println!("cargo:rustc-check-cfg=cfg(plic)");
    println!("cargo:rustc-check-cfg=cfg(lp_core)");
    println!("cargo:rustc-check-cfg=cfg(pm_support_beacon_wakeup)");
    println!("cargo:rustc-check-cfg=cfg(etm)");
    println!("cargo:rustc-check-cfg=cfg(lp_i2c_master)");
    println!("cargo:rustc-check-cfg=cfg(parl_io)");
    println!("cargo:rustc-check-cfg=cfg(lp_uart)");
    println!("cargo:rustc-check-cfg=cfg(ulp_riscv)");
    println!("cargo:rustc-check-cfg=cfg(ieee802154)");
    println!("cargo:rustc-check-cfg=cfg(soc_cpu_has_prv_mode)");
    println!("cargo:rustc-check-cfg=cfg(i2c_master_can_estimate_nack_reason)");
    println!("cargo:rustc-check-cfg=cfg(i2c_master_has_reliable_fsm_reset)");
    println!("cargo:rustc-check-cfg=cfg(rmt_has_tx_loop_auto_stop)");
    println!("cargo:rustc-check-cfg=cfg(rmt_supports_pll80mhz_clock)");
    println!("cargo:rustc-check-cfg=cfg(uart_peripheral_controls_mem_clk)");
    println!("cargo:rustc-check-cfg=cfg(wifi_has_wifi6)");
    println!("cargo:rustc-check-cfg=cfg(esp32h2)");
    println!("cargo:rustc-check-cfg=cfg(esp32s2)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_dedicated_gpio)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_pms)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_syscon)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_usb0)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_usb_wrap)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_dma_crypto)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_dma_copy)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_ulp_riscv_core)");
    println!("cargo:rustc-check-cfg=cfg(psram_dma)");
    println!("cargo:rustc-check-cfg=cfg(ulp_riscv_core)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_copy_dma)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_crypto_dma)");
    println!("cargo:rustc-check-cfg=cfg(riscv_coproc_supported)");
    println!("cargo:rustc-check-cfg=cfg(usb_otg)");
    println!("cargo:rustc-check-cfg=cfg(aes_dma_mode_gcm)");
    println!("cargo:rustc-check-cfg=cfg(spi_master_has_octal)");
    println!("cargo:rustc-check-cfg=cfg(esp32s3)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_interrupt_core1)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_lcd_cam)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_peri_backup)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_rtc_cntl)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_wcl)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_dma_ch3)");
    println!("cargo:rustc-check-cfg=cfg(soc_has_dma_ch4)");
    println!("cargo:rustc-check-cfg=cfg(octal_psram)");
    println!("cargo:rustc-check-cfg=cfg(camera)");
    println!("cargo:rustc-check-cfg=cfg(rmt_has_dma)");
    println!("cargo:rustc-check-cfg=cfg(soc_ref_tick_hz, values(\"1000000\"))");
    println!(
        "cargo:rustc-check-cfg=cfg(soc_rc_fast_clk_default, values(\"8500000\",\"17500000\"))"
    );
    println!(
        "cargo:rustc-check-cfg=cfg(soc_rc_slow_clock, values(\"150000\",\"136000\",\"90000\"))"
    );
    println!("cargo:rustc-check-cfg=cfg(gpio_gpio_function, values(\"2\",\"1\"))");
    println!("cargo:rustc-check-cfg=cfg(gpio_constant_0_input, values(\"48\",\"31\",\"60\"))");
    println!("cargo:rustc-check-cfg=cfg(gpio_constant_1_input, values(\"56\",\"30\"))");
    println!("cargo:rustc-check-cfg=cfg(gpio_func_in_sel_offset, values(\"0\"))");
    println!(
        "cargo:rustc-check-cfg=cfg(gpio_input_signal_max, values(\"206\",\"100\",\"124\",\"242\",\"255\"))"
    );
    println!("cargo:rustc-check-cfg=cfg(gpio_output_signal_max, values(\"256\",\"128\"))");
    println!(
        "cargo:rustc-check-cfg=cfg(i2c_master_i2c0_data_register_ahb_address, values(\"1610690588\"))"
    );
    println!(
        "cargo:rustc-check-cfg=cfg(i2c_master_max_bus_timeout, values(\"1048575\",\"31\",\"16777215\"))"
    );
    println!("cargo:rustc-check-cfg=cfg(i2c_master_ll_intr_mask, values(\"262143\",\"131071\"))");
    println!("cargo:rustc-check-cfg=cfg(i2c_master_fifo_size, values(\"32\",\"16\"))");
    println!("cargo:rustc-check-cfg=cfg(interrupts_status_registers, values(\"3\",\"2\",\"4\"))");
    println!(
        "cargo:rustc-check-cfg=cfg(rmt_ram_start, values(\"1073047552\",\"1610703872\",\"1610638336\",\"1610642432\",\"1061250048\",\"1610704896\"))"
    );
    println!("cargo:rustc-check-cfg=cfg(rmt_channel_ram_size, values(\"64\",\"48\"))");
    println!("cargo:rustc-check-cfg=cfg(rng_apb_cycle_wait_num, values(\"16\"))");
    println!("cargo:rustc-check-cfg=cfg(rsa_size_increment, values(\"512\",\"32\"))");
    println!("cargo:rustc-check-cfg=cfg(rsa_memory_size_bytes, values(\"512\",\"384\"))");
    println!("cargo:rustc-check-cfg=cfg(uart_ram_size, values(\"128\"))");
    println!("cargo:rustc-check-cfg=cfg(bt_controller, values(\"btdm\",\"npl\"))");
    println!(
        "cargo:rustc-check-cfg=cfg(timergroup_default_clock_source, values(\"0\",\"1\",\"2\"))"
    );
    println!(
        "cargo:rustc-check-cfg=cfg(timergroup_default_wdt_clock_source, values(\"0\",\"1\",\"2\"))"
    );
    println!("cargo:rustc-check-cfg=cfg(soc_xtal_frequency, values(\"40\",\"32\"))");
    println!("cargo:rustc-check-cfg=cfg(phy_backed_up_digital_register_count, values(\"21\"))");
    println!("cargo:rustc-check-cfg=cfg(lp_i2c_master_fifo_size, values(\"16\"))");
    println!("cargo:rustc-check-cfg=cfg(lp_uart_ram_size, values(\"32\"))");
}
