Skip to main content

esp_metadata_generated/
_build_script_utils.rs

1// Do NOT edit this file directly. Make your changes to esp-metadata,
2// then run `cargo update-metadata`.
3
4use core::ops::Range;
5extern crate alloc;
6#[cfg(docsrs)]
7macro_rules! println {
8    ($($any:tt)*) => {};
9}
10#[doc(hidden)]
11#[macro_export]
12macro_rules! __assert_features_logic {
13    ($op:tt, $limit:expr, $msg:literal, $($feature:literal),+ $(,)?) => {
14        { let enabled : Vec < & str > = [$(if cfg!(feature = $feature) { Some($feature) }
15        else { None },)+].into_iter().flatten().collect(); assert!(enabled.len() $op
16        $limit, concat!($msg,
17        ": {}.\nCurrently enabled: {}. This might be caused by enabled default features.\n"),
18        [$($feature),+].join(", "), if enabled.is_empty() { "none".to_string() } else {
19        enabled.join(", ") }); }
20    };
21}
22#[macro_export]
23macro_rules! assert_unique_features {
24    ($($f:literal),+ $(,)?) => {
25        $crate::__assert_features_logic!(<=, 1,
26        "\nAt most one of the following features must be enabled", $($f),+);
27    };
28}
29#[macro_export]
30macro_rules! assert_unique_used_features {
31    ($($f:literal),+ $(,)?) => {
32        $crate::__assert_features_logic!(==, 1,
33        "\nExactly one of the following features must be enabled", $($f),+);
34    };
35}
36#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)]
37#[cfg_attr(docsrs, doc(cfg(feature = "build-script")))]
38pub enum Chip {
39    Esp32,
40    Esp32c2,
41    Esp32c3,
42    Esp32c5,
43    Esp32c6,
44    Esp32c61,
45    Esp32h2,
46    Esp32p4,
47    Esp32s2,
48    Esp32s3,
49    Esp32s31,
50}
51impl core::str::FromStr for Chip {
52    type Err = alloc::string::String;
53    fn from_str(s: &str) -> Result<Self, Self::Err> {
54        match s {
55            "esp32" => Ok(Self::Esp32),
56            "esp32c2" => Ok(Self::Esp32c2),
57            "esp32c3" => Ok(Self::Esp32c3),
58            "esp32c5" => Ok(Self::Esp32c5),
59            "esp32c6" => Ok(Self::Esp32c6),
60            "esp32c61" => Ok(Self::Esp32c61),
61            "esp32h2" => Ok(Self::Esp32h2),
62            "esp32p4" => Ok(Self::Esp32p4),
63            "esp32s2" => Ok(Self::Esp32s2),
64            "esp32s3" => Ok(Self::Esp32s3),
65            "esp32s31" => Ok(Self::Esp32s31),
66            _ => Err(alloc::format!(
67                "Unknown chip {s}. Possible options: esp32, esp32c2, esp32c3, esp32c5, esp32c6, \
68                 esp32c61, esp32h2, esp32p4, esp32s2, esp32s3, esp32s31"
69            )),
70        }
71    }
72}
73impl Chip {
74    /// Tries to extract the active chip from the active cargo features.
75    ///
76    /// Exactly one device feature must be enabled for this function to succeed.
77    pub fn from_cargo_feature() -> Result<Self, &'static str> {
78        let all_chips = [
79            ("CARGO_FEATURE_ESP32", Self::Esp32),
80            ("CARGO_FEATURE_ESP32C2", Self::Esp32c2),
81            ("CARGO_FEATURE_ESP32C3", Self::Esp32c3),
82            ("CARGO_FEATURE_ESP32C5", Self::Esp32c5),
83            ("CARGO_FEATURE_ESP32C6", Self::Esp32c6),
84            ("CARGO_FEATURE_ESP32C61", Self::Esp32c61),
85            ("CARGO_FEATURE_ESP32H2", Self::Esp32h2),
86            ("CARGO_FEATURE_ESP32P4", Self::Esp32p4),
87            ("CARGO_FEATURE_ESP32S2", Self::Esp32s2),
88            ("CARGO_FEATURE_ESP32S3", Self::Esp32s3),
89            ("CARGO_FEATURE_ESP32S31", Self::Esp32s31),
90        ];
91        let mut chip = None;
92        for (env, c) in all_chips {
93            if std::env::var(env).is_ok() {
94                if chip.is_some() {
95                    return Err(
96                        "Expected exactly one of the following features to be enabled: esp32, \
97                         esp32c2, esp32c3, esp32c5, esp32c6, esp32c61, esp32h2, esp32p4, esp32s2, \
98                         esp32s3, esp32s31",
99                    );
100                }
101                chip = Some(c);
102            }
103        }
104        match chip {
105            Some(chip) => Ok(chip),
106            None => Err(
107                "Expected exactly one of the following features to be enabled: esp32, esp32c2, \
108                 esp32c3, esp32c5, esp32c6, esp32c61, esp32h2, esp32p4, esp32s2, esp32s3, esp32s31",
109            ),
110        }
111    }
112    /// Returns whether the current chip uses the Tensilica Xtensa ISA.
113    pub fn is_xtensa(self) -> bool {
114        self.config().architecture == "xtensa"
115    }
116    /// The target triple of the current chip.
117    pub fn target(self) -> &'static str {
118        self.config().target
119    }
120    /// The simple name of the current chip.
121    ///
122    /// ## Example
123    ///
124    /// ```rust,no_run
125    /// assert_eq!(Chip::Esp32s3.name(), "esp32s3");
126    /// ```
127    pub fn name(self) -> &'static str {
128        match self {
129            Self::Esp32 => "esp32",
130            Self::Esp32c2 => "esp32c2",
131            Self::Esp32c3 => "esp32c3",
132            Self::Esp32c5 => "esp32c5",
133            Self::Esp32c6 => "esp32c6",
134            Self::Esp32c61 => "esp32c61",
135            Self::Esp32h2 => "esp32h2",
136            Self::Esp32p4 => "esp32p4",
137            Self::Esp32s2 => "esp32s2",
138            Self::Esp32s3 => "esp32s3",
139            Self::Esp32s31 => "esp32s31",
140        }
141    }
142    /// Returns whether the chip configuration contains the given symbol.
143    ///
144    /// This function is a short-hand for `self.all_symbols().contains(&symbol)`.
145    ///
146    /// ## Example
147    ///
148    /// ```rust,no_run
149    /// assert!(Chip::Esp32s3.contains("soc_has_pcnt"));
150    /// ```
151    pub fn contains(self, symbol: &str) -> bool {
152        self.all_symbols().contains(&symbol)
153    }
154    /// Calling this function will define all cfg symbols for the firmware crate to use.
155    pub fn define_cfgs(self) {
156        self.config().define_cfgs()
157    }
158    /// Returns all symbols as a big slice.
159    ///
160    /// ## Example
161    ///
162    /// ```rust,no_run
163    /// assert!(Chip::Esp32s3.all_symbols().contains("soc_has_pcnt"));
164    /// ```
165    pub fn all_symbols(&self) -> &'static [&'static str] {
166        self.config().symbols
167    }
168    /// Returns memory layout information.
169    pub fn memory_layout(&self) -> &'static MemoryLayout {
170        self.config().memory_layout
171    }
172    /// Returns information about all pins.
173    pub fn pins(&self) -> &'static [PinInfo] {
174        self.config().pins
175    }
176    /// Returns an iterator over all chips.
177    ///
178    /// ## Example
179    ///
180    /// ```rust,no_run
181    /// assert!(Chip::iter().any(|c| c == Chip::Esp32));
182    /// ```
183    pub fn iter() -> impl Iterator<Item = Chip> {
184        [
185            Self::Esp32,
186            Self::Esp32c2,
187            Self::Esp32c3,
188            Self::Esp32c5,
189            Self::Esp32c6,
190            Self::Esp32c61,
191            Self::Esp32h2,
192            Self::Esp32p4,
193            Self::Esp32s2,
194            Self::Esp32s3,
195            Self::Esp32s31,
196        ]
197        .into_iter()
198    }
199    fn config(self) -> Config {
200        match self {
201            Self::Esp32 => Config {
202                architecture: "xtensa",
203                target: "xtensa-esp32-none-elf",
204                symbols: &[
205                    "esp32",
206                    "xtensa",
207                    "multi_core",
208                    "soc_has_aes",
209                    "soc_has_apb_ctrl",
210                    "soc_has_bb",
211                    "soc_has_dport",
212                    "soc_has_system",
213                    "soc_has_efuse",
214                    "soc_has_eth",
215                    "soc_has_emac_dma",
216                    "soc_has_emac_ext",
217                    "soc_has_emac_mac",
218                    "soc_has_flash_encryption",
219                    "soc_has_frc_timer",
220                    "soc_has_gpio",
221                    "soc_has_gpio_sd",
222                    "soc_has_hinf",
223                    "soc_has_i2c0",
224                    "soc_has_i2c1",
225                    "soc_has_i2s0",
226                    "soc_has_i2s1",
227                    "soc_has_io_mux",
228                    "soc_has_ledc",
229                    "soc_has_mcpwm0",
230                    "soc_has_mmu_table",
231                    "soc_has_mcpwm1",
232                    "soc_has_nrx",
233                    "soc_has_pcnt",
234                    "soc_has_rmt",
235                    "soc_has_rng",
236                    "soc_has_rsa",
237                    "soc_has_lpwr",
238                    "soc_has_rtc_timer",
239                    "soc_has_lp_i2c0",
240                    "soc_has_rtc_io",
241                    "soc_has_sdhost",
242                    "soc_has_sens",
243                    "soc_has_sha",
244                    "soc_has_slc",
245                    "soc_has_slchost",
246                    "soc_has_spi0",
247                    "soc_has_spi1",
248                    "soc_has_spi2",
249                    "soc_has_spi3",
250                    "soc_has_timg0",
251                    "soc_has_timg1",
252                    "soc_has_twai0",
253                    "soc_has_uart0",
254                    "soc_has_uart1",
255                    "soc_has_uart2",
256                    "soc_has_uhci0",
257                    "soc_has_uhci1",
258                    "soc_has_wifi",
259                    "soc_has_adc1",
260                    "soc_has_adc2",
261                    "soc_has_bt",
262                    "soc_has_cpu_ctrl",
263                    "soc_has_dac1",
264                    "soc_has_dac2",
265                    "soc_has_flash",
266                    "soc_has_psram",
267                    "soc_has_touch",
268                    "soc_has_from_cpu_intr0",
269                    "soc_has_from_cpu_intr1",
270                    "soc_has_from_cpu_intr2",
271                    "soc_has_from_cpu_intr3",
272                    "gpio_driver_supported",
273                    "io_mux_driver_supported",
274                    "lp_io_driver_supported",
275                    "uart_driver_supported",
276                    "i2c_master_driver_supported",
277                    "spi_master_driver_supported",
278                    "spi_slave_driver_supported",
279                    "i2s_driver_supported",
280                    "rmt_driver_supported",
281                    "sdmmc_driver_supported",
282                    "twai_driver_supported",
283                    "bt_driver_supported",
284                    "wifi_driver_supported",
285                    "ethernet_driver_supported",
286                    "phy_driver_supported",
287                    "rgb_display_driver_supported",
288                    "adc_driver_supported",
289                    "dac_driver_supported",
290                    "temp_sensor_driver_supported",
291                    "touch_driver_supported",
292                    "ledc_driver_supported",
293                    "mcpwm_driver_supported",
294                    "pcnt_driver_supported",
295                    "lp_timer_driver_supported",
296                    "sdm_driver_supported",
297                    "timergroup_driver_supported",
298                    "aes_driver_supported",
299                    "rng_driver_supported",
300                    "rsa_driver_supported",
301                    "sha_driver_supported",
302                    "sleep_driver_supported",
303                    "dma_driver_supported",
304                    "interrupts_driver_supported",
305                    "mmu_driver_supported",
306                    "psram_driver_supported",
307                    "rom_driver_supported",
308                    "soc_driver_supported",
309                    "uart_uart0",
310                    "uart_uart1",
311                    "uart_uart2",
312                    "i2c_master_i2c0",
313                    "i2c_master_i2c1",
314                    "spi_master_spi2",
315                    "spi_master_spi3",
316                    "spi_slave_spi2",
317                    "spi_slave_spi3",
318                    "i2s_i2s0",
319                    "i2s_i2s1",
320                    "adc_adc1",
321                    "adc_adc2",
322                    "dac_dac1",
323                    "dac_dac2",
324                    "timergroup_timg0",
325                    "timergroup_timg1",
326                    "gpio_version=\"1\"",
327                    "gpio_gpio_function=\"2\"",
328                    "gpio_constant_0_input=\"48\"",
329                    "gpio_constant_1_input=\"56\"",
330                    "gpio_remap_iomux_pin_registers",
331                    "gpio_func_in_sel_offset=\"0\"",
332                    "soc_has_xtal32k_pads",
333                    "gpio_has_bank_1",
334                    "gpio_input_signal_max=\"206\"",
335                    "gpio_output_signal_max=\"256\"",
336                    "lp_io_version=\"esp32\"",
337                    "uart_ram_size=\"128\"",
338                    "uart_version=\"1\"",
339                    "i2c_master_version=\"1\"",
340                    "i2c_master_separate_filter_config_registers",
341                    "i2c_master_i2c0_data_register_ahb_address=\"1610690588\"",
342                    "i2c_master_i2c0_data_register_ahb_address_is_set",
343                    "i2c_master_max_bus_timeout=\"1048575\"",
344                    "i2c_master_ll_intr_mask=\"262143\"",
345                    "i2c_master_fifo_size=\"32\"",
346                    "spi_master_version=\"1\"",
347                    "spi_master_fifo_size=\"64\"",
348                    "spi_master_bit_order_is_bool",
349                    "i2s_version=\"1\"",
350                    "i2s_version_is_set",
351                    "i2s_default_clock_source=\"2\"",
352                    "i2s_default_clock_source_is_set",
353                    "i2s_mclk_divider_bit_width=\"6\"",
354                    "i2s_mclk_divider_bit_width_is_set",
355                    "i2s_max_ws_width=\"128\"",
356                    "i2s_max_ws_width_is_set",
357                    "i2s_supports_pdm_tx",
358                    "i2s_supports_pdm_rx",
359                    "i2s_supports_pcm2pdm",
360                    "i2s_supports_pdm2pcm",
361                    "rmt_ram_start=\"1073047552\"",
362                    "rmt_channel_ram_size=\"64\"",
363                    "rmt_has_per_channel_clock",
364                    "sdmmc_has_iomux",
365                    "bt_controller=\"btdm\"",
366                    "wifi_mac_version=\"1\"",
367                    "wifi_csi_supported",
368                    "phy_combo_module",
369                    "ledc_version=\"1\"",
370                    "ledc_channel_count=\"8\"",
371                    "soc_has_sdm_ch0",
372                    "soc_has_sdm_ch1",
373                    "soc_has_sdm_ch2",
374                    "soc_has_sdm_ch3",
375                    "soc_has_sdm_ch4",
376                    "soc_has_sdm_ch5",
377                    "soc_has_sdm_ch6",
378                    "soc_has_sdm_ch7",
379                    "timergroup_timg_has_timer1",
380                    "timergroup_rc_fast_calibration_is_set",
381                    "aes_endianness_configurable",
382                    "rng_apb_cycle_wait_num=\"16\"",
383                    "rng_trng_supported",
384                    "rsa_version=\"1\"",
385                    "rsa_size_increment=\"512\"",
386                    "rsa_memory_size_bytes=\"512\"",
387                    "sleep_light_sleep",
388                    "sleep_deep_sleep",
389                    "sleep_has_wakeup_source_ext0",
390                    "sleep_has_wakeup_source_ext1",
391                    "sleep_has_wakeup_source_gpio",
392                    "sleep_has_wakeup_source_timer",
393                    "sleep_has_wakeup_source_sdio",
394                    "sleep_has_wakeup_source_wifi",
395                    "sleep_has_wakeup_source_uart",
396                    "sleep_has_wakeup_source_touch",
397                    "sleep_has_wakeup_source_ulp",
398                    "sleep_has_wakeup_source_bt",
399                    "sleep_ext1_version=\"1\"",
400                    "sleep_ext1_version_is_set",
401                    "sleep_pin_wakeup_version=\"1\"",
402                    "sleep_pin_wakeup_version_is_set",
403                    "sleep_deep_sleep_needs_gpio_isolation",
404                    "soc_has_dma_spi2",
405                    "soc_has_dma_spi3",
406                    "soc_has_dma_i2s0",
407                    "soc_has_dma_i2s1",
408                    "spi_master_supports_dma",
409                    "spi_master_dma_engine=\"SPI_DMA\"",
410                    "spi_slave_supports_dma",
411                    "spi_slave_dma_engine=\"SPI_DMA\"",
412                    "i2s_supports_dma",
413                    "i2s_dma_engine=\"I2S_DMA\"",
414                    "interrupts_status_registers=\"3\"",
415                    "interrupt_controller=\"xtensa\"",
416                    "mmu_page_size=\"65536\"",
417                    "mmu_entry_num=\"256\"",
418                    "psram_extmem_origin=\"1065353216\"",
419                    "rom_has_crc_le",
420                    "rom_has_crc_be",
421                    "rom_has_md5_bsd",
422                    "soc_multi_core_enabled",
423                    "soc_cpu_mcause_mask=\"0\"",
424                    "soc_has_clock_node_xtal_clk",
425                    "soc_clock_node_xtal_clk_is_configurable",
426                    "soc_has_clock_node_pll_clk",
427                    "soc_clock_node_pll_clk_is_configurable",
428                    "soc_has_clock_node_apll_clk",
429                    "soc_clock_node_apll_clk_is_configurable",
430                    "soc_has_clock_node_rc_fast_clk",
431                    "soc_has_clock_node_pll_f160m_clk",
432                    "soc_has_clock_node_cpu_pll_div_in",
433                    "soc_clock_node_cpu_pll_div_in_is_configurable",
434                    "soc_has_clock_node_cpu_pll_div",
435                    "soc_clock_node_cpu_pll_div_is_configurable",
436                    "soc_has_clock_node_syscon_pre_div_in",
437                    "soc_clock_node_syscon_pre_div_in_is_configurable",
438                    "soc_has_clock_node_syscon_pre_div",
439                    "soc_clock_node_syscon_pre_div_is_configurable",
440                    "soc_has_clock_node_cpu_clk",
441                    "soc_clock_node_cpu_clk_is_configurable",
442                    "soc_has_clock_node_apb_clk_cpu_div2",
443                    "soc_has_clock_node_apb_clk_80m",
444                    "soc_has_clock_node_apb_clk",
445                    "soc_clock_node_apb_clk_is_configurable",
446                    "soc_has_clock_node_ref_tick_pll",
447                    "soc_clock_node_ref_tick_pll_is_configurable",
448                    "soc_has_clock_node_ref_tick_apll",
449                    "soc_clock_node_ref_tick_apll_is_configurable",
450                    "soc_has_clock_node_ref_tick_xtal",
451                    "soc_clock_node_ref_tick_xtal_is_configurable",
452                    "soc_has_clock_node_ref_tick_fosc",
453                    "soc_clock_node_ref_tick_fosc_is_configurable",
454                    "soc_has_clock_node_ref_tick",
455                    "soc_clock_node_ref_tick_is_configurable",
456                    "soc_has_clock_node_xtal32k_clk",
457                    "soc_has_clock_node_rc_slow_clk",
458                    "soc_has_clock_node_rc_fast_div_clk",
459                    "soc_has_clock_node_xtal_div_clk",
460                    "soc_has_clock_node_rtc_slow_clk",
461                    "soc_clock_node_rtc_slow_clk_is_configurable",
462                    "soc_has_clock_node_rtc_fast_clk",
463                    "soc_clock_node_rtc_fast_clk_is_configurable",
464                    "soc_has_clock_node_uart_mem_clk",
465                    "soc_has_clock_node_timg_calibration_clock",
466                    "soc_clock_node_timg_calibration_clock_is_configurable",
467                    "soc_has_clock_node_mcpwm_function_clock",
468                    "soc_has_clock_node_i2c_function_clock",
469                    "soc_clock_node_i2c_function_clock_is_configurable",
470                    "soc_has_clock_node_uart_function_clock",
471                    "soc_clock_node_uart_function_clock_is_configurable",
472                    "soc_has_clock_node_uart_mem_clock",
473                    "soc_has_clock_node_uart_baud_rate_generator",
474                    "soc_clock_node_uart_baud_rate_generator_is_configurable",
475                    "soc_has_clock_node_sdm_function_clock",
476                    "soc_has_clock_node_rmt_sclk",
477                    "soc_clock_node_rmt_sclk_is_configurable",
478                    "soc_has_clock_node_spi_function_clock",
479                    "has_dram_region",
480                    "has_dram2_uninit_region",
481                    "has_irom_region",
482                    "has_drom_region",
483                ],
484                cfgs: &[
485                    "cargo:rustc-cfg=esp32",
486                    "cargo:rustc-cfg=xtensa",
487                    "cargo:rustc-cfg=multi_core",
488                    "cargo:rustc-cfg=soc_has_aes",
489                    "cargo:rustc-cfg=soc_has_apb_ctrl",
490                    "cargo:rustc-cfg=soc_has_bb",
491                    "cargo:rustc-cfg=soc_has_dport",
492                    "cargo:rustc-cfg=soc_has_system",
493                    "cargo:rustc-cfg=soc_has_efuse",
494                    "cargo:rustc-cfg=soc_has_eth",
495                    "cargo:rustc-cfg=soc_has_emac_dma",
496                    "cargo:rustc-cfg=soc_has_emac_ext",
497                    "cargo:rustc-cfg=soc_has_emac_mac",
498                    "cargo:rustc-cfg=soc_has_flash_encryption",
499                    "cargo:rustc-cfg=soc_has_frc_timer",
500                    "cargo:rustc-cfg=soc_has_gpio",
501                    "cargo:rustc-cfg=soc_has_gpio_sd",
502                    "cargo:rustc-cfg=soc_has_hinf",
503                    "cargo:rustc-cfg=soc_has_i2c0",
504                    "cargo:rustc-cfg=soc_has_i2c1",
505                    "cargo:rustc-cfg=soc_has_i2s0",
506                    "cargo:rustc-cfg=soc_has_i2s1",
507                    "cargo:rustc-cfg=soc_has_io_mux",
508                    "cargo:rustc-cfg=soc_has_ledc",
509                    "cargo:rustc-cfg=soc_has_mcpwm0",
510                    "cargo:rustc-cfg=soc_has_mmu_table",
511                    "cargo:rustc-cfg=soc_has_mcpwm1",
512                    "cargo:rustc-cfg=soc_has_nrx",
513                    "cargo:rustc-cfg=soc_has_pcnt",
514                    "cargo:rustc-cfg=soc_has_rmt",
515                    "cargo:rustc-cfg=soc_has_rng",
516                    "cargo:rustc-cfg=soc_has_rsa",
517                    "cargo:rustc-cfg=soc_has_lpwr",
518                    "cargo:rustc-cfg=soc_has_rtc_timer",
519                    "cargo:rustc-cfg=soc_has_lp_i2c0",
520                    "cargo:rustc-cfg=soc_has_rtc_io",
521                    "cargo:rustc-cfg=soc_has_sdhost",
522                    "cargo:rustc-cfg=soc_has_sens",
523                    "cargo:rustc-cfg=soc_has_sha",
524                    "cargo:rustc-cfg=soc_has_slc",
525                    "cargo:rustc-cfg=soc_has_slchost",
526                    "cargo:rustc-cfg=soc_has_spi0",
527                    "cargo:rustc-cfg=soc_has_spi1",
528                    "cargo:rustc-cfg=soc_has_spi2",
529                    "cargo:rustc-cfg=soc_has_spi3",
530                    "cargo:rustc-cfg=soc_has_timg0",
531                    "cargo:rustc-cfg=soc_has_timg1",
532                    "cargo:rustc-cfg=soc_has_twai0",
533                    "cargo:rustc-cfg=soc_has_uart0",
534                    "cargo:rustc-cfg=soc_has_uart1",
535                    "cargo:rustc-cfg=soc_has_uart2",
536                    "cargo:rustc-cfg=soc_has_uhci0",
537                    "cargo:rustc-cfg=soc_has_uhci1",
538                    "cargo:rustc-cfg=soc_has_wifi",
539                    "cargo:rustc-cfg=soc_has_adc1",
540                    "cargo:rustc-cfg=soc_has_adc2",
541                    "cargo:rustc-cfg=soc_has_bt",
542                    "cargo:rustc-cfg=soc_has_cpu_ctrl",
543                    "cargo:rustc-cfg=soc_has_dac1",
544                    "cargo:rustc-cfg=soc_has_dac2",
545                    "cargo:rustc-cfg=soc_has_flash",
546                    "cargo:rustc-cfg=soc_has_psram",
547                    "cargo:rustc-cfg=soc_has_touch",
548                    "cargo:rustc-cfg=soc_has_from_cpu_intr0",
549                    "cargo:rustc-cfg=soc_has_from_cpu_intr1",
550                    "cargo:rustc-cfg=soc_has_from_cpu_intr2",
551                    "cargo:rustc-cfg=soc_has_from_cpu_intr3",
552                    "cargo:rustc-cfg=gpio_driver_supported",
553                    "cargo:rustc-cfg=io_mux_driver_supported",
554                    "cargo:rustc-cfg=lp_io_driver_supported",
555                    "cargo:rustc-cfg=uart_driver_supported",
556                    "cargo:rustc-cfg=i2c_master_driver_supported",
557                    "cargo:rustc-cfg=spi_master_driver_supported",
558                    "cargo:rustc-cfg=spi_slave_driver_supported",
559                    "cargo:rustc-cfg=i2s_driver_supported",
560                    "cargo:rustc-cfg=rmt_driver_supported",
561                    "cargo:rustc-cfg=sdmmc_driver_supported",
562                    "cargo:rustc-cfg=twai_driver_supported",
563                    "cargo:rustc-cfg=bt_driver_supported",
564                    "cargo:rustc-cfg=wifi_driver_supported",
565                    "cargo:rustc-cfg=ethernet_driver_supported",
566                    "cargo:rustc-cfg=phy_driver_supported",
567                    "cargo:rustc-cfg=rgb_display_driver_supported",
568                    "cargo:rustc-cfg=adc_driver_supported",
569                    "cargo:rustc-cfg=dac_driver_supported",
570                    "cargo:rustc-cfg=temp_sensor_driver_supported",
571                    "cargo:rustc-cfg=touch_driver_supported",
572                    "cargo:rustc-cfg=ledc_driver_supported",
573                    "cargo:rustc-cfg=mcpwm_driver_supported",
574                    "cargo:rustc-cfg=pcnt_driver_supported",
575                    "cargo:rustc-cfg=lp_timer_driver_supported",
576                    "cargo:rustc-cfg=sdm_driver_supported",
577                    "cargo:rustc-cfg=timergroup_driver_supported",
578                    "cargo:rustc-cfg=aes_driver_supported",
579                    "cargo:rustc-cfg=rng_driver_supported",
580                    "cargo:rustc-cfg=rsa_driver_supported",
581                    "cargo:rustc-cfg=sha_driver_supported",
582                    "cargo:rustc-cfg=sleep_driver_supported",
583                    "cargo:rustc-cfg=dma_driver_supported",
584                    "cargo:rustc-cfg=interrupts_driver_supported",
585                    "cargo:rustc-cfg=mmu_driver_supported",
586                    "cargo:rustc-cfg=psram_driver_supported",
587                    "cargo:rustc-cfg=rom_driver_supported",
588                    "cargo:rustc-cfg=soc_driver_supported",
589                    "cargo:rustc-cfg=uart_uart0",
590                    "cargo:rustc-cfg=uart_uart1",
591                    "cargo:rustc-cfg=uart_uart2",
592                    "cargo:rustc-cfg=i2c_master_i2c0",
593                    "cargo:rustc-cfg=i2c_master_i2c1",
594                    "cargo:rustc-cfg=spi_master_spi2",
595                    "cargo:rustc-cfg=spi_master_spi3",
596                    "cargo:rustc-cfg=spi_slave_spi2",
597                    "cargo:rustc-cfg=spi_slave_spi3",
598                    "cargo:rustc-cfg=i2s_i2s0",
599                    "cargo:rustc-cfg=i2s_i2s1",
600                    "cargo:rustc-cfg=adc_adc1",
601                    "cargo:rustc-cfg=adc_adc2",
602                    "cargo:rustc-cfg=dac_dac1",
603                    "cargo:rustc-cfg=dac_dac2",
604                    "cargo:rustc-cfg=timergroup_timg0",
605                    "cargo:rustc-cfg=timergroup_timg1",
606                    "cargo:rustc-cfg=gpio_version=\"1\"",
607                    "cargo:rustc-cfg=gpio_gpio_function=\"2\"",
608                    "cargo:rustc-cfg=gpio_constant_0_input=\"48\"",
609                    "cargo:rustc-cfg=gpio_constant_1_input=\"56\"",
610                    "cargo:rustc-cfg=gpio_remap_iomux_pin_registers",
611                    "cargo:rustc-cfg=gpio_func_in_sel_offset=\"0\"",
612                    "cargo:rustc-cfg=soc_has_xtal32k_pads",
613                    "cargo:rustc-cfg=gpio_has_bank_1",
614                    "cargo:rustc-cfg=gpio_input_signal_max=\"206\"",
615                    "cargo:rustc-cfg=gpio_output_signal_max=\"256\"",
616                    "cargo:rustc-cfg=lp_io_version=\"esp32\"",
617                    "cargo:rustc-cfg=uart_ram_size=\"128\"",
618                    "cargo:rustc-cfg=uart_version=\"1\"",
619                    "cargo:rustc-cfg=i2c_master_version=\"1\"",
620                    "cargo:rustc-cfg=i2c_master_separate_filter_config_registers",
621                    "cargo:rustc-cfg=i2c_master_i2c0_data_register_ahb_address=\"1610690588\"",
622                    "cargo:rustc-cfg=i2c_master_i2c0_data_register_ahb_address_is_set",
623                    "cargo:rustc-cfg=i2c_master_max_bus_timeout=\"1048575\"",
624                    "cargo:rustc-cfg=i2c_master_ll_intr_mask=\"262143\"",
625                    "cargo:rustc-cfg=i2c_master_fifo_size=\"32\"",
626                    "cargo:rustc-cfg=spi_master_version=\"1\"",
627                    "cargo:rustc-cfg=spi_master_fifo_size=\"64\"",
628                    "cargo:rustc-cfg=spi_master_bit_order_is_bool",
629                    "cargo:rustc-cfg=i2s_version=\"1\"",
630                    "cargo:rustc-cfg=i2s_version_is_set",
631                    "cargo:rustc-cfg=i2s_default_clock_source=\"2\"",
632                    "cargo:rustc-cfg=i2s_default_clock_source_is_set",
633                    "cargo:rustc-cfg=i2s_mclk_divider_bit_width=\"6\"",
634                    "cargo:rustc-cfg=i2s_mclk_divider_bit_width_is_set",
635                    "cargo:rustc-cfg=i2s_max_ws_width=\"128\"",
636                    "cargo:rustc-cfg=i2s_max_ws_width_is_set",
637                    "cargo:rustc-cfg=i2s_supports_pdm_tx",
638                    "cargo:rustc-cfg=i2s_supports_pdm_rx",
639                    "cargo:rustc-cfg=i2s_supports_pcm2pdm",
640                    "cargo:rustc-cfg=i2s_supports_pdm2pcm",
641                    "cargo:rustc-cfg=rmt_ram_start=\"1073047552\"",
642                    "cargo:rustc-cfg=rmt_channel_ram_size=\"64\"",
643                    "cargo:rustc-cfg=rmt_has_per_channel_clock",
644                    "cargo:rustc-cfg=sdmmc_has_iomux",
645                    "cargo:rustc-cfg=bt_controller=\"btdm\"",
646                    "cargo:rustc-cfg=wifi_mac_version=\"1\"",
647                    "cargo:rustc-cfg=wifi_csi_supported",
648                    "cargo:rustc-cfg=phy_combo_module",
649                    "cargo:rustc-cfg=ledc_version=\"1\"",
650                    "cargo:rustc-cfg=ledc_channel_count=\"8\"",
651                    "cargo:rustc-cfg=soc_has_sdm_ch0",
652                    "cargo:rustc-cfg=soc_has_sdm_ch1",
653                    "cargo:rustc-cfg=soc_has_sdm_ch2",
654                    "cargo:rustc-cfg=soc_has_sdm_ch3",
655                    "cargo:rustc-cfg=soc_has_sdm_ch4",
656                    "cargo:rustc-cfg=soc_has_sdm_ch5",
657                    "cargo:rustc-cfg=soc_has_sdm_ch6",
658                    "cargo:rustc-cfg=soc_has_sdm_ch7",
659                    "cargo:rustc-cfg=timergroup_timg_has_timer1",
660                    "cargo:rustc-cfg=timergroup_rc_fast_calibration_is_set",
661                    "cargo:rustc-cfg=aes_endianness_configurable",
662                    "cargo:rustc-cfg=rng_apb_cycle_wait_num=\"16\"",
663                    "cargo:rustc-cfg=rng_trng_supported",
664                    "cargo:rustc-cfg=rsa_version=\"1\"",
665                    "cargo:rustc-cfg=rsa_size_increment=\"512\"",
666                    "cargo:rustc-cfg=rsa_memory_size_bytes=\"512\"",
667                    "cargo:rustc-cfg=sleep_light_sleep",
668                    "cargo:rustc-cfg=sleep_deep_sleep",
669                    "cargo:rustc-cfg=sleep_has_wakeup_source_ext0",
670                    "cargo:rustc-cfg=sleep_has_wakeup_source_ext1",
671                    "cargo:rustc-cfg=sleep_has_wakeup_source_gpio",
672                    "cargo:rustc-cfg=sleep_has_wakeup_source_timer",
673                    "cargo:rustc-cfg=sleep_has_wakeup_source_sdio",
674                    "cargo:rustc-cfg=sleep_has_wakeup_source_wifi",
675                    "cargo:rustc-cfg=sleep_has_wakeup_source_uart",
676                    "cargo:rustc-cfg=sleep_has_wakeup_source_touch",
677                    "cargo:rustc-cfg=sleep_has_wakeup_source_ulp",
678                    "cargo:rustc-cfg=sleep_has_wakeup_source_bt",
679                    "cargo:rustc-cfg=sleep_ext1_version=\"1\"",
680                    "cargo:rustc-cfg=sleep_ext1_version_is_set",
681                    "cargo:rustc-cfg=sleep_pin_wakeup_version=\"1\"",
682                    "cargo:rustc-cfg=sleep_pin_wakeup_version_is_set",
683                    "cargo:rustc-cfg=sleep_deep_sleep_needs_gpio_isolation",
684                    "cargo:rustc-cfg=soc_has_dma_spi2",
685                    "cargo:rustc-cfg=soc_has_dma_spi3",
686                    "cargo:rustc-cfg=soc_has_dma_i2s0",
687                    "cargo:rustc-cfg=soc_has_dma_i2s1",
688                    "cargo:rustc-cfg=spi_master_supports_dma",
689                    "cargo:rustc-cfg=spi_master_dma_engine=\"SPI_DMA\"",
690                    "cargo:rustc-cfg=spi_slave_supports_dma",
691                    "cargo:rustc-cfg=spi_slave_dma_engine=\"SPI_DMA\"",
692                    "cargo:rustc-cfg=i2s_supports_dma",
693                    "cargo:rustc-cfg=i2s_dma_engine=\"I2S_DMA\"",
694                    "cargo:rustc-cfg=interrupts_status_registers=\"3\"",
695                    "cargo:rustc-cfg=interrupt_controller=\"xtensa\"",
696                    "cargo:rustc-cfg=mmu_page_size=\"65536\"",
697                    "cargo:rustc-cfg=mmu_entry_num=\"256\"",
698                    "cargo:rustc-cfg=psram_extmem_origin=\"1065353216\"",
699                    "cargo:rustc-cfg=rom_has_crc_le",
700                    "cargo:rustc-cfg=rom_has_crc_be",
701                    "cargo:rustc-cfg=rom_has_md5_bsd",
702                    "cargo:rustc-cfg=soc_multi_core_enabled",
703                    "cargo:rustc-cfg=soc_cpu_mcause_mask=\"0\"",
704                    "cargo:rustc-cfg=soc_has_clock_node_xtal_clk",
705                    "cargo:rustc-cfg=soc_clock_node_xtal_clk_is_configurable",
706                    "cargo:rustc-cfg=soc_has_clock_node_pll_clk",
707                    "cargo:rustc-cfg=soc_clock_node_pll_clk_is_configurable",
708                    "cargo:rustc-cfg=soc_has_clock_node_apll_clk",
709                    "cargo:rustc-cfg=soc_clock_node_apll_clk_is_configurable",
710                    "cargo:rustc-cfg=soc_has_clock_node_rc_fast_clk",
711                    "cargo:rustc-cfg=soc_has_clock_node_pll_f160m_clk",
712                    "cargo:rustc-cfg=soc_has_clock_node_cpu_pll_div_in",
713                    "cargo:rustc-cfg=soc_clock_node_cpu_pll_div_in_is_configurable",
714                    "cargo:rustc-cfg=soc_has_clock_node_cpu_pll_div",
715                    "cargo:rustc-cfg=soc_clock_node_cpu_pll_div_is_configurable",
716                    "cargo:rustc-cfg=soc_has_clock_node_syscon_pre_div_in",
717                    "cargo:rustc-cfg=soc_clock_node_syscon_pre_div_in_is_configurable",
718                    "cargo:rustc-cfg=soc_has_clock_node_syscon_pre_div",
719                    "cargo:rustc-cfg=soc_clock_node_syscon_pre_div_is_configurable",
720                    "cargo:rustc-cfg=soc_has_clock_node_cpu_clk",
721                    "cargo:rustc-cfg=soc_clock_node_cpu_clk_is_configurable",
722                    "cargo:rustc-cfg=soc_has_clock_node_apb_clk_cpu_div2",
723                    "cargo:rustc-cfg=soc_has_clock_node_apb_clk_80m",
724                    "cargo:rustc-cfg=soc_has_clock_node_apb_clk",
725                    "cargo:rustc-cfg=soc_clock_node_apb_clk_is_configurable",
726                    "cargo:rustc-cfg=soc_has_clock_node_ref_tick_pll",
727                    "cargo:rustc-cfg=soc_clock_node_ref_tick_pll_is_configurable",
728                    "cargo:rustc-cfg=soc_has_clock_node_ref_tick_apll",
729                    "cargo:rustc-cfg=soc_clock_node_ref_tick_apll_is_configurable",
730                    "cargo:rustc-cfg=soc_has_clock_node_ref_tick_xtal",
731                    "cargo:rustc-cfg=soc_clock_node_ref_tick_xtal_is_configurable",
732                    "cargo:rustc-cfg=soc_has_clock_node_ref_tick_fosc",
733                    "cargo:rustc-cfg=soc_clock_node_ref_tick_fosc_is_configurable",
734                    "cargo:rustc-cfg=soc_has_clock_node_ref_tick",
735                    "cargo:rustc-cfg=soc_clock_node_ref_tick_is_configurable",
736                    "cargo:rustc-cfg=soc_has_clock_node_xtal32k_clk",
737                    "cargo:rustc-cfg=soc_has_clock_node_rc_slow_clk",
738                    "cargo:rustc-cfg=soc_has_clock_node_rc_fast_div_clk",
739                    "cargo:rustc-cfg=soc_has_clock_node_xtal_div_clk",
740                    "cargo:rustc-cfg=soc_has_clock_node_rtc_slow_clk",
741                    "cargo:rustc-cfg=soc_clock_node_rtc_slow_clk_is_configurable",
742                    "cargo:rustc-cfg=soc_has_clock_node_rtc_fast_clk",
743                    "cargo:rustc-cfg=soc_clock_node_rtc_fast_clk_is_configurable",
744                    "cargo:rustc-cfg=soc_has_clock_node_uart_mem_clk",
745                    "cargo:rustc-cfg=soc_has_clock_node_timg_calibration_clock",
746                    "cargo:rustc-cfg=soc_clock_node_timg_calibration_clock_is_configurable",
747                    "cargo:rustc-cfg=soc_has_clock_node_mcpwm_function_clock",
748                    "cargo:rustc-cfg=soc_has_clock_node_i2c_function_clock",
749                    "cargo:rustc-cfg=soc_clock_node_i2c_function_clock_is_configurable",
750                    "cargo:rustc-cfg=soc_has_clock_node_uart_function_clock",
751                    "cargo:rustc-cfg=soc_clock_node_uart_function_clock_is_configurable",
752                    "cargo:rustc-cfg=soc_has_clock_node_uart_mem_clock",
753                    "cargo:rustc-cfg=soc_has_clock_node_uart_baud_rate_generator",
754                    "cargo:rustc-cfg=soc_clock_node_uart_baud_rate_generator_is_configurable",
755                    "cargo:rustc-cfg=soc_has_clock_node_sdm_function_clock",
756                    "cargo:rustc-cfg=soc_has_clock_node_rmt_sclk",
757                    "cargo:rustc-cfg=soc_clock_node_rmt_sclk_is_configurable",
758                    "cargo:rustc-cfg=soc_has_clock_node_spi_function_clock",
759                    "cargo:rustc-cfg=has_dram_region",
760                    "cargo:rustc-cfg=has_dram2_uninit_region",
761                    "cargo:rustc-cfg=has_irom_region",
762                    "cargo:rustc-cfg=has_drom_region",
763                ],
764                memory_layout: &MemoryLayout {
765                    regions: &[
766                        (
767                            "dram",
768                            MemoryRegion {
769                                address_range: 0x3FFAE000..0x40000000,
770                            },
771                        ),
772                        (
773                            "dram2_uninit",
774                            MemoryRegion {
775                                address_range: 0x3FFE7E30..0x40000000,
776                            },
777                        ),
778                        (
779                            "irom",
780                            MemoryRegion {
781                                address_range: 0x400D0000..0x40400000,
782                            },
783                        ),
784                        (
785                            "drom",
786                            MemoryRegion {
787                                address_range: 0x3F400000..0x3F800000,
788                            },
789                        ),
790                    ],
791                },
792                pins: &[
793                    PinInfo {
794                        pin: 0,
795                        limitations: &["strapping"],
796                    },
797                    PinInfo {
798                        pin: 1,
799                        limitations: &["bootloader_uart"],
800                    },
801                    PinInfo {
802                        pin: 2,
803                        limitations: &["strapping"],
804                    },
805                    PinInfo {
806                        pin: 3,
807                        limitations: &["bootloader_uart"],
808                    },
809                    PinInfo {
810                        pin: 4,
811                        limitations: &[],
812                    },
813                    PinInfo {
814                        pin: 5,
815                        limitations: &["strapping"],
816                    },
817                    PinInfo {
818                        pin: 6,
819                        limitations: &["spi_flash", "spi_psram"],
820                    },
821                    PinInfo {
822                        pin: 7,
823                        limitations: &["spi_flash", "spi_psram"],
824                    },
825                    PinInfo {
826                        pin: 8,
827                        limitations: &["spi_flash", "spi_psram"],
828                    },
829                    PinInfo {
830                        pin: 9,
831                        limitations: &["spi_flash", "spi_psram"],
832                    },
833                    PinInfo {
834                        pin: 10,
835                        limitations: &["spi_flash", "spi_psram"],
836                    },
837                    PinInfo {
838                        pin: 11,
839                        limitations: &["spi_flash", "spi_psram"],
840                    },
841                    PinInfo {
842                        pin: 12,
843                        limitations: &["strapping", "jtag"],
844                    },
845                    PinInfo {
846                        pin: 13,
847                        limitations: &["jtag"],
848                    },
849                    PinInfo {
850                        pin: 14,
851                        limitations: &["jtag"],
852                    },
853                    PinInfo {
854                        pin: 15,
855                        limitations: &["strapping", "jtag"],
856                    },
857                    PinInfo {
858                        pin: 16,
859                        limitations: &["spi_flash", "spi_psram"],
860                    },
861                    PinInfo {
862                        pin: 17,
863                        limitations: &["spi_psram"],
864                    },
865                    PinInfo {
866                        pin: 18,
867                        limitations: &[],
868                    },
869                    PinInfo {
870                        pin: 19,
871                        limitations: &[],
872                    },
873                    PinInfo {
874                        pin: 20,
875                        limitations: &["esp32_pico_v3"],
876                    },
877                    PinInfo {
878                        pin: 21,
879                        limitations: &[],
880                    },
881                    PinInfo {
882                        pin: 22,
883                        limitations: &[],
884                    },
885                    PinInfo {
886                        pin: 23,
887                        limitations: &[],
888                    },
889                    PinInfo {
890                        pin: 25,
891                        limitations: &[],
892                    },
893                    PinInfo {
894                        pin: 26,
895                        limitations: &[],
896                    },
897                    PinInfo {
898                        pin: 27,
899                        limitations: &[],
900                    },
901                    PinInfo {
902                        pin: 32,
903                        limitations: &[],
904                    },
905                    PinInfo {
906                        pin: 33,
907                        limitations: &[],
908                    },
909                    PinInfo {
910                        pin: 34,
911                        limitations: &["input_only"],
912                    },
913                    PinInfo {
914                        pin: 35,
915                        limitations: &["input_only"],
916                    },
917                    PinInfo {
918                        pin: 36,
919                        limitations: &["input_only"],
920                    },
921                    PinInfo {
922                        pin: 37,
923                        limitations: &["input_only"],
924                    },
925                    PinInfo {
926                        pin: 38,
927                        limitations: &["input_only"],
928                    },
929                    PinInfo {
930                        pin: 39,
931                        limitations: &["input_only"],
932                    },
933                ],
934            },
935            Self::Esp32c2 => Config {
936                architecture: "riscv",
937                target: "riscv32imc-unknown-none-elf",
938                symbols: &[
939                    "esp32c2",
940                    "riscv",
941                    "single_core",
942                    "soc_has_apb_ctrl",
943                    "soc_has_apb_saradc",
944                    "soc_has_bb",
945                    "soc_has_assist_debug",
946                    "soc_has_dma",
947                    "soc_has_ecc",
948                    "soc_has_efuse",
949                    "soc_has_extmem",
950                    "soc_has_mmu_table",
951                    "soc_has_gpio",
952                    "soc_has_i2c_ana_mst",
953                    "soc_has_i2c0",
954                    "soc_has_interrupt_core0",
955                    "soc_has_io_mux",
956                    "soc_has_ledc",
957                    "soc_has_rng",
958                    "soc_has_lpwr",
959                    "soc_has_rtc_timer",
960                    "soc_has_modem_clkrst",
961                    "soc_has_sensitive",
962                    "soc_has_sha",
963                    "soc_has_spi0",
964                    "soc_has_spi1",
965                    "soc_has_spi2",
966                    "soc_has_system",
967                    "soc_has_systimer",
968                    "soc_has_timg0",
969                    "soc_has_uart0",
970                    "soc_has_uart1",
971                    "soc_has_xts_aes",
972                    "soc_has_adc1",
973                    "soc_has_bt",
974                    "soc_has_flash",
975                    "soc_has_gpio_dedicated",
976                    "soc_has_wifi",
977                    "soc_has_from_cpu_intr0",
978                    "soc_has_from_cpu_intr1",
979                    "soc_has_from_cpu_intr2",
980                    "soc_has_from_cpu_intr3",
981                    "gpio_driver_supported",
982                    "dedicated_gpio_driver_supported",
983                    "io_mux_driver_supported",
984                    "lp_io_driver_supported",
985                    "uart_driver_supported",
986                    "i2c_master_driver_supported",
987                    "spi_master_driver_supported",
988                    "spi_slave_driver_supported",
989                    "bt_driver_supported",
990                    "wifi_driver_supported",
991                    "phy_driver_supported",
992                    "adc_driver_supported",
993                    "temp_sensor_driver_supported",
994                    "ledc_driver_supported",
995                    "lp_timer_driver_supported",
996                    "systimer_driver_supported",
997                    "timergroup_driver_supported",
998                    "ecc_driver_supported",
999                    "rng_driver_supported",
1000                    "sha_driver_supported",
1001                    "sleep_driver_supported",
1002                    "assist_debug_driver_supported",
1003                    "dma_driver_supported",
1004                    "interrupts_driver_supported",
1005                    "mmu_driver_supported",
1006                    "rom_driver_supported",
1007                    "soc_driver_supported",
1008                    "uart_uart0",
1009                    "uart_uart1",
1010                    "i2c_master_i2c0",
1011                    "spi_master_spi2",
1012                    "spi_slave_spi2",
1013                    "adc_adc1",
1014                    "timergroup_timg0",
1015                    "gpio_version=\"2\"",
1016                    "gpio_has_input_sync",
1017                    "gpio_gpio_function=\"1\"",
1018                    "gpio_constant_0_input=\"31\"",
1019                    "gpio_constant_1_input=\"30\"",
1020                    "gpio_func_in_sel_offset=\"0\"",
1021                    "gpio_input_signal_max=\"100\"",
1022                    "gpio_output_signal_max=\"128\"",
1023                    "dedicated_gpio_version=\"riscv_v1\"",
1024                    "lp_io_version=\"v3\"",
1025                    "uart_ram_size=\"128\"",
1026                    "uart_version=\"1\"",
1027                    "uart_has_sclk_divider",
1028                    "uart_has_sclk_enable",
1029                    "i2c_master_version=\"3\"",
1030                    "i2c_master_has_fsm_timeouts",
1031                    "i2c_master_has_hw_bus_clear",
1032                    "i2c_master_has_bus_timeout_enable",
1033                    "i2c_master_has_conf_update",
1034                    "i2c_master_has_arbitration_en",
1035                    "i2c_master_has_tx_fifo_watermark",
1036                    "i2c_master_bus_timeout_is_exponential",
1037                    "i2c_master_has_pd_en",
1038                    "i2c_master_max_bus_timeout=\"31\"",
1039                    "i2c_master_ll_intr_mask=\"262143\"",
1040                    "i2c_master_fifo_size=\"16\"",
1041                    "spi_master_version=\"3\"",
1042                    "spi_master_fifo_size=\"64\"",
1043                    "spi_master_has_app_interrupts",
1044                    "spi_master_has_dma_segmented_transfer",
1045                    "bt_controller=\"npl\"",
1046                    "wifi_mac_version=\"1\"",
1047                    "phy_combo_module",
1048                    "ledc_version=\"2\"",
1049                    "ledc_channel_count=\"6\"",
1050                    "timergroup_timg_has_divcnt_rst",
1051                    "timergroup_rc_fast_calibration_is_set",
1052                    "ecc_zero_extend_writes",
1053                    "ecc_has_finite_field_division",
1054                    "ecc_has_curve_p192",
1055                    "ecc_has_curve_p256",
1056                    "rng_apb_cycle_wait_num=\"16\"",
1057                    "rng_trng_supported",
1058                    "sleep_light_sleep",
1059                    "sleep_deep_sleep",
1060                    "sleep_has_wakeup_source_gpio",
1061                    "sleep_has_wakeup_source_timer",
1062                    "sleep_has_wakeup_source_sdio",
1063                    "sleep_has_wakeup_source_wifi",
1064                    "sleep_has_wakeup_source_uart",
1065                    "sleep_has_wakeup_source_touch",
1066                    "sleep_has_wakeup_source_ulp",
1067                    "sleep_has_wakeup_source_bt",
1068                    "sleep_pin_wakeup_version=\"2\"",
1069                    "sleep_pin_wakeup_version_is_set",
1070                    "sleep_deep_sleep_needs_gpio_isolation",
1071                    "assist_debug_has_sp_monitor",
1072                    "dma_gdma_version=\"1\"",
1073                    "dma_gdma_version_is_set",
1074                    "soc_has_dma_ch0",
1075                    "dma_supports_mem2mem",
1076                    "sha_supports_dma",
1077                    "sha_dma_engine=\"AHB_GDMA\"",
1078                    "spi_master_supports_dma",
1079                    "spi_master_dma_engine=\"AHB_GDMA\"",
1080                    "spi_slave_supports_dma",
1081                    "spi_slave_dma_engine=\"AHB_GDMA\"",
1082                    "dma_max_priority=\"9\"",
1083                    "dma_max_priority_is_set",
1084                    "interrupts_status_registers=\"2\"",
1085                    "interrupt_controller=\"riscv_basic\"",
1086                    "mmu_page_size=\"65536\"",
1087                    "mmu_entry_num=\"64\"",
1088                    "rom_has_crc_le",
1089                    "rom_has_crc_be",
1090                    "rom_has_md5_mbedtls",
1091                    "soc_cpu_has_csr_pc",
1092                    "soc_has_swd_watchdog",
1093                    "soc_cpu_mcause_mask=\"31\"",
1094                    "soc_has_clock_node_xtal_clk",
1095                    "soc_clock_node_xtal_clk_is_configurable",
1096                    "soc_has_clock_node_pll_clk",
1097                    "soc_has_clock_node_rc_fast_clk",
1098                    "soc_has_clock_node_osc_slow_clk",
1099                    "soc_has_clock_node_rc_slow_clk",
1100                    "soc_has_clock_node_rc_fast_div_clk",
1101                    "soc_has_clock_node_system_pre_div_in",
1102                    "soc_clock_node_system_pre_div_in_is_configurable",
1103                    "soc_has_clock_node_system_pre_div",
1104                    "soc_clock_node_system_pre_div_is_configurable",
1105                    "soc_has_clock_node_cpu_pll_div",
1106                    "soc_clock_node_cpu_pll_div_is_configurable",
1107                    "soc_has_clock_node_cpu_clk",
1108                    "soc_clock_node_cpu_clk_is_configurable",
1109                    "soc_has_clock_node_pll_40m",
1110                    "soc_has_clock_node_pll_60m",
1111                    "soc_has_clock_node_pll_80m",
1112                    "soc_has_clock_node_cpu_div2",
1113                    "soc_has_clock_node_apb_clk",
1114                    "soc_clock_node_apb_clk_is_configurable",
1115                    "soc_has_clock_node_crypto_clk",
1116                    "soc_clock_node_crypto_clk_is_configurable",
1117                    "soc_has_clock_node_mspi_clk",
1118                    "soc_clock_node_mspi_clk_is_configurable",
1119                    "soc_has_clock_node_rc_fast_clk_div_n",
1120                    "soc_clock_node_rc_fast_clk_div_n_is_configurable",
1121                    "soc_has_clock_node_xtal_div_clk",
1122                    "soc_has_clock_node_rtc_slow_clk",
1123                    "soc_clock_node_rtc_slow_clk_is_configurable",
1124                    "soc_has_clock_node_rtc_fast_clk",
1125                    "soc_clock_node_rtc_fast_clk_is_configurable",
1126                    "soc_has_clock_node_low_power_clk",
1127                    "soc_clock_node_low_power_clk_is_configurable",
1128                    "soc_has_clock_node_uart_mem_clk",
1129                    "soc_has_clock_node_timg_calibration_clock",
1130                    "soc_clock_node_timg_calibration_clock_is_configurable",
1131                    "soc_has_clock_node_timg_function_clock",
1132                    "soc_clock_node_timg_function_clock_is_configurable",
1133                    "soc_has_clock_node_timg_wdt_clock",
1134                    "soc_clock_node_timg_wdt_clock_is_configurable",
1135                    "soc_has_clock_node_uart_function_clock",
1136                    "soc_clock_node_uart_function_clock_is_configurable",
1137                    "soc_has_clock_node_uart_mem_clock",
1138                    "soc_has_clock_node_uart_baud_rate_generator",
1139                    "soc_clock_node_uart_baud_rate_generator_is_configurable",
1140                    "soc_has_clock_node_i2c_function_clock",
1141                    "soc_clock_node_i2c_function_clock_is_configurable",
1142                    "soc_has_clock_node_spi_function_clock",
1143                    "soc_clock_node_spi_function_clock_is_configurable",
1144                    "has_dram_region",
1145                    "has_dram2_uninit_region",
1146                    "has_irom_region",
1147                    "has_drom_region",
1148                ],
1149                cfgs: &[
1150                    "cargo:rustc-cfg=esp32c2",
1151                    "cargo:rustc-cfg=riscv",
1152                    "cargo:rustc-cfg=single_core",
1153                    "cargo:rustc-cfg=soc_has_apb_ctrl",
1154                    "cargo:rustc-cfg=soc_has_apb_saradc",
1155                    "cargo:rustc-cfg=soc_has_bb",
1156                    "cargo:rustc-cfg=soc_has_assist_debug",
1157                    "cargo:rustc-cfg=soc_has_dma",
1158                    "cargo:rustc-cfg=soc_has_ecc",
1159                    "cargo:rustc-cfg=soc_has_efuse",
1160                    "cargo:rustc-cfg=soc_has_extmem",
1161                    "cargo:rustc-cfg=soc_has_mmu_table",
1162                    "cargo:rustc-cfg=soc_has_gpio",
1163                    "cargo:rustc-cfg=soc_has_i2c_ana_mst",
1164                    "cargo:rustc-cfg=soc_has_i2c0",
1165                    "cargo:rustc-cfg=soc_has_interrupt_core0",
1166                    "cargo:rustc-cfg=soc_has_io_mux",
1167                    "cargo:rustc-cfg=soc_has_ledc",
1168                    "cargo:rustc-cfg=soc_has_rng",
1169                    "cargo:rustc-cfg=soc_has_lpwr",
1170                    "cargo:rustc-cfg=soc_has_rtc_timer",
1171                    "cargo:rustc-cfg=soc_has_modem_clkrst",
1172                    "cargo:rustc-cfg=soc_has_sensitive",
1173                    "cargo:rustc-cfg=soc_has_sha",
1174                    "cargo:rustc-cfg=soc_has_spi0",
1175                    "cargo:rustc-cfg=soc_has_spi1",
1176                    "cargo:rustc-cfg=soc_has_spi2",
1177                    "cargo:rustc-cfg=soc_has_system",
1178                    "cargo:rustc-cfg=soc_has_systimer",
1179                    "cargo:rustc-cfg=soc_has_timg0",
1180                    "cargo:rustc-cfg=soc_has_uart0",
1181                    "cargo:rustc-cfg=soc_has_uart1",
1182                    "cargo:rustc-cfg=soc_has_xts_aes",
1183                    "cargo:rustc-cfg=soc_has_adc1",
1184                    "cargo:rustc-cfg=soc_has_bt",
1185                    "cargo:rustc-cfg=soc_has_flash",
1186                    "cargo:rustc-cfg=soc_has_gpio_dedicated",
1187                    "cargo:rustc-cfg=soc_has_wifi",
1188                    "cargo:rustc-cfg=soc_has_from_cpu_intr0",
1189                    "cargo:rustc-cfg=soc_has_from_cpu_intr1",
1190                    "cargo:rustc-cfg=soc_has_from_cpu_intr2",
1191                    "cargo:rustc-cfg=soc_has_from_cpu_intr3",
1192                    "cargo:rustc-cfg=gpio_driver_supported",
1193                    "cargo:rustc-cfg=dedicated_gpio_driver_supported",
1194                    "cargo:rustc-cfg=io_mux_driver_supported",
1195                    "cargo:rustc-cfg=lp_io_driver_supported",
1196                    "cargo:rustc-cfg=uart_driver_supported",
1197                    "cargo:rustc-cfg=i2c_master_driver_supported",
1198                    "cargo:rustc-cfg=spi_master_driver_supported",
1199                    "cargo:rustc-cfg=spi_slave_driver_supported",
1200                    "cargo:rustc-cfg=bt_driver_supported",
1201                    "cargo:rustc-cfg=wifi_driver_supported",
1202                    "cargo:rustc-cfg=phy_driver_supported",
1203                    "cargo:rustc-cfg=adc_driver_supported",
1204                    "cargo:rustc-cfg=temp_sensor_driver_supported",
1205                    "cargo:rustc-cfg=ledc_driver_supported",
1206                    "cargo:rustc-cfg=lp_timer_driver_supported",
1207                    "cargo:rustc-cfg=systimer_driver_supported",
1208                    "cargo:rustc-cfg=timergroup_driver_supported",
1209                    "cargo:rustc-cfg=ecc_driver_supported",
1210                    "cargo:rustc-cfg=rng_driver_supported",
1211                    "cargo:rustc-cfg=sha_driver_supported",
1212                    "cargo:rustc-cfg=sleep_driver_supported",
1213                    "cargo:rustc-cfg=assist_debug_driver_supported",
1214                    "cargo:rustc-cfg=dma_driver_supported",
1215                    "cargo:rustc-cfg=interrupts_driver_supported",
1216                    "cargo:rustc-cfg=mmu_driver_supported",
1217                    "cargo:rustc-cfg=rom_driver_supported",
1218                    "cargo:rustc-cfg=soc_driver_supported",
1219                    "cargo:rustc-cfg=uart_uart0",
1220                    "cargo:rustc-cfg=uart_uart1",
1221                    "cargo:rustc-cfg=i2c_master_i2c0",
1222                    "cargo:rustc-cfg=spi_master_spi2",
1223                    "cargo:rustc-cfg=spi_slave_spi2",
1224                    "cargo:rustc-cfg=adc_adc1",
1225                    "cargo:rustc-cfg=timergroup_timg0",
1226                    "cargo:rustc-cfg=gpio_version=\"2\"",
1227                    "cargo:rustc-cfg=gpio_has_input_sync",
1228                    "cargo:rustc-cfg=gpio_gpio_function=\"1\"",
1229                    "cargo:rustc-cfg=gpio_constant_0_input=\"31\"",
1230                    "cargo:rustc-cfg=gpio_constant_1_input=\"30\"",
1231                    "cargo:rustc-cfg=gpio_func_in_sel_offset=\"0\"",
1232                    "cargo:rustc-cfg=gpio_input_signal_max=\"100\"",
1233                    "cargo:rustc-cfg=gpio_output_signal_max=\"128\"",
1234                    "cargo:rustc-cfg=dedicated_gpio_version=\"riscv_v1\"",
1235                    "cargo:rustc-cfg=lp_io_version=\"v3\"",
1236                    "cargo:rustc-cfg=uart_ram_size=\"128\"",
1237                    "cargo:rustc-cfg=uart_version=\"1\"",
1238                    "cargo:rustc-cfg=uart_has_sclk_divider",
1239                    "cargo:rustc-cfg=uart_has_sclk_enable",
1240                    "cargo:rustc-cfg=i2c_master_version=\"3\"",
1241                    "cargo:rustc-cfg=i2c_master_has_fsm_timeouts",
1242                    "cargo:rustc-cfg=i2c_master_has_hw_bus_clear",
1243                    "cargo:rustc-cfg=i2c_master_has_bus_timeout_enable",
1244                    "cargo:rustc-cfg=i2c_master_has_conf_update",
1245                    "cargo:rustc-cfg=i2c_master_has_arbitration_en",
1246                    "cargo:rustc-cfg=i2c_master_has_tx_fifo_watermark",
1247                    "cargo:rustc-cfg=i2c_master_bus_timeout_is_exponential",
1248                    "cargo:rustc-cfg=i2c_master_has_pd_en",
1249                    "cargo:rustc-cfg=i2c_master_max_bus_timeout=\"31\"",
1250                    "cargo:rustc-cfg=i2c_master_ll_intr_mask=\"262143\"",
1251                    "cargo:rustc-cfg=i2c_master_fifo_size=\"16\"",
1252                    "cargo:rustc-cfg=spi_master_version=\"3\"",
1253                    "cargo:rustc-cfg=spi_master_fifo_size=\"64\"",
1254                    "cargo:rustc-cfg=spi_master_has_app_interrupts",
1255                    "cargo:rustc-cfg=spi_master_has_dma_segmented_transfer",
1256                    "cargo:rustc-cfg=bt_controller=\"npl\"",
1257                    "cargo:rustc-cfg=wifi_mac_version=\"1\"",
1258                    "cargo:rustc-cfg=phy_combo_module",
1259                    "cargo:rustc-cfg=ledc_version=\"2\"",
1260                    "cargo:rustc-cfg=ledc_channel_count=\"6\"",
1261                    "cargo:rustc-cfg=timergroup_timg_has_divcnt_rst",
1262                    "cargo:rustc-cfg=timergroup_rc_fast_calibration_is_set",
1263                    "cargo:rustc-cfg=ecc_zero_extend_writes",
1264                    "cargo:rustc-cfg=ecc_has_finite_field_division",
1265                    "cargo:rustc-cfg=ecc_has_curve_p192",
1266                    "cargo:rustc-cfg=ecc_has_curve_p256",
1267                    "cargo:rustc-cfg=rng_apb_cycle_wait_num=\"16\"",
1268                    "cargo:rustc-cfg=rng_trng_supported",
1269                    "cargo:rustc-cfg=sleep_light_sleep",
1270                    "cargo:rustc-cfg=sleep_deep_sleep",
1271                    "cargo:rustc-cfg=sleep_has_wakeup_source_gpio",
1272                    "cargo:rustc-cfg=sleep_has_wakeup_source_timer",
1273                    "cargo:rustc-cfg=sleep_has_wakeup_source_sdio",
1274                    "cargo:rustc-cfg=sleep_has_wakeup_source_wifi",
1275                    "cargo:rustc-cfg=sleep_has_wakeup_source_uart",
1276                    "cargo:rustc-cfg=sleep_has_wakeup_source_touch",
1277                    "cargo:rustc-cfg=sleep_has_wakeup_source_ulp",
1278                    "cargo:rustc-cfg=sleep_has_wakeup_source_bt",
1279                    "cargo:rustc-cfg=sleep_pin_wakeup_version=\"2\"",
1280                    "cargo:rustc-cfg=sleep_pin_wakeup_version_is_set",
1281                    "cargo:rustc-cfg=sleep_deep_sleep_needs_gpio_isolation",
1282                    "cargo:rustc-cfg=assist_debug_has_sp_monitor",
1283                    "cargo:rustc-cfg=dma_gdma_version=\"1\"",
1284                    "cargo:rustc-cfg=dma_gdma_version_is_set",
1285                    "cargo:rustc-cfg=soc_has_dma_ch0",
1286                    "cargo:rustc-cfg=dma_supports_mem2mem",
1287                    "cargo:rustc-cfg=sha_supports_dma",
1288                    "cargo:rustc-cfg=sha_dma_engine=\"AHB_GDMA\"",
1289                    "cargo:rustc-cfg=spi_master_supports_dma",
1290                    "cargo:rustc-cfg=spi_master_dma_engine=\"AHB_GDMA\"",
1291                    "cargo:rustc-cfg=spi_slave_supports_dma",
1292                    "cargo:rustc-cfg=spi_slave_dma_engine=\"AHB_GDMA\"",
1293                    "cargo:rustc-cfg=dma_max_priority=\"9\"",
1294                    "cargo:rustc-cfg=dma_max_priority_is_set",
1295                    "cargo:rustc-cfg=interrupts_status_registers=\"2\"",
1296                    "cargo:rustc-cfg=interrupt_controller=\"riscv_basic\"",
1297                    "cargo:rustc-cfg=mmu_page_size=\"65536\"",
1298                    "cargo:rustc-cfg=mmu_entry_num=\"64\"",
1299                    "cargo:rustc-cfg=rom_has_crc_le",
1300                    "cargo:rustc-cfg=rom_has_crc_be",
1301                    "cargo:rustc-cfg=rom_has_md5_mbedtls",
1302                    "cargo:rustc-cfg=soc_cpu_has_csr_pc",
1303                    "cargo:rustc-cfg=soc_has_swd_watchdog",
1304                    "cargo:rustc-cfg=soc_cpu_mcause_mask=\"31\"",
1305                    "cargo:rustc-cfg=soc_has_clock_node_xtal_clk",
1306                    "cargo:rustc-cfg=soc_clock_node_xtal_clk_is_configurable",
1307                    "cargo:rustc-cfg=soc_has_clock_node_pll_clk",
1308                    "cargo:rustc-cfg=soc_has_clock_node_rc_fast_clk",
1309                    "cargo:rustc-cfg=soc_has_clock_node_osc_slow_clk",
1310                    "cargo:rustc-cfg=soc_has_clock_node_rc_slow_clk",
1311                    "cargo:rustc-cfg=soc_has_clock_node_rc_fast_div_clk",
1312                    "cargo:rustc-cfg=soc_has_clock_node_system_pre_div_in",
1313                    "cargo:rustc-cfg=soc_clock_node_system_pre_div_in_is_configurable",
1314                    "cargo:rustc-cfg=soc_has_clock_node_system_pre_div",
1315                    "cargo:rustc-cfg=soc_clock_node_system_pre_div_is_configurable",
1316                    "cargo:rustc-cfg=soc_has_clock_node_cpu_pll_div",
1317                    "cargo:rustc-cfg=soc_clock_node_cpu_pll_div_is_configurable",
1318                    "cargo:rustc-cfg=soc_has_clock_node_cpu_clk",
1319                    "cargo:rustc-cfg=soc_clock_node_cpu_clk_is_configurable",
1320                    "cargo:rustc-cfg=soc_has_clock_node_pll_40m",
1321                    "cargo:rustc-cfg=soc_has_clock_node_pll_60m",
1322                    "cargo:rustc-cfg=soc_has_clock_node_pll_80m",
1323                    "cargo:rustc-cfg=soc_has_clock_node_cpu_div2",
1324                    "cargo:rustc-cfg=soc_has_clock_node_apb_clk",
1325                    "cargo:rustc-cfg=soc_clock_node_apb_clk_is_configurable",
1326                    "cargo:rustc-cfg=soc_has_clock_node_crypto_clk",
1327                    "cargo:rustc-cfg=soc_clock_node_crypto_clk_is_configurable",
1328                    "cargo:rustc-cfg=soc_has_clock_node_mspi_clk",
1329                    "cargo:rustc-cfg=soc_clock_node_mspi_clk_is_configurable",
1330                    "cargo:rustc-cfg=soc_has_clock_node_rc_fast_clk_div_n",
1331                    "cargo:rustc-cfg=soc_clock_node_rc_fast_clk_div_n_is_configurable",
1332                    "cargo:rustc-cfg=soc_has_clock_node_xtal_div_clk",
1333                    "cargo:rustc-cfg=soc_has_clock_node_rtc_slow_clk",
1334                    "cargo:rustc-cfg=soc_clock_node_rtc_slow_clk_is_configurable",
1335                    "cargo:rustc-cfg=soc_has_clock_node_rtc_fast_clk",
1336                    "cargo:rustc-cfg=soc_clock_node_rtc_fast_clk_is_configurable",
1337                    "cargo:rustc-cfg=soc_has_clock_node_low_power_clk",
1338                    "cargo:rustc-cfg=soc_clock_node_low_power_clk_is_configurable",
1339                    "cargo:rustc-cfg=soc_has_clock_node_uart_mem_clk",
1340                    "cargo:rustc-cfg=soc_has_clock_node_timg_calibration_clock",
1341                    "cargo:rustc-cfg=soc_clock_node_timg_calibration_clock_is_configurable",
1342                    "cargo:rustc-cfg=soc_has_clock_node_timg_function_clock",
1343                    "cargo:rustc-cfg=soc_clock_node_timg_function_clock_is_configurable",
1344                    "cargo:rustc-cfg=soc_has_clock_node_timg_wdt_clock",
1345                    "cargo:rustc-cfg=soc_clock_node_timg_wdt_clock_is_configurable",
1346                    "cargo:rustc-cfg=soc_has_clock_node_uart_function_clock",
1347                    "cargo:rustc-cfg=soc_clock_node_uart_function_clock_is_configurable",
1348                    "cargo:rustc-cfg=soc_has_clock_node_uart_mem_clock",
1349                    "cargo:rustc-cfg=soc_has_clock_node_uart_baud_rate_generator",
1350                    "cargo:rustc-cfg=soc_clock_node_uart_baud_rate_generator_is_configurable",
1351                    "cargo:rustc-cfg=soc_has_clock_node_i2c_function_clock",
1352                    "cargo:rustc-cfg=soc_clock_node_i2c_function_clock_is_configurable",
1353                    "cargo:rustc-cfg=soc_has_clock_node_spi_function_clock",
1354                    "cargo:rustc-cfg=soc_clock_node_spi_function_clock_is_configurable",
1355                    "cargo:rustc-cfg=has_dram_region",
1356                    "cargo:rustc-cfg=has_dram2_uninit_region",
1357                    "cargo:rustc-cfg=has_irom_region",
1358                    "cargo:rustc-cfg=has_drom_region",
1359                ],
1360                memory_layout: &MemoryLayout {
1361                    regions: &[
1362                        (
1363                            "dram",
1364                            MemoryRegion {
1365                                address_range: 0x3FCA0000..0x3FCE0000,
1366                            },
1367                        ),
1368                        (
1369                            "dram2_uninit",
1370                            MemoryRegion {
1371                                address_range: 0x3FCCE800..0x3FCDEB70,
1372                            },
1373                        ),
1374                        (
1375                            "irom",
1376                            MemoryRegion {
1377                                address_range: 0x42000000..0x42400000,
1378                            },
1379                        ),
1380                        (
1381                            "drom",
1382                            MemoryRegion {
1383                                address_range: 0x3C000000..0x3C400000,
1384                            },
1385                        ),
1386                    ],
1387                },
1388                pins: &[
1389                    PinInfo {
1390                        pin: 0,
1391                        limitations: &[],
1392                    },
1393                    PinInfo {
1394                        pin: 1,
1395                        limitations: &[],
1396                    },
1397                    PinInfo {
1398                        pin: 2,
1399                        limitations: &[],
1400                    },
1401                    PinInfo {
1402                        pin: 3,
1403                        limitations: &[],
1404                    },
1405                    PinInfo {
1406                        pin: 4,
1407                        limitations: &["jtag"],
1408                    },
1409                    PinInfo {
1410                        pin: 5,
1411                        limitations: &["jtag"],
1412                    },
1413                    PinInfo {
1414                        pin: 6,
1415                        limitations: &["jtag"],
1416                    },
1417                    PinInfo {
1418                        pin: 7,
1419                        limitations: &["jtag"],
1420                    },
1421                    PinInfo {
1422                        pin: 8,
1423                        limitations: &["strapping"],
1424                    },
1425                    PinInfo {
1426                        pin: 9,
1427                        limitations: &["strapping"],
1428                    },
1429                    PinInfo {
1430                        pin: 10,
1431                        limitations: &[],
1432                    },
1433                    PinInfo {
1434                        pin: 11,
1435                        limitations: &["spi_flash"],
1436                    },
1437                    PinInfo {
1438                        pin: 12,
1439                        limitations: &["spi_flash"],
1440                    },
1441                    PinInfo {
1442                        pin: 13,
1443                        limitations: &["spi_flash"],
1444                    },
1445                    PinInfo {
1446                        pin: 14,
1447                        limitations: &["spi_flash"],
1448                    },
1449                    PinInfo {
1450                        pin: 15,
1451                        limitations: &["spi_flash"],
1452                    },
1453                    PinInfo {
1454                        pin: 16,
1455                        limitations: &["spi_flash"],
1456                    },
1457                    PinInfo {
1458                        pin: 17,
1459                        limitations: &["spi_flash"],
1460                    },
1461                    PinInfo {
1462                        pin: 18,
1463                        limitations: &[],
1464                    },
1465                    PinInfo {
1466                        pin: 19,
1467                        limitations: &["bootloader_uart"],
1468                    },
1469                    PinInfo {
1470                        pin: 20,
1471                        limitations: &["bootloader_uart"],
1472                    },
1473                ],
1474            },
1475            Self::Esp32c3 => Config {
1476                architecture: "riscv",
1477                target: "riscv32imc-unknown-none-elf",
1478                symbols: &[
1479                    "esp32c3",
1480                    "riscv",
1481                    "single_core",
1482                    "soc_has_aes",
1483                    "soc_has_apb_ctrl",
1484                    "soc_has_apb_saradc",
1485                    "soc_has_assist_debug",
1486                    "soc_has_bb",
1487                    "soc_has_dma",
1488                    "soc_has_ds",
1489                    "soc_has_efuse",
1490                    "soc_has_extmem",
1491                    "soc_has_mmu_table",
1492                    "soc_has_fe",
1493                    "soc_has_fe2",
1494                    "soc_has_gpio",
1495                    "soc_has_gpio_sd",
1496                    "soc_has_hmac",
1497                    "soc_has_i2c_ana_mst",
1498                    "soc_has_i2c0",
1499                    "soc_has_i2s0",
1500                    "soc_has_interrupt_core0",
1501                    "soc_has_io_mux",
1502                    "soc_has_ledc",
1503                    "soc_has_nrx",
1504                    "soc_has_rmt",
1505                    "soc_has_rng",
1506                    "soc_has_rsa",
1507                    "soc_has_lpwr",
1508                    "soc_has_rtc_timer",
1509                    "soc_has_sensitive",
1510                    "soc_has_sha",
1511                    "soc_has_spi0",
1512                    "soc_has_spi1",
1513                    "soc_has_spi2",
1514                    "soc_has_system",
1515                    "soc_has_systimer",
1516                    "soc_has_timg0",
1517                    "soc_has_timg1",
1518                    "soc_has_twai0",
1519                    "soc_has_uart0",
1520                    "soc_has_uart1",
1521                    "soc_has_uhci0",
1522                    "soc_has_usb_device",
1523                    "soc_has_xts_aes",
1524                    "soc_has_adc1",
1525                    "soc_has_adc2",
1526                    "soc_has_bt",
1527                    "soc_has_flash",
1528                    "soc_has_gpio_dedicated",
1529                    "soc_has_tsens",
1530                    "soc_has_wifi",
1531                    "soc_has_from_cpu_intr0",
1532                    "soc_has_from_cpu_intr1",
1533                    "soc_has_from_cpu_intr2",
1534                    "soc_has_from_cpu_intr3",
1535                    "gpio_driver_supported",
1536                    "dedicated_gpio_driver_supported",
1537                    "io_mux_driver_supported",
1538                    "lp_io_driver_supported",
1539                    "uart_driver_supported",
1540                    "uhci_driver_supported",
1541                    "i2c_master_driver_supported",
1542                    "i2c_slave_driver_supported",
1543                    "spi_master_driver_supported",
1544                    "spi_slave_driver_supported",
1545                    "i2s_driver_supported",
1546                    "rmt_driver_supported",
1547                    "twai_driver_supported",
1548                    "usb_serial_jtag_driver_supported",
1549                    "bt_driver_supported",
1550                    "wifi_driver_supported",
1551                    "phy_driver_supported",
1552                    "adc_driver_supported",
1553                    "temp_sensor_driver_supported",
1554                    "ledc_driver_supported",
1555                    "lp_timer_driver_supported",
1556                    "sdm_driver_supported",
1557                    "systimer_driver_supported",
1558                    "timergroup_driver_supported",
1559                    "aes_driver_supported",
1560                    "hmac_driver_supported",
1561                    "rng_driver_supported",
1562                    "rsa_driver_supported",
1563                    "sha_driver_supported",
1564                    "sleep_driver_supported",
1565                    "assist_debug_driver_supported",
1566                    "dma_driver_supported",
1567                    "interrupts_driver_supported",
1568                    "mmu_driver_supported",
1569                    "rom_driver_supported",
1570                    "soc_driver_supported",
1571                    "uart_uart0",
1572                    "uart_uart1",
1573                    "i2c_master_i2c0",
1574                    "i2c_slave_i2c0",
1575                    "spi_master_spi2",
1576                    "spi_slave_spi2",
1577                    "i2s_i2s0",
1578                    "adc_adc1",
1579                    "adc_adc2",
1580                    "timergroup_timg0",
1581                    "timergroup_timg1",
1582                    "gpio_version=\"2\"",
1583                    "gpio_has_input_sync",
1584                    "gpio_gpio_function=\"1\"",
1585                    "gpio_constant_0_input=\"31\"",
1586                    "gpio_constant_1_input=\"30\"",
1587                    "gpio_func_in_sel_offset=\"0\"",
1588                    "gpio_input_signal_max=\"100\"",
1589                    "gpio_output_signal_max=\"128\"",
1590                    "dedicated_gpio_version=\"riscv_v1\"",
1591                    "lp_io_version=\"v3\"",
1592                    "uart_ram_size=\"128\"",
1593                    "uart_version=\"1\"",
1594                    "uart_has_sclk_divider",
1595                    "uart_has_sclk_enable",
1596                    "i2c_master_version=\"3\"",
1597                    "i2c_master_has_fsm_timeouts",
1598                    "i2c_master_has_hw_bus_clear",
1599                    "i2c_master_has_bus_timeout_enable",
1600                    "i2c_master_has_conf_update",
1601                    "i2c_master_has_arbitration_en",
1602                    "i2c_master_has_tx_fifo_watermark",
1603                    "i2c_master_bus_timeout_is_exponential",
1604                    "i2c_master_has_pd_en",
1605                    "i2c_master_max_bus_timeout=\"31\"",
1606                    "i2c_master_ll_intr_mask=\"262143\"",
1607                    "i2c_master_fifo_size=\"32\"",
1608                    "spi_master_version=\"3\"",
1609                    "spi_master_fifo_size=\"64\"",
1610                    "spi_master_bit_order_is_bool",
1611                    "spi_master_has_app_interrupts",
1612                    "spi_master_has_dma_segmented_transfer",
1613                    "i2s_version=\"2\"",
1614                    "i2s_version_is_set",
1615                    "i2s_default_clock_source=\"2\"",
1616                    "i2s_default_clock_source_is_set",
1617                    "i2s_mclk_divider_bit_width=\"9\"",
1618                    "i2s_mclk_divider_bit_width_is_set",
1619                    "i2s_max_ws_width=\"128\"",
1620                    "i2s_max_ws_width_is_set",
1621                    "i2s_supports_pdm_tx",
1622                    "i2s_supports_pdm_rx",
1623                    "i2s_supports_pcm2pdm",
1624                    "rmt_ram_start=\"1610703872\"",
1625                    "rmt_channel_ram_size=\"48\"",
1626                    "rmt_has_tx_immediate_stop",
1627                    "rmt_has_tx_loop_count",
1628                    "rmt_has_tx_carrier_data_only",
1629                    "rmt_has_tx_sync",
1630                    "rmt_has_rx_wrap",
1631                    "rmt_has_rx_demodulation",
1632                    "bt_controller=\"btdm\"",
1633                    "wifi_mac_version=\"1\"",
1634                    "wifi_csi_supported",
1635                    "phy_combo_module",
1636                    "phy_backed_up_digital_register_count=\"21\"",
1637                    "phy_backed_up_digital_register_count_is_set",
1638                    "ledc_version=\"2\"",
1639                    "ledc_channel_count=\"6\"",
1640                    "soc_has_sdm_ch0",
1641                    "soc_has_sdm_ch1",
1642                    "soc_has_sdm_ch2",
1643                    "soc_has_sdm_ch3",
1644                    "timergroup_timg_has_divcnt_rst",
1645                    "timergroup_rc_fast_calibration_is_set",
1646                    "aes_dma_mode_ecb",
1647                    "aes_dma_mode_cbc",
1648                    "aes_dma_mode_ofb",
1649                    "aes_dma_mode_ctr",
1650                    "aes_dma_mode_cfb8",
1651                    "aes_dma_mode_cfb128",
1652                    "aes_has_split_text_registers",
1653                    "rng_apb_cycle_wait_num=\"16\"",
1654                    "rng_trng_supported",
1655                    "rsa_version=\"3\"",
1656                    "rsa_size_increment=\"32\"",
1657                    "rsa_memory_size_bytes=\"384\"",
1658                    "sleep_light_sleep",
1659                    "sleep_deep_sleep",
1660                    "sleep_has_wakeup_source_gpio",
1661                    "sleep_has_wakeup_source_timer",
1662                    "sleep_has_wakeup_source_sdio",
1663                    "sleep_has_wakeup_source_wifi",
1664                    "sleep_has_wakeup_source_uart",
1665                    "sleep_has_wakeup_source_touch",
1666                    "sleep_has_wakeup_source_ulp",
1667                    "sleep_has_wakeup_source_bt",
1668                    "sleep_pin_wakeup_version=\"2\"",
1669                    "sleep_pin_wakeup_version_is_set",
1670                    "sleep_deep_sleep_needs_gpio_isolation",
1671                    "assist_debug_has_sp_monitor",
1672                    "assist_debug_has_region_monitor",
1673                    "dma_mem2mem_requires_peripheral",
1674                    "dma_gdma_version=\"1\"",
1675                    "dma_gdma_version_is_set",
1676                    "soc_has_dma_ch0",
1677                    "soc_has_dma_ch1",
1678                    "soc_has_dma_ch2",
1679                    "dma_supports_mem2mem",
1680                    "aes_supports_dma",
1681                    "aes_dma_engine=\"AHB_GDMA\"",
1682                    "sha_supports_dma",
1683                    "sha_dma_engine=\"AHB_GDMA\"",
1684                    "spi_master_supports_dma",
1685                    "spi_master_dma_engine=\"AHB_GDMA\"",
1686                    "spi_slave_supports_dma",
1687                    "spi_slave_dma_engine=\"AHB_GDMA\"",
1688                    "uhci_supports_dma",
1689                    "uhci_dma_engine=\"AHB_GDMA\"",
1690                    "i2s_supports_dma",
1691                    "i2s_dma_engine=\"AHB_GDMA\"",
1692                    "dma_max_priority=\"9\"",
1693                    "dma_max_priority_is_set",
1694                    "interrupts_status_registers=\"2\"",
1695                    "interrupt_controller=\"riscv_basic\"",
1696                    "mmu_page_size=\"65536\"",
1697                    "mmu_entry_num=\"128\"",
1698                    "rom_has_crc_le",
1699                    "rom_has_crc_be",
1700                    "rom_has_md5_bsd",
1701                    "soc_cpu_has_csr_pc",
1702                    "soc_has_swd_watchdog",
1703                    "soc_cpu_mcause_mask=\"31\"",
1704                    "soc_has_clock_node_xtal_clk",
1705                    "soc_clock_node_xtal_clk_is_configurable",
1706                    "soc_has_clock_node_pll_clk",
1707                    "soc_clock_node_pll_clk_is_configurable",
1708                    "soc_has_clock_node_rc_fast_clk",
1709                    "soc_has_clock_node_xtal32k_clk",
1710                    "soc_has_clock_node_rc_slow_clk",
1711                    "soc_has_clock_node_rc_fast_div_clk",
1712                    "soc_has_clock_node_system_pre_div_in",
1713                    "soc_clock_node_system_pre_div_in_is_configurable",
1714                    "soc_has_clock_node_system_pre_div",
1715                    "soc_clock_node_system_pre_div_is_configurable",
1716                    "soc_has_clock_node_cpu_pll_div_out",
1717                    "soc_clock_node_cpu_pll_div_out_is_configurable",
1718                    "soc_has_clock_node_cpu_clk",
1719                    "soc_clock_node_cpu_clk_is_configurable",
1720                    "soc_has_clock_node_pll_80m",
1721                    "soc_has_clock_node_pll_160m",
1722                    "soc_has_clock_node_apb_clk",
1723                    "soc_clock_node_apb_clk_is_configurable",
1724                    "soc_has_clock_node_crypto_clk",
1725                    "soc_clock_node_crypto_clk_is_configurable",
1726                    "soc_has_clock_node_rc_fast_clk_div_n",
1727                    "soc_clock_node_rc_fast_clk_div_n_is_configurable",
1728                    "soc_has_clock_node_xtal_div_clk",
1729                    "soc_has_clock_node_rtc_slow_clk",
1730                    "soc_clock_node_rtc_slow_clk_is_configurable",
1731                    "soc_has_clock_node_rtc_fast_clk",
1732                    "soc_clock_node_rtc_fast_clk_is_configurable",
1733                    "soc_has_clock_node_low_power_clk",
1734                    "soc_clock_node_low_power_clk_is_configurable",
1735                    "soc_has_clock_node_uart_mem_clk",
1736                    "soc_has_clock_node_timg_calibration_clock",
1737                    "soc_clock_node_timg_calibration_clock_is_configurable",
1738                    "soc_has_clock_node_timg_function_clock",
1739                    "soc_clock_node_timg_function_clock_is_configurable",
1740                    "soc_has_clock_node_timg_wdt_clock",
1741                    "soc_clock_node_timg_wdt_clock_is_configurable",
1742                    "soc_has_clock_node_sdm_function_clock",
1743                    "soc_has_clock_node_rmt_sclk",
1744                    "soc_clock_node_rmt_sclk_is_configurable",
1745                    "soc_has_clock_node_uart_function_clock",
1746                    "soc_clock_node_uart_function_clock_is_configurable",
1747                    "soc_has_clock_node_uart_mem_clock",
1748                    "soc_has_clock_node_uart_baud_rate_generator",
1749                    "soc_clock_node_uart_baud_rate_generator_is_configurable",
1750                    "soc_has_clock_node_i2c_function_clock",
1751                    "soc_clock_node_i2c_function_clock_is_configurable",
1752                    "soc_has_clock_node_spi_function_clock",
1753                    "soc_clock_node_spi_function_clock_is_configurable",
1754                    "has_dram_region",
1755                    "has_dram2_uninit_region",
1756                    "has_irom_region",
1757                    "has_drom_region",
1758                ],
1759                cfgs: &[
1760                    "cargo:rustc-cfg=esp32c3",
1761                    "cargo:rustc-cfg=riscv",
1762                    "cargo:rustc-cfg=single_core",
1763                    "cargo:rustc-cfg=soc_has_aes",
1764                    "cargo:rustc-cfg=soc_has_apb_ctrl",
1765                    "cargo:rustc-cfg=soc_has_apb_saradc",
1766                    "cargo:rustc-cfg=soc_has_assist_debug",
1767                    "cargo:rustc-cfg=soc_has_bb",
1768                    "cargo:rustc-cfg=soc_has_dma",
1769                    "cargo:rustc-cfg=soc_has_ds",
1770                    "cargo:rustc-cfg=soc_has_efuse",
1771                    "cargo:rustc-cfg=soc_has_extmem",
1772                    "cargo:rustc-cfg=soc_has_mmu_table",
1773                    "cargo:rustc-cfg=soc_has_fe",
1774                    "cargo:rustc-cfg=soc_has_fe2",
1775                    "cargo:rustc-cfg=soc_has_gpio",
1776                    "cargo:rustc-cfg=soc_has_gpio_sd",
1777                    "cargo:rustc-cfg=soc_has_hmac",
1778                    "cargo:rustc-cfg=soc_has_i2c_ana_mst",
1779                    "cargo:rustc-cfg=soc_has_i2c0",
1780                    "cargo:rustc-cfg=soc_has_i2s0",
1781                    "cargo:rustc-cfg=soc_has_interrupt_core0",
1782                    "cargo:rustc-cfg=soc_has_io_mux",
1783                    "cargo:rustc-cfg=soc_has_ledc",
1784                    "cargo:rustc-cfg=soc_has_nrx",
1785                    "cargo:rustc-cfg=soc_has_rmt",
1786                    "cargo:rustc-cfg=soc_has_rng",
1787                    "cargo:rustc-cfg=soc_has_rsa",
1788                    "cargo:rustc-cfg=soc_has_lpwr",
1789                    "cargo:rustc-cfg=soc_has_rtc_timer",
1790                    "cargo:rustc-cfg=soc_has_sensitive",
1791                    "cargo:rustc-cfg=soc_has_sha",
1792                    "cargo:rustc-cfg=soc_has_spi0",
1793                    "cargo:rustc-cfg=soc_has_spi1",
1794                    "cargo:rustc-cfg=soc_has_spi2",
1795                    "cargo:rustc-cfg=soc_has_system",
1796                    "cargo:rustc-cfg=soc_has_systimer",
1797                    "cargo:rustc-cfg=soc_has_timg0",
1798                    "cargo:rustc-cfg=soc_has_timg1",
1799                    "cargo:rustc-cfg=soc_has_twai0",
1800                    "cargo:rustc-cfg=soc_has_uart0",
1801                    "cargo:rustc-cfg=soc_has_uart1",
1802                    "cargo:rustc-cfg=soc_has_uhci0",
1803                    "cargo:rustc-cfg=soc_has_usb_device",
1804                    "cargo:rustc-cfg=soc_has_xts_aes",
1805                    "cargo:rustc-cfg=soc_has_adc1",
1806                    "cargo:rustc-cfg=soc_has_adc2",
1807                    "cargo:rustc-cfg=soc_has_bt",
1808                    "cargo:rustc-cfg=soc_has_flash",
1809                    "cargo:rustc-cfg=soc_has_gpio_dedicated",
1810                    "cargo:rustc-cfg=soc_has_tsens",
1811                    "cargo:rustc-cfg=soc_has_wifi",
1812                    "cargo:rustc-cfg=soc_has_from_cpu_intr0",
1813                    "cargo:rustc-cfg=soc_has_from_cpu_intr1",
1814                    "cargo:rustc-cfg=soc_has_from_cpu_intr2",
1815                    "cargo:rustc-cfg=soc_has_from_cpu_intr3",
1816                    "cargo:rustc-cfg=gpio_driver_supported",
1817                    "cargo:rustc-cfg=dedicated_gpio_driver_supported",
1818                    "cargo:rustc-cfg=io_mux_driver_supported",
1819                    "cargo:rustc-cfg=lp_io_driver_supported",
1820                    "cargo:rustc-cfg=uart_driver_supported",
1821                    "cargo:rustc-cfg=uhci_driver_supported",
1822                    "cargo:rustc-cfg=i2c_master_driver_supported",
1823                    "cargo:rustc-cfg=i2c_slave_driver_supported",
1824                    "cargo:rustc-cfg=spi_master_driver_supported",
1825                    "cargo:rustc-cfg=spi_slave_driver_supported",
1826                    "cargo:rustc-cfg=i2s_driver_supported",
1827                    "cargo:rustc-cfg=rmt_driver_supported",
1828                    "cargo:rustc-cfg=twai_driver_supported",
1829                    "cargo:rustc-cfg=usb_serial_jtag_driver_supported",
1830                    "cargo:rustc-cfg=bt_driver_supported",
1831                    "cargo:rustc-cfg=wifi_driver_supported",
1832                    "cargo:rustc-cfg=phy_driver_supported",
1833                    "cargo:rustc-cfg=adc_driver_supported",
1834                    "cargo:rustc-cfg=temp_sensor_driver_supported",
1835                    "cargo:rustc-cfg=ledc_driver_supported",
1836                    "cargo:rustc-cfg=lp_timer_driver_supported",
1837                    "cargo:rustc-cfg=sdm_driver_supported",
1838                    "cargo:rustc-cfg=systimer_driver_supported",
1839                    "cargo:rustc-cfg=timergroup_driver_supported",
1840                    "cargo:rustc-cfg=aes_driver_supported",
1841                    "cargo:rustc-cfg=hmac_driver_supported",
1842                    "cargo:rustc-cfg=rng_driver_supported",
1843                    "cargo:rustc-cfg=rsa_driver_supported",
1844                    "cargo:rustc-cfg=sha_driver_supported",
1845                    "cargo:rustc-cfg=sleep_driver_supported",
1846                    "cargo:rustc-cfg=assist_debug_driver_supported",
1847                    "cargo:rustc-cfg=dma_driver_supported",
1848                    "cargo:rustc-cfg=interrupts_driver_supported",
1849                    "cargo:rustc-cfg=mmu_driver_supported",
1850                    "cargo:rustc-cfg=rom_driver_supported",
1851                    "cargo:rustc-cfg=soc_driver_supported",
1852                    "cargo:rustc-cfg=uart_uart0",
1853                    "cargo:rustc-cfg=uart_uart1",
1854                    "cargo:rustc-cfg=i2c_master_i2c0",
1855                    "cargo:rustc-cfg=i2c_slave_i2c0",
1856                    "cargo:rustc-cfg=spi_master_spi2",
1857                    "cargo:rustc-cfg=spi_slave_spi2",
1858                    "cargo:rustc-cfg=i2s_i2s0",
1859                    "cargo:rustc-cfg=adc_adc1",
1860                    "cargo:rustc-cfg=adc_adc2",
1861                    "cargo:rustc-cfg=timergroup_timg0",
1862                    "cargo:rustc-cfg=timergroup_timg1",
1863                    "cargo:rustc-cfg=gpio_version=\"2\"",
1864                    "cargo:rustc-cfg=gpio_has_input_sync",
1865                    "cargo:rustc-cfg=gpio_gpio_function=\"1\"",
1866                    "cargo:rustc-cfg=gpio_constant_0_input=\"31\"",
1867                    "cargo:rustc-cfg=gpio_constant_1_input=\"30\"",
1868                    "cargo:rustc-cfg=gpio_func_in_sel_offset=\"0\"",
1869                    "cargo:rustc-cfg=gpio_input_signal_max=\"100\"",
1870                    "cargo:rustc-cfg=gpio_output_signal_max=\"128\"",
1871                    "cargo:rustc-cfg=dedicated_gpio_version=\"riscv_v1\"",
1872                    "cargo:rustc-cfg=lp_io_version=\"v3\"",
1873                    "cargo:rustc-cfg=uart_ram_size=\"128\"",
1874                    "cargo:rustc-cfg=uart_version=\"1\"",
1875                    "cargo:rustc-cfg=uart_has_sclk_divider",
1876                    "cargo:rustc-cfg=uart_has_sclk_enable",
1877                    "cargo:rustc-cfg=i2c_master_version=\"3\"",
1878                    "cargo:rustc-cfg=i2c_master_has_fsm_timeouts",
1879                    "cargo:rustc-cfg=i2c_master_has_hw_bus_clear",
1880                    "cargo:rustc-cfg=i2c_master_has_bus_timeout_enable",
1881                    "cargo:rustc-cfg=i2c_master_has_conf_update",
1882                    "cargo:rustc-cfg=i2c_master_has_arbitration_en",
1883                    "cargo:rustc-cfg=i2c_master_has_tx_fifo_watermark",
1884                    "cargo:rustc-cfg=i2c_master_bus_timeout_is_exponential",
1885                    "cargo:rustc-cfg=i2c_master_has_pd_en",
1886                    "cargo:rustc-cfg=i2c_master_max_bus_timeout=\"31\"",
1887                    "cargo:rustc-cfg=i2c_master_ll_intr_mask=\"262143\"",
1888                    "cargo:rustc-cfg=i2c_master_fifo_size=\"32\"",
1889                    "cargo:rustc-cfg=spi_master_version=\"3\"",
1890                    "cargo:rustc-cfg=spi_master_fifo_size=\"64\"",
1891                    "cargo:rustc-cfg=spi_master_bit_order_is_bool",
1892                    "cargo:rustc-cfg=spi_master_has_app_interrupts",
1893                    "cargo:rustc-cfg=spi_master_has_dma_segmented_transfer",
1894                    "cargo:rustc-cfg=i2s_version=\"2\"",
1895                    "cargo:rustc-cfg=i2s_version_is_set",
1896                    "cargo:rustc-cfg=i2s_default_clock_source=\"2\"",
1897                    "cargo:rustc-cfg=i2s_default_clock_source_is_set",
1898                    "cargo:rustc-cfg=i2s_mclk_divider_bit_width=\"9\"",
1899                    "cargo:rustc-cfg=i2s_mclk_divider_bit_width_is_set",
1900                    "cargo:rustc-cfg=i2s_max_ws_width=\"128\"",
1901                    "cargo:rustc-cfg=i2s_max_ws_width_is_set",
1902                    "cargo:rustc-cfg=i2s_supports_pdm_tx",
1903                    "cargo:rustc-cfg=i2s_supports_pdm_rx",
1904                    "cargo:rustc-cfg=i2s_supports_pcm2pdm",
1905                    "cargo:rustc-cfg=rmt_ram_start=\"1610703872\"",
1906                    "cargo:rustc-cfg=rmt_channel_ram_size=\"48\"",
1907                    "cargo:rustc-cfg=rmt_has_tx_immediate_stop",
1908                    "cargo:rustc-cfg=rmt_has_tx_loop_count",
1909                    "cargo:rustc-cfg=rmt_has_tx_carrier_data_only",
1910                    "cargo:rustc-cfg=rmt_has_tx_sync",
1911                    "cargo:rustc-cfg=rmt_has_rx_wrap",
1912                    "cargo:rustc-cfg=rmt_has_rx_demodulation",
1913                    "cargo:rustc-cfg=bt_controller=\"btdm\"",
1914                    "cargo:rustc-cfg=wifi_mac_version=\"1\"",
1915                    "cargo:rustc-cfg=wifi_csi_supported",
1916                    "cargo:rustc-cfg=phy_combo_module",
1917                    "cargo:rustc-cfg=phy_backed_up_digital_register_count=\"21\"",
1918                    "cargo:rustc-cfg=phy_backed_up_digital_register_count_is_set",
1919                    "cargo:rustc-cfg=ledc_version=\"2\"",
1920                    "cargo:rustc-cfg=ledc_channel_count=\"6\"",
1921                    "cargo:rustc-cfg=soc_has_sdm_ch0",
1922                    "cargo:rustc-cfg=soc_has_sdm_ch1",
1923                    "cargo:rustc-cfg=soc_has_sdm_ch2",
1924                    "cargo:rustc-cfg=soc_has_sdm_ch3",
1925                    "cargo:rustc-cfg=timergroup_timg_has_divcnt_rst",
1926                    "cargo:rustc-cfg=timergroup_rc_fast_calibration_is_set",
1927                    "cargo:rustc-cfg=aes_dma_mode_ecb",
1928                    "cargo:rustc-cfg=aes_dma_mode_cbc",
1929                    "cargo:rustc-cfg=aes_dma_mode_ofb",
1930                    "cargo:rustc-cfg=aes_dma_mode_ctr",
1931                    "cargo:rustc-cfg=aes_dma_mode_cfb8",
1932                    "cargo:rustc-cfg=aes_dma_mode_cfb128",
1933                    "cargo:rustc-cfg=aes_has_split_text_registers",
1934                    "cargo:rustc-cfg=rng_apb_cycle_wait_num=\"16\"",
1935                    "cargo:rustc-cfg=rng_trng_supported",
1936                    "cargo:rustc-cfg=rsa_version=\"3\"",
1937                    "cargo:rustc-cfg=rsa_size_increment=\"32\"",
1938                    "cargo:rustc-cfg=rsa_memory_size_bytes=\"384\"",
1939                    "cargo:rustc-cfg=sleep_light_sleep",
1940                    "cargo:rustc-cfg=sleep_deep_sleep",
1941                    "cargo:rustc-cfg=sleep_has_wakeup_source_gpio",
1942                    "cargo:rustc-cfg=sleep_has_wakeup_source_timer",
1943                    "cargo:rustc-cfg=sleep_has_wakeup_source_sdio",
1944                    "cargo:rustc-cfg=sleep_has_wakeup_source_wifi",
1945                    "cargo:rustc-cfg=sleep_has_wakeup_source_uart",
1946                    "cargo:rustc-cfg=sleep_has_wakeup_source_touch",
1947                    "cargo:rustc-cfg=sleep_has_wakeup_source_ulp",
1948                    "cargo:rustc-cfg=sleep_has_wakeup_source_bt",
1949                    "cargo:rustc-cfg=sleep_pin_wakeup_version=\"2\"",
1950                    "cargo:rustc-cfg=sleep_pin_wakeup_version_is_set",
1951                    "cargo:rustc-cfg=sleep_deep_sleep_needs_gpio_isolation",
1952                    "cargo:rustc-cfg=assist_debug_has_sp_monitor",
1953                    "cargo:rustc-cfg=assist_debug_has_region_monitor",
1954                    "cargo:rustc-cfg=dma_mem2mem_requires_peripheral",
1955                    "cargo:rustc-cfg=dma_gdma_version=\"1\"",
1956                    "cargo:rustc-cfg=dma_gdma_version_is_set",
1957                    "cargo:rustc-cfg=soc_has_dma_ch0",
1958                    "cargo:rustc-cfg=soc_has_dma_ch1",
1959                    "cargo:rustc-cfg=soc_has_dma_ch2",
1960                    "cargo:rustc-cfg=dma_supports_mem2mem",
1961                    "cargo:rustc-cfg=aes_supports_dma",
1962                    "cargo:rustc-cfg=aes_dma_engine=\"AHB_GDMA\"",
1963                    "cargo:rustc-cfg=sha_supports_dma",
1964                    "cargo:rustc-cfg=sha_dma_engine=\"AHB_GDMA\"",
1965                    "cargo:rustc-cfg=spi_master_supports_dma",
1966                    "cargo:rustc-cfg=spi_master_dma_engine=\"AHB_GDMA\"",
1967                    "cargo:rustc-cfg=spi_slave_supports_dma",
1968                    "cargo:rustc-cfg=spi_slave_dma_engine=\"AHB_GDMA\"",
1969                    "cargo:rustc-cfg=uhci_supports_dma",
1970                    "cargo:rustc-cfg=uhci_dma_engine=\"AHB_GDMA\"",
1971                    "cargo:rustc-cfg=i2s_supports_dma",
1972                    "cargo:rustc-cfg=i2s_dma_engine=\"AHB_GDMA\"",
1973                    "cargo:rustc-cfg=dma_max_priority=\"9\"",
1974                    "cargo:rustc-cfg=dma_max_priority_is_set",
1975                    "cargo:rustc-cfg=interrupts_status_registers=\"2\"",
1976                    "cargo:rustc-cfg=interrupt_controller=\"riscv_basic\"",
1977                    "cargo:rustc-cfg=mmu_page_size=\"65536\"",
1978                    "cargo:rustc-cfg=mmu_entry_num=\"128\"",
1979                    "cargo:rustc-cfg=rom_has_crc_le",
1980                    "cargo:rustc-cfg=rom_has_crc_be",
1981                    "cargo:rustc-cfg=rom_has_md5_bsd",
1982                    "cargo:rustc-cfg=soc_cpu_has_csr_pc",
1983                    "cargo:rustc-cfg=soc_has_swd_watchdog",
1984                    "cargo:rustc-cfg=soc_cpu_mcause_mask=\"31\"",
1985                    "cargo:rustc-cfg=soc_has_clock_node_xtal_clk",
1986                    "cargo:rustc-cfg=soc_clock_node_xtal_clk_is_configurable",
1987                    "cargo:rustc-cfg=soc_has_clock_node_pll_clk",
1988                    "cargo:rustc-cfg=soc_clock_node_pll_clk_is_configurable",
1989                    "cargo:rustc-cfg=soc_has_clock_node_rc_fast_clk",
1990                    "cargo:rustc-cfg=soc_has_clock_node_xtal32k_clk",
1991                    "cargo:rustc-cfg=soc_has_clock_node_rc_slow_clk",
1992                    "cargo:rustc-cfg=soc_has_clock_node_rc_fast_div_clk",
1993                    "cargo:rustc-cfg=soc_has_clock_node_system_pre_div_in",
1994                    "cargo:rustc-cfg=soc_clock_node_system_pre_div_in_is_configurable",
1995                    "cargo:rustc-cfg=soc_has_clock_node_system_pre_div",
1996                    "cargo:rustc-cfg=soc_clock_node_system_pre_div_is_configurable",
1997                    "cargo:rustc-cfg=soc_has_clock_node_cpu_pll_div_out",
1998                    "cargo:rustc-cfg=soc_clock_node_cpu_pll_div_out_is_configurable",
1999                    "cargo:rustc-cfg=soc_has_clock_node_cpu_clk",
2000                    "cargo:rustc-cfg=soc_clock_node_cpu_clk_is_configurable",
2001                    "cargo:rustc-cfg=soc_has_clock_node_pll_80m",
2002                    "cargo:rustc-cfg=soc_has_clock_node_pll_160m",
2003                    "cargo:rustc-cfg=soc_has_clock_node_apb_clk",
2004                    "cargo:rustc-cfg=soc_clock_node_apb_clk_is_configurable",
2005                    "cargo:rustc-cfg=soc_has_clock_node_crypto_clk",
2006                    "cargo:rustc-cfg=soc_clock_node_crypto_clk_is_configurable",
2007                    "cargo:rustc-cfg=soc_has_clock_node_rc_fast_clk_div_n",
2008                    "cargo:rustc-cfg=soc_clock_node_rc_fast_clk_div_n_is_configurable",
2009                    "cargo:rustc-cfg=soc_has_clock_node_xtal_div_clk",
2010                    "cargo:rustc-cfg=soc_has_clock_node_rtc_slow_clk",
2011                    "cargo:rustc-cfg=soc_clock_node_rtc_slow_clk_is_configurable",
2012                    "cargo:rustc-cfg=soc_has_clock_node_rtc_fast_clk",
2013                    "cargo:rustc-cfg=soc_clock_node_rtc_fast_clk_is_configurable",
2014                    "cargo:rustc-cfg=soc_has_clock_node_low_power_clk",
2015                    "cargo:rustc-cfg=soc_clock_node_low_power_clk_is_configurable",
2016                    "cargo:rustc-cfg=soc_has_clock_node_uart_mem_clk",
2017                    "cargo:rustc-cfg=soc_has_clock_node_timg_calibration_clock",
2018                    "cargo:rustc-cfg=soc_clock_node_timg_calibration_clock_is_configurable",
2019                    "cargo:rustc-cfg=soc_has_clock_node_timg_function_clock",
2020                    "cargo:rustc-cfg=soc_clock_node_timg_function_clock_is_configurable",
2021                    "cargo:rustc-cfg=soc_has_clock_node_timg_wdt_clock",
2022                    "cargo:rustc-cfg=soc_clock_node_timg_wdt_clock_is_configurable",
2023                    "cargo:rustc-cfg=soc_has_clock_node_sdm_function_clock",
2024                    "cargo:rustc-cfg=soc_has_clock_node_rmt_sclk",
2025                    "cargo:rustc-cfg=soc_clock_node_rmt_sclk_is_configurable",
2026                    "cargo:rustc-cfg=soc_has_clock_node_uart_function_clock",
2027                    "cargo:rustc-cfg=soc_clock_node_uart_function_clock_is_configurable",
2028                    "cargo:rustc-cfg=soc_has_clock_node_uart_mem_clock",
2029                    "cargo:rustc-cfg=soc_has_clock_node_uart_baud_rate_generator",
2030                    "cargo:rustc-cfg=soc_clock_node_uart_baud_rate_generator_is_configurable",
2031                    "cargo:rustc-cfg=soc_has_clock_node_i2c_function_clock",
2032                    "cargo:rustc-cfg=soc_clock_node_i2c_function_clock_is_configurable",
2033                    "cargo:rustc-cfg=soc_has_clock_node_spi_function_clock",
2034                    "cargo:rustc-cfg=soc_clock_node_spi_function_clock_is_configurable",
2035                    "cargo:rustc-cfg=has_dram_region",
2036                    "cargo:rustc-cfg=has_dram2_uninit_region",
2037                    "cargo:rustc-cfg=has_irom_region",
2038                    "cargo:rustc-cfg=has_drom_region",
2039                ],
2040                memory_layout: &MemoryLayout {
2041                    regions: &[
2042                        (
2043                            "dram",
2044                            MemoryRegion {
2045                                address_range: 0x3FC80000..0x3FCE0000,
2046                            },
2047                        ),
2048                        (
2049                            "dram2_uninit",
2050                            MemoryRegion {
2051                                address_range: 0x3FCCE400..0x3FCDE710,
2052                            },
2053                        ),
2054                        (
2055                            "irom",
2056                            MemoryRegion {
2057                                address_range: 0x42000000..0x42800000,
2058                            },
2059                        ),
2060                        (
2061                            "drom",
2062                            MemoryRegion {
2063                                address_range: 0x3C000000..0x3C800000,
2064                            },
2065                        ),
2066                    ],
2067                },
2068                pins: &[
2069                    PinInfo {
2070                        pin: 0,
2071                        limitations: &[],
2072                    },
2073                    PinInfo {
2074                        pin: 1,
2075                        limitations: &[],
2076                    },
2077                    PinInfo {
2078                        pin: 2,
2079                        limitations: &["strapping"],
2080                    },
2081                    PinInfo {
2082                        pin: 3,
2083                        limitations: &[],
2084                    },
2085                    PinInfo {
2086                        pin: 4,
2087                        limitations: &["jtag"],
2088                    },
2089                    PinInfo {
2090                        pin: 5,
2091                        limitations: &["jtag"],
2092                    },
2093                    PinInfo {
2094                        pin: 6,
2095                        limitations: &["jtag"],
2096                    },
2097                    PinInfo {
2098                        pin: 7,
2099                        limitations: &["jtag"],
2100                    },
2101                    PinInfo {
2102                        pin: 8,
2103                        limitations: &["strapping"],
2104                    },
2105                    PinInfo {
2106                        pin: 9,
2107                        limitations: &["strapping"],
2108                    },
2109                    PinInfo {
2110                        pin: 10,
2111                        limitations: &[],
2112                    },
2113                    PinInfo {
2114                        pin: 11,
2115                        limitations: &["spi_flash"],
2116                    },
2117                    PinInfo {
2118                        pin: 12,
2119                        limitations: &["spi_flash"],
2120                    },
2121                    PinInfo {
2122                        pin: 13,
2123                        limitations: &["spi_flash"],
2124                    },
2125                    PinInfo {
2126                        pin: 14,
2127                        limitations: &["spi_flash"],
2128                    },
2129                    PinInfo {
2130                        pin: 15,
2131                        limitations: &["spi_flash"],
2132                    },
2133                    PinInfo {
2134                        pin: 16,
2135                        limitations: &["spi_flash"],
2136                    },
2137                    PinInfo {
2138                        pin: 17,
2139                        limitations: &["spi_flash"],
2140                    },
2141                    PinInfo {
2142                        pin: 18,
2143                        limitations: &["usb_jtag"],
2144                    },
2145                    PinInfo {
2146                        pin: 19,
2147                        limitations: &["usb_jtag"],
2148                    },
2149                    PinInfo {
2150                        pin: 20,
2151                        limitations: &["bootloader_uart"],
2152                    },
2153                    PinInfo {
2154                        pin: 21,
2155                        limitations: &["bootloader_uart"],
2156                    },
2157                ],
2158            },
2159            Self::Esp32c5 => Config {
2160                architecture: "riscv",
2161                target: "riscv32imac-unknown-none-elf",
2162                symbols: &[
2163                    "esp32c5",
2164                    "riscv",
2165                    "single_core",
2166                    "soc_has_aes",
2167                    "soc_has_assist_debug",
2168                    "soc_has_apb_saradc",
2169                    "soc_has_cache",
2170                    "soc_has_clint",
2171                    "soc_has_dma",
2172                    "soc_has_ds",
2173                    "soc_has_ecc",
2174                    "soc_has_ecdsa",
2175                    "soc_has_efuse",
2176                    "soc_has_etm",
2177                    "soc_has_gpio",
2178                    "soc_has_gpio_sd",
2179                    "soc_has_hmac",
2180                    "soc_has_hp_apm",
2181                    "soc_has_hp_sys",
2182                    "soc_has_huk",
2183                    "soc_has_i2c_ana_mst",
2184                    "soc_has_i2c0",
2185                    "soc_has_i2s0",
2186                    "soc_has_ieee802154",
2187                    "soc_has_interrupt_core0",
2188                    "soc_has_intpri",
2189                    "soc_has_io_mux",
2190                    "soc_has_keymng",
2191                    "soc_has_lp_ana",
2192                    "soc_has_lp_aon",
2193                    "soc_has_lp_apm0",
2194                    "soc_has_lp_clkrst",
2195                    "soc_has_lp_gpio",
2196                    "soc_has_lp_i2c0",
2197                    "soc_has_lp_i2c_ana_mst",
2198                    "soc_has_lp_io_mux",
2199                    "soc_has_lp_peri",
2200                    "soc_has_lp_tee",
2201                    "soc_has_rtc_timer",
2202                    "soc_has_lp_uart",
2203                    "soc_has_lp_wdt",
2204                    "soc_has_lpwr",
2205                    "soc_has_mcpwm0",
2206                    "soc_has_mem_monitor",
2207                    "soc_has_modem_lpcon",
2208                    "soc_has_modem_syscon",
2209                    "soc_has_parl_io",
2210                    "soc_has_pau",
2211                    "soc_has_pcnt",
2212                    "soc_has_pcr",
2213                    "soc_has_pmu",
2214                    "soc_has_pvt_monitor",
2215                    "soc_has_rmt",
2216                    "soc_has_rng",
2217                    "soc_has_rsa",
2218                    "soc_has_sha",
2219                    "soc_has_slc",
2220                    "soc_has_spi0",
2221                    "soc_has_spi1",
2222                    "soc_has_spi2",
2223                    "soc_has_system",
2224                    "soc_has_systimer",
2225                    "soc_has_tee",
2226                    "soc_has_timg0",
2227                    "soc_has_timg1",
2228                    "soc_has_uart0",
2229                    "soc_has_uart1",
2230                    "soc_has_uhci0",
2231                    "soc_has_usb_device",
2232                    "soc_has_adc1",
2233                    "soc_has_bt",
2234                    "soc_has_flash",
2235                    "soc_has_gpio_dedicated",
2236                    "soc_has_lp_core",
2237                    "soc_has_wifi",
2238                    "soc_has_psram",
2239                    "soc_has_from_cpu_intr0",
2240                    "soc_has_from_cpu_intr1",
2241                    "soc_has_from_cpu_intr2",
2242                    "soc_has_from_cpu_intr3",
2243                    "gpio_driver_supported",
2244                    "dedicated_gpio_driver_supported",
2245                    "io_mux_driver_supported",
2246                    "lp_io_driver_supported",
2247                    "uart_driver_supported",
2248                    "uhci_driver_supported",
2249                    "i2c_master_driver_supported",
2250                    "lp_i2c_master_driver_supported",
2251                    "spi_master_driver_supported",
2252                    "spi_slave_driver_supported",
2253                    "i2s_driver_supported",
2254                    "parl_io_driver_supported",
2255                    "rmt_driver_supported",
2256                    "usb_serial_jtag_driver_supported",
2257                    "bt_driver_supported",
2258                    "wifi_driver_supported",
2259                    "ieee802154_driver_supported",
2260                    "phy_driver_supported",
2261                    "adc_driver_supported",
2262                    "pcnt_driver_supported",
2263                    "lp_timer_driver_supported",
2264                    "sdm_driver_supported",
2265                    "systimer_driver_supported",
2266                    "timergroup_driver_supported",
2267                    "aes_driver_supported",
2268                    "ecc_driver_supported",
2269                    "rng_driver_supported",
2270                    "rsa_driver_supported",
2271                    "sha_driver_supported",
2272                    "sleep_driver_supported",
2273                    "assist_debug_driver_supported",
2274                    "dma_driver_supported",
2275                    "interrupts_driver_supported",
2276                    "mmu_driver_supported",
2277                    "psram_driver_supported",
2278                    "rom_driver_supported",
2279                    "soc_driver_supported",
2280                    "uart_uart0",
2281                    "uart_uart1",
2282                    "i2c_master_i2c0",
2283                    "spi_master_spi2",
2284                    "spi_slave_spi2",
2285                    "i2s_i2s0",
2286                    "adc_adc1",
2287                    "timergroup_timg0",
2288                    "timergroup_timg1",
2289                    "gpio_version=\"2\"",
2290                    "gpio_has_input_sync",
2291                    "gpio_gpio_function=\"1\"",
2292                    "gpio_constant_0_input=\"96\"",
2293                    "gpio_constant_1_input=\"64\"",
2294                    "gpio_func_in_sel_offset=\"0\"",
2295                    "soc_has_xtal32k_pads",
2296                    "gpio_input_signal_max=\"116\"",
2297                    "gpio_output_signal_max=\"256\"",
2298                    "dedicated_gpio_version=\"riscv_v1\"",
2299                    "lp_io_version=\"v4\"",
2300                    "uart_ram_size=\"128\"",
2301                    "uart_version=\"2\"",
2302                    "uart_peripheral_controls_mem_clk",
2303                    "uart_has_sclk_enable",
2304                    "uhci_combined_uart_selector_field",
2305                    "i2c_master_version=\"4\"",
2306                    "i2c_master_has_fsm_timeouts",
2307                    "i2c_master_has_hw_bus_clear",
2308                    "i2c_master_has_bus_timeout_enable",
2309                    "i2c_master_can_estimate_nack_reason",
2310                    "i2c_master_has_conf_update",
2311                    "i2c_master_has_reliable_fsm_reset",
2312                    "i2c_master_has_arbitration_en",
2313                    "i2c_master_has_tx_fifo_watermark",
2314                    "i2c_master_bus_timeout_is_exponential",
2315                    "i2c_master_has_pd_en",
2316                    "i2c_master_max_bus_timeout=\"31\"",
2317                    "i2c_master_ll_intr_mask=\"262143\"",
2318                    "i2c_master_fifo_size=\"32\"",
2319                    "lp_i2c_master_version=\"lp_i2c\"",
2320                    "lp_i2c_master_fifo_size=\"16\"",
2321                    "lp_i2c_master_fifo_size_is_set",
2322                    "spi_master_version=\"3\"",
2323                    "spi_master_fifo_size=\"64\"",
2324                    "spi_master_has_app_interrupts",
2325                    "spi_master_has_dma_segmented_transfer",
2326                    "spi_master_has_clk_pre_div",
2327                    "spi_master_dma_can_access_flash",
2328                    "i2s_version=\"3\"",
2329                    "i2s_version_is_set",
2330                    "i2s_default_clock_source=\"2\"",
2331                    "i2s_default_clock_source_is_set",
2332                    "i2s_mclk_divider_bit_width=\"9\"",
2333                    "i2s_mclk_divider_bit_width_is_set",
2334                    "i2s_max_ws_width=\"512\"",
2335                    "i2s_max_ws_width_is_set",
2336                    "i2s_clock_configured_by_pcr",
2337                    "i2s_supports_pdm_tx",
2338                    "i2s_supports_pdm_rx",
2339                    "i2s_supports_pcm2pdm",
2340                    "parl_io_version=\"2\"",
2341                    "rmt_ram_start=\"1610638336\"",
2342                    "rmt_channel_ram_size=\"48\"",
2343                    "rmt_has_tx_immediate_stop",
2344                    "rmt_has_tx_loop_count",
2345                    "rmt_has_tx_loop_auto_stop",
2346                    "rmt_has_tx_carrier_data_only",
2347                    "rmt_has_tx_sync",
2348                    "rmt_has_rx_wrap",
2349                    "rmt_has_rx_demodulation",
2350                    "bt_controller=\"npl\"",
2351                    "wifi_has_wifi6",
2352                    "wifi_mac_version=\"3\"",
2353                    "wifi_has_5g",
2354                    "wifi_csi_supported",
2355                    "phy_combo_module",
2356                    "soc_has_sdm_ch0",
2357                    "soc_has_sdm_ch1",
2358                    "soc_has_sdm_ch2",
2359                    "soc_has_sdm_ch3",
2360                    "timergroup_timg_has_divcnt_rst",
2361                    "timergroup_rc_fast_calibration_divider",
2362                    "timergroup_rc_fast_calibration_is_set",
2363                    "aes_dma_mode_ecb",
2364                    "aes_dma_mode_cbc",
2365                    "aes_dma_mode_ofb",
2366                    "aes_dma_mode_ctr",
2367                    "aes_dma_mode_cfb8",
2368                    "aes_dma_mode_cfb128",
2369                    "aes_has_split_text_registers",
2370                    "ecc_separate_jacobian_point_memory",
2371                    "ecc_has_memory_clock_gate",
2372                    "ecc_supports_enhanced_security",
2373                    "ecc_has_modular_arithmetic",
2374                    "ecc_has_point_addition",
2375                    "ecc_has_curve_p192",
2376                    "ecc_has_curve_p256",
2377                    "ecc_has_curve_p384",
2378                    "rng_apb_cycle_wait_num=\"16\"",
2379                    "rng_is_lp_sys",
2380                    "rsa_version=\"3\"",
2381                    "rsa_size_increment=\"32\"",
2382                    "rsa_memory_size_bytes=\"384\"",
2383                    "sleep_light_sleep",
2384                    "sleep_deep_sleep",
2385                    "sleep_has_wakeup_source_ext1",
2386                    "sleep_has_wakeup_source_gpio",
2387                    "sleep_has_wakeup_source_wifi_beacon",
2388                    "sleep_has_wakeup_source_timer",
2389                    "sleep_has_wakeup_source_wifi",
2390                    "sleep_has_wakeup_source_uart",
2391                    "sleep_has_wakeup_source_sdio",
2392                    "sleep_has_wakeup_source_bt",
2393                    "sleep_has_wakeup_source_lp_core",
2394                    "sleep_ext1_version=\"2\"",
2395                    "sleep_ext1_version_is_set",
2396                    "sleep_pin_wakeup_version=\"3\"",
2397                    "sleep_pin_wakeup_version_is_set",
2398                    "assist_debug_has_sp_monitor",
2399                    "assist_debug_has_region_monitor",
2400                    "dma_separate_in_out_interrupts",
2401                    "dma_gdma_version=\"2\"",
2402                    "dma_gdma_version_is_set",
2403                    "soc_has_dma_ch0",
2404                    "soc_has_dma_ch1",
2405                    "soc_has_dma_ch2",
2406                    "dma_supports_mem2mem",
2407                    "aes_supports_dma",
2408                    "aes_dma_engine=\"AHB_GDMA\"",
2409                    "sha_supports_dma",
2410                    "sha_dma_engine=\"AHB_GDMA\"",
2411                    "spi_master_supports_dma",
2412                    "spi_master_dma_engine=\"AHB_GDMA\"",
2413                    "spi_slave_supports_dma",
2414                    "spi_slave_dma_engine=\"AHB_GDMA\"",
2415                    "uhci_supports_dma",
2416                    "uhci_dma_engine=\"AHB_GDMA\"",
2417                    "i2s_supports_dma",
2418                    "i2s_dma_engine=\"AHB_GDMA\"",
2419                    "parl_io_supports_dma",
2420                    "parl_io_dma_engine=\"AHB_GDMA\"",
2421                    "dma_can_access_psram",
2422                    "dma_max_priority=\"5\"",
2423                    "dma_max_priority_is_set",
2424                    "interrupts_status_registers=\"3\"",
2425                    "interrupt_controller=\"clic\"",
2426                    "mmu_page_size=\"65536\"",
2427                    "mmu_entry_num=\"512\"",
2428                    "psram_extmem_origin=\"1107296256\"",
2429                    "rom_has_crc_le",
2430                    "rom_has_crc_be",
2431                    "rom_has_md5_bsd",
2432                    "soc_cpu_has_branch_predictor",
2433                    "soc_cpu_csr_prv_mode=\"2064\"",
2434                    "soc_cpu_csr_prv_mode_is_set",
2435                    "soc_has_swd_watchdog",
2436                    "soc_cpu_mcause_mask=\"31\"",
2437                    "soc_has_clock_node_xtal_clk",
2438                    "soc_clock_node_xtal_clk_is_configurable",
2439                    "soc_has_clock_node_pll_clk",
2440                    "soc_has_clock_node_rc_fast_clk",
2441                    "soc_has_clock_node_xtal32k_clk",
2442                    "soc_has_clock_node_osc_slow_clk",
2443                    "soc_has_clock_node_rc_slow_clk",
2444                    "soc_has_clock_node_pll_f12m",
2445                    "soc_has_clock_node_pll_f20m",
2446                    "soc_has_clock_node_pll_f40m",
2447                    "soc_has_clock_node_pll_f48m",
2448                    "soc_has_clock_node_pll_f60m",
2449                    "soc_has_clock_node_pll_f80m",
2450                    "soc_has_clock_node_pll_f120m",
2451                    "soc_has_clock_node_pll_f160m",
2452                    "soc_has_clock_node_pll_f240m",
2453                    "soc_has_clock_node_hp_root_clk",
2454                    "soc_clock_node_hp_root_clk_is_configurable",
2455                    "soc_has_clock_node_cpu_clk",
2456                    "soc_clock_node_cpu_clk_is_configurable",
2457                    "soc_has_clock_node_ahb_clk",
2458                    "soc_clock_node_ahb_clk_is_configurable",
2459                    "soc_has_clock_node_apb_clk",
2460                    "soc_clock_node_apb_clk_is_configurable",
2461                    "soc_has_clock_node_xtal_d2_clk",
2462                    "soc_has_clock_node_lp_fast_clk",
2463                    "soc_clock_node_lp_fast_clk_is_configurable",
2464                    "soc_has_clock_node_lp_slow_clk",
2465                    "soc_clock_node_lp_slow_clk_is_configurable",
2466                    "soc_has_clock_node_crypto_clk",
2467                    "soc_clock_node_crypto_clk_is_configurable",
2468                    "soc_has_clock_node_iomux_function_clock",
2469                    "soc_clock_node_iomux_function_clock_is_configurable",
2470                    "soc_has_clock_node_timg_calibration_clock",
2471                    "soc_clock_node_timg_calibration_clock_is_configurable",
2472                    "soc_has_clock_node_uart_function_clock",
2473                    "soc_clock_node_uart_function_clock_is_configurable",
2474                    "soc_has_clock_node_uart_baud_rate_generator",
2475                    "soc_clock_node_uart_baud_rate_generator_is_configurable",
2476                    "soc_has_clock_node_timg_function_clock",
2477                    "soc_clock_node_timg_function_clock_is_configurable",
2478                    "soc_has_clock_node_timg_wdt_clock",
2479                    "soc_clock_node_timg_wdt_clock_is_configurable",
2480                    "soc_has_clock_node_sdm_function_clock",
2481                    "soc_has_clock_node_rmt_sclk",
2482                    "soc_clock_node_rmt_sclk_is_configurable",
2483                    "soc_has_clock_node_parl_io_rx_clock",
2484                    "soc_clock_node_parl_io_rx_clock_is_configurable",
2485                    "soc_has_clock_node_parl_io_tx_clock",
2486                    "soc_clock_node_parl_io_tx_clock_is_configurable",
2487                    "soc_has_clock_node_i2c_function_clock",
2488                    "soc_clock_node_i2c_function_clock_is_configurable",
2489                    "soc_has_clock_node_spi_function_clock",
2490                    "soc_clock_node_spi_function_clock_is_configurable",
2491                    "has_dram_region",
2492                    "has_dram2_uninit_region",
2493                    "has_irom_region",
2494                    "has_drom_region",
2495                ],
2496                cfgs: &[
2497                    "cargo:rustc-cfg=esp32c5",
2498                    "cargo:rustc-cfg=riscv",
2499                    "cargo:rustc-cfg=single_core",
2500                    "cargo:rustc-cfg=soc_has_aes",
2501                    "cargo:rustc-cfg=soc_has_assist_debug",
2502                    "cargo:rustc-cfg=soc_has_apb_saradc",
2503                    "cargo:rustc-cfg=soc_has_cache",
2504                    "cargo:rustc-cfg=soc_has_clint",
2505                    "cargo:rustc-cfg=soc_has_dma",
2506                    "cargo:rustc-cfg=soc_has_ds",
2507                    "cargo:rustc-cfg=soc_has_ecc",
2508                    "cargo:rustc-cfg=soc_has_ecdsa",
2509                    "cargo:rustc-cfg=soc_has_efuse",
2510                    "cargo:rustc-cfg=soc_has_etm",
2511                    "cargo:rustc-cfg=soc_has_gpio",
2512                    "cargo:rustc-cfg=soc_has_gpio_sd",
2513                    "cargo:rustc-cfg=soc_has_hmac",
2514                    "cargo:rustc-cfg=soc_has_hp_apm",
2515                    "cargo:rustc-cfg=soc_has_hp_sys",
2516                    "cargo:rustc-cfg=soc_has_huk",
2517                    "cargo:rustc-cfg=soc_has_i2c_ana_mst",
2518                    "cargo:rustc-cfg=soc_has_i2c0",
2519                    "cargo:rustc-cfg=soc_has_i2s0",
2520                    "cargo:rustc-cfg=soc_has_ieee802154",
2521                    "cargo:rustc-cfg=soc_has_interrupt_core0",
2522                    "cargo:rustc-cfg=soc_has_intpri",
2523                    "cargo:rustc-cfg=soc_has_io_mux",
2524                    "cargo:rustc-cfg=soc_has_keymng",
2525                    "cargo:rustc-cfg=soc_has_lp_ana",
2526                    "cargo:rustc-cfg=soc_has_lp_aon",
2527                    "cargo:rustc-cfg=soc_has_lp_apm0",
2528                    "cargo:rustc-cfg=soc_has_lp_clkrst",
2529                    "cargo:rustc-cfg=soc_has_lp_gpio",
2530                    "cargo:rustc-cfg=soc_has_lp_i2c0",
2531                    "cargo:rustc-cfg=soc_has_lp_i2c_ana_mst",
2532                    "cargo:rustc-cfg=soc_has_lp_io_mux",
2533                    "cargo:rustc-cfg=soc_has_lp_peri",
2534                    "cargo:rustc-cfg=soc_has_lp_tee",
2535                    "cargo:rustc-cfg=soc_has_rtc_timer",
2536                    "cargo:rustc-cfg=soc_has_lp_uart",
2537                    "cargo:rustc-cfg=soc_has_lp_wdt",
2538                    "cargo:rustc-cfg=soc_has_lpwr",
2539                    "cargo:rustc-cfg=soc_has_mcpwm0",
2540                    "cargo:rustc-cfg=soc_has_mem_monitor",
2541                    "cargo:rustc-cfg=soc_has_modem_lpcon",
2542                    "cargo:rustc-cfg=soc_has_modem_syscon",
2543                    "cargo:rustc-cfg=soc_has_parl_io",
2544                    "cargo:rustc-cfg=soc_has_pau",
2545                    "cargo:rustc-cfg=soc_has_pcnt",
2546                    "cargo:rustc-cfg=soc_has_pcr",
2547                    "cargo:rustc-cfg=soc_has_pmu",
2548                    "cargo:rustc-cfg=soc_has_pvt_monitor",
2549                    "cargo:rustc-cfg=soc_has_rmt",
2550                    "cargo:rustc-cfg=soc_has_rng",
2551                    "cargo:rustc-cfg=soc_has_rsa",
2552                    "cargo:rustc-cfg=soc_has_sha",
2553                    "cargo:rustc-cfg=soc_has_slc",
2554                    "cargo:rustc-cfg=soc_has_spi0",
2555                    "cargo:rustc-cfg=soc_has_spi1",
2556                    "cargo:rustc-cfg=soc_has_spi2",
2557                    "cargo:rustc-cfg=soc_has_system",
2558                    "cargo:rustc-cfg=soc_has_systimer",
2559                    "cargo:rustc-cfg=soc_has_tee",
2560                    "cargo:rustc-cfg=soc_has_timg0",
2561                    "cargo:rustc-cfg=soc_has_timg1",
2562                    "cargo:rustc-cfg=soc_has_uart0",
2563                    "cargo:rustc-cfg=soc_has_uart1",
2564                    "cargo:rustc-cfg=soc_has_uhci0",
2565                    "cargo:rustc-cfg=soc_has_usb_device",
2566                    "cargo:rustc-cfg=soc_has_adc1",
2567                    "cargo:rustc-cfg=soc_has_bt",
2568                    "cargo:rustc-cfg=soc_has_flash",
2569                    "cargo:rustc-cfg=soc_has_gpio_dedicated",
2570                    "cargo:rustc-cfg=soc_has_lp_core",
2571                    "cargo:rustc-cfg=soc_has_wifi",
2572                    "cargo:rustc-cfg=soc_has_psram",
2573                    "cargo:rustc-cfg=soc_has_from_cpu_intr0",
2574                    "cargo:rustc-cfg=soc_has_from_cpu_intr1",
2575                    "cargo:rustc-cfg=soc_has_from_cpu_intr2",
2576                    "cargo:rustc-cfg=soc_has_from_cpu_intr3",
2577                    "cargo:rustc-cfg=gpio_driver_supported",
2578                    "cargo:rustc-cfg=dedicated_gpio_driver_supported",
2579                    "cargo:rustc-cfg=io_mux_driver_supported",
2580                    "cargo:rustc-cfg=lp_io_driver_supported",
2581                    "cargo:rustc-cfg=uart_driver_supported",
2582                    "cargo:rustc-cfg=uhci_driver_supported",
2583                    "cargo:rustc-cfg=i2c_master_driver_supported",
2584                    "cargo:rustc-cfg=lp_i2c_master_driver_supported",
2585                    "cargo:rustc-cfg=spi_master_driver_supported",
2586                    "cargo:rustc-cfg=spi_slave_driver_supported",
2587                    "cargo:rustc-cfg=i2s_driver_supported",
2588                    "cargo:rustc-cfg=parl_io_driver_supported",
2589                    "cargo:rustc-cfg=rmt_driver_supported",
2590                    "cargo:rustc-cfg=usb_serial_jtag_driver_supported",
2591                    "cargo:rustc-cfg=bt_driver_supported",
2592                    "cargo:rustc-cfg=wifi_driver_supported",
2593                    "cargo:rustc-cfg=ieee802154_driver_supported",
2594                    "cargo:rustc-cfg=phy_driver_supported",
2595                    "cargo:rustc-cfg=adc_driver_supported",
2596                    "cargo:rustc-cfg=pcnt_driver_supported",
2597                    "cargo:rustc-cfg=lp_timer_driver_supported",
2598                    "cargo:rustc-cfg=sdm_driver_supported",
2599                    "cargo:rustc-cfg=systimer_driver_supported",
2600                    "cargo:rustc-cfg=timergroup_driver_supported",
2601                    "cargo:rustc-cfg=aes_driver_supported",
2602                    "cargo:rustc-cfg=ecc_driver_supported",
2603                    "cargo:rustc-cfg=rng_driver_supported",
2604                    "cargo:rustc-cfg=rsa_driver_supported",
2605                    "cargo:rustc-cfg=sha_driver_supported",
2606                    "cargo:rustc-cfg=sleep_driver_supported",
2607                    "cargo:rustc-cfg=assist_debug_driver_supported",
2608                    "cargo:rustc-cfg=dma_driver_supported",
2609                    "cargo:rustc-cfg=interrupts_driver_supported",
2610                    "cargo:rustc-cfg=mmu_driver_supported",
2611                    "cargo:rustc-cfg=psram_driver_supported",
2612                    "cargo:rustc-cfg=rom_driver_supported",
2613                    "cargo:rustc-cfg=soc_driver_supported",
2614                    "cargo:rustc-cfg=uart_uart0",
2615                    "cargo:rustc-cfg=uart_uart1",
2616                    "cargo:rustc-cfg=i2c_master_i2c0",
2617                    "cargo:rustc-cfg=spi_master_spi2",
2618                    "cargo:rustc-cfg=spi_slave_spi2",
2619                    "cargo:rustc-cfg=i2s_i2s0",
2620                    "cargo:rustc-cfg=adc_adc1",
2621                    "cargo:rustc-cfg=timergroup_timg0",
2622                    "cargo:rustc-cfg=timergroup_timg1",
2623                    "cargo:rustc-cfg=gpio_version=\"2\"",
2624                    "cargo:rustc-cfg=gpio_has_input_sync",
2625                    "cargo:rustc-cfg=gpio_gpio_function=\"1\"",
2626                    "cargo:rustc-cfg=gpio_constant_0_input=\"96\"",
2627                    "cargo:rustc-cfg=gpio_constant_1_input=\"64\"",
2628                    "cargo:rustc-cfg=gpio_func_in_sel_offset=\"0\"",
2629                    "cargo:rustc-cfg=soc_has_xtal32k_pads",
2630                    "cargo:rustc-cfg=gpio_input_signal_max=\"116\"",
2631                    "cargo:rustc-cfg=gpio_output_signal_max=\"256\"",
2632                    "cargo:rustc-cfg=dedicated_gpio_version=\"riscv_v1\"",
2633                    "cargo:rustc-cfg=lp_io_version=\"v4\"",
2634                    "cargo:rustc-cfg=uart_ram_size=\"128\"",
2635                    "cargo:rustc-cfg=uart_version=\"2\"",
2636                    "cargo:rustc-cfg=uart_peripheral_controls_mem_clk",
2637                    "cargo:rustc-cfg=uart_has_sclk_enable",
2638                    "cargo:rustc-cfg=uhci_combined_uart_selector_field",
2639                    "cargo:rustc-cfg=i2c_master_version=\"4\"",
2640                    "cargo:rustc-cfg=i2c_master_has_fsm_timeouts",
2641                    "cargo:rustc-cfg=i2c_master_has_hw_bus_clear",
2642                    "cargo:rustc-cfg=i2c_master_has_bus_timeout_enable",
2643                    "cargo:rustc-cfg=i2c_master_can_estimate_nack_reason",
2644                    "cargo:rustc-cfg=i2c_master_has_conf_update",
2645                    "cargo:rustc-cfg=i2c_master_has_reliable_fsm_reset",
2646                    "cargo:rustc-cfg=i2c_master_has_arbitration_en",
2647                    "cargo:rustc-cfg=i2c_master_has_tx_fifo_watermark",
2648                    "cargo:rustc-cfg=i2c_master_bus_timeout_is_exponential",
2649                    "cargo:rustc-cfg=i2c_master_has_pd_en",
2650                    "cargo:rustc-cfg=i2c_master_max_bus_timeout=\"31\"",
2651                    "cargo:rustc-cfg=i2c_master_ll_intr_mask=\"262143\"",
2652                    "cargo:rustc-cfg=i2c_master_fifo_size=\"32\"",
2653                    "cargo:rustc-cfg=lp_i2c_master_version=\"lp_i2c\"",
2654                    "cargo:rustc-cfg=lp_i2c_master_fifo_size=\"16\"",
2655                    "cargo:rustc-cfg=lp_i2c_master_fifo_size_is_set",
2656                    "cargo:rustc-cfg=spi_master_version=\"3\"",
2657                    "cargo:rustc-cfg=spi_master_fifo_size=\"64\"",
2658                    "cargo:rustc-cfg=spi_master_has_app_interrupts",
2659                    "cargo:rustc-cfg=spi_master_has_dma_segmented_transfer",
2660                    "cargo:rustc-cfg=spi_master_has_clk_pre_div",
2661                    "cargo:rustc-cfg=spi_master_dma_can_access_flash",
2662                    "cargo:rustc-cfg=i2s_version=\"3\"",
2663                    "cargo:rustc-cfg=i2s_version_is_set",
2664                    "cargo:rustc-cfg=i2s_default_clock_source=\"2\"",
2665                    "cargo:rustc-cfg=i2s_default_clock_source_is_set",
2666                    "cargo:rustc-cfg=i2s_mclk_divider_bit_width=\"9\"",
2667                    "cargo:rustc-cfg=i2s_mclk_divider_bit_width_is_set",
2668                    "cargo:rustc-cfg=i2s_max_ws_width=\"512\"",
2669                    "cargo:rustc-cfg=i2s_max_ws_width_is_set",
2670                    "cargo:rustc-cfg=i2s_clock_configured_by_pcr",
2671                    "cargo:rustc-cfg=i2s_supports_pdm_tx",
2672                    "cargo:rustc-cfg=i2s_supports_pdm_rx",
2673                    "cargo:rustc-cfg=i2s_supports_pcm2pdm",
2674                    "cargo:rustc-cfg=parl_io_version=\"2\"",
2675                    "cargo:rustc-cfg=rmt_ram_start=\"1610638336\"",
2676                    "cargo:rustc-cfg=rmt_channel_ram_size=\"48\"",
2677                    "cargo:rustc-cfg=rmt_has_tx_immediate_stop",
2678                    "cargo:rustc-cfg=rmt_has_tx_loop_count",
2679                    "cargo:rustc-cfg=rmt_has_tx_loop_auto_stop",
2680                    "cargo:rustc-cfg=rmt_has_tx_carrier_data_only",
2681                    "cargo:rustc-cfg=rmt_has_tx_sync",
2682                    "cargo:rustc-cfg=rmt_has_rx_wrap",
2683                    "cargo:rustc-cfg=rmt_has_rx_demodulation",
2684                    "cargo:rustc-cfg=bt_controller=\"npl\"",
2685                    "cargo:rustc-cfg=wifi_has_wifi6",
2686                    "cargo:rustc-cfg=wifi_mac_version=\"3\"",
2687                    "cargo:rustc-cfg=wifi_has_5g",
2688                    "cargo:rustc-cfg=wifi_csi_supported",
2689                    "cargo:rustc-cfg=phy_combo_module",
2690                    "cargo:rustc-cfg=soc_has_sdm_ch0",
2691                    "cargo:rustc-cfg=soc_has_sdm_ch1",
2692                    "cargo:rustc-cfg=soc_has_sdm_ch2",
2693                    "cargo:rustc-cfg=soc_has_sdm_ch3",
2694                    "cargo:rustc-cfg=timergroup_timg_has_divcnt_rst",
2695                    "cargo:rustc-cfg=timergroup_rc_fast_calibration_divider",
2696                    "cargo:rustc-cfg=timergroup_rc_fast_calibration_is_set",
2697                    "cargo:rustc-cfg=aes_dma_mode_ecb",
2698                    "cargo:rustc-cfg=aes_dma_mode_cbc",
2699                    "cargo:rustc-cfg=aes_dma_mode_ofb",
2700                    "cargo:rustc-cfg=aes_dma_mode_ctr",
2701                    "cargo:rustc-cfg=aes_dma_mode_cfb8",
2702                    "cargo:rustc-cfg=aes_dma_mode_cfb128",
2703                    "cargo:rustc-cfg=aes_has_split_text_registers",
2704                    "cargo:rustc-cfg=ecc_separate_jacobian_point_memory",
2705                    "cargo:rustc-cfg=ecc_has_memory_clock_gate",
2706                    "cargo:rustc-cfg=ecc_supports_enhanced_security",
2707                    "cargo:rustc-cfg=ecc_has_modular_arithmetic",
2708                    "cargo:rustc-cfg=ecc_has_point_addition",
2709                    "cargo:rustc-cfg=ecc_has_curve_p192",
2710                    "cargo:rustc-cfg=ecc_has_curve_p256",
2711                    "cargo:rustc-cfg=ecc_has_curve_p384",
2712                    "cargo:rustc-cfg=rng_apb_cycle_wait_num=\"16\"",
2713                    "cargo:rustc-cfg=rng_is_lp_sys",
2714                    "cargo:rustc-cfg=rsa_version=\"3\"",
2715                    "cargo:rustc-cfg=rsa_size_increment=\"32\"",
2716                    "cargo:rustc-cfg=rsa_memory_size_bytes=\"384\"",
2717                    "cargo:rustc-cfg=sleep_light_sleep",
2718                    "cargo:rustc-cfg=sleep_deep_sleep",
2719                    "cargo:rustc-cfg=sleep_has_wakeup_source_ext1",
2720                    "cargo:rustc-cfg=sleep_has_wakeup_source_gpio",
2721                    "cargo:rustc-cfg=sleep_has_wakeup_source_wifi_beacon",
2722                    "cargo:rustc-cfg=sleep_has_wakeup_source_timer",
2723                    "cargo:rustc-cfg=sleep_has_wakeup_source_wifi",
2724                    "cargo:rustc-cfg=sleep_has_wakeup_source_uart",
2725                    "cargo:rustc-cfg=sleep_has_wakeup_source_sdio",
2726                    "cargo:rustc-cfg=sleep_has_wakeup_source_bt",
2727                    "cargo:rustc-cfg=sleep_has_wakeup_source_lp_core",
2728                    "cargo:rustc-cfg=sleep_ext1_version=\"2\"",
2729                    "cargo:rustc-cfg=sleep_ext1_version_is_set",
2730                    "cargo:rustc-cfg=sleep_pin_wakeup_version=\"3\"",
2731                    "cargo:rustc-cfg=sleep_pin_wakeup_version_is_set",
2732                    "cargo:rustc-cfg=assist_debug_has_sp_monitor",
2733                    "cargo:rustc-cfg=assist_debug_has_region_monitor",
2734                    "cargo:rustc-cfg=dma_separate_in_out_interrupts",
2735                    "cargo:rustc-cfg=dma_gdma_version=\"2\"",
2736                    "cargo:rustc-cfg=dma_gdma_version_is_set",
2737                    "cargo:rustc-cfg=soc_has_dma_ch0",
2738                    "cargo:rustc-cfg=soc_has_dma_ch1",
2739                    "cargo:rustc-cfg=soc_has_dma_ch2",
2740                    "cargo:rustc-cfg=dma_supports_mem2mem",
2741                    "cargo:rustc-cfg=aes_supports_dma",
2742                    "cargo:rustc-cfg=aes_dma_engine=\"AHB_GDMA\"",
2743                    "cargo:rustc-cfg=sha_supports_dma",
2744                    "cargo:rustc-cfg=sha_dma_engine=\"AHB_GDMA\"",
2745                    "cargo:rustc-cfg=spi_master_supports_dma",
2746                    "cargo:rustc-cfg=spi_master_dma_engine=\"AHB_GDMA\"",
2747                    "cargo:rustc-cfg=spi_slave_supports_dma",
2748                    "cargo:rustc-cfg=spi_slave_dma_engine=\"AHB_GDMA\"",
2749                    "cargo:rustc-cfg=uhci_supports_dma",
2750                    "cargo:rustc-cfg=uhci_dma_engine=\"AHB_GDMA\"",
2751                    "cargo:rustc-cfg=i2s_supports_dma",
2752                    "cargo:rustc-cfg=i2s_dma_engine=\"AHB_GDMA\"",
2753                    "cargo:rustc-cfg=parl_io_supports_dma",
2754                    "cargo:rustc-cfg=parl_io_dma_engine=\"AHB_GDMA\"",
2755                    "cargo:rustc-cfg=dma_can_access_psram",
2756                    "cargo:rustc-cfg=dma_max_priority=\"5\"",
2757                    "cargo:rustc-cfg=dma_max_priority_is_set",
2758                    "cargo:rustc-cfg=interrupts_status_registers=\"3\"",
2759                    "cargo:rustc-cfg=interrupt_controller=\"clic\"",
2760                    "cargo:rustc-cfg=mmu_page_size=\"65536\"",
2761                    "cargo:rustc-cfg=mmu_entry_num=\"512\"",
2762                    "cargo:rustc-cfg=psram_extmem_origin=\"1107296256\"",
2763                    "cargo:rustc-cfg=rom_has_crc_le",
2764                    "cargo:rustc-cfg=rom_has_crc_be",
2765                    "cargo:rustc-cfg=rom_has_md5_bsd",
2766                    "cargo:rustc-cfg=soc_cpu_has_branch_predictor",
2767                    "cargo:rustc-cfg=soc_cpu_csr_prv_mode=\"2064\"",
2768                    "cargo:rustc-cfg=soc_cpu_csr_prv_mode_is_set",
2769                    "cargo:rustc-cfg=soc_has_swd_watchdog",
2770                    "cargo:rustc-cfg=soc_cpu_mcause_mask=\"31\"",
2771                    "cargo:rustc-cfg=soc_has_clock_node_xtal_clk",
2772                    "cargo:rustc-cfg=soc_clock_node_xtal_clk_is_configurable",
2773                    "cargo:rustc-cfg=soc_has_clock_node_pll_clk",
2774                    "cargo:rustc-cfg=soc_has_clock_node_rc_fast_clk",
2775                    "cargo:rustc-cfg=soc_has_clock_node_xtal32k_clk",
2776                    "cargo:rustc-cfg=soc_has_clock_node_osc_slow_clk",
2777                    "cargo:rustc-cfg=soc_has_clock_node_rc_slow_clk",
2778                    "cargo:rustc-cfg=soc_has_clock_node_pll_f12m",
2779                    "cargo:rustc-cfg=soc_has_clock_node_pll_f20m",
2780                    "cargo:rustc-cfg=soc_has_clock_node_pll_f40m",
2781                    "cargo:rustc-cfg=soc_has_clock_node_pll_f48m",
2782                    "cargo:rustc-cfg=soc_has_clock_node_pll_f60m",
2783                    "cargo:rustc-cfg=soc_has_clock_node_pll_f80m",
2784                    "cargo:rustc-cfg=soc_has_clock_node_pll_f120m",
2785                    "cargo:rustc-cfg=soc_has_clock_node_pll_f160m",
2786                    "cargo:rustc-cfg=soc_has_clock_node_pll_f240m",
2787                    "cargo:rustc-cfg=soc_has_clock_node_hp_root_clk",
2788                    "cargo:rustc-cfg=soc_clock_node_hp_root_clk_is_configurable",
2789                    "cargo:rustc-cfg=soc_has_clock_node_cpu_clk",
2790                    "cargo:rustc-cfg=soc_clock_node_cpu_clk_is_configurable",
2791                    "cargo:rustc-cfg=soc_has_clock_node_ahb_clk",
2792                    "cargo:rustc-cfg=soc_clock_node_ahb_clk_is_configurable",
2793                    "cargo:rustc-cfg=soc_has_clock_node_apb_clk",
2794                    "cargo:rustc-cfg=soc_clock_node_apb_clk_is_configurable",
2795                    "cargo:rustc-cfg=soc_has_clock_node_xtal_d2_clk",
2796                    "cargo:rustc-cfg=soc_has_clock_node_lp_fast_clk",
2797                    "cargo:rustc-cfg=soc_clock_node_lp_fast_clk_is_configurable",
2798                    "cargo:rustc-cfg=soc_has_clock_node_lp_slow_clk",
2799                    "cargo:rustc-cfg=soc_clock_node_lp_slow_clk_is_configurable",
2800                    "cargo:rustc-cfg=soc_has_clock_node_crypto_clk",
2801                    "cargo:rustc-cfg=soc_clock_node_crypto_clk_is_configurable",
2802                    "cargo:rustc-cfg=soc_has_clock_node_iomux_function_clock",
2803                    "cargo:rustc-cfg=soc_clock_node_iomux_function_clock_is_configurable",
2804                    "cargo:rustc-cfg=soc_has_clock_node_timg_calibration_clock",
2805                    "cargo:rustc-cfg=soc_clock_node_timg_calibration_clock_is_configurable",
2806                    "cargo:rustc-cfg=soc_has_clock_node_uart_function_clock",
2807                    "cargo:rustc-cfg=soc_clock_node_uart_function_clock_is_configurable",
2808                    "cargo:rustc-cfg=soc_has_clock_node_uart_baud_rate_generator",
2809                    "cargo:rustc-cfg=soc_clock_node_uart_baud_rate_generator_is_configurable",
2810                    "cargo:rustc-cfg=soc_has_clock_node_timg_function_clock",
2811                    "cargo:rustc-cfg=soc_clock_node_timg_function_clock_is_configurable",
2812                    "cargo:rustc-cfg=soc_has_clock_node_timg_wdt_clock",
2813                    "cargo:rustc-cfg=soc_clock_node_timg_wdt_clock_is_configurable",
2814                    "cargo:rustc-cfg=soc_has_clock_node_sdm_function_clock",
2815                    "cargo:rustc-cfg=soc_has_clock_node_rmt_sclk",
2816                    "cargo:rustc-cfg=soc_clock_node_rmt_sclk_is_configurable",
2817                    "cargo:rustc-cfg=soc_has_clock_node_parl_io_rx_clock",
2818                    "cargo:rustc-cfg=soc_clock_node_parl_io_rx_clock_is_configurable",
2819                    "cargo:rustc-cfg=soc_has_clock_node_parl_io_tx_clock",
2820                    "cargo:rustc-cfg=soc_clock_node_parl_io_tx_clock_is_configurable",
2821                    "cargo:rustc-cfg=soc_has_clock_node_i2c_function_clock",
2822                    "cargo:rustc-cfg=soc_clock_node_i2c_function_clock_is_configurable",
2823                    "cargo:rustc-cfg=soc_has_clock_node_spi_function_clock",
2824                    "cargo:rustc-cfg=soc_clock_node_spi_function_clock_is_configurable",
2825                    "cargo:rustc-cfg=has_dram_region",
2826                    "cargo:rustc-cfg=has_dram2_uninit_region",
2827                    "cargo:rustc-cfg=has_irom_region",
2828                    "cargo:rustc-cfg=has_drom_region",
2829                ],
2830                memory_layout: &MemoryLayout {
2831                    regions: &[
2832                        (
2833                            "dram",
2834                            MemoryRegion {
2835                                address_range: 0x40800000..0x40860000,
2836                            },
2837                        ),
2838                        (
2839                            "dram2_uninit",
2840                            MemoryRegion {
2841                                address_range: 0x4084E5A0..0x4085E5A0,
2842                            },
2843                        ),
2844                        (
2845                            "irom",
2846                            MemoryRegion {
2847                                address_range: 0x42000000..0x44000000,
2848                            },
2849                        ),
2850                        (
2851                            "drom",
2852                            MemoryRegion {
2853                                address_range: 0x42000000..0x44000000,
2854                            },
2855                        ),
2856                    ],
2857                },
2858                pins: &[
2859                    PinInfo {
2860                        pin: 0,
2861                        limitations: &[],
2862                    },
2863                    PinInfo {
2864                        pin: 1,
2865                        limitations: &[],
2866                    },
2867                    PinInfo {
2868                        pin: 2,
2869                        limitations: &["strapping", "jtag"],
2870                    },
2871                    PinInfo {
2872                        pin: 3,
2873                        limitations: &["strapping", "jtag"],
2874                    },
2875                    PinInfo {
2876                        pin: 4,
2877                        limitations: &["jtag"],
2878                    },
2879                    PinInfo {
2880                        pin: 5,
2881                        limitations: &["jtag"],
2882                    },
2883                    PinInfo {
2884                        pin: 6,
2885                        limitations: &[],
2886                    },
2887                    PinInfo {
2888                        pin: 7,
2889                        limitations: &["strapping"],
2890                    },
2891                    PinInfo {
2892                        pin: 8,
2893                        limitations: &[],
2894                    },
2895                    PinInfo {
2896                        pin: 9,
2897                        limitations: &[],
2898                    },
2899                    PinInfo {
2900                        pin: 10,
2901                        limitations: &[],
2902                    },
2903                    PinInfo {
2904                        pin: 11,
2905                        limitations: &["bootloader_uart"],
2906                    },
2907                    PinInfo {
2908                        pin: 12,
2909                        limitations: &["bootloader_uart"],
2910                    },
2911                    PinInfo {
2912                        pin: 13,
2913                        limitations: &["usb_jtag"],
2914                    },
2915                    PinInfo {
2916                        pin: 14,
2917                        limitations: &["usb_jtag"],
2918                    },
2919                    PinInfo {
2920                        pin: 15,
2921                        limitations: &["spi_psram"],
2922                    },
2923                    PinInfo {
2924                        pin: 16,
2925                        limitations: &["spi_flash"],
2926                    },
2927                    PinInfo {
2928                        pin: 17,
2929                        limitations: &["spi_flash", "spi_psram"],
2930                    },
2931                    PinInfo {
2932                        pin: 18,
2933                        limitations: &["spi_flash", "spi_psram"],
2934                    },
2935                    PinInfo {
2936                        pin: 19,
2937                        limitations: &["spi_flash", "spi_psram"],
2938                    },
2939                    PinInfo {
2940                        pin: 20,
2941                        limitations: &["spi_flash", "spi_psram"],
2942                    },
2943                    PinInfo {
2944                        pin: 21,
2945                        limitations: &["spi_flash", "spi_psram"],
2946                    },
2947                    PinInfo {
2948                        pin: 22,
2949                        limitations: &["spi_flash", "spi_psram"],
2950                    },
2951                    PinInfo {
2952                        pin: 23,
2953                        limitations: &[],
2954                    },
2955                    PinInfo {
2956                        pin: 24,
2957                        limitations: &[],
2958                    },
2959                    PinInfo {
2960                        pin: 25,
2961                        limitations: &["strapping"],
2962                    },
2963                    PinInfo {
2964                        pin: 26,
2965                        limitations: &["strapping"],
2966                    },
2967                    PinInfo {
2968                        pin: 27,
2969                        limitations: &["strapping"],
2970                    },
2971                    PinInfo {
2972                        pin: 28,
2973                        limitations: &["strapping"],
2974                    },
2975                ],
2976            },
2977            Self::Esp32c6 => Config {
2978                architecture: "riscv",
2979                target: "riscv32imac-unknown-none-elf",
2980                symbols: &[
2981                    "esp32c6",
2982                    "riscv",
2983                    "single_core",
2984                    "soc_has_aes",
2985                    "soc_has_apb_saradc",
2986                    "soc_has_assist_debug",
2987                    "soc_has_atomic",
2988                    "soc_has_dma",
2989                    "soc_has_ds",
2990                    "soc_has_ecc",
2991                    "soc_has_efuse",
2992                    "soc_has_extmem",
2993                    "soc_has_gpio",
2994                    "soc_has_gpio_sd",
2995                    "soc_has_hinf",
2996                    "soc_has_hmac",
2997                    "soc_has_hp_apm",
2998                    "soc_has_hp_sys",
2999                    "soc_has_i2c_ana_mst",
3000                    "soc_has_i2c0",
3001                    "soc_has_i2s0",
3002                    "soc_has_ieee802154",
3003                    "soc_has_interrupt_core0",
3004                    "soc_has_intpri",
3005                    "soc_has_io_mux",
3006                    "soc_has_ledc",
3007                    "soc_has_lp_ana",
3008                    "soc_has_lp_aon",
3009                    "soc_has_lp_apm",
3010                    "soc_has_lp_apm0",
3011                    "soc_has_lp_clkrst",
3012                    "soc_has_lp_i2c0",
3013                    "soc_has_lp_i2c_ana_mst",
3014                    "soc_has_lp_io",
3015                    "soc_has_lp_peri",
3016                    "soc_has_lp_tee",
3017                    "soc_has_rtc_timer",
3018                    "soc_has_lp_uart",
3019                    "soc_has_lp_wdt",
3020                    "soc_has_lpwr",
3021                    "soc_has_mcpwm0",
3022                    "soc_has_mem_monitor",
3023                    "soc_has_modem_lpcon",
3024                    "soc_has_modem_syscon",
3025                    "soc_has_otp_debug",
3026                    "soc_has_parl_io",
3027                    "soc_has_pau",
3028                    "soc_has_pcnt",
3029                    "soc_has_pcr",
3030                    "soc_has_plic_mx",
3031                    "soc_has_pmu",
3032                    "soc_has_rmt",
3033                    "soc_has_rng",
3034                    "soc_has_rsa",
3035                    "soc_has_sha",
3036                    "soc_has_slchost",
3037                    "soc_has_etm",
3038                    "soc_has_spi0",
3039                    "soc_has_spi1",
3040                    "soc_has_spi2",
3041                    "soc_has_system",
3042                    "soc_has_systimer",
3043                    "soc_has_tee",
3044                    "soc_has_timg0",
3045                    "soc_has_timg1",
3046                    "soc_has_trace0",
3047                    "soc_has_twai0",
3048                    "soc_has_twai1",
3049                    "soc_has_uart0",
3050                    "soc_has_uart1",
3051                    "soc_has_uhci0",
3052                    "soc_has_usb_device",
3053                    "soc_has_adc1",
3054                    "soc_has_bt",
3055                    "soc_has_flash",
3056                    "soc_has_gpio_dedicated",
3057                    "soc_has_lp_core",
3058                    "soc_has_tsens",
3059                    "soc_has_wifi",
3060                    "soc_has_from_cpu_intr0",
3061                    "soc_has_from_cpu_intr1",
3062                    "soc_has_from_cpu_intr2",
3063                    "soc_has_from_cpu_intr3",
3064                    "gpio_driver_supported",
3065                    "dedicated_gpio_driver_supported",
3066                    "io_mux_driver_supported",
3067                    "lp_io_driver_supported",
3068                    "uart_driver_supported",
3069                    "lp_uart_driver_supported",
3070                    "uhci_driver_supported",
3071                    "i2c_master_driver_supported",
3072                    "lp_i2c_master_driver_supported",
3073                    "i2c_slave_driver_supported",
3074                    "spi_master_driver_supported",
3075                    "spi_slave_driver_supported",
3076                    "i2s_driver_supported",
3077                    "parl_io_driver_supported",
3078                    "rmt_driver_supported",
3079                    "twai_driver_supported",
3080                    "usb_serial_jtag_driver_supported",
3081                    "bt_driver_supported",
3082                    "wifi_driver_supported",
3083                    "ieee802154_driver_supported",
3084                    "phy_driver_supported",
3085                    "adc_driver_supported",
3086                    "temp_sensor_driver_supported",
3087                    "ledc_driver_supported",
3088                    "mcpwm_driver_supported",
3089                    "pcnt_driver_supported",
3090                    "lp_timer_driver_supported",
3091                    "sdm_driver_supported",
3092                    "systimer_driver_supported",
3093                    "timergroup_driver_supported",
3094                    "aes_driver_supported",
3095                    "ecc_driver_supported",
3096                    "hmac_driver_supported",
3097                    "rng_driver_supported",
3098                    "rsa_driver_supported",
3099                    "sha_driver_supported",
3100                    "sleep_driver_supported",
3101                    "ulp_riscv_driver_supported",
3102                    "assist_debug_driver_supported",
3103                    "dma_driver_supported",
3104                    "etm_driver_supported",
3105                    "interrupts_driver_supported",
3106                    "mmu_driver_supported",
3107                    "rom_driver_supported",
3108                    "soc_driver_supported",
3109                    "uart_uart0",
3110                    "uart_uart1",
3111                    "i2c_master_i2c0",
3112                    "i2c_slave_i2c0",
3113                    "spi_master_spi2",
3114                    "spi_slave_spi2",
3115                    "i2s_i2s0",
3116                    "adc_adc1",
3117                    "timergroup_timg0",
3118                    "timergroup_timg1",
3119                    "gpio_version=\"2\"",
3120                    "gpio_has_input_sync",
3121                    "gpio_gpio_function=\"1\"",
3122                    "gpio_constant_0_input=\"60\"",
3123                    "gpio_constant_1_input=\"56\"",
3124                    "gpio_func_in_sel_offset=\"0\"",
3125                    "soc_has_xtal32k_pads",
3126                    "gpio_input_signal_max=\"124\"",
3127                    "gpio_output_signal_max=\"128\"",
3128                    "dedicated_gpio_version=\"riscv_v1\"",
3129                    "lp_io_version=\"v4\"",
3130                    "uart_ram_size=\"128\"",
3131                    "uart_version=\"2\"",
3132                    "uart_peripheral_controls_mem_clk",
3133                    "uart_has_sclk_enable",
3134                    "lp_uart_ram_size=\"32\"",
3135                    "i2c_master_version=\"4\"",
3136                    "i2c_master_has_fsm_timeouts",
3137                    "i2c_master_has_hw_bus_clear",
3138                    "i2c_master_has_bus_timeout_enable",
3139                    "i2c_master_can_estimate_nack_reason",
3140                    "i2c_master_has_conf_update",
3141                    "i2c_master_has_reliable_fsm_reset",
3142                    "i2c_master_has_arbitration_en",
3143                    "i2c_master_has_tx_fifo_watermark",
3144                    "i2c_master_bus_timeout_is_exponential",
3145                    "i2c_master_has_pd_en",
3146                    "i2c_master_max_bus_timeout=\"31\"",
3147                    "i2c_master_ll_intr_mask=\"262143\"",
3148                    "i2c_master_fifo_size=\"32\"",
3149                    "lp_i2c_master_version=\"lp_i2c\"",
3150                    "lp_i2c_master_fifo_size=\"16\"",
3151                    "lp_i2c_master_fifo_size_is_set",
3152                    "spi_master_version=\"3\"",
3153                    "spi_master_fifo_size=\"64\"",
3154                    "spi_master_has_app_interrupts",
3155                    "spi_master_has_dma_segmented_transfer",
3156                    "i2s_version=\"2\"",
3157                    "i2s_version_is_set",
3158                    "i2s_default_clock_source=\"2\"",
3159                    "i2s_default_clock_source_is_set",
3160                    "i2s_mclk_divider_bit_width=\"9\"",
3161                    "i2s_mclk_divider_bit_width_is_set",
3162                    "i2s_max_ws_width=\"128\"",
3163                    "i2s_max_ws_width_is_set",
3164                    "i2s_clock_configured_by_pcr",
3165                    "i2s_supports_pdm_tx",
3166                    "i2s_supports_pdm_rx",
3167                    "i2s_supports_pcm2pdm",
3168                    "parl_io_version=\"1\"",
3169                    "rmt_ram_start=\"1610638336\"",
3170                    "rmt_channel_ram_size=\"48\"",
3171                    "rmt_has_tx_immediate_stop",
3172                    "rmt_has_tx_loop_count",
3173                    "rmt_has_tx_loop_auto_stop",
3174                    "rmt_has_tx_carrier_data_only",
3175                    "rmt_has_tx_sync",
3176                    "rmt_has_rx_wrap",
3177                    "rmt_has_rx_demodulation",
3178                    "bt_controller=\"npl\"",
3179                    "wifi_has_wifi6",
3180                    "wifi_mac_version=\"2\"",
3181                    "wifi_csi_supported",
3182                    "phy_combo_module",
3183                    "ledc_version=\"3\"",
3184                    "ledc_channel_count=\"6\"",
3185                    "soc_has_sdm_ch0",
3186                    "soc_has_sdm_ch1",
3187                    "soc_has_sdm_ch2",
3188                    "soc_has_sdm_ch3",
3189                    "timergroup_timg_has_divcnt_rst",
3190                    "timergroup_rc_fast_calibration_divider",
3191                    "timergroup_rc_fast_calibration_is_set",
3192                    "aes_dma_mode_ecb",
3193                    "aes_dma_mode_cbc",
3194                    "aes_dma_mode_ofb",
3195                    "aes_dma_mode_ctr",
3196                    "aes_dma_mode_cfb8",
3197                    "aes_dma_mode_cfb128",
3198                    "aes_has_split_text_registers",
3199                    "ecc_zero_extend_writes",
3200                    "ecc_has_memory_clock_gate",
3201                    "ecc_has_curve_p192",
3202                    "ecc_has_curve_p256",
3203                    "rng_apb_cycle_wait_num=\"16\"",
3204                    "rng_trng_supported",
3205                    "rng_is_lp_sys",
3206                    "rsa_version=\"3\"",
3207                    "rsa_size_increment=\"32\"",
3208                    "rsa_memory_size_bytes=\"384\"",
3209                    "sleep_light_sleep",
3210                    "sleep_deep_sleep",
3211                    "sleep_has_wakeup_source_ext1",
3212                    "sleep_has_wakeup_source_gpio",
3213                    "sleep_has_wakeup_source_wifi_beacon",
3214                    "sleep_has_wakeup_source_timer",
3215                    "sleep_has_wakeup_source_wifi",
3216                    "sleep_has_wakeup_source_uart",
3217                    "sleep_has_wakeup_source_sdio",
3218                    "sleep_has_wakeup_source_bt",
3219                    "sleep_has_wakeup_source_lp_core",
3220                    "sleep_ext1_version=\"2\"",
3221                    "sleep_ext1_version_is_set",
3222                    "sleep_pin_wakeup_version=\"3\"",
3223                    "sleep_pin_wakeup_version_is_set",
3224                    "assist_debug_has_sp_monitor",
3225                    "assist_debug_has_region_monitor",
3226                    "dma_separate_in_out_interrupts",
3227                    "dma_gdma_version=\"1\"",
3228                    "dma_gdma_version_is_set",
3229                    "soc_has_dma_ch0",
3230                    "soc_has_dma_ch1",
3231                    "soc_has_dma_ch2",
3232                    "dma_supports_mem2mem",
3233                    "aes_supports_dma",
3234                    "aes_dma_engine=\"AHB_GDMA\"",
3235                    "sha_supports_dma",
3236                    "sha_dma_engine=\"AHB_GDMA\"",
3237                    "spi_master_supports_dma",
3238                    "spi_master_dma_engine=\"AHB_GDMA\"",
3239                    "spi_slave_supports_dma",
3240                    "spi_slave_dma_engine=\"AHB_GDMA\"",
3241                    "uhci_supports_dma",
3242                    "uhci_dma_engine=\"AHB_GDMA\"",
3243                    "i2s_supports_dma",
3244                    "i2s_dma_engine=\"AHB_GDMA\"",
3245                    "parl_io_supports_dma",
3246                    "parl_io_dma_engine=\"AHB_GDMA\"",
3247                    "dma_max_priority=\"5\"",
3248                    "dma_max_priority_is_set",
3249                    "interrupts_status_registers=\"3\"",
3250                    "interrupt_controller=\"plic\"",
3251                    "mmu_page_size=\"65536\"",
3252                    "mmu_entry_num=\"256\"",
3253                    "rom_has_crc_le",
3254                    "rom_has_crc_be",
3255                    "rom_has_md5_bsd",
3256                    "soc_cpu_has_csr_pc",
3257                    "soc_cpu_csr_prv_mode=\"3088\"",
3258                    "soc_cpu_csr_prv_mode_is_set",
3259                    "soc_has_swd_watchdog",
3260                    "soc_cpu_mcause_mask=\"31\"",
3261                    "soc_has_clock_node_xtal_clk",
3262                    "soc_clock_node_xtal_clk_is_configurable",
3263                    "soc_has_clock_node_pll_clk",
3264                    "soc_has_clock_node_rc_fast_clk",
3265                    "soc_has_clock_node_xtal32k_clk",
3266                    "soc_has_clock_node_osc_slow_clk",
3267                    "soc_has_clock_node_rc_slow_clk",
3268                    "soc_has_clock_node_soc_root_clk",
3269                    "soc_clock_node_soc_root_clk_is_configurable",
3270                    "soc_has_clock_node_hp_root_clk",
3271                    "soc_clock_node_hp_root_clk_is_configurable",
3272                    "soc_has_clock_node_cpu_hs_div",
3273                    "soc_clock_node_cpu_hs_div_is_configurable",
3274                    "soc_has_clock_node_cpu_ls_div",
3275                    "soc_clock_node_cpu_ls_div_is_configurable",
3276                    "soc_has_clock_node_cpu_clk",
3277                    "soc_clock_node_cpu_clk_is_configurable",
3278                    "soc_has_clock_node_ahb_hs_div",
3279                    "soc_clock_node_ahb_hs_div_is_configurable",
3280                    "soc_has_clock_node_ahb_ls_div",
3281                    "soc_clock_node_ahb_ls_div_is_configurable",
3282                    "soc_has_clock_node_ahb_clk",
3283                    "soc_clock_node_ahb_clk_is_configurable",
3284                    "soc_has_clock_node_apb_clk",
3285                    "soc_clock_node_apb_clk_is_configurable",
3286                    "soc_has_clock_node_mspi_fast_hs_clk",
3287                    "soc_clock_node_mspi_fast_hs_clk_is_configurable",
3288                    "soc_has_clock_node_mspi_fast_ls_clk",
3289                    "soc_clock_node_mspi_fast_ls_clk_is_configurable",
3290                    "soc_has_clock_node_mspi_fast_clk",
3291                    "soc_clock_node_mspi_fast_clk_is_configurable",
3292                    "soc_has_clock_node_pll_f48m",
3293                    "soc_has_clock_node_pll_f80m",
3294                    "soc_has_clock_node_pll_f160m",
3295                    "soc_has_clock_node_pll_f240m",
3296                    "soc_has_clock_node_iomux_function_clock",
3297                    "soc_clock_node_iomux_function_clock_is_configurable",
3298                    "soc_has_clock_node_ledc_sclk",
3299                    "soc_clock_node_ledc_sclk_is_configurable",
3300                    "soc_has_clock_node_xtal_d2_clk",
3301                    "soc_has_clock_node_lp_fast_clk",
3302                    "soc_clock_node_lp_fast_clk_is_configurable",
3303                    "soc_has_clock_node_lp_slow_clk",
3304                    "soc_clock_node_lp_slow_clk_is_configurable",
3305                    "soc_has_clock_node_timg_calibration_clock",
3306                    "soc_clock_node_timg_calibration_clock_is_configurable",
3307                    "soc_has_clock_node_uart_function_clock",
3308                    "soc_clock_node_uart_function_clock_is_configurable",
3309                    "soc_has_clock_node_uart_baud_rate_generator",
3310                    "soc_clock_node_uart_baud_rate_generator_is_configurable",
3311                    "soc_has_clock_node_sdm_function_clock",
3312                    "soc_has_clock_node_rmt_sclk",
3313                    "soc_clock_node_rmt_sclk_is_configurable",
3314                    "soc_has_clock_node_timg_function_clock",
3315                    "soc_clock_node_timg_function_clock_is_configurable",
3316                    "soc_has_clock_node_timg_wdt_clock",
3317                    "soc_clock_node_timg_wdt_clock_is_configurable",
3318                    "soc_has_clock_node_mcpwm_function_clock",
3319                    "soc_clock_node_mcpwm_function_clock_is_configurable",
3320                    "soc_has_clock_node_parl_io_rx_clock",
3321                    "soc_clock_node_parl_io_rx_clock_is_configurable",
3322                    "soc_has_clock_node_parl_io_tx_clock",
3323                    "soc_clock_node_parl_io_tx_clock_is_configurable",
3324                    "soc_has_clock_node_i2c_function_clock",
3325                    "soc_clock_node_i2c_function_clock_is_configurable",
3326                    "soc_has_clock_node_spi_function_clock",
3327                    "soc_clock_node_spi_function_clock_is_configurable",
3328                    "has_dram_region",
3329                    "has_dram2_uninit_region",
3330                    "has_irom_region",
3331                    "has_drom_region",
3332                ],
3333                cfgs: &[
3334                    "cargo:rustc-cfg=esp32c6",
3335                    "cargo:rustc-cfg=riscv",
3336                    "cargo:rustc-cfg=single_core",
3337                    "cargo:rustc-cfg=soc_has_aes",
3338                    "cargo:rustc-cfg=soc_has_apb_saradc",
3339                    "cargo:rustc-cfg=soc_has_assist_debug",
3340                    "cargo:rustc-cfg=soc_has_atomic",
3341                    "cargo:rustc-cfg=soc_has_dma",
3342                    "cargo:rustc-cfg=soc_has_ds",
3343                    "cargo:rustc-cfg=soc_has_ecc",
3344                    "cargo:rustc-cfg=soc_has_efuse",
3345                    "cargo:rustc-cfg=soc_has_extmem",
3346                    "cargo:rustc-cfg=soc_has_gpio",
3347                    "cargo:rustc-cfg=soc_has_gpio_sd",
3348                    "cargo:rustc-cfg=soc_has_hinf",
3349                    "cargo:rustc-cfg=soc_has_hmac",
3350                    "cargo:rustc-cfg=soc_has_hp_apm",
3351                    "cargo:rustc-cfg=soc_has_hp_sys",
3352                    "cargo:rustc-cfg=soc_has_i2c_ana_mst",
3353                    "cargo:rustc-cfg=soc_has_i2c0",
3354                    "cargo:rustc-cfg=soc_has_i2s0",
3355                    "cargo:rustc-cfg=soc_has_ieee802154",
3356                    "cargo:rustc-cfg=soc_has_interrupt_core0",
3357                    "cargo:rustc-cfg=soc_has_intpri",
3358                    "cargo:rustc-cfg=soc_has_io_mux",
3359                    "cargo:rustc-cfg=soc_has_ledc",
3360                    "cargo:rustc-cfg=soc_has_lp_ana",
3361                    "cargo:rustc-cfg=soc_has_lp_aon",
3362                    "cargo:rustc-cfg=soc_has_lp_apm",
3363                    "cargo:rustc-cfg=soc_has_lp_apm0",
3364                    "cargo:rustc-cfg=soc_has_lp_clkrst",
3365                    "cargo:rustc-cfg=soc_has_lp_i2c0",
3366                    "cargo:rustc-cfg=soc_has_lp_i2c_ana_mst",
3367                    "cargo:rustc-cfg=soc_has_lp_io",
3368                    "cargo:rustc-cfg=soc_has_lp_peri",
3369                    "cargo:rustc-cfg=soc_has_lp_tee",
3370                    "cargo:rustc-cfg=soc_has_rtc_timer",
3371                    "cargo:rustc-cfg=soc_has_lp_uart",
3372                    "cargo:rustc-cfg=soc_has_lp_wdt",
3373                    "cargo:rustc-cfg=soc_has_lpwr",
3374                    "cargo:rustc-cfg=soc_has_mcpwm0",
3375                    "cargo:rustc-cfg=soc_has_mem_monitor",
3376                    "cargo:rustc-cfg=soc_has_modem_lpcon",
3377                    "cargo:rustc-cfg=soc_has_modem_syscon",
3378                    "cargo:rustc-cfg=soc_has_otp_debug",
3379                    "cargo:rustc-cfg=soc_has_parl_io",
3380                    "cargo:rustc-cfg=soc_has_pau",
3381                    "cargo:rustc-cfg=soc_has_pcnt",
3382                    "cargo:rustc-cfg=soc_has_pcr",
3383                    "cargo:rustc-cfg=soc_has_plic_mx",
3384                    "cargo:rustc-cfg=soc_has_pmu",
3385                    "cargo:rustc-cfg=soc_has_rmt",
3386                    "cargo:rustc-cfg=soc_has_rng",
3387                    "cargo:rustc-cfg=soc_has_rsa",
3388                    "cargo:rustc-cfg=soc_has_sha",
3389                    "cargo:rustc-cfg=soc_has_slchost",
3390                    "cargo:rustc-cfg=soc_has_etm",
3391                    "cargo:rustc-cfg=soc_has_spi0",
3392                    "cargo:rustc-cfg=soc_has_spi1",
3393                    "cargo:rustc-cfg=soc_has_spi2",
3394                    "cargo:rustc-cfg=soc_has_system",
3395                    "cargo:rustc-cfg=soc_has_systimer",
3396                    "cargo:rustc-cfg=soc_has_tee",
3397                    "cargo:rustc-cfg=soc_has_timg0",
3398                    "cargo:rustc-cfg=soc_has_timg1",
3399                    "cargo:rustc-cfg=soc_has_trace0",
3400                    "cargo:rustc-cfg=soc_has_twai0",
3401                    "cargo:rustc-cfg=soc_has_twai1",
3402                    "cargo:rustc-cfg=soc_has_uart0",
3403                    "cargo:rustc-cfg=soc_has_uart1",
3404                    "cargo:rustc-cfg=soc_has_uhci0",
3405                    "cargo:rustc-cfg=soc_has_usb_device",
3406                    "cargo:rustc-cfg=soc_has_adc1",
3407                    "cargo:rustc-cfg=soc_has_bt",
3408                    "cargo:rustc-cfg=soc_has_flash",
3409                    "cargo:rustc-cfg=soc_has_gpio_dedicated",
3410                    "cargo:rustc-cfg=soc_has_lp_core",
3411                    "cargo:rustc-cfg=soc_has_tsens",
3412                    "cargo:rustc-cfg=soc_has_wifi",
3413                    "cargo:rustc-cfg=soc_has_from_cpu_intr0",
3414                    "cargo:rustc-cfg=soc_has_from_cpu_intr1",
3415                    "cargo:rustc-cfg=soc_has_from_cpu_intr2",
3416                    "cargo:rustc-cfg=soc_has_from_cpu_intr3",
3417                    "cargo:rustc-cfg=gpio_driver_supported",
3418                    "cargo:rustc-cfg=dedicated_gpio_driver_supported",
3419                    "cargo:rustc-cfg=io_mux_driver_supported",
3420                    "cargo:rustc-cfg=lp_io_driver_supported",
3421                    "cargo:rustc-cfg=uart_driver_supported",
3422                    "cargo:rustc-cfg=lp_uart_driver_supported",
3423                    "cargo:rustc-cfg=uhci_driver_supported",
3424                    "cargo:rustc-cfg=i2c_master_driver_supported",
3425                    "cargo:rustc-cfg=lp_i2c_master_driver_supported",
3426                    "cargo:rustc-cfg=i2c_slave_driver_supported",
3427                    "cargo:rustc-cfg=spi_master_driver_supported",
3428                    "cargo:rustc-cfg=spi_slave_driver_supported",
3429                    "cargo:rustc-cfg=i2s_driver_supported",
3430                    "cargo:rustc-cfg=parl_io_driver_supported",
3431                    "cargo:rustc-cfg=rmt_driver_supported",
3432                    "cargo:rustc-cfg=twai_driver_supported",
3433                    "cargo:rustc-cfg=usb_serial_jtag_driver_supported",
3434                    "cargo:rustc-cfg=bt_driver_supported",
3435                    "cargo:rustc-cfg=wifi_driver_supported",
3436                    "cargo:rustc-cfg=ieee802154_driver_supported",
3437                    "cargo:rustc-cfg=phy_driver_supported",
3438                    "cargo:rustc-cfg=adc_driver_supported",
3439                    "cargo:rustc-cfg=temp_sensor_driver_supported",
3440                    "cargo:rustc-cfg=ledc_driver_supported",
3441                    "cargo:rustc-cfg=mcpwm_driver_supported",
3442                    "cargo:rustc-cfg=pcnt_driver_supported",
3443                    "cargo:rustc-cfg=lp_timer_driver_supported",
3444                    "cargo:rustc-cfg=sdm_driver_supported",
3445                    "cargo:rustc-cfg=systimer_driver_supported",
3446                    "cargo:rustc-cfg=timergroup_driver_supported",
3447                    "cargo:rustc-cfg=aes_driver_supported",
3448                    "cargo:rustc-cfg=ecc_driver_supported",
3449                    "cargo:rustc-cfg=hmac_driver_supported",
3450                    "cargo:rustc-cfg=rng_driver_supported",
3451                    "cargo:rustc-cfg=rsa_driver_supported",
3452                    "cargo:rustc-cfg=sha_driver_supported",
3453                    "cargo:rustc-cfg=sleep_driver_supported",
3454                    "cargo:rustc-cfg=ulp_riscv_driver_supported",
3455                    "cargo:rustc-cfg=assist_debug_driver_supported",
3456                    "cargo:rustc-cfg=dma_driver_supported",
3457                    "cargo:rustc-cfg=etm_driver_supported",
3458                    "cargo:rustc-cfg=interrupts_driver_supported",
3459                    "cargo:rustc-cfg=mmu_driver_supported",
3460                    "cargo:rustc-cfg=rom_driver_supported",
3461                    "cargo:rustc-cfg=soc_driver_supported",
3462                    "cargo:rustc-cfg=uart_uart0",
3463                    "cargo:rustc-cfg=uart_uart1",
3464                    "cargo:rustc-cfg=i2c_master_i2c0",
3465                    "cargo:rustc-cfg=i2c_slave_i2c0",
3466                    "cargo:rustc-cfg=spi_master_spi2",
3467                    "cargo:rustc-cfg=spi_slave_spi2",
3468                    "cargo:rustc-cfg=i2s_i2s0",
3469                    "cargo:rustc-cfg=adc_adc1",
3470                    "cargo:rustc-cfg=timergroup_timg0",
3471                    "cargo:rustc-cfg=timergroup_timg1",
3472                    "cargo:rustc-cfg=gpio_version=\"2\"",
3473                    "cargo:rustc-cfg=gpio_has_input_sync",
3474                    "cargo:rustc-cfg=gpio_gpio_function=\"1\"",
3475                    "cargo:rustc-cfg=gpio_constant_0_input=\"60\"",
3476                    "cargo:rustc-cfg=gpio_constant_1_input=\"56\"",
3477                    "cargo:rustc-cfg=gpio_func_in_sel_offset=\"0\"",
3478                    "cargo:rustc-cfg=soc_has_xtal32k_pads",
3479                    "cargo:rustc-cfg=gpio_input_signal_max=\"124\"",
3480                    "cargo:rustc-cfg=gpio_output_signal_max=\"128\"",
3481                    "cargo:rustc-cfg=dedicated_gpio_version=\"riscv_v1\"",
3482                    "cargo:rustc-cfg=lp_io_version=\"v4\"",
3483                    "cargo:rustc-cfg=uart_ram_size=\"128\"",
3484                    "cargo:rustc-cfg=uart_version=\"2\"",
3485                    "cargo:rustc-cfg=uart_peripheral_controls_mem_clk",
3486                    "cargo:rustc-cfg=uart_has_sclk_enable",
3487                    "cargo:rustc-cfg=lp_uart_ram_size=\"32\"",
3488                    "cargo:rustc-cfg=i2c_master_version=\"4\"",
3489                    "cargo:rustc-cfg=i2c_master_has_fsm_timeouts",
3490                    "cargo:rustc-cfg=i2c_master_has_hw_bus_clear",
3491                    "cargo:rustc-cfg=i2c_master_has_bus_timeout_enable",
3492                    "cargo:rustc-cfg=i2c_master_can_estimate_nack_reason",
3493                    "cargo:rustc-cfg=i2c_master_has_conf_update",
3494                    "cargo:rustc-cfg=i2c_master_has_reliable_fsm_reset",
3495                    "cargo:rustc-cfg=i2c_master_has_arbitration_en",
3496                    "cargo:rustc-cfg=i2c_master_has_tx_fifo_watermark",
3497                    "cargo:rustc-cfg=i2c_master_bus_timeout_is_exponential",
3498                    "cargo:rustc-cfg=i2c_master_has_pd_en",
3499                    "cargo:rustc-cfg=i2c_master_max_bus_timeout=\"31\"",
3500                    "cargo:rustc-cfg=i2c_master_ll_intr_mask=\"262143\"",
3501                    "cargo:rustc-cfg=i2c_master_fifo_size=\"32\"",
3502                    "cargo:rustc-cfg=lp_i2c_master_version=\"lp_i2c\"",
3503                    "cargo:rustc-cfg=lp_i2c_master_fifo_size=\"16\"",
3504                    "cargo:rustc-cfg=lp_i2c_master_fifo_size_is_set",
3505                    "cargo:rustc-cfg=spi_master_version=\"3\"",
3506                    "cargo:rustc-cfg=spi_master_fifo_size=\"64\"",
3507                    "cargo:rustc-cfg=spi_master_has_app_interrupts",
3508                    "cargo:rustc-cfg=spi_master_has_dma_segmented_transfer",
3509                    "cargo:rustc-cfg=i2s_version=\"2\"",
3510                    "cargo:rustc-cfg=i2s_version_is_set",
3511                    "cargo:rustc-cfg=i2s_default_clock_source=\"2\"",
3512                    "cargo:rustc-cfg=i2s_default_clock_source_is_set",
3513                    "cargo:rustc-cfg=i2s_mclk_divider_bit_width=\"9\"",
3514                    "cargo:rustc-cfg=i2s_mclk_divider_bit_width_is_set",
3515                    "cargo:rustc-cfg=i2s_max_ws_width=\"128\"",
3516                    "cargo:rustc-cfg=i2s_max_ws_width_is_set",
3517                    "cargo:rustc-cfg=i2s_clock_configured_by_pcr",
3518                    "cargo:rustc-cfg=i2s_supports_pdm_tx",
3519                    "cargo:rustc-cfg=i2s_supports_pdm_rx",
3520                    "cargo:rustc-cfg=i2s_supports_pcm2pdm",
3521                    "cargo:rustc-cfg=parl_io_version=\"1\"",
3522                    "cargo:rustc-cfg=rmt_ram_start=\"1610638336\"",
3523                    "cargo:rustc-cfg=rmt_channel_ram_size=\"48\"",
3524                    "cargo:rustc-cfg=rmt_has_tx_immediate_stop",
3525                    "cargo:rustc-cfg=rmt_has_tx_loop_count",
3526                    "cargo:rustc-cfg=rmt_has_tx_loop_auto_stop",
3527                    "cargo:rustc-cfg=rmt_has_tx_carrier_data_only",
3528                    "cargo:rustc-cfg=rmt_has_tx_sync",
3529                    "cargo:rustc-cfg=rmt_has_rx_wrap",
3530                    "cargo:rustc-cfg=rmt_has_rx_demodulation",
3531                    "cargo:rustc-cfg=bt_controller=\"npl\"",
3532                    "cargo:rustc-cfg=wifi_has_wifi6",
3533                    "cargo:rustc-cfg=wifi_mac_version=\"2\"",
3534                    "cargo:rustc-cfg=wifi_csi_supported",
3535                    "cargo:rustc-cfg=phy_combo_module",
3536                    "cargo:rustc-cfg=ledc_version=\"3\"",
3537                    "cargo:rustc-cfg=ledc_channel_count=\"6\"",
3538                    "cargo:rustc-cfg=soc_has_sdm_ch0",
3539                    "cargo:rustc-cfg=soc_has_sdm_ch1",
3540                    "cargo:rustc-cfg=soc_has_sdm_ch2",
3541                    "cargo:rustc-cfg=soc_has_sdm_ch3",
3542                    "cargo:rustc-cfg=timergroup_timg_has_divcnt_rst",
3543                    "cargo:rustc-cfg=timergroup_rc_fast_calibration_divider",
3544                    "cargo:rustc-cfg=timergroup_rc_fast_calibration_is_set",
3545                    "cargo:rustc-cfg=aes_dma_mode_ecb",
3546                    "cargo:rustc-cfg=aes_dma_mode_cbc",
3547                    "cargo:rustc-cfg=aes_dma_mode_ofb",
3548                    "cargo:rustc-cfg=aes_dma_mode_ctr",
3549                    "cargo:rustc-cfg=aes_dma_mode_cfb8",
3550                    "cargo:rustc-cfg=aes_dma_mode_cfb128",
3551                    "cargo:rustc-cfg=aes_has_split_text_registers",
3552                    "cargo:rustc-cfg=ecc_zero_extend_writes",
3553                    "cargo:rustc-cfg=ecc_has_memory_clock_gate",
3554                    "cargo:rustc-cfg=ecc_has_curve_p192",
3555                    "cargo:rustc-cfg=ecc_has_curve_p256",
3556                    "cargo:rustc-cfg=rng_apb_cycle_wait_num=\"16\"",
3557                    "cargo:rustc-cfg=rng_trng_supported",
3558                    "cargo:rustc-cfg=rng_is_lp_sys",
3559                    "cargo:rustc-cfg=rsa_version=\"3\"",
3560                    "cargo:rustc-cfg=rsa_size_increment=\"32\"",
3561                    "cargo:rustc-cfg=rsa_memory_size_bytes=\"384\"",
3562                    "cargo:rustc-cfg=sleep_light_sleep",
3563                    "cargo:rustc-cfg=sleep_deep_sleep",
3564                    "cargo:rustc-cfg=sleep_has_wakeup_source_ext1",
3565                    "cargo:rustc-cfg=sleep_has_wakeup_source_gpio",
3566                    "cargo:rustc-cfg=sleep_has_wakeup_source_wifi_beacon",
3567                    "cargo:rustc-cfg=sleep_has_wakeup_source_timer",
3568                    "cargo:rustc-cfg=sleep_has_wakeup_source_wifi",
3569                    "cargo:rustc-cfg=sleep_has_wakeup_source_uart",
3570                    "cargo:rustc-cfg=sleep_has_wakeup_source_sdio",
3571                    "cargo:rustc-cfg=sleep_has_wakeup_source_bt",
3572                    "cargo:rustc-cfg=sleep_has_wakeup_source_lp_core",
3573                    "cargo:rustc-cfg=sleep_ext1_version=\"2\"",
3574                    "cargo:rustc-cfg=sleep_ext1_version_is_set",
3575                    "cargo:rustc-cfg=sleep_pin_wakeup_version=\"3\"",
3576                    "cargo:rustc-cfg=sleep_pin_wakeup_version_is_set",
3577                    "cargo:rustc-cfg=assist_debug_has_sp_monitor",
3578                    "cargo:rustc-cfg=assist_debug_has_region_monitor",
3579                    "cargo:rustc-cfg=dma_separate_in_out_interrupts",
3580                    "cargo:rustc-cfg=dma_gdma_version=\"1\"",
3581                    "cargo:rustc-cfg=dma_gdma_version_is_set",
3582                    "cargo:rustc-cfg=soc_has_dma_ch0",
3583                    "cargo:rustc-cfg=soc_has_dma_ch1",
3584                    "cargo:rustc-cfg=soc_has_dma_ch2",
3585                    "cargo:rustc-cfg=dma_supports_mem2mem",
3586                    "cargo:rustc-cfg=aes_supports_dma",
3587                    "cargo:rustc-cfg=aes_dma_engine=\"AHB_GDMA\"",
3588                    "cargo:rustc-cfg=sha_supports_dma",
3589                    "cargo:rustc-cfg=sha_dma_engine=\"AHB_GDMA\"",
3590                    "cargo:rustc-cfg=spi_master_supports_dma",
3591                    "cargo:rustc-cfg=spi_master_dma_engine=\"AHB_GDMA\"",
3592                    "cargo:rustc-cfg=spi_slave_supports_dma",
3593                    "cargo:rustc-cfg=spi_slave_dma_engine=\"AHB_GDMA\"",
3594                    "cargo:rustc-cfg=uhci_supports_dma",
3595                    "cargo:rustc-cfg=uhci_dma_engine=\"AHB_GDMA\"",
3596                    "cargo:rustc-cfg=i2s_supports_dma",
3597                    "cargo:rustc-cfg=i2s_dma_engine=\"AHB_GDMA\"",
3598                    "cargo:rustc-cfg=parl_io_supports_dma",
3599                    "cargo:rustc-cfg=parl_io_dma_engine=\"AHB_GDMA\"",
3600                    "cargo:rustc-cfg=dma_max_priority=\"5\"",
3601                    "cargo:rustc-cfg=dma_max_priority_is_set",
3602                    "cargo:rustc-cfg=interrupts_status_registers=\"3\"",
3603                    "cargo:rustc-cfg=interrupt_controller=\"plic\"",
3604                    "cargo:rustc-cfg=mmu_page_size=\"65536\"",
3605                    "cargo:rustc-cfg=mmu_entry_num=\"256\"",
3606                    "cargo:rustc-cfg=rom_has_crc_le",
3607                    "cargo:rustc-cfg=rom_has_crc_be",
3608                    "cargo:rustc-cfg=rom_has_md5_bsd",
3609                    "cargo:rustc-cfg=soc_cpu_has_csr_pc",
3610                    "cargo:rustc-cfg=soc_cpu_csr_prv_mode=\"3088\"",
3611                    "cargo:rustc-cfg=soc_cpu_csr_prv_mode_is_set",
3612                    "cargo:rustc-cfg=soc_has_swd_watchdog",
3613                    "cargo:rustc-cfg=soc_cpu_mcause_mask=\"31\"",
3614                    "cargo:rustc-cfg=soc_has_clock_node_xtal_clk",
3615                    "cargo:rustc-cfg=soc_clock_node_xtal_clk_is_configurable",
3616                    "cargo:rustc-cfg=soc_has_clock_node_pll_clk",
3617                    "cargo:rustc-cfg=soc_has_clock_node_rc_fast_clk",
3618                    "cargo:rustc-cfg=soc_has_clock_node_xtal32k_clk",
3619                    "cargo:rustc-cfg=soc_has_clock_node_osc_slow_clk",
3620                    "cargo:rustc-cfg=soc_has_clock_node_rc_slow_clk",
3621                    "cargo:rustc-cfg=soc_has_clock_node_soc_root_clk",
3622                    "cargo:rustc-cfg=soc_clock_node_soc_root_clk_is_configurable",
3623                    "cargo:rustc-cfg=soc_has_clock_node_hp_root_clk",
3624                    "cargo:rustc-cfg=soc_clock_node_hp_root_clk_is_configurable",
3625                    "cargo:rustc-cfg=soc_has_clock_node_cpu_hs_div",
3626                    "cargo:rustc-cfg=soc_clock_node_cpu_hs_div_is_configurable",
3627                    "cargo:rustc-cfg=soc_has_clock_node_cpu_ls_div",
3628                    "cargo:rustc-cfg=soc_clock_node_cpu_ls_div_is_configurable",
3629                    "cargo:rustc-cfg=soc_has_clock_node_cpu_clk",
3630                    "cargo:rustc-cfg=soc_clock_node_cpu_clk_is_configurable",
3631                    "cargo:rustc-cfg=soc_has_clock_node_ahb_hs_div",
3632                    "cargo:rustc-cfg=soc_clock_node_ahb_hs_div_is_configurable",
3633                    "cargo:rustc-cfg=soc_has_clock_node_ahb_ls_div",
3634                    "cargo:rustc-cfg=soc_clock_node_ahb_ls_div_is_configurable",
3635                    "cargo:rustc-cfg=soc_has_clock_node_ahb_clk",
3636                    "cargo:rustc-cfg=soc_clock_node_ahb_clk_is_configurable",
3637                    "cargo:rustc-cfg=soc_has_clock_node_apb_clk",
3638                    "cargo:rustc-cfg=soc_clock_node_apb_clk_is_configurable",
3639                    "cargo:rustc-cfg=soc_has_clock_node_mspi_fast_hs_clk",
3640                    "cargo:rustc-cfg=soc_clock_node_mspi_fast_hs_clk_is_configurable",
3641                    "cargo:rustc-cfg=soc_has_clock_node_mspi_fast_ls_clk",
3642                    "cargo:rustc-cfg=soc_clock_node_mspi_fast_ls_clk_is_configurable",
3643                    "cargo:rustc-cfg=soc_has_clock_node_mspi_fast_clk",
3644                    "cargo:rustc-cfg=soc_clock_node_mspi_fast_clk_is_configurable",
3645                    "cargo:rustc-cfg=soc_has_clock_node_pll_f48m",
3646                    "cargo:rustc-cfg=soc_has_clock_node_pll_f80m",
3647                    "cargo:rustc-cfg=soc_has_clock_node_pll_f160m",
3648                    "cargo:rustc-cfg=soc_has_clock_node_pll_f240m",
3649                    "cargo:rustc-cfg=soc_has_clock_node_iomux_function_clock",
3650                    "cargo:rustc-cfg=soc_clock_node_iomux_function_clock_is_configurable",
3651                    "cargo:rustc-cfg=soc_has_clock_node_ledc_sclk",
3652                    "cargo:rustc-cfg=soc_clock_node_ledc_sclk_is_configurable",
3653                    "cargo:rustc-cfg=soc_has_clock_node_xtal_d2_clk",
3654                    "cargo:rustc-cfg=soc_has_clock_node_lp_fast_clk",
3655                    "cargo:rustc-cfg=soc_clock_node_lp_fast_clk_is_configurable",
3656                    "cargo:rustc-cfg=soc_has_clock_node_lp_slow_clk",
3657                    "cargo:rustc-cfg=soc_clock_node_lp_slow_clk_is_configurable",
3658                    "cargo:rustc-cfg=soc_has_clock_node_timg_calibration_clock",
3659                    "cargo:rustc-cfg=soc_clock_node_timg_calibration_clock_is_configurable",
3660                    "cargo:rustc-cfg=soc_has_clock_node_uart_function_clock",
3661                    "cargo:rustc-cfg=soc_clock_node_uart_function_clock_is_configurable",
3662                    "cargo:rustc-cfg=soc_has_clock_node_uart_baud_rate_generator",
3663                    "cargo:rustc-cfg=soc_clock_node_uart_baud_rate_generator_is_configurable",
3664                    "cargo:rustc-cfg=soc_has_clock_node_sdm_function_clock",
3665                    "cargo:rustc-cfg=soc_has_clock_node_rmt_sclk",
3666                    "cargo:rustc-cfg=soc_clock_node_rmt_sclk_is_configurable",
3667                    "cargo:rustc-cfg=soc_has_clock_node_timg_function_clock",
3668                    "cargo:rustc-cfg=soc_clock_node_timg_function_clock_is_configurable",
3669                    "cargo:rustc-cfg=soc_has_clock_node_timg_wdt_clock",
3670                    "cargo:rustc-cfg=soc_clock_node_timg_wdt_clock_is_configurable",
3671                    "cargo:rustc-cfg=soc_has_clock_node_mcpwm_function_clock",
3672                    "cargo:rustc-cfg=soc_clock_node_mcpwm_function_clock_is_configurable",
3673                    "cargo:rustc-cfg=soc_has_clock_node_parl_io_rx_clock",
3674                    "cargo:rustc-cfg=soc_clock_node_parl_io_rx_clock_is_configurable",
3675                    "cargo:rustc-cfg=soc_has_clock_node_parl_io_tx_clock",
3676                    "cargo:rustc-cfg=soc_clock_node_parl_io_tx_clock_is_configurable",
3677                    "cargo:rustc-cfg=soc_has_clock_node_i2c_function_clock",
3678                    "cargo:rustc-cfg=soc_clock_node_i2c_function_clock_is_configurable",
3679                    "cargo:rustc-cfg=soc_has_clock_node_spi_function_clock",
3680                    "cargo:rustc-cfg=soc_clock_node_spi_function_clock_is_configurable",
3681                    "cargo:rustc-cfg=has_dram_region",
3682                    "cargo:rustc-cfg=has_dram2_uninit_region",
3683                    "cargo:rustc-cfg=has_irom_region",
3684                    "cargo:rustc-cfg=has_drom_region",
3685                ],
3686                memory_layout: &MemoryLayout {
3687                    regions: &[
3688                        (
3689                            "dram",
3690                            MemoryRegion {
3691                                address_range: 0x40800000..0x40880000,
3692                            },
3693                        ),
3694                        (
3695                            "dram2_uninit",
3696                            MemoryRegion {
3697                                address_range: 0x4086E610..0x4087E610,
3698                            },
3699                        ),
3700                        (
3701                            "irom",
3702                            MemoryRegion {
3703                                address_range: 0x42000000..0x43000000,
3704                            },
3705                        ),
3706                        (
3707                            "drom",
3708                            MemoryRegion {
3709                                address_range: 0x42000000..0x43000000,
3710                            },
3711                        ),
3712                    ],
3713                },
3714                pins: &[
3715                    PinInfo {
3716                        pin: 0,
3717                        limitations: &[],
3718                    },
3719                    PinInfo {
3720                        pin: 1,
3721                        limitations: &[],
3722                    },
3723                    PinInfo {
3724                        pin: 2,
3725                        limitations: &[],
3726                    },
3727                    PinInfo {
3728                        pin: 3,
3729                        limitations: &[],
3730                    },
3731                    PinInfo {
3732                        pin: 4,
3733                        limitations: &["strapping", "jtag"],
3734                    },
3735                    PinInfo {
3736                        pin: 5,
3737                        limitations: &["strapping", "jtag"],
3738                    },
3739                    PinInfo {
3740                        pin: 6,
3741                        limitations: &["jtag"],
3742                    },
3743                    PinInfo {
3744                        pin: 7,
3745                        limitations: &["jtag"],
3746                    },
3747                    PinInfo {
3748                        pin: 8,
3749                        limitations: &["strapping"],
3750                    },
3751                    PinInfo {
3752                        pin: 9,
3753                        limitations: &["strapping"],
3754                    },
3755                    PinInfo {
3756                        pin: 10,
3757                        limitations: &[],
3758                    },
3759                    PinInfo {
3760                        pin: 11,
3761                        limitations: &[],
3762                    },
3763                    PinInfo {
3764                        pin: 12,
3765                        limitations: &["usb_jtag"],
3766                    },
3767                    PinInfo {
3768                        pin: 13,
3769                        limitations: &["usb_jtag"],
3770                    },
3771                    PinInfo {
3772                        pin: 14,
3773                        limitations: &[],
3774                    },
3775                    PinInfo {
3776                        pin: 15,
3777                        limitations: &["strapping"],
3778                    },
3779                    PinInfo {
3780                        pin: 16,
3781                        limitations: &["bootloader_uart"],
3782                    },
3783                    PinInfo {
3784                        pin: 17,
3785                        limitations: &["bootloader_uart"],
3786                    },
3787                    PinInfo {
3788                        pin: 18,
3789                        limitations: &[],
3790                    },
3791                    PinInfo {
3792                        pin: 19,
3793                        limitations: &[],
3794                    },
3795                    PinInfo {
3796                        pin: 20,
3797                        limitations: &[],
3798                    },
3799                    PinInfo {
3800                        pin: 21,
3801                        limitations: &[],
3802                    },
3803                    PinInfo {
3804                        pin: 22,
3805                        limitations: &[],
3806                    },
3807                    PinInfo {
3808                        pin: 23,
3809                        limitations: &[],
3810                    },
3811                    PinInfo {
3812                        pin: 24,
3813                        limitations: &["spi_flash"],
3814                    },
3815                    PinInfo {
3816                        pin: 25,
3817                        limitations: &["spi_flash"],
3818                    },
3819                    PinInfo {
3820                        pin: 26,
3821                        limitations: &["spi_flash"],
3822                    },
3823                    PinInfo {
3824                        pin: 27,
3825                        limitations: &["spi_flash"],
3826                    },
3827                    PinInfo {
3828                        pin: 28,
3829                        limitations: &["spi_flash"],
3830                    },
3831                    PinInfo {
3832                        pin: 29,
3833                        limitations: &["spi_flash"],
3834                    },
3835                    PinInfo {
3836                        pin: 30,
3837                        limitations: &["spi_flash"],
3838                    },
3839                ],
3840            },
3841            Self::Esp32c61 => Config {
3842                architecture: "riscv",
3843                target: "riscv32imac-unknown-none-elf",
3844                symbols: &[
3845                    "esp32c61",
3846                    "riscv",
3847                    "single_core",
3848                    "soc_has_apb_saradc",
3849                    "soc_has_assist_debug",
3850                    "soc_has_clint",
3851                    "soc_has_cache",
3852                    "soc_has_dma",
3853                    "soc_has_ecc",
3854                    "soc_has_ecdsa",
3855                    "soc_has_efuse",
3856                    "soc_has_etm",
3857                    "soc_has_gpio",
3858                    "soc_has_gpio_sd",
3859                    "soc_has_hp_apm",
3860                    "soc_has_hp_sys",
3861                    "soc_has_i2c_ana_mst",
3862                    "soc_has_i2c0",
3863                    "soc_has_i2s0",
3864                    "soc_has_interrupt_core0",
3865                    "soc_has_intpri",
3866                    "soc_has_io_mux",
3867                    "soc_has_lp_ana",
3868                    "soc_has_lp_aon",
3869                    "soc_has_lp_apm",
3870                    "soc_has_lp_clkrst",
3871                    "soc_has_lpwr",
3872                    "soc_has_lp_gpio",
3873                    "soc_has_lp_io_mux",
3874                    "soc_has_lp_peri",
3875                    "soc_has_lp_tee",
3876                    "soc_has_rtc_timer",
3877                    "soc_has_lp_wdt",
3878                    "soc_has_mem_monitor",
3879                    "soc_has_modem_lpcon",
3880                    "soc_has_modem_syscon",
3881                    "soc_has_pau",
3882                    "soc_has_pcr",
3883                    "soc_has_pmu",
3884                    "soc_has_rng",
3885                    "soc_has_sha",
3886                    "soc_has_slc",
3887                    "soc_has_spi0",
3888                    "soc_has_spi1",
3889                    "soc_has_spi2",
3890                    "soc_has_system",
3891                    "soc_has_systimer",
3892                    "soc_has_tee",
3893                    "soc_has_timg0",
3894                    "soc_has_timg1",
3895                    "soc_has_uart0",
3896                    "soc_has_uart1",
3897                    "soc_has_uart2",
3898                    "soc_has_usb_device",
3899                    "soc_has_adc1",
3900                    "soc_has_bt",
3901                    "soc_has_flash",
3902                    "soc_has_gpio_dedicated",
3903                    "soc_has_wifi",
3904                    "soc_has_psram",
3905                    "soc_has_from_cpu_intr0",
3906                    "soc_has_from_cpu_intr1",
3907                    "soc_has_from_cpu_intr2",
3908                    "soc_has_from_cpu_intr3",
3909                    "gpio_driver_supported",
3910                    "dedicated_gpio_driver_supported",
3911                    "io_mux_driver_supported",
3912                    "lp_io_driver_supported",
3913                    "uart_driver_supported",
3914                    "i2c_master_driver_supported",
3915                    "spi_master_driver_supported",
3916                    "spi_slave_driver_supported",
3917                    "i2s_driver_supported",
3918                    "usb_serial_jtag_driver_supported",
3919                    "bt_driver_supported",
3920                    "wifi_driver_supported",
3921                    "phy_driver_supported",
3922                    "adc_driver_supported",
3923                    "lp_timer_driver_supported",
3924                    "systimer_driver_supported",
3925                    "timergroup_driver_supported",
3926                    "ecc_driver_supported",
3927                    "rng_driver_supported",
3928                    "sha_driver_supported",
3929                    "sleep_driver_supported",
3930                    "assist_debug_driver_supported",
3931                    "dma_driver_supported",
3932                    "interrupts_driver_supported",
3933                    "mmu_driver_supported",
3934                    "psram_driver_supported",
3935                    "rom_driver_supported",
3936                    "soc_driver_supported",
3937                    "uart_uart0",
3938                    "uart_uart1",
3939                    "uart_uart2",
3940                    "i2c_master_i2c0",
3941                    "spi_master_spi2",
3942                    "spi_slave_spi2",
3943                    "i2s_i2s0",
3944                    "adc_adc1",
3945                    "timergroup_timg0",
3946                    "timergroup_timg1",
3947                    "gpio_version=\"2\"",
3948                    "gpio_has_input_sync",
3949                    "gpio_gpio_function=\"1\"",
3950                    "gpio_constant_0_input=\"96\"",
3951                    "gpio_constant_1_input=\"64\"",
3952                    "gpio_func_in_sel_offset=\"0\"",
3953                    "soc_has_xtal32k_pads",
3954                    "gpio_input_signal_max=\"100\"",
3955                    "gpio_output_signal_max=\"256\"",
3956                    "dedicated_gpio_version=\"riscv_v1\"",
3957                    "lp_io_version=\"v4\"",
3958                    "uart_ram_size=\"128\"",
3959                    "uart_version=\"2\"",
3960                    "uart_peripheral_controls_mem_clk",
3961                    "uart_has_sclk_enable",
3962                    "i2c_master_version=\"4\"",
3963                    "i2c_master_has_fsm_timeouts",
3964                    "i2c_master_has_hw_bus_clear",
3965                    "i2c_master_has_bus_timeout_enable",
3966                    "i2c_master_can_estimate_nack_reason",
3967                    "i2c_master_has_conf_update",
3968                    "i2c_master_has_reliable_fsm_reset",
3969                    "i2c_master_has_arbitration_en",
3970                    "i2c_master_has_tx_fifo_watermark",
3971                    "i2c_master_bus_timeout_is_exponential",
3972                    "i2c_master_has_pd_en",
3973                    "i2c_master_max_bus_timeout=\"31\"",
3974                    "i2c_master_ll_intr_mask=\"262143\"",
3975                    "i2c_master_fifo_size=\"32\"",
3976                    "spi_master_version=\"3\"",
3977                    "spi_master_fifo_size=\"64\"",
3978                    "spi_master_has_app_interrupts",
3979                    "spi_master_has_dma_segmented_transfer",
3980                    "spi_master_has_clk_pre_div",
3981                    "spi_master_dma_can_access_flash",
3982                    "i2s_version=\"3\"",
3983                    "i2s_version_is_set",
3984                    "i2s_default_clock_source=\"2\"",
3985                    "i2s_default_clock_source_is_set",
3986                    "i2s_mclk_divider_bit_width=\"9\"",
3987                    "i2s_mclk_divider_bit_width_is_set",
3988                    "i2s_max_ws_width=\"512\"",
3989                    "i2s_max_ws_width_is_set",
3990                    "i2s_clock_configured_by_pcr",
3991                    "i2s_supports_pdm_tx",
3992                    "i2s_supports_pdm_rx",
3993                    "i2s_supports_pcm2pdm",
3994                    "bt_controller=\"npl\"",
3995                    "wifi_has_wifi6",
3996                    "wifi_mac_version=\"3\"",
3997                    "wifi_csi_supported",
3998                    "phy_combo_module",
3999                    "timergroup_timg_has_divcnt_rst",
4000                    "timergroup_rc_fast_calibration_divider",
4001                    "timergroup_rc_fast_calibration_is_set",
4002                    "ecc_zero_extend_writes",
4003                    "ecc_separate_jacobian_point_memory",
4004                    "ecc_has_memory_clock_gate",
4005                    "ecc_supports_enhanced_security",
4006                    "ecc_has_modular_arithmetic",
4007                    "ecc_has_point_addition",
4008                    "ecc_has_curve_p192",
4009                    "ecc_has_curve_p256",
4010                    "rng_apb_cycle_wait_num=\"16\"",
4011                    "rng_is_lp_sys",
4012                    "sleep_light_sleep",
4013                    "sleep_deep_sleep",
4014                    "sleep_has_wakeup_source_ext1",
4015                    "sleep_has_wakeup_source_gpio",
4016                    "sleep_has_wakeup_source_wifi_beacon",
4017                    "sleep_has_wakeup_source_timer",
4018                    "sleep_has_wakeup_source_wifi",
4019                    "sleep_has_wakeup_source_uart",
4020                    "sleep_has_wakeup_source_sdio",
4021                    "sleep_has_wakeup_source_bt",
4022                    "sleep_has_wakeup_source_lp_core",
4023                    "sleep_ext1_version=\"2\"",
4024                    "sleep_ext1_version_is_set",
4025                    "sleep_pin_wakeup_version=\"3\"",
4026                    "sleep_pin_wakeup_version_is_set",
4027                    "assist_debug_has_sp_monitor",
4028                    "assist_debug_has_region_monitor",
4029                    "dma_separate_in_out_interrupts",
4030                    "dma_gdma_version=\"2\"",
4031                    "dma_gdma_version_is_set",
4032                    "soc_has_dma_ch0",
4033                    "soc_has_dma_ch1",
4034                    "dma_supports_mem2mem",
4035                    "sha_supports_dma",
4036                    "sha_dma_engine=\"AHB_GDMA\"",
4037                    "spi_master_supports_dma",
4038                    "spi_master_dma_engine=\"AHB_GDMA\"",
4039                    "spi_slave_supports_dma",
4040                    "spi_slave_dma_engine=\"AHB_GDMA\"",
4041                    "i2s_supports_dma",
4042                    "i2s_dma_engine=\"AHB_GDMA\"",
4043                    "dma_can_access_psram",
4044                    "dma_max_priority=\"5\"",
4045                    "dma_max_priority_is_set",
4046                    "interrupts_status_registers=\"3\"",
4047                    "interrupt_controller=\"clic\"",
4048                    "mmu_page_size=\"65536\"",
4049                    "mmu_entry_num=\"512\"",
4050                    "psram_extmem_origin=\"1107296256\"",
4051                    "rom_has_crc_le",
4052                    "rom_has_crc_be",
4053                    "rom_has_md5_bsd",
4054                    "soc_cpu_has_branch_predictor",
4055                    "soc_cpu_csr_prv_mode=\"2064\"",
4056                    "soc_cpu_csr_prv_mode_is_set",
4057                    "soc_has_swd_watchdog",
4058                    "soc_cpu_mcause_mask=\"31\"",
4059                    "soc_has_clock_node_xtal_clk",
4060                    "soc_clock_node_xtal_clk_is_configurable",
4061                    "soc_has_clock_node_rc_fast_clk",
4062                    "soc_has_clock_node_pll_clk",
4063                    "soc_has_clock_node_xtal32k_clk",
4064                    "soc_has_clock_node_osc_slow_clk",
4065                    "soc_has_clock_node_rc_slow_clk",
4066                    "soc_has_clock_node_pll_f20m",
4067                    "soc_has_clock_node_pll_f40m",
4068                    "soc_has_clock_node_pll_f48m",
4069                    "soc_has_clock_node_pll_f60m",
4070                    "soc_has_clock_node_pll_f80m",
4071                    "soc_has_clock_node_pll_f120m",
4072                    "soc_has_clock_node_pll_f160m",
4073                    "soc_has_clock_node_hp_root_clk",
4074                    "soc_clock_node_hp_root_clk_is_configurable",
4075                    "soc_has_clock_node_cpu_clk",
4076                    "soc_clock_node_cpu_clk_is_configurable",
4077                    "soc_has_clock_node_ahb_clk",
4078                    "soc_clock_node_ahb_clk_is_configurable",
4079                    "soc_has_clock_node_apb_clk",
4080                    "soc_clock_node_apb_clk_is_configurable",
4081                    "soc_has_clock_node_xtal_d2_clk",
4082                    "soc_has_clock_node_lp_fast_clk",
4083                    "soc_clock_node_lp_fast_clk_is_configurable",
4084                    "soc_has_clock_node_lp_slow_clk",
4085                    "soc_clock_node_lp_slow_clk_is_configurable",
4086                    "soc_has_clock_node_timg_calibration_clock",
4087                    "soc_clock_node_timg_calibration_clock_is_configurable",
4088                    "soc_has_clock_node_uart_function_clock",
4089                    "soc_clock_node_uart_function_clock_is_configurable",
4090                    "soc_has_clock_node_uart_baud_rate_generator",
4091                    "soc_clock_node_uart_baud_rate_generator_is_configurable",
4092                    "soc_has_clock_node_timg_function_clock",
4093                    "soc_clock_node_timg_function_clock_is_configurable",
4094                    "soc_has_clock_node_timg_wdt_clock",
4095                    "soc_clock_node_timg_wdt_clock_is_configurable",
4096                    "soc_has_clock_node_i2c_function_clock",
4097                    "soc_clock_node_i2c_function_clock_is_configurable",
4098                    "soc_has_clock_node_spi_function_clock",
4099                    "soc_clock_node_spi_function_clock_is_configurable",
4100                    "has_dram_region",
4101                    "has_dram2_uninit_region",
4102                    "has_irom_region",
4103                    "has_drom_region",
4104                ],
4105                cfgs: &[
4106                    "cargo:rustc-cfg=esp32c61",
4107                    "cargo:rustc-cfg=riscv",
4108                    "cargo:rustc-cfg=single_core",
4109                    "cargo:rustc-cfg=soc_has_apb_saradc",
4110                    "cargo:rustc-cfg=soc_has_assist_debug",
4111                    "cargo:rustc-cfg=soc_has_clint",
4112                    "cargo:rustc-cfg=soc_has_cache",
4113                    "cargo:rustc-cfg=soc_has_dma",
4114                    "cargo:rustc-cfg=soc_has_ecc",
4115                    "cargo:rustc-cfg=soc_has_ecdsa",
4116                    "cargo:rustc-cfg=soc_has_efuse",
4117                    "cargo:rustc-cfg=soc_has_etm",
4118                    "cargo:rustc-cfg=soc_has_gpio",
4119                    "cargo:rustc-cfg=soc_has_gpio_sd",
4120                    "cargo:rustc-cfg=soc_has_hp_apm",
4121                    "cargo:rustc-cfg=soc_has_hp_sys",
4122                    "cargo:rustc-cfg=soc_has_i2c_ana_mst",
4123                    "cargo:rustc-cfg=soc_has_i2c0",
4124                    "cargo:rustc-cfg=soc_has_i2s0",
4125                    "cargo:rustc-cfg=soc_has_interrupt_core0",
4126                    "cargo:rustc-cfg=soc_has_intpri",
4127                    "cargo:rustc-cfg=soc_has_io_mux",
4128                    "cargo:rustc-cfg=soc_has_lp_ana",
4129                    "cargo:rustc-cfg=soc_has_lp_aon",
4130                    "cargo:rustc-cfg=soc_has_lp_apm",
4131                    "cargo:rustc-cfg=soc_has_lp_clkrst",
4132                    "cargo:rustc-cfg=soc_has_lpwr",
4133                    "cargo:rustc-cfg=soc_has_lp_gpio",
4134                    "cargo:rustc-cfg=soc_has_lp_io_mux",
4135                    "cargo:rustc-cfg=soc_has_lp_peri",
4136                    "cargo:rustc-cfg=soc_has_lp_tee",
4137                    "cargo:rustc-cfg=soc_has_rtc_timer",
4138                    "cargo:rustc-cfg=soc_has_lp_wdt",
4139                    "cargo:rustc-cfg=soc_has_mem_monitor",
4140                    "cargo:rustc-cfg=soc_has_modem_lpcon",
4141                    "cargo:rustc-cfg=soc_has_modem_syscon",
4142                    "cargo:rustc-cfg=soc_has_pau",
4143                    "cargo:rustc-cfg=soc_has_pcr",
4144                    "cargo:rustc-cfg=soc_has_pmu",
4145                    "cargo:rustc-cfg=soc_has_rng",
4146                    "cargo:rustc-cfg=soc_has_sha",
4147                    "cargo:rustc-cfg=soc_has_slc",
4148                    "cargo:rustc-cfg=soc_has_spi0",
4149                    "cargo:rustc-cfg=soc_has_spi1",
4150                    "cargo:rustc-cfg=soc_has_spi2",
4151                    "cargo:rustc-cfg=soc_has_system",
4152                    "cargo:rustc-cfg=soc_has_systimer",
4153                    "cargo:rustc-cfg=soc_has_tee",
4154                    "cargo:rustc-cfg=soc_has_timg0",
4155                    "cargo:rustc-cfg=soc_has_timg1",
4156                    "cargo:rustc-cfg=soc_has_uart0",
4157                    "cargo:rustc-cfg=soc_has_uart1",
4158                    "cargo:rustc-cfg=soc_has_uart2",
4159                    "cargo:rustc-cfg=soc_has_usb_device",
4160                    "cargo:rustc-cfg=soc_has_adc1",
4161                    "cargo:rustc-cfg=soc_has_bt",
4162                    "cargo:rustc-cfg=soc_has_flash",
4163                    "cargo:rustc-cfg=soc_has_gpio_dedicated",
4164                    "cargo:rustc-cfg=soc_has_wifi",
4165                    "cargo:rustc-cfg=soc_has_psram",
4166                    "cargo:rustc-cfg=soc_has_from_cpu_intr0",
4167                    "cargo:rustc-cfg=soc_has_from_cpu_intr1",
4168                    "cargo:rustc-cfg=soc_has_from_cpu_intr2",
4169                    "cargo:rustc-cfg=soc_has_from_cpu_intr3",
4170                    "cargo:rustc-cfg=gpio_driver_supported",
4171                    "cargo:rustc-cfg=dedicated_gpio_driver_supported",
4172                    "cargo:rustc-cfg=io_mux_driver_supported",
4173                    "cargo:rustc-cfg=lp_io_driver_supported",
4174                    "cargo:rustc-cfg=uart_driver_supported",
4175                    "cargo:rustc-cfg=i2c_master_driver_supported",
4176                    "cargo:rustc-cfg=spi_master_driver_supported",
4177                    "cargo:rustc-cfg=spi_slave_driver_supported",
4178                    "cargo:rustc-cfg=i2s_driver_supported",
4179                    "cargo:rustc-cfg=usb_serial_jtag_driver_supported",
4180                    "cargo:rustc-cfg=bt_driver_supported",
4181                    "cargo:rustc-cfg=wifi_driver_supported",
4182                    "cargo:rustc-cfg=phy_driver_supported",
4183                    "cargo:rustc-cfg=adc_driver_supported",
4184                    "cargo:rustc-cfg=lp_timer_driver_supported",
4185                    "cargo:rustc-cfg=systimer_driver_supported",
4186                    "cargo:rustc-cfg=timergroup_driver_supported",
4187                    "cargo:rustc-cfg=ecc_driver_supported",
4188                    "cargo:rustc-cfg=rng_driver_supported",
4189                    "cargo:rustc-cfg=sha_driver_supported",
4190                    "cargo:rustc-cfg=sleep_driver_supported",
4191                    "cargo:rustc-cfg=assist_debug_driver_supported",
4192                    "cargo:rustc-cfg=dma_driver_supported",
4193                    "cargo:rustc-cfg=interrupts_driver_supported",
4194                    "cargo:rustc-cfg=mmu_driver_supported",
4195                    "cargo:rustc-cfg=psram_driver_supported",
4196                    "cargo:rustc-cfg=rom_driver_supported",
4197                    "cargo:rustc-cfg=soc_driver_supported",
4198                    "cargo:rustc-cfg=uart_uart0",
4199                    "cargo:rustc-cfg=uart_uart1",
4200                    "cargo:rustc-cfg=uart_uart2",
4201                    "cargo:rustc-cfg=i2c_master_i2c0",
4202                    "cargo:rustc-cfg=spi_master_spi2",
4203                    "cargo:rustc-cfg=spi_slave_spi2",
4204                    "cargo:rustc-cfg=i2s_i2s0",
4205                    "cargo:rustc-cfg=adc_adc1",
4206                    "cargo:rustc-cfg=timergroup_timg0",
4207                    "cargo:rustc-cfg=timergroup_timg1",
4208                    "cargo:rustc-cfg=gpio_version=\"2\"",
4209                    "cargo:rustc-cfg=gpio_has_input_sync",
4210                    "cargo:rustc-cfg=gpio_gpio_function=\"1\"",
4211                    "cargo:rustc-cfg=gpio_constant_0_input=\"96\"",
4212                    "cargo:rustc-cfg=gpio_constant_1_input=\"64\"",
4213                    "cargo:rustc-cfg=gpio_func_in_sel_offset=\"0\"",
4214                    "cargo:rustc-cfg=soc_has_xtal32k_pads",
4215                    "cargo:rustc-cfg=gpio_input_signal_max=\"100\"",
4216                    "cargo:rustc-cfg=gpio_output_signal_max=\"256\"",
4217                    "cargo:rustc-cfg=dedicated_gpio_version=\"riscv_v1\"",
4218                    "cargo:rustc-cfg=lp_io_version=\"v4\"",
4219                    "cargo:rustc-cfg=uart_ram_size=\"128\"",
4220                    "cargo:rustc-cfg=uart_version=\"2\"",
4221                    "cargo:rustc-cfg=uart_peripheral_controls_mem_clk",
4222                    "cargo:rustc-cfg=uart_has_sclk_enable",
4223                    "cargo:rustc-cfg=i2c_master_version=\"4\"",
4224                    "cargo:rustc-cfg=i2c_master_has_fsm_timeouts",
4225                    "cargo:rustc-cfg=i2c_master_has_hw_bus_clear",
4226                    "cargo:rustc-cfg=i2c_master_has_bus_timeout_enable",
4227                    "cargo:rustc-cfg=i2c_master_can_estimate_nack_reason",
4228                    "cargo:rustc-cfg=i2c_master_has_conf_update",
4229                    "cargo:rustc-cfg=i2c_master_has_reliable_fsm_reset",
4230                    "cargo:rustc-cfg=i2c_master_has_arbitration_en",
4231                    "cargo:rustc-cfg=i2c_master_has_tx_fifo_watermark",
4232                    "cargo:rustc-cfg=i2c_master_bus_timeout_is_exponential",
4233                    "cargo:rustc-cfg=i2c_master_has_pd_en",
4234                    "cargo:rustc-cfg=i2c_master_max_bus_timeout=\"31\"",
4235                    "cargo:rustc-cfg=i2c_master_ll_intr_mask=\"262143\"",
4236                    "cargo:rustc-cfg=i2c_master_fifo_size=\"32\"",
4237                    "cargo:rustc-cfg=spi_master_version=\"3\"",
4238                    "cargo:rustc-cfg=spi_master_fifo_size=\"64\"",
4239                    "cargo:rustc-cfg=spi_master_has_app_interrupts",
4240                    "cargo:rustc-cfg=spi_master_has_dma_segmented_transfer",
4241                    "cargo:rustc-cfg=spi_master_has_clk_pre_div",
4242                    "cargo:rustc-cfg=spi_master_dma_can_access_flash",
4243                    "cargo:rustc-cfg=i2s_version=\"3\"",
4244                    "cargo:rustc-cfg=i2s_version_is_set",
4245                    "cargo:rustc-cfg=i2s_default_clock_source=\"2\"",
4246                    "cargo:rustc-cfg=i2s_default_clock_source_is_set",
4247                    "cargo:rustc-cfg=i2s_mclk_divider_bit_width=\"9\"",
4248                    "cargo:rustc-cfg=i2s_mclk_divider_bit_width_is_set",
4249                    "cargo:rustc-cfg=i2s_max_ws_width=\"512\"",
4250                    "cargo:rustc-cfg=i2s_max_ws_width_is_set",
4251                    "cargo:rustc-cfg=i2s_clock_configured_by_pcr",
4252                    "cargo:rustc-cfg=i2s_supports_pdm_tx",
4253                    "cargo:rustc-cfg=i2s_supports_pdm_rx",
4254                    "cargo:rustc-cfg=i2s_supports_pcm2pdm",
4255                    "cargo:rustc-cfg=bt_controller=\"npl\"",
4256                    "cargo:rustc-cfg=wifi_has_wifi6",
4257                    "cargo:rustc-cfg=wifi_mac_version=\"3\"",
4258                    "cargo:rustc-cfg=wifi_csi_supported",
4259                    "cargo:rustc-cfg=phy_combo_module",
4260                    "cargo:rustc-cfg=timergroup_timg_has_divcnt_rst",
4261                    "cargo:rustc-cfg=timergroup_rc_fast_calibration_divider",
4262                    "cargo:rustc-cfg=timergroup_rc_fast_calibration_is_set",
4263                    "cargo:rustc-cfg=ecc_zero_extend_writes",
4264                    "cargo:rustc-cfg=ecc_separate_jacobian_point_memory",
4265                    "cargo:rustc-cfg=ecc_has_memory_clock_gate",
4266                    "cargo:rustc-cfg=ecc_supports_enhanced_security",
4267                    "cargo:rustc-cfg=ecc_has_modular_arithmetic",
4268                    "cargo:rustc-cfg=ecc_has_point_addition",
4269                    "cargo:rustc-cfg=ecc_has_curve_p192",
4270                    "cargo:rustc-cfg=ecc_has_curve_p256",
4271                    "cargo:rustc-cfg=rng_apb_cycle_wait_num=\"16\"",
4272                    "cargo:rustc-cfg=rng_is_lp_sys",
4273                    "cargo:rustc-cfg=sleep_light_sleep",
4274                    "cargo:rustc-cfg=sleep_deep_sleep",
4275                    "cargo:rustc-cfg=sleep_has_wakeup_source_ext1",
4276                    "cargo:rustc-cfg=sleep_has_wakeup_source_gpio",
4277                    "cargo:rustc-cfg=sleep_has_wakeup_source_wifi_beacon",
4278                    "cargo:rustc-cfg=sleep_has_wakeup_source_timer",
4279                    "cargo:rustc-cfg=sleep_has_wakeup_source_wifi",
4280                    "cargo:rustc-cfg=sleep_has_wakeup_source_uart",
4281                    "cargo:rustc-cfg=sleep_has_wakeup_source_sdio",
4282                    "cargo:rustc-cfg=sleep_has_wakeup_source_bt",
4283                    "cargo:rustc-cfg=sleep_has_wakeup_source_lp_core",
4284                    "cargo:rustc-cfg=sleep_ext1_version=\"2\"",
4285                    "cargo:rustc-cfg=sleep_ext1_version_is_set",
4286                    "cargo:rustc-cfg=sleep_pin_wakeup_version=\"3\"",
4287                    "cargo:rustc-cfg=sleep_pin_wakeup_version_is_set",
4288                    "cargo:rustc-cfg=assist_debug_has_sp_monitor",
4289                    "cargo:rustc-cfg=assist_debug_has_region_monitor",
4290                    "cargo:rustc-cfg=dma_separate_in_out_interrupts",
4291                    "cargo:rustc-cfg=dma_gdma_version=\"2\"",
4292                    "cargo:rustc-cfg=dma_gdma_version_is_set",
4293                    "cargo:rustc-cfg=soc_has_dma_ch0",
4294                    "cargo:rustc-cfg=soc_has_dma_ch1",
4295                    "cargo:rustc-cfg=dma_supports_mem2mem",
4296                    "cargo:rustc-cfg=sha_supports_dma",
4297                    "cargo:rustc-cfg=sha_dma_engine=\"AHB_GDMA\"",
4298                    "cargo:rustc-cfg=spi_master_supports_dma",
4299                    "cargo:rustc-cfg=spi_master_dma_engine=\"AHB_GDMA\"",
4300                    "cargo:rustc-cfg=spi_slave_supports_dma",
4301                    "cargo:rustc-cfg=spi_slave_dma_engine=\"AHB_GDMA\"",
4302                    "cargo:rustc-cfg=i2s_supports_dma",
4303                    "cargo:rustc-cfg=i2s_dma_engine=\"AHB_GDMA\"",
4304                    "cargo:rustc-cfg=dma_can_access_psram",
4305                    "cargo:rustc-cfg=dma_max_priority=\"5\"",
4306                    "cargo:rustc-cfg=dma_max_priority_is_set",
4307                    "cargo:rustc-cfg=interrupts_status_registers=\"3\"",
4308                    "cargo:rustc-cfg=interrupt_controller=\"clic\"",
4309                    "cargo:rustc-cfg=mmu_page_size=\"65536\"",
4310                    "cargo:rustc-cfg=mmu_entry_num=\"512\"",
4311                    "cargo:rustc-cfg=psram_extmem_origin=\"1107296256\"",
4312                    "cargo:rustc-cfg=rom_has_crc_le",
4313                    "cargo:rustc-cfg=rom_has_crc_be",
4314                    "cargo:rustc-cfg=rom_has_md5_bsd",
4315                    "cargo:rustc-cfg=soc_cpu_has_branch_predictor",
4316                    "cargo:rustc-cfg=soc_cpu_csr_prv_mode=\"2064\"",
4317                    "cargo:rustc-cfg=soc_cpu_csr_prv_mode_is_set",
4318                    "cargo:rustc-cfg=soc_has_swd_watchdog",
4319                    "cargo:rustc-cfg=soc_cpu_mcause_mask=\"31\"",
4320                    "cargo:rustc-cfg=soc_has_clock_node_xtal_clk",
4321                    "cargo:rustc-cfg=soc_clock_node_xtal_clk_is_configurable",
4322                    "cargo:rustc-cfg=soc_has_clock_node_rc_fast_clk",
4323                    "cargo:rustc-cfg=soc_has_clock_node_pll_clk",
4324                    "cargo:rustc-cfg=soc_has_clock_node_xtal32k_clk",
4325                    "cargo:rustc-cfg=soc_has_clock_node_osc_slow_clk",
4326                    "cargo:rustc-cfg=soc_has_clock_node_rc_slow_clk",
4327                    "cargo:rustc-cfg=soc_has_clock_node_pll_f20m",
4328                    "cargo:rustc-cfg=soc_has_clock_node_pll_f40m",
4329                    "cargo:rustc-cfg=soc_has_clock_node_pll_f48m",
4330                    "cargo:rustc-cfg=soc_has_clock_node_pll_f60m",
4331                    "cargo:rustc-cfg=soc_has_clock_node_pll_f80m",
4332                    "cargo:rustc-cfg=soc_has_clock_node_pll_f120m",
4333                    "cargo:rustc-cfg=soc_has_clock_node_pll_f160m",
4334                    "cargo:rustc-cfg=soc_has_clock_node_hp_root_clk",
4335                    "cargo:rustc-cfg=soc_clock_node_hp_root_clk_is_configurable",
4336                    "cargo:rustc-cfg=soc_has_clock_node_cpu_clk",
4337                    "cargo:rustc-cfg=soc_clock_node_cpu_clk_is_configurable",
4338                    "cargo:rustc-cfg=soc_has_clock_node_ahb_clk",
4339                    "cargo:rustc-cfg=soc_clock_node_ahb_clk_is_configurable",
4340                    "cargo:rustc-cfg=soc_has_clock_node_apb_clk",
4341                    "cargo:rustc-cfg=soc_clock_node_apb_clk_is_configurable",
4342                    "cargo:rustc-cfg=soc_has_clock_node_xtal_d2_clk",
4343                    "cargo:rustc-cfg=soc_has_clock_node_lp_fast_clk",
4344                    "cargo:rustc-cfg=soc_clock_node_lp_fast_clk_is_configurable",
4345                    "cargo:rustc-cfg=soc_has_clock_node_lp_slow_clk",
4346                    "cargo:rustc-cfg=soc_clock_node_lp_slow_clk_is_configurable",
4347                    "cargo:rustc-cfg=soc_has_clock_node_timg_calibration_clock",
4348                    "cargo:rustc-cfg=soc_clock_node_timg_calibration_clock_is_configurable",
4349                    "cargo:rustc-cfg=soc_has_clock_node_uart_function_clock",
4350                    "cargo:rustc-cfg=soc_clock_node_uart_function_clock_is_configurable",
4351                    "cargo:rustc-cfg=soc_has_clock_node_uart_baud_rate_generator",
4352                    "cargo:rustc-cfg=soc_clock_node_uart_baud_rate_generator_is_configurable",
4353                    "cargo:rustc-cfg=soc_has_clock_node_timg_function_clock",
4354                    "cargo:rustc-cfg=soc_clock_node_timg_function_clock_is_configurable",
4355                    "cargo:rustc-cfg=soc_has_clock_node_timg_wdt_clock",
4356                    "cargo:rustc-cfg=soc_clock_node_timg_wdt_clock_is_configurable",
4357                    "cargo:rustc-cfg=soc_has_clock_node_i2c_function_clock",
4358                    "cargo:rustc-cfg=soc_clock_node_i2c_function_clock_is_configurable",
4359                    "cargo:rustc-cfg=soc_has_clock_node_spi_function_clock",
4360                    "cargo:rustc-cfg=soc_clock_node_spi_function_clock_is_configurable",
4361                    "cargo:rustc-cfg=has_dram_region",
4362                    "cargo:rustc-cfg=has_dram2_uninit_region",
4363                    "cargo:rustc-cfg=has_irom_region",
4364                    "cargo:rustc-cfg=has_drom_region",
4365                ],
4366                memory_layout: &MemoryLayout {
4367                    regions: &[
4368                        (
4369                            "dram",
4370                            MemoryRegion {
4371                                address_range: 0x40800000..0x40850000,
4372                            },
4373                        ),
4374                        (
4375                            "dram2_uninit",
4376                            MemoryRegion {
4377                                address_range: 0x4083EA70..0x4084EA70,
4378                            },
4379                        ),
4380                        (
4381                            "irom",
4382                            MemoryRegion {
4383                                address_range: 0x42000000..0x44000000,
4384                            },
4385                        ),
4386                        (
4387                            "drom",
4388                            MemoryRegion {
4389                                address_range: 0x42000000..0x44000000,
4390                            },
4391                        ),
4392                    ],
4393                },
4394                pins: &[
4395                    PinInfo {
4396                        pin: 0,
4397                        limitations: &[],
4398                    },
4399                    PinInfo {
4400                        pin: 1,
4401                        limitations: &[],
4402                    },
4403                    PinInfo {
4404                        pin: 2,
4405                        limitations: &[],
4406                    },
4407                    PinInfo {
4408                        pin: 3,
4409                        limitations: &["strapping", "jtag"],
4410                    },
4411                    PinInfo {
4412                        pin: 4,
4413                        limitations: &["strapping", "jtag"],
4414                    },
4415                    PinInfo {
4416                        pin: 5,
4417                        limitations: &["jtag"],
4418                    },
4419                    PinInfo {
4420                        pin: 6,
4421                        limitations: &["jtag"],
4422                    },
4423                    PinInfo {
4424                        pin: 7,
4425                        limitations: &["strapping"],
4426                    },
4427                    PinInfo {
4428                        pin: 8,
4429                        limitations: &["strapping"],
4430                    },
4431                    PinInfo {
4432                        pin: 9,
4433                        limitations: &["strapping"],
4434                    },
4435                    PinInfo {
4436                        pin: 10,
4437                        limitations: &["bootloader_uart"],
4438                    },
4439                    PinInfo {
4440                        pin: 11,
4441                        limitations: &["bootloader_uart"],
4442                    },
4443                    PinInfo {
4444                        pin: 12,
4445                        limitations: &["usb_jtag"],
4446                    },
4447                    PinInfo {
4448                        pin: 13,
4449                        limitations: &["usb_jtag"],
4450                    },
4451                    PinInfo {
4452                        pin: 14,
4453                        limitations: &["spi_psram"],
4454                    },
4455                    PinInfo {
4456                        pin: 15,
4457                        limitations: &["spi_flash"],
4458                    },
4459                    PinInfo {
4460                        pin: 16,
4461                        limitations: &["spi_flash", "spi_psram"],
4462                    },
4463                    PinInfo {
4464                        pin: 17,
4465                        limitations: &["spi_flash", "spi_psram"],
4466                    },
4467                    PinInfo {
4468                        pin: 18,
4469                        limitations: &["spi_flash", "spi_psram"],
4470                    },
4471                    PinInfo {
4472                        pin: 19,
4473                        limitations: &["spi_flash", "spi_psram"],
4474                    },
4475                    PinInfo {
4476                        pin: 20,
4477                        limitations: &["spi_flash", "spi_psram"],
4478                    },
4479                    PinInfo {
4480                        pin: 21,
4481                        limitations: &["spi_flash", "spi_psram"],
4482                    },
4483                    PinInfo {
4484                        pin: 22,
4485                        limitations: &[],
4486                    },
4487                    PinInfo {
4488                        pin: 23,
4489                        limitations: &[],
4490                    },
4491                    PinInfo {
4492                        pin: 24,
4493                        limitations: &[],
4494                    },
4495                    PinInfo {
4496                        pin: 25,
4497                        limitations: &[],
4498                    },
4499                    PinInfo {
4500                        pin: 26,
4501                        limitations: &[],
4502                    },
4503                    PinInfo {
4504                        pin: 27,
4505                        limitations: &[],
4506                    },
4507                    PinInfo {
4508                        pin: 28,
4509                        limitations: &[],
4510                    },
4511                    PinInfo {
4512                        pin: 29,
4513                        limitations: &[],
4514                    },
4515                ],
4516            },
4517            Self::Esp32h2 => Config {
4518                architecture: "riscv",
4519                target: "riscv32imac-unknown-none-elf",
4520                symbols: &[
4521                    "esp32h2",
4522                    "riscv",
4523                    "single_core",
4524                    "soc_has_aes",
4525                    "soc_has_apb_saradc",
4526                    "soc_has_assist_debug",
4527                    "soc_has_dma",
4528                    "soc_has_ds",
4529                    "soc_has_ecc",
4530                    "soc_has_efuse",
4531                    "soc_has_gpio",
4532                    "soc_has_gpio_sd",
4533                    "soc_has_hmac",
4534                    "soc_has_hp_apm",
4535                    "soc_has_hp_sys",
4536                    "soc_has_i2c_ana_mst",
4537                    "soc_has_i2c0",
4538                    "soc_has_i2c1",
4539                    "soc_has_i2s0",
4540                    "soc_has_ieee802154",
4541                    "soc_has_interrupt_core0",
4542                    "soc_has_intpri",
4543                    "soc_has_io_mux",
4544                    "soc_has_ledc",
4545                    "soc_has_lpwr",
4546                    "soc_has_lp_ana",
4547                    "soc_has_lp_aon",
4548                    "soc_has_lp_apm",
4549                    "soc_has_lp_apm0",
4550                    "soc_has_lp_clkrst",
4551                    "soc_has_lp_peri",
4552                    "soc_has_rtc_timer",
4553                    "soc_has_lp_wdt",
4554                    "soc_has_mcpwm0",
4555                    "soc_has_mem_monitor",
4556                    "soc_has_modem_lpcon",
4557                    "soc_has_modem_syscon",
4558                    "soc_has_otp_debug",
4559                    "soc_has_parl_io",
4560                    "soc_has_pau",
4561                    "soc_has_pcnt",
4562                    "soc_has_pcr",
4563                    "soc_has_plic_mx",
4564                    "soc_has_pmu",
4565                    "soc_has_rmt",
4566                    "soc_has_rng",
4567                    "soc_has_rsa",
4568                    "soc_has_sha",
4569                    "soc_has_etm",
4570                    "soc_has_spi0",
4571                    "soc_has_spi1",
4572                    "soc_has_spi2",
4573                    "soc_has_system",
4574                    "soc_has_systimer",
4575                    "soc_has_tee",
4576                    "soc_has_timg0",
4577                    "soc_has_timg1",
4578                    "soc_has_trace0",
4579                    "soc_has_twai0",
4580                    "soc_has_uart0",
4581                    "soc_has_uart1",
4582                    "soc_has_uhci0",
4583                    "soc_has_usb_device",
4584                    "soc_has_adc1",
4585                    "soc_has_bt",
4586                    "soc_has_flash",
4587                    "soc_has_gpio_dedicated",
4588                    "soc_has_from_cpu_intr0",
4589                    "soc_has_from_cpu_intr1",
4590                    "soc_has_from_cpu_intr2",
4591                    "soc_has_from_cpu_intr3",
4592                    "gpio_driver_supported",
4593                    "dedicated_gpio_driver_supported",
4594                    "io_mux_driver_supported",
4595                    "lp_io_driver_supported",
4596                    "uart_driver_supported",
4597                    "uhci_driver_supported",
4598                    "i2c_master_driver_supported",
4599                    "spi_master_driver_supported",
4600                    "spi_slave_driver_supported",
4601                    "i2s_driver_supported",
4602                    "parl_io_driver_supported",
4603                    "rmt_driver_supported",
4604                    "twai_driver_supported",
4605                    "usb_serial_jtag_driver_supported",
4606                    "bt_driver_supported",
4607                    "ieee802154_driver_supported",
4608                    "phy_driver_supported",
4609                    "adc_driver_supported",
4610                    "temp_sensor_driver_supported",
4611                    "ledc_driver_supported",
4612                    "mcpwm_driver_supported",
4613                    "pcnt_driver_supported",
4614                    "lp_timer_driver_supported",
4615                    "sdm_driver_supported",
4616                    "systimer_driver_supported",
4617                    "timergroup_driver_supported",
4618                    "aes_driver_supported",
4619                    "ecc_driver_supported",
4620                    "hmac_driver_supported",
4621                    "rng_driver_supported",
4622                    "rsa_driver_supported",
4623                    "sha_driver_supported",
4624                    "sleep_driver_supported",
4625                    "assist_debug_driver_supported",
4626                    "dma_driver_supported",
4627                    "etm_driver_supported",
4628                    "interrupts_driver_supported",
4629                    "mmu_driver_supported",
4630                    "rom_driver_supported",
4631                    "soc_driver_supported",
4632                    "uart_uart0",
4633                    "uart_uart1",
4634                    "i2c_master_i2c0",
4635                    "i2c_master_i2c1",
4636                    "spi_master_spi2",
4637                    "spi_slave_spi2",
4638                    "i2s_i2s0",
4639                    "adc_adc1",
4640                    "timergroup_timg0",
4641                    "timergroup_timg1",
4642                    "gpio_version=\"2\"",
4643                    "gpio_has_input_sync",
4644                    "gpio_gpio_function=\"1\"",
4645                    "gpio_constant_0_input=\"60\"",
4646                    "gpio_constant_1_input=\"56\"",
4647                    "gpio_func_in_sel_offset=\"0\"",
4648                    "soc_has_xtal32k_pads",
4649                    "gpio_input_signal_max=\"124\"",
4650                    "gpio_output_signal_max=\"128\"",
4651                    "dedicated_gpio_version=\"riscv_v1\"",
4652                    "lp_io_version=\"esp32h2\"",
4653                    "uart_ram_size=\"128\"",
4654                    "uart_version=\"2\"",
4655                    "uart_peripheral_controls_mem_clk",
4656                    "uart_has_sclk_enable",
4657                    "i2c_master_version=\"4\"",
4658                    "i2c_master_has_fsm_timeouts",
4659                    "i2c_master_has_hw_bus_clear",
4660                    "i2c_master_has_bus_timeout_enable",
4661                    "i2c_master_can_estimate_nack_reason",
4662                    "i2c_master_has_conf_update",
4663                    "i2c_master_has_reliable_fsm_reset",
4664                    "i2c_master_has_arbitration_en",
4665                    "i2c_master_has_tx_fifo_watermark",
4666                    "i2c_master_bus_timeout_is_exponential",
4667                    "i2c_master_has_pd_en",
4668                    "i2c_master_max_bus_timeout=\"31\"",
4669                    "i2c_master_ll_intr_mask=\"262143\"",
4670                    "i2c_master_fifo_size=\"32\"",
4671                    "spi_master_version=\"3\"",
4672                    "spi_master_fifo_size=\"64\"",
4673                    "spi_master_has_app_interrupts",
4674                    "spi_master_has_dma_segmented_transfer",
4675                    "i2s_version=\"3\"",
4676                    "i2s_version_is_set",
4677                    "i2s_default_clock_source=\"1\"",
4678                    "i2s_default_clock_source_is_set",
4679                    "i2s_mclk_divider_bit_width=\"9\"",
4680                    "i2s_mclk_divider_bit_width_is_set",
4681                    "i2s_max_ws_width=\"512\"",
4682                    "i2s_max_ws_width_is_set",
4683                    "i2s_clock_configured_by_pcr",
4684                    "i2s_supports_pdm_tx",
4685                    "i2s_supports_pdm_rx",
4686                    "i2s_supports_pcm2pdm",
4687                    "parl_io_version=\"2\"",
4688                    "rmt_ram_start=\"1610642432\"",
4689                    "rmt_channel_ram_size=\"48\"",
4690                    "rmt_has_tx_immediate_stop",
4691                    "rmt_has_tx_loop_count",
4692                    "rmt_has_tx_loop_auto_stop",
4693                    "rmt_has_tx_carrier_data_only",
4694                    "rmt_has_tx_sync",
4695                    "rmt_has_rx_wrap",
4696                    "rmt_has_rx_demodulation",
4697                    "bt_controller=\"npl\"",
4698                    "ledc_version=\"3\"",
4699                    "ledc_channel_count=\"6\"",
4700                    "soc_has_sdm_ch0",
4701                    "soc_has_sdm_ch1",
4702                    "soc_has_sdm_ch2",
4703                    "soc_has_sdm_ch3",
4704                    "timergroup_timg_has_divcnt_rst",
4705                    "timergroup_rc_fast_calibration_divider",
4706                    "timergroup_rc_fast_calibration_tick_enable",
4707                    "timergroup_rc_fast_calibration_is_set",
4708                    "aes_dma_mode_ecb",
4709                    "aes_dma_mode_cbc",
4710                    "aes_dma_mode_ofb",
4711                    "aes_dma_mode_ctr",
4712                    "aes_dma_mode_cfb8",
4713                    "aes_dma_mode_cfb128",
4714                    "aes_has_split_text_registers",
4715                    "ecc_zero_extend_writes",
4716                    "ecc_separate_jacobian_point_memory",
4717                    "ecc_has_memory_clock_gate",
4718                    "ecc_supports_enhanced_security",
4719                    "ecc_has_modular_arithmetic",
4720                    "ecc_has_point_addition",
4721                    "ecc_has_curve_p192",
4722                    "ecc_has_curve_p256",
4723                    "rng_apb_cycle_wait_num=\"16\"",
4724                    "rng_trng_supported",
4725                    "rsa_version=\"3\"",
4726                    "rsa_size_increment=\"32\"",
4727                    "rsa_memory_size_bytes=\"384\"",
4728                    "sleep_light_sleep",
4729                    "sleep_deep_sleep",
4730                    "sleep_has_wakeup_source_ext1",
4731                    "sleep_has_wakeup_source_gpio",
4732                    "sleep_has_wakeup_source_wifi_beacon",
4733                    "sleep_has_wakeup_source_timer",
4734                    "sleep_has_wakeup_source_wifi",
4735                    "sleep_has_wakeup_source_uart",
4736                    "sleep_has_wakeup_source_sdio",
4737                    "sleep_has_wakeup_source_bt",
4738                    "sleep_has_wakeup_source_lp_core",
4739                    "sleep_ext1_version=\"2\"",
4740                    "sleep_ext1_version_is_set",
4741                    "assist_debug_has_sp_monitor",
4742                    "assist_debug_has_region_monitor",
4743                    "dma_separate_in_out_interrupts",
4744                    "dma_gdma_version=\"1\"",
4745                    "dma_gdma_version_is_set",
4746                    "soc_has_dma_ch0",
4747                    "soc_has_dma_ch1",
4748                    "soc_has_dma_ch2",
4749                    "dma_supports_mem2mem",
4750                    "aes_supports_dma",
4751                    "aes_dma_engine=\"AHB_GDMA\"",
4752                    "sha_supports_dma",
4753                    "sha_dma_engine=\"AHB_GDMA\"",
4754                    "spi_master_supports_dma",
4755                    "spi_master_dma_engine=\"AHB_GDMA\"",
4756                    "spi_slave_supports_dma",
4757                    "spi_slave_dma_engine=\"AHB_GDMA\"",
4758                    "uhci_supports_dma",
4759                    "uhci_dma_engine=\"AHB_GDMA\"",
4760                    "i2s_supports_dma",
4761                    "i2s_dma_engine=\"AHB_GDMA\"",
4762                    "parl_io_supports_dma",
4763                    "parl_io_dma_engine=\"AHB_GDMA\"",
4764                    "dma_max_priority=\"5\"",
4765                    "dma_max_priority_is_set",
4766                    "interrupts_status_registers=\"2\"",
4767                    "interrupt_controller=\"plic\"",
4768                    "mmu_page_size=\"65536\"",
4769                    "mmu_entry_num=\"256\"",
4770                    "rom_has_crc_le",
4771                    "rom_has_crc_be",
4772                    "rom_has_md5_bsd",
4773                    "soc_cpu_has_csr_pc",
4774                    "soc_cpu_csr_prv_mode=\"3088\"",
4775                    "soc_cpu_csr_prv_mode_is_set",
4776                    "soc_has_swd_watchdog",
4777                    "soc_cpu_mcause_mask=\"31\"",
4778                    "soc_has_clock_node_xtal_clk",
4779                    "soc_clock_node_xtal_clk_is_configurable",
4780                    "soc_has_clock_node_pll_f96m_clk",
4781                    "soc_has_clock_node_pll_f64m_clk",
4782                    "soc_has_clock_node_pll_f48m_clk",
4783                    "soc_has_clock_node_rc_fast_clk",
4784                    "soc_has_clock_node_iomux_function_clock",
4785                    "soc_clock_node_iomux_function_clock_is_configurable",
4786                    "soc_has_clock_node_xtal32k_clk",
4787                    "soc_has_clock_node_osc_slow_clk",
4788                    "soc_has_clock_node_rc_slow_clk",
4789                    "soc_has_clock_node_pll_lp_clk",
4790                    "soc_has_clock_node_hp_root_clk",
4791                    "soc_clock_node_hp_root_clk_is_configurable",
4792                    "soc_has_clock_node_cpu_clk",
4793                    "soc_clock_node_cpu_clk_is_configurable",
4794                    "soc_has_clock_node_ahb_clk",
4795                    "soc_clock_node_ahb_clk_is_configurable",
4796                    "soc_has_clock_node_apb_clk",
4797                    "soc_clock_node_apb_clk_is_configurable",
4798                    "soc_has_clock_node_xtal_d2_clk",
4799                    "soc_has_clock_node_lp_fast_clk",
4800                    "soc_clock_node_lp_fast_clk_is_configurable",
4801                    "soc_has_clock_node_lp_slow_clk",
4802                    "soc_clock_node_lp_slow_clk_is_configurable",
4803                    "soc_has_clock_node_timg_calibration_clock",
4804                    "soc_clock_node_timg_calibration_clock_is_configurable",
4805                    "soc_has_clock_node_uart_function_clock",
4806                    "soc_clock_node_uart_function_clock_is_configurable",
4807                    "soc_has_clock_node_uart_baud_rate_generator",
4808                    "soc_clock_node_uart_baud_rate_generator_is_configurable",
4809                    "soc_has_clock_node_sdm_function_clock",
4810                    "soc_has_clock_node_rmt_sclk",
4811                    "soc_clock_node_rmt_sclk_is_configurable",
4812                    "soc_has_clock_node_timg_function_clock",
4813                    "soc_clock_node_timg_function_clock_is_configurable",
4814                    "soc_has_clock_node_timg_wdt_clock",
4815                    "soc_clock_node_timg_wdt_clock_is_configurable",
4816                    "soc_has_clock_node_mcpwm_function_clock",
4817                    "soc_clock_node_mcpwm_function_clock_is_configurable",
4818                    "soc_has_clock_node_parl_io_rx_clock",
4819                    "soc_clock_node_parl_io_rx_clock_is_configurable",
4820                    "soc_has_clock_node_parl_io_tx_clock",
4821                    "soc_clock_node_parl_io_tx_clock_is_configurable",
4822                    "soc_has_clock_node_i2c_function_clock",
4823                    "soc_clock_node_i2c_function_clock_is_configurable",
4824                    "soc_has_clock_node_spi_function_clock",
4825                    "soc_clock_node_spi_function_clock_is_configurable",
4826                    "has_dram_region",
4827                    "has_dram2_uninit_region",
4828                    "has_irom_region",
4829                    "has_drom_region",
4830                ],
4831                cfgs: &[
4832                    "cargo:rustc-cfg=esp32h2",
4833                    "cargo:rustc-cfg=riscv",
4834                    "cargo:rustc-cfg=single_core",
4835                    "cargo:rustc-cfg=soc_has_aes",
4836                    "cargo:rustc-cfg=soc_has_apb_saradc",
4837                    "cargo:rustc-cfg=soc_has_assist_debug",
4838                    "cargo:rustc-cfg=soc_has_dma",
4839                    "cargo:rustc-cfg=soc_has_ds",
4840                    "cargo:rustc-cfg=soc_has_ecc",
4841                    "cargo:rustc-cfg=soc_has_efuse",
4842                    "cargo:rustc-cfg=soc_has_gpio",
4843                    "cargo:rustc-cfg=soc_has_gpio_sd",
4844                    "cargo:rustc-cfg=soc_has_hmac",
4845                    "cargo:rustc-cfg=soc_has_hp_apm",
4846                    "cargo:rustc-cfg=soc_has_hp_sys",
4847                    "cargo:rustc-cfg=soc_has_i2c_ana_mst",
4848                    "cargo:rustc-cfg=soc_has_i2c0",
4849                    "cargo:rustc-cfg=soc_has_i2c1",
4850                    "cargo:rustc-cfg=soc_has_i2s0",
4851                    "cargo:rustc-cfg=soc_has_ieee802154",
4852                    "cargo:rustc-cfg=soc_has_interrupt_core0",
4853                    "cargo:rustc-cfg=soc_has_intpri",
4854                    "cargo:rustc-cfg=soc_has_io_mux",
4855                    "cargo:rustc-cfg=soc_has_ledc",
4856                    "cargo:rustc-cfg=soc_has_lpwr",
4857                    "cargo:rustc-cfg=soc_has_lp_ana",
4858                    "cargo:rustc-cfg=soc_has_lp_aon",
4859                    "cargo:rustc-cfg=soc_has_lp_apm",
4860                    "cargo:rustc-cfg=soc_has_lp_apm0",
4861                    "cargo:rustc-cfg=soc_has_lp_clkrst",
4862                    "cargo:rustc-cfg=soc_has_lp_peri",
4863                    "cargo:rustc-cfg=soc_has_rtc_timer",
4864                    "cargo:rustc-cfg=soc_has_lp_wdt",
4865                    "cargo:rustc-cfg=soc_has_mcpwm0",
4866                    "cargo:rustc-cfg=soc_has_mem_monitor",
4867                    "cargo:rustc-cfg=soc_has_modem_lpcon",
4868                    "cargo:rustc-cfg=soc_has_modem_syscon",
4869                    "cargo:rustc-cfg=soc_has_otp_debug",
4870                    "cargo:rustc-cfg=soc_has_parl_io",
4871                    "cargo:rustc-cfg=soc_has_pau",
4872                    "cargo:rustc-cfg=soc_has_pcnt",
4873                    "cargo:rustc-cfg=soc_has_pcr",
4874                    "cargo:rustc-cfg=soc_has_plic_mx",
4875                    "cargo:rustc-cfg=soc_has_pmu",
4876                    "cargo:rustc-cfg=soc_has_rmt",
4877                    "cargo:rustc-cfg=soc_has_rng",
4878                    "cargo:rustc-cfg=soc_has_rsa",
4879                    "cargo:rustc-cfg=soc_has_sha",
4880                    "cargo:rustc-cfg=soc_has_etm",
4881                    "cargo:rustc-cfg=soc_has_spi0",
4882                    "cargo:rustc-cfg=soc_has_spi1",
4883                    "cargo:rustc-cfg=soc_has_spi2",
4884                    "cargo:rustc-cfg=soc_has_system",
4885                    "cargo:rustc-cfg=soc_has_systimer",
4886                    "cargo:rustc-cfg=soc_has_tee",
4887                    "cargo:rustc-cfg=soc_has_timg0",
4888                    "cargo:rustc-cfg=soc_has_timg1",
4889                    "cargo:rustc-cfg=soc_has_trace0",
4890                    "cargo:rustc-cfg=soc_has_twai0",
4891                    "cargo:rustc-cfg=soc_has_uart0",
4892                    "cargo:rustc-cfg=soc_has_uart1",
4893                    "cargo:rustc-cfg=soc_has_uhci0",
4894                    "cargo:rustc-cfg=soc_has_usb_device",
4895                    "cargo:rustc-cfg=soc_has_adc1",
4896                    "cargo:rustc-cfg=soc_has_bt",
4897                    "cargo:rustc-cfg=soc_has_flash",
4898                    "cargo:rustc-cfg=soc_has_gpio_dedicated",
4899                    "cargo:rustc-cfg=soc_has_from_cpu_intr0",
4900                    "cargo:rustc-cfg=soc_has_from_cpu_intr1",
4901                    "cargo:rustc-cfg=soc_has_from_cpu_intr2",
4902                    "cargo:rustc-cfg=soc_has_from_cpu_intr3",
4903                    "cargo:rustc-cfg=gpio_driver_supported",
4904                    "cargo:rustc-cfg=dedicated_gpio_driver_supported",
4905                    "cargo:rustc-cfg=io_mux_driver_supported",
4906                    "cargo:rustc-cfg=lp_io_driver_supported",
4907                    "cargo:rustc-cfg=uart_driver_supported",
4908                    "cargo:rustc-cfg=uhci_driver_supported",
4909                    "cargo:rustc-cfg=i2c_master_driver_supported",
4910                    "cargo:rustc-cfg=spi_master_driver_supported",
4911                    "cargo:rustc-cfg=spi_slave_driver_supported",
4912                    "cargo:rustc-cfg=i2s_driver_supported",
4913                    "cargo:rustc-cfg=parl_io_driver_supported",
4914                    "cargo:rustc-cfg=rmt_driver_supported",
4915                    "cargo:rustc-cfg=twai_driver_supported",
4916                    "cargo:rustc-cfg=usb_serial_jtag_driver_supported",
4917                    "cargo:rustc-cfg=bt_driver_supported",
4918                    "cargo:rustc-cfg=ieee802154_driver_supported",
4919                    "cargo:rustc-cfg=phy_driver_supported",
4920                    "cargo:rustc-cfg=adc_driver_supported",
4921                    "cargo:rustc-cfg=temp_sensor_driver_supported",
4922                    "cargo:rustc-cfg=ledc_driver_supported",
4923                    "cargo:rustc-cfg=mcpwm_driver_supported",
4924                    "cargo:rustc-cfg=pcnt_driver_supported",
4925                    "cargo:rustc-cfg=lp_timer_driver_supported",
4926                    "cargo:rustc-cfg=sdm_driver_supported",
4927                    "cargo:rustc-cfg=systimer_driver_supported",
4928                    "cargo:rustc-cfg=timergroup_driver_supported",
4929                    "cargo:rustc-cfg=aes_driver_supported",
4930                    "cargo:rustc-cfg=ecc_driver_supported",
4931                    "cargo:rustc-cfg=hmac_driver_supported",
4932                    "cargo:rustc-cfg=rng_driver_supported",
4933                    "cargo:rustc-cfg=rsa_driver_supported",
4934                    "cargo:rustc-cfg=sha_driver_supported",
4935                    "cargo:rustc-cfg=sleep_driver_supported",
4936                    "cargo:rustc-cfg=assist_debug_driver_supported",
4937                    "cargo:rustc-cfg=dma_driver_supported",
4938                    "cargo:rustc-cfg=etm_driver_supported",
4939                    "cargo:rustc-cfg=interrupts_driver_supported",
4940                    "cargo:rustc-cfg=mmu_driver_supported",
4941                    "cargo:rustc-cfg=rom_driver_supported",
4942                    "cargo:rustc-cfg=soc_driver_supported",
4943                    "cargo:rustc-cfg=uart_uart0",
4944                    "cargo:rustc-cfg=uart_uart1",
4945                    "cargo:rustc-cfg=i2c_master_i2c0",
4946                    "cargo:rustc-cfg=i2c_master_i2c1",
4947                    "cargo:rustc-cfg=spi_master_spi2",
4948                    "cargo:rustc-cfg=spi_slave_spi2",
4949                    "cargo:rustc-cfg=i2s_i2s0",
4950                    "cargo:rustc-cfg=adc_adc1",
4951                    "cargo:rustc-cfg=timergroup_timg0",
4952                    "cargo:rustc-cfg=timergroup_timg1",
4953                    "cargo:rustc-cfg=gpio_version=\"2\"",
4954                    "cargo:rustc-cfg=gpio_has_input_sync",
4955                    "cargo:rustc-cfg=gpio_gpio_function=\"1\"",
4956                    "cargo:rustc-cfg=gpio_constant_0_input=\"60\"",
4957                    "cargo:rustc-cfg=gpio_constant_1_input=\"56\"",
4958                    "cargo:rustc-cfg=gpio_func_in_sel_offset=\"0\"",
4959                    "cargo:rustc-cfg=soc_has_xtal32k_pads",
4960                    "cargo:rustc-cfg=gpio_input_signal_max=\"124\"",
4961                    "cargo:rustc-cfg=gpio_output_signal_max=\"128\"",
4962                    "cargo:rustc-cfg=dedicated_gpio_version=\"riscv_v1\"",
4963                    "cargo:rustc-cfg=lp_io_version=\"esp32h2\"",
4964                    "cargo:rustc-cfg=uart_ram_size=\"128\"",
4965                    "cargo:rustc-cfg=uart_version=\"2\"",
4966                    "cargo:rustc-cfg=uart_peripheral_controls_mem_clk",
4967                    "cargo:rustc-cfg=uart_has_sclk_enable",
4968                    "cargo:rustc-cfg=i2c_master_version=\"4\"",
4969                    "cargo:rustc-cfg=i2c_master_has_fsm_timeouts",
4970                    "cargo:rustc-cfg=i2c_master_has_hw_bus_clear",
4971                    "cargo:rustc-cfg=i2c_master_has_bus_timeout_enable",
4972                    "cargo:rustc-cfg=i2c_master_can_estimate_nack_reason",
4973                    "cargo:rustc-cfg=i2c_master_has_conf_update",
4974                    "cargo:rustc-cfg=i2c_master_has_reliable_fsm_reset",
4975                    "cargo:rustc-cfg=i2c_master_has_arbitration_en",
4976                    "cargo:rustc-cfg=i2c_master_has_tx_fifo_watermark",
4977                    "cargo:rustc-cfg=i2c_master_bus_timeout_is_exponential",
4978                    "cargo:rustc-cfg=i2c_master_has_pd_en",
4979                    "cargo:rustc-cfg=i2c_master_max_bus_timeout=\"31\"",
4980                    "cargo:rustc-cfg=i2c_master_ll_intr_mask=\"262143\"",
4981                    "cargo:rustc-cfg=i2c_master_fifo_size=\"32\"",
4982                    "cargo:rustc-cfg=spi_master_version=\"3\"",
4983                    "cargo:rustc-cfg=spi_master_fifo_size=\"64\"",
4984                    "cargo:rustc-cfg=spi_master_has_app_interrupts",
4985                    "cargo:rustc-cfg=spi_master_has_dma_segmented_transfer",
4986                    "cargo:rustc-cfg=i2s_version=\"3\"",
4987                    "cargo:rustc-cfg=i2s_version_is_set",
4988                    "cargo:rustc-cfg=i2s_default_clock_source=\"1\"",
4989                    "cargo:rustc-cfg=i2s_default_clock_source_is_set",
4990                    "cargo:rustc-cfg=i2s_mclk_divider_bit_width=\"9\"",
4991                    "cargo:rustc-cfg=i2s_mclk_divider_bit_width_is_set",
4992                    "cargo:rustc-cfg=i2s_max_ws_width=\"512\"",
4993                    "cargo:rustc-cfg=i2s_max_ws_width_is_set",
4994                    "cargo:rustc-cfg=i2s_clock_configured_by_pcr",
4995                    "cargo:rustc-cfg=i2s_supports_pdm_tx",
4996                    "cargo:rustc-cfg=i2s_supports_pdm_rx",
4997                    "cargo:rustc-cfg=i2s_supports_pcm2pdm",
4998                    "cargo:rustc-cfg=parl_io_version=\"2\"",
4999                    "cargo:rustc-cfg=rmt_ram_start=\"1610642432\"",
5000                    "cargo:rustc-cfg=rmt_channel_ram_size=\"48\"",
5001                    "cargo:rustc-cfg=rmt_has_tx_immediate_stop",
5002                    "cargo:rustc-cfg=rmt_has_tx_loop_count",
5003                    "cargo:rustc-cfg=rmt_has_tx_loop_auto_stop",
5004                    "cargo:rustc-cfg=rmt_has_tx_carrier_data_only",
5005                    "cargo:rustc-cfg=rmt_has_tx_sync",
5006                    "cargo:rustc-cfg=rmt_has_rx_wrap",
5007                    "cargo:rustc-cfg=rmt_has_rx_demodulation",
5008                    "cargo:rustc-cfg=bt_controller=\"npl\"",
5009                    "cargo:rustc-cfg=ledc_version=\"3\"",
5010                    "cargo:rustc-cfg=ledc_channel_count=\"6\"",
5011                    "cargo:rustc-cfg=soc_has_sdm_ch0",
5012                    "cargo:rustc-cfg=soc_has_sdm_ch1",
5013                    "cargo:rustc-cfg=soc_has_sdm_ch2",
5014                    "cargo:rustc-cfg=soc_has_sdm_ch3",
5015                    "cargo:rustc-cfg=timergroup_timg_has_divcnt_rst",
5016                    "cargo:rustc-cfg=timergroup_rc_fast_calibration_divider",
5017                    "cargo:rustc-cfg=timergroup_rc_fast_calibration_tick_enable",
5018                    "cargo:rustc-cfg=timergroup_rc_fast_calibration_is_set",
5019                    "cargo:rustc-cfg=aes_dma_mode_ecb",
5020                    "cargo:rustc-cfg=aes_dma_mode_cbc",
5021                    "cargo:rustc-cfg=aes_dma_mode_ofb",
5022                    "cargo:rustc-cfg=aes_dma_mode_ctr",
5023                    "cargo:rustc-cfg=aes_dma_mode_cfb8",
5024                    "cargo:rustc-cfg=aes_dma_mode_cfb128",
5025                    "cargo:rustc-cfg=aes_has_split_text_registers",
5026                    "cargo:rustc-cfg=ecc_zero_extend_writes",
5027                    "cargo:rustc-cfg=ecc_separate_jacobian_point_memory",
5028                    "cargo:rustc-cfg=ecc_has_memory_clock_gate",
5029                    "cargo:rustc-cfg=ecc_supports_enhanced_security",
5030                    "cargo:rustc-cfg=ecc_has_modular_arithmetic",
5031                    "cargo:rustc-cfg=ecc_has_point_addition",
5032                    "cargo:rustc-cfg=ecc_has_curve_p192",
5033                    "cargo:rustc-cfg=ecc_has_curve_p256",
5034                    "cargo:rustc-cfg=rng_apb_cycle_wait_num=\"16\"",
5035                    "cargo:rustc-cfg=rng_trng_supported",
5036                    "cargo:rustc-cfg=rsa_version=\"3\"",
5037                    "cargo:rustc-cfg=rsa_size_increment=\"32\"",
5038                    "cargo:rustc-cfg=rsa_memory_size_bytes=\"384\"",
5039                    "cargo:rustc-cfg=sleep_light_sleep",
5040                    "cargo:rustc-cfg=sleep_deep_sleep",
5041                    "cargo:rustc-cfg=sleep_has_wakeup_source_ext1",
5042                    "cargo:rustc-cfg=sleep_has_wakeup_source_gpio",
5043                    "cargo:rustc-cfg=sleep_has_wakeup_source_wifi_beacon",
5044                    "cargo:rustc-cfg=sleep_has_wakeup_source_timer",
5045                    "cargo:rustc-cfg=sleep_has_wakeup_source_wifi",
5046                    "cargo:rustc-cfg=sleep_has_wakeup_source_uart",
5047                    "cargo:rustc-cfg=sleep_has_wakeup_source_sdio",
5048                    "cargo:rustc-cfg=sleep_has_wakeup_source_bt",
5049                    "cargo:rustc-cfg=sleep_has_wakeup_source_lp_core",
5050                    "cargo:rustc-cfg=sleep_ext1_version=\"2\"",
5051                    "cargo:rustc-cfg=sleep_ext1_version_is_set",
5052                    "cargo:rustc-cfg=assist_debug_has_sp_monitor",
5053                    "cargo:rustc-cfg=assist_debug_has_region_monitor",
5054                    "cargo:rustc-cfg=dma_separate_in_out_interrupts",
5055                    "cargo:rustc-cfg=dma_gdma_version=\"1\"",
5056                    "cargo:rustc-cfg=dma_gdma_version_is_set",
5057                    "cargo:rustc-cfg=soc_has_dma_ch0",
5058                    "cargo:rustc-cfg=soc_has_dma_ch1",
5059                    "cargo:rustc-cfg=soc_has_dma_ch2",
5060                    "cargo:rustc-cfg=dma_supports_mem2mem",
5061                    "cargo:rustc-cfg=aes_supports_dma",
5062                    "cargo:rustc-cfg=aes_dma_engine=\"AHB_GDMA\"",
5063                    "cargo:rustc-cfg=sha_supports_dma",
5064                    "cargo:rustc-cfg=sha_dma_engine=\"AHB_GDMA\"",
5065                    "cargo:rustc-cfg=spi_master_supports_dma",
5066                    "cargo:rustc-cfg=spi_master_dma_engine=\"AHB_GDMA\"",
5067                    "cargo:rustc-cfg=spi_slave_supports_dma",
5068                    "cargo:rustc-cfg=spi_slave_dma_engine=\"AHB_GDMA\"",
5069                    "cargo:rustc-cfg=uhci_supports_dma",
5070                    "cargo:rustc-cfg=uhci_dma_engine=\"AHB_GDMA\"",
5071                    "cargo:rustc-cfg=i2s_supports_dma",
5072                    "cargo:rustc-cfg=i2s_dma_engine=\"AHB_GDMA\"",
5073                    "cargo:rustc-cfg=parl_io_supports_dma",
5074                    "cargo:rustc-cfg=parl_io_dma_engine=\"AHB_GDMA\"",
5075                    "cargo:rustc-cfg=dma_max_priority=\"5\"",
5076                    "cargo:rustc-cfg=dma_max_priority_is_set",
5077                    "cargo:rustc-cfg=interrupts_status_registers=\"2\"",
5078                    "cargo:rustc-cfg=interrupt_controller=\"plic\"",
5079                    "cargo:rustc-cfg=mmu_page_size=\"65536\"",
5080                    "cargo:rustc-cfg=mmu_entry_num=\"256\"",
5081                    "cargo:rustc-cfg=rom_has_crc_le",
5082                    "cargo:rustc-cfg=rom_has_crc_be",
5083                    "cargo:rustc-cfg=rom_has_md5_bsd",
5084                    "cargo:rustc-cfg=soc_cpu_has_csr_pc",
5085                    "cargo:rustc-cfg=soc_cpu_csr_prv_mode=\"3088\"",
5086                    "cargo:rustc-cfg=soc_cpu_csr_prv_mode_is_set",
5087                    "cargo:rustc-cfg=soc_has_swd_watchdog",
5088                    "cargo:rustc-cfg=soc_cpu_mcause_mask=\"31\"",
5089                    "cargo:rustc-cfg=soc_has_clock_node_xtal_clk",
5090                    "cargo:rustc-cfg=soc_clock_node_xtal_clk_is_configurable",
5091                    "cargo:rustc-cfg=soc_has_clock_node_pll_f96m_clk",
5092                    "cargo:rustc-cfg=soc_has_clock_node_pll_f64m_clk",
5093                    "cargo:rustc-cfg=soc_has_clock_node_pll_f48m_clk",
5094                    "cargo:rustc-cfg=soc_has_clock_node_rc_fast_clk",
5095                    "cargo:rustc-cfg=soc_has_clock_node_iomux_function_clock",
5096                    "cargo:rustc-cfg=soc_clock_node_iomux_function_clock_is_configurable",
5097                    "cargo:rustc-cfg=soc_has_clock_node_xtal32k_clk",
5098                    "cargo:rustc-cfg=soc_has_clock_node_osc_slow_clk",
5099                    "cargo:rustc-cfg=soc_has_clock_node_rc_slow_clk",
5100                    "cargo:rustc-cfg=soc_has_clock_node_pll_lp_clk",
5101                    "cargo:rustc-cfg=soc_has_clock_node_hp_root_clk",
5102                    "cargo:rustc-cfg=soc_clock_node_hp_root_clk_is_configurable",
5103                    "cargo:rustc-cfg=soc_has_clock_node_cpu_clk",
5104                    "cargo:rustc-cfg=soc_clock_node_cpu_clk_is_configurable",
5105                    "cargo:rustc-cfg=soc_has_clock_node_ahb_clk",
5106                    "cargo:rustc-cfg=soc_clock_node_ahb_clk_is_configurable",
5107                    "cargo:rustc-cfg=soc_has_clock_node_apb_clk",
5108                    "cargo:rustc-cfg=soc_clock_node_apb_clk_is_configurable",
5109                    "cargo:rustc-cfg=soc_has_clock_node_xtal_d2_clk",
5110                    "cargo:rustc-cfg=soc_has_clock_node_lp_fast_clk",
5111                    "cargo:rustc-cfg=soc_clock_node_lp_fast_clk_is_configurable",
5112                    "cargo:rustc-cfg=soc_has_clock_node_lp_slow_clk",
5113                    "cargo:rustc-cfg=soc_clock_node_lp_slow_clk_is_configurable",
5114                    "cargo:rustc-cfg=soc_has_clock_node_timg_calibration_clock",
5115                    "cargo:rustc-cfg=soc_clock_node_timg_calibration_clock_is_configurable",
5116                    "cargo:rustc-cfg=soc_has_clock_node_uart_function_clock",
5117                    "cargo:rustc-cfg=soc_clock_node_uart_function_clock_is_configurable",
5118                    "cargo:rustc-cfg=soc_has_clock_node_uart_baud_rate_generator",
5119                    "cargo:rustc-cfg=soc_clock_node_uart_baud_rate_generator_is_configurable",
5120                    "cargo:rustc-cfg=soc_has_clock_node_sdm_function_clock",
5121                    "cargo:rustc-cfg=soc_has_clock_node_rmt_sclk",
5122                    "cargo:rustc-cfg=soc_clock_node_rmt_sclk_is_configurable",
5123                    "cargo:rustc-cfg=soc_has_clock_node_timg_function_clock",
5124                    "cargo:rustc-cfg=soc_clock_node_timg_function_clock_is_configurable",
5125                    "cargo:rustc-cfg=soc_has_clock_node_timg_wdt_clock",
5126                    "cargo:rustc-cfg=soc_clock_node_timg_wdt_clock_is_configurable",
5127                    "cargo:rustc-cfg=soc_has_clock_node_mcpwm_function_clock",
5128                    "cargo:rustc-cfg=soc_clock_node_mcpwm_function_clock_is_configurable",
5129                    "cargo:rustc-cfg=soc_has_clock_node_parl_io_rx_clock",
5130                    "cargo:rustc-cfg=soc_clock_node_parl_io_rx_clock_is_configurable",
5131                    "cargo:rustc-cfg=soc_has_clock_node_parl_io_tx_clock",
5132                    "cargo:rustc-cfg=soc_clock_node_parl_io_tx_clock_is_configurable",
5133                    "cargo:rustc-cfg=soc_has_clock_node_i2c_function_clock",
5134                    "cargo:rustc-cfg=soc_clock_node_i2c_function_clock_is_configurable",
5135                    "cargo:rustc-cfg=soc_has_clock_node_spi_function_clock",
5136                    "cargo:rustc-cfg=soc_clock_node_spi_function_clock_is_configurable",
5137                    "cargo:rustc-cfg=has_dram_region",
5138                    "cargo:rustc-cfg=has_dram2_uninit_region",
5139                    "cargo:rustc-cfg=has_irom_region",
5140                    "cargo:rustc-cfg=has_drom_region",
5141                ],
5142                memory_layout: &MemoryLayout {
5143                    regions: &[
5144                        (
5145                            "dram",
5146                            MemoryRegion {
5147                                address_range: 0x40800000..0x40850000,
5148                            },
5149                        ),
5150                        (
5151                            "dram2_uninit",
5152                            MemoryRegion {
5153                                address_range: 0x4083EFD0..0x4084FEE0,
5154                            },
5155                        ),
5156                        (
5157                            "irom",
5158                            MemoryRegion {
5159                                address_range: 0x42000000..0x43000000,
5160                            },
5161                        ),
5162                        (
5163                            "drom",
5164                            MemoryRegion {
5165                                address_range: 0x42000000..0x43000000,
5166                            },
5167                        ),
5168                    ],
5169                },
5170                pins: &[
5171                    PinInfo {
5172                        pin: 0,
5173                        limitations: &[],
5174                    },
5175                    PinInfo {
5176                        pin: 1,
5177                        limitations: &[],
5178                    },
5179                    PinInfo {
5180                        pin: 2,
5181                        limitations: &["jtag"],
5182                    },
5183                    PinInfo {
5184                        pin: 3,
5185                        limitations: &["jtag"],
5186                    },
5187                    PinInfo {
5188                        pin: 4,
5189                        limitations: &["jtag"],
5190                    },
5191                    PinInfo {
5192                        pin: 5,
5193                        limitations: &["jtag"],
5194                    },
5195                    PinInfo {
5196                        pin: 6,
5197                        limitations: &["spi_flash"],
5198                    },
5199                    PinInfo {
5200                        pin: 7,
5201                        limitations: &["spi_flash"],
5202                    },
5203                    PinInfo {
5204                        pin: 8,
5205                        limitations: &["strapping"],
5206                    },
5207                    PinInfo {
5208                        pin: 9,
5209                        limitations: &["strapping"],
5210                    },
5211                    PinInfo {
5212                        pin: 10,
5213                        limitations: &[],
5214                    },
5215                    PinInfo {
5216                        pin: 11,
5217                        limitations: &[],
5218                    },
5219                    PinInfo {
5220                        pin: 12,
5221                        limitations: &[],
5222                    },
5223                    PinInfo {
5224                        pin: 13,
5225                        limitations: &[],
5226                    },
5227                    PinInfo {
5228                        pin: 14,
5229                        limitations: &[],
5230                    },
5231                    PinInfo {
5232                        pin: 22,
5233                        limitations: &[],
5234                    },
5235                    PinInfo {
5236                        pin: 23,
5237                        limitations: &["bootloader_uart"],
5238                    },
5239                    PinInfo {
5240                        pin: 24,
5241                        limitations: &["bootloader_uart"],
5242                    },
5243                    PinInfo {
5244                        pin: 25,
5245                        limitations: &["strapping"],
5246                    },
5247                    PinInfo {
5248                        pin: 26,
5249                        limitations: &["usb_jtag"],
5250                    },
5251                    PinInfo {
5252                        pin: 27,
5253                        limitations: &["usb_jtag"],
5254                    },
5255                ],
5256            },
5257            Self::Esp32p4 => Config {
5258                architecture: "riscv",
5259                target: "riscv32imafc-unknown-none-elf",
5260                symbols: &[
5261                    "esp32p4",
5262                    "riscv",
5263                    "multi_core",
5264                    "soc_has_efuse",
5265                    "soc_has_gpio",
5266                    "soc_has_gpio_sd",
5267                    "soc_has_system",
5268                    "soc_has_hp_sys",
5269                    "soc_has_hp_sys_clkrst",
5270                    "soc_has_rng",
5271                    "soc_has_interrupt_core0",
5272                    "soc_has_interrupt_core1",
5273                    "soc_has_lp_i2c_ana_mst",
5274                    "soc_has_clic",
5275                    "soc_has_io_mux",
5276                    "soc_has_iomux_mspi_pin",
5277                    "soc_has_lp_i2c0",
5278                    "soc_has_lp_aon",
5279                    "soc_has_lp_aon_clkrst",
5280                    "soc_has_lp_sys",
5281                    "soc_has_lp_gpio",
5282                    "soc_has_lp_io_mux",
5283                    "soc_has_lp_peri",
5284                    "soc_has_rtc_timer",
5285                    "soc_has_lp_wdt",
5286                    "soc_has_lpwr",
5287                    "soc_has_pmu",
5288                    "soc_has_systimer",
5289                    "soc_has_timg0",
5290                    "soc_has_timg1",
5291                    "soc_has_uart0",
5292                    "soc_has_uart1",
5293                    "soc_has_uart2",
5294                    "soc_has_uart3",
5295                    "soc_has_uart4",
5296                    "soc_has_uhci0",
5297                    "soc_has_spi0",
5298                    "soc_has_spi1",
5299                    "soc_has_memspi2",
5300                    "soc_has_memspi3",
5301                    "soc_has_spi2",
5302                    "soc_has_spi3",
5303                    "soc_has_i2c0",
5304                    "soc_has_i2c1",
5305                    "soc_has_i2s0",
5306                    "soc_has_i2s1",
5307                    "soc_has_i2s2",
5308                    "soc_has_twai0",
5309                    "soc_has_twai1",
5310                    "soc_has_twai2",
5311                    "soc_has_dma",
5312                    "soc_has_axi_gdma",
5313                    "soc_has_eth",
5314                    "soc_has_emac_dma",
5315                    "soc_has_emac_mac",
5316                    "soc_has_mipi_dsi",
5317                    "soc_has_vdma",
5318                    "soc_has_mipi_dsi_host",
5319                    "soc_has_mipi_dsi_bridge",
5320                    "soc_has_usb_device",
5321                    "soc_has_sdhost",
5322                    "soc_has_ledc",
5323                    "soc_has_mcpwm0",
5324                    "soc_has_mcpwm1",
5325                    "soc_has_pcnt",
5326                    "soc_has_apb_saradc",
5327                    "soc_has_lp_adc",
5328                    "soc_has_rmt",
5329                    "soc_has_aes",
5330                    "soc_has_sha",
5331                    "soc_has_rsa",
5332                    "soc_has_ecc",
5333                    "soc_has_usb_fs",
5334                    "soc_has_usb_hs",
5335                    "soc_has_usb_wrap",
5336                    "soc_has_adc1",
5337                    "soc_has_adc2",
5338                    "soc_has_flash",
5339                    "soc_has_psram",
5340                    "soc_has_gpio_dedicated",
5341                    "soc_has_cpu_ctrl",
5342                    "soc_has_from_cpu_intr0",
5343                    "soc_has_from_cpu_intr1",
5344                    "soc_has_from_cpu_intr2",
5345                    "soc_has_from_cpu_intr3",
5346                    "gpio_driver_supported",
5347                    "dedicated_gpio_driver_supported",
5348                    "io_mux_driver_supported",
5349                    "lp_io_driver_supported",
5350                    "uart_driver_supported",
5351                    "uhci_driver_supported",
5352                    "i2c_master_driver_supported",
5353                    "lp_i2c_master_driver_supported",
5354                    "spi_master_driver_supported",
5355                    "spi_slave_driver_supported",
5356                    "i2s_driver_supported",
5357                    "rmt_driver_supported",
5358                    "sdmmc_driver_supported",
5359                    "usb_otg_driver_supported",
5360                    "usb_otg_hs_driver_supported",
5361                    "usb_serial_jtag_driver_supported",
5362                    "ethernet_driver_supported",
5363                    "mipi_dsi_driver_supported",
5364                    "adc_driver_supported",
5365                    "lp_timer_driver_supported",
5366                    "sdm_driver_supported",
5367                    "systimer_driver_supported",
5368                    "timergroup_driver_supported",
5369                    "aes_driver_supported",
5370                    "ecc_driver_supported",
5371                    "rng_driver_supported",
5372                    "rsa_driver_supported",
5373                    "sha_driver_supported",
5374                    "sleep_driver_supported",
5375                    "dma_driver_supported",
5376                    "interrupts_driver_supported",
5377                    "mmu_driver_supported",
5378                    "psram_driver_supported",
5379                    "rom_driver_supported",
5380                    "soc_driver_supported",
5381                    "uart_uart0",
5382                    "uart_uart1",
5383                    "uart_uart2",
5384                    "uart_uart3",
5385                    "uart_uart4",
5386                    "i2c_master_i2c0",
5387                    "i2c_master_i2c1",
5388                    "spi_master_spi2",
5389                    "spi_master_spi3",
5390                    "spi_slave_spi2",
5391                    "spi_slave_spi3",
5392                    "i2s_i2s0",
5393                    "i2s_i2s1",
5394                    "i2s_i2s2",
5395                    "adc_adc1",
5396                    "adc_adc2",
5397                    "timergroup_timg0",
5398                    "timergroup_timg1",
5399                    "gpio_version=\"3\"",
5400                    "gpio_has_input_sync",
5401                    "gpio_gpio_function=\"1\"",
5402                    "gpio_constant_0_input=\"62\"",
5403                    "gpio_constant_1_input=\"63\"",
5404                    "gpio_func_in_sel_offset=\"1\"",
5405                    "gpio_has_bank_1",
5406                    "gpio_input_signal_max=\"249\"",
5407                    "gpio_output_signal_max=\"256\"",
5408                    "dedicated_gpio_version=\"riscv_v2\"",
5409                    "lp_io_version=\"esp32p4\"",
5410                    "lp_io_has_gpio_matrix",
5411                    "uart_ram_size=\"128\"",
5412                    "uart_version=\"2\"",
5413                    "uhci_combined_uart_selector_field",
5414                    "i2c_master_version=\"4\"",
5415                    "i2c_master_has_fsm_timeouts",
5416                    "i2c_master_has_hw_bus_clear",
5417                    "i2c_master_has_bus_timeout_enable",
5418                    "i2c_master_can_estimate_nack_reason",
5419                    "i2c_master_has_conf_update",
5420                    "i2c_master_has_arbitration_en",
5421                    "i2c_master_has_pd_en",
5422                    "i2c_master_max_bus_timeout=\"31\"",
5423                    "i2c_master_ll_intr_mask=\"262143\"",
5424                    "i2c_master_fifo_size=\"32\"",
5425                    "lp_i2c_master_version=\"lp_i2c\"",
5426                    "lp_i2c_master_fifo_size=\"16\"",
5427                    "lp_i2c_master_fifo_size_is_set",
5428                    "spi_master_version=\"3\"",
5429                    "spi_master_fifo_size=\"64\"",
5430                    "i2s_version=\"3\"",
5431                    "i2s_version_is_set",
5432                    "i2s_default_clock_source=\"3\"",
5433                    "i2s_default_clock_source_is_set",
5434                    "i2s_mclk_divider_bit_width=\"6\"",
5435                    "i2s_mclk_divider_bit_width_is_set",
5436                    "i2s_max_ws_width=\"128\"",
5437                    "i2s_max_ws_width_is_set",
5438                    "i2s_clock_configured_by_hp_sys_clkrst",
5439                    "i2s_supports_pdm_rx_hp_filter",
5440                    "i2s_supports_pdm_tx",
5441                    "i2s_supports_pdm_rx",
5442                    "i2s_supports_pcm2pdm",
5443                    "i2s_supports_pdm2pcm",
5444                    "rmt_ram_start=\"1342842880\"",
5445                    "rmt_channel_ram_size=\"48\"",
5446                    "rmt_has_tx_immediate_stop",
5447                    "rmt_has_tx_loop_count",
5448                    "rmt_has_tx_loop_auto_stop",
5449                    "rmt_has_tx_carrier_data_only",
5450                    "rmt_has_tx_sync",
5451                    "rmt_has_rx_wrap",
5452                    "rmt_has_rx_demodulation",
5453                    "sdmmc_delay_phase_num=\"8\"",
5454                    "sdmmc_delay_phase_num_is_set",
5455                    "sdmmc_has_iomux",
5456                    "sdmmc_has_gpio_matrix",
5457                    "sdmmc_psram_dma",
5458                    "usb_otg_fifo_depth_words=\"200\"",
5459                    "usb_otg_hs_fifo_depth_words=\"896\"",
5460                    "ethernet_mii_via_gpio_matrix",
5461                    "soc_has_sdm_ch0",
5462                    "soc_has_sdm_ch1",
5463                    "soc_has_sdm_ch2",
5464                    "soc_has_sdm_ch3",
5465                    "soc_has_sdm_ch4",
5466                    "soc_has_sdm_ch5",
5467                    "soc_has_sdm_ch6",
5468                    "soc_has_sdm_ch7",
5469                    "timergroup_timg_has_timer1",
5470                    "timergroup_timg_has_divcnt_rst",
5471                    "timergroup_rc_fast_calibration_is_set",
5472                    "aes_dma_mode_ecb",
5473                    "aes_dma_mode_cbc",
5474                    "aes_dma_mode_ofb",
5475                    "aes_dma_mode_ctr",
5476                    "aes_dma_mode_cfb8",
5477                    "aes_dma_mode_cfb128",
5478                    "aes_dma_mode_gcm",
5479                    "aes_has_split_text_registers",
5480                    "ecc_separate_jacobian_point_memory",
5481                    "ecc_has_memory_clock_gate",
5482                    "ecc_supports_enhanced_security",
5483                    "ecc_has_modular_arithmetic",
5484                    "ecc_has_point_addition",
5485                    "ecc_has_curve_p192",
5486                    "ecc_has_curve_p256",
5487                    "ecc_has_curve_p384",
5488                    "rng_apb_cycle_wait_num=\"16\"",
5489                    "rng_is_lp_sys",
5490                    "rsa_version=\"3\"",
5491                    "rsa_size_increment=\"32\"",
5492                    "rsa_memory_size_bytes=\"512\"",
5493                    "sleep_light_sleep",
5494                    "sleep_deep_sleep",
5495                    "sleep_has_wakeup_source_sdio",
5496                    "sleep_has_wakeup_source_gpio",
5497                    "sleep_has_wakeup_source_usb",
5498                    "sleep_has_wakeup_source_uart",
5499                    "sleep_has_wakeup_source_touch",
5500                    "sleep_has_wakeup_source_ext1",
5501                    "sleep_has_wakeup_source_timer",
5502                    "sleep_ext1_version=\"3\"",
5503                    "sleep_ext1_version_is_set",
5504                    "sleep_pin_wakeup_version=\"3\"",
5505                    "sleep_pin_wakeup_version_is_set",
5506                    "dma_separate_in_out_interrupts",
5507                    "dma_gdma_version=\"2\"",
5508                    "dma_gdma_version_is_set",
5509                    "soc_has_dma_ch0",
5510                    "soc_has_dma_ch1",
5511                    "soc_has_dma_ch2",
5512                    "soc_has_dma_axi_ch0",
5513                    "soc_has_dma_axi_ch1",
5514                    "soc_has_dma_axi_ch2",
5515                    "soc_has_vdma_ch0",
5516                    "soc_has_vdma_ch1",
5517                    "soc_has_vdma_ch2",
5518                    "soc_has_vdma_ch3",
5519                    "dma_supports_mem2mem",
5520                    "i2s_supports_dma",
5521                    "i2s_dma_engine=\"AHB_GDMA\"",
5522                    "uhci_supports_dma",
5523                    "uhci_dma_engine=\"AHB_GDMA\"",
5524                    "aes_supports_dma",
5525                    "aes_dma_engine=\"AXI_GDMA\"",
5526                    "sha_supports_dma",
5527                    "sha_dma_engine=\"AXI_GDMA\"",
5528                    "spi_master_supports_dma",
5529                    "spi_master_dma_engine=\"AXI_GDMA\"",
5530                    "spi_slave_supports_dma",
5531                    "spi_slave_dma_engine=\"AXI_GDMA\"",
5532                    "mipi_dsi_supports_dma",
5533                    "mipi_dsi_dma_engine=\"VDMA\"",
5534                    "dma_can_access_psram",
5535                    "dma_max_priority=\"5\"",
5536                    "dma_max_priority_is_set",
5537                    "interrupts_status_registers=\"5\"",
5538                    "interrupt_controller=\"clic\"",
5539                    "mmu_page_size=\"65536\"",
5540                    "mmu_entry_num=\"512\"",
5541                    "psram_octal_spi",
5542                    "psram_hex_spi",
5543                    "psram_extmem_origin=\"1207959552\"",
5544                    "rom_has_crc_le",
5545                    "rom_has_crc_be",
5546                    "rom_has_md5_bsd",
5547                    "soc_cpu_has_branch_predictor",
5548                    "soc_multi_core_enabled",
5549                    "soc_internal_memory_cached",
5550                    "soc_has_swd_watchdog",
5551                    "soc_cpu_mcause_mask=\"63\"",
5552                    "soc_has_clock_node_xtal_clk",
5553                    "soc_has_clock_node_cpll_clk",
5554                    "soc_clock_node_cpll_clk_is_configurable",
5555                    "soc_has_clock_node_spll_clk",
5556                    "soc_has_clock_node_mpll_clk",
5557                    "soc_clock_node_mpll_clk_is_configurable",
5558                    "soc_has_clock_node_rc_fast_clk",
5559                    "soc_has_clock_node_xtal32k_clk",
5560                    "soc_has_clock_node_osc_slow_clk",
5561                    "soc_has_clock_node_rc_slow_clk",
5562                    "soc_has_clock_node_rc32k_clk",
5563                    "soc_has_clock_node_pll_f20m",
5564                    "soc_has_clock_node_pll_f80m",
5565                    "soc_has_clock_node_pll_f120m",
5566                    "soc_has_clock_node_pll_f160m",
5567                    "soc_has_clock_node_pll_f240m",
5568                    "soc_has_clock_node_spll_d3_clock",
5569                    "soc_has_clock_node_iomux_function_clock",
5570                    "soc_clock_node_iomux_function_clock_is_configurable",
5571                    "soc_has_clock_node_pll_f25m",
5572                    "soc_has_clock_node_pll_f50m",
5573                    "soc_has_clock_node_xtal_d2_clk",
5574                    "soc_has_clock_node_cpu_root_clk",
5575                    "soc_clock_node_cpu_root_clk_is_configurable",
5576                    "soc_has_clock_node_cpu_clk",
5577                    "soc_clock_node_cpu_clk_is_configurable",
5578                    "soc_has_clock_node_mem_clk",
5579                    "soc_clock_node_mem_clk_is_configurable",
5580                    "soc_has_clock_node_sys_clk",
5581                    "soc_clock_node_sys_clk_is_configurable",
5582                    "soc_has_clock_node_apb_clk",
5583                    "soc_clock_node_apb_clk_is_configurable",
5584                    "soc_has_clock_node_lp_fast_clk",
5585                    "soc_clock_node_lp_fast_clk_is_configurable",
5586                    "soc_has_clock_node_lp_slow_clk",
5587                    "soc_clock_node_lp_slow_clk_is_configurable",
5588                    "soc_has_clock_node_timg_calibration_clock",
5589                    "soc_clock_node_timg_calibration_clock_is_configurable",
5590                    "soc_has_clock_node_psram_function_clock",
5591                    "soc_clock_node_psram_function_clock_is_configurable",
5592                    "soc_has_clock_node_uart_function_clock",
5593                    "soc_clock_node_uart_function_clock_is_configurable",
5594                    "soc_has_clock_node_uart_baud_rate_generator",
5595                    "soc_clock_node_uart_baud_rate_generator_is_configurable",
5596                    "soc_has_clock_node_sdm_function_clock",
5597                    "soc_has_clock_node_timg_function_clock",
5598                    "soc_clock_node_timg_function_clock_is_configurable",
5599                    "soc_has_clock_node_timg_wdt_clock",
5600                    "soc_clock_node_timg_wdt_clock_is_configurable",
5601                    "soc_has_clock_node_i2c_function_clock",
5602                    "soc_clock_node_i2c_function_clock_is_configurable",
5603                    "soc_has_clock_node_rmt_sclk",
5604                    "soc_clock_node_rmt_sclk_is_configurable",
5605                    "soc_has_clock_node_spi_function_clock",
5606                    "soc_clock_node_spi_function_clock_is_configurable",
5607                    "soc_has_clock_node_mipi_dsi_dpi_clk",
5608                    "soc_clock_node_mipi_dsi_dpi_clk_is_configurable",
5609                    "soc_has_clock_node_mipi_dsi_phy_pll_refclk",
5610                    "soc_clock_node_mipi_dsi_phy_pll_refclk_is_configurable",
5611                    "soc_has_clock_node_mipi_dsi_phy_cfg_clk",
5612                    "soc_clock_node_mipi_dsi_phy_cfg_clk_is_configurable",
5613                    "has_dram_region",
5614                    "has_dram2_uninit_region",
5615                    "has_irom_region",
5616                    "has_drom_region",
5617                ],
5618                cfgs: &[
5619                    "cargo:rustc-cfg=esp32p4",
5620                    "cargo:rustc-cfg=riscv",
5621                    "cargo:rustc-cfg=multi_core",
5622                    "cargo:rustc-cfg=soc_has_efuse",
5623                    "cargo:rustc-cfg=soc_has_gpio",
5624                    "cargo:rustc-cfg=soc_has_gpio_sd",
5625                    "cargo:rustc-cfg=soc_has_system",
5626                    "cargo:rustc-cfg=soc_has_hp_sys",
5627                    "cargo:rustc-cfg=soc_has_hp_sys_clkrst",
5628                    "cargo:rustc-cfg=soc_has_rng",
5629                    "cargo:rustc-cfg=soc_has_interrupt_core0",
5630                    "cargo:rustc-cfg=soc_has_interrupt_core1",
5631                    "cargo:rustc-cfg=soc_has_lp_i2c_ana_mst",
5632                    "cargo:rustc-cfg=soc_has_clic",
5633                    "cargo:rustc-cfg=soc_has_io_mux",
5634                    "cargo:rustc-cfg=soc_has_iomux_mspi_pin",
5635                    "cargo:rustc-cfg=soc_has_lp_i2c0",
5636                    "cargo:rustc-cfg=soc_has_lp_aon",
5637                    "cargo:rustc-cfg=soc_has_lp_aon_clkrst",
5638                    "cargo:rustc-cfg=soc_has_lp_sys",
5639                    "cargo:rustc-cfg=soc_has_lp_gpio",
5640                    "cargo:rustc-cfg=soc_has_lp_io_mux",
5641                    "cargo:rustc-cfg=soc_has_lp_peri",
5642                    "cargo:rustc-cfg=soc_has_rtc_timer",
5643                    "cargo:rustc-cfg=soc_has_lp_wdt",
5644                    "cargo:rustc-cfg=soc_has_lpwr",
5645                    "cargo:rustc-cfg=soc_has_pmu",
5646                    "cargo:rustc-cfg=soc_has_systimer",
5647                    "cargo:rustc-cfg=soc_has_timg0",
5648                    "cargo:rustc-cfg=soc_has_timg1",
5649                    "cargo:rustc-cfg=soc_has_uart0",
5650                    "cargo:rustc-cfg=soc_has_uart1",
5651                    "cargo:rustc-cfg=soc_has_uart2",
5652                    "cargo:rustc-cfg=soc_has_uart3",
5653                    "cargo:rustc-cfg=soc_has_uart4",
5654                    "cargo:rustc-cfg=soc_has_uhci0",
5655                    "cargo:rustc-cfg=soc_has_spi0",
5656                    "cargo:rustc-cfg=soc_has_spi1",
5657                    "cargo:rustc-cfg=soc_has_memspi2",
5658                    "cargo:rustc-cfg=soc_has_memspi3",
5659                    "cargo:rustc-cfg=soc_has_spi2",
5660                    "cargo:rustc-cfg=soc_has_spi3",
5661                    "cargo:rustc-cfg=soc_has_i2c0",
5662                    "cargo:rustc-cfg=soc_has_i2c1",
5663                    "cargo:rustc-cfg=soc_has_i2s0",
5664                    "cargo:rustc-cfg=soc_has_i2s1",
5665                    "cargo:rustc-cfg=soc_has_i2s2",
5666                    "cargo:rustc-cfg=soc_has_twai0",
5667                    "cargo:rustc-cfg=soc_has_twai1",
5668                    "cargo:rustc-cfg=soc_has_twai2",
5669                    "cargo:rustc-cfg=soc_has_dma",
5670                    "cargo:rustc-cfg=soc_has_axi_gdma",
5671                    "cargo:rustc-cfg=soc_has_eth",
5672                    "cargo:rustc-cfg=soc_has_emac_dma",
5673                    "cargo:rustc-cfg=soc_has_emac_mac",
5674                    "cargo:rustc-cfg=soc_has_mipi_dsi",
5675                    "cargo:rustc-cfg=soc_has_vdma",
5676                    "cargo:rustc-cfg=soc_has_mipi_dsi_host",
5677                    "cargo:rustc-cfg=soc_has_mipi_dsi_bridge",
5678                    "cargo:rustc-cfg=soc_has_usb_device",
5679                    "cargo:rustc-cfg=soc_has_sdhost",
5680                    "cargo:rustc-cfg=soc_has_ledc",
5681                    "cargo:rustc-cfg=soc_has_mcpwm0",
5682                    "cargo:rustc-cfg=soc_has_mcpwm1",
5683                    "cargo:rustc-cfg=soc_has_pcnt",
5684                    "cargo:rustc-cfg=soc_has_apb_saradc",
5685                    "cargo:rustc-cfg=soc_has_lp_adc",
5686                    "cargo:rustc-cfg=soc_has_rmt",
5687                    "cargo:rustc-cfg=soc_has_aes",
5688                    "cargo:rustc-cfg=soc_has_sha",
5689                    "cargo:rustc-cfg=soc_has_rsa",
5690                    "cargo:rustc-cfg=soc_has_ecc",
5691                    "cargo:rustc-cfg=soc_has_usb_fs",
5692                    "cargo:rustc-cfg=soc_has_usb_hs",
5693                    "cargo:rustc-cfg=soc_has_usb_wrap",
5694                    "cargo:rustc-cfg=soc_has_adc1",
5695                    "cargo:rustc-cfg=soc_has_adc2",
5696                    "cargo:rustc-cfg=soc_has_flash",
5697                    "cargo:rustc-cfg=soc_has_psram",
5698                    "cargo:rustc-cfg=soc_has_gpio_dedicated",
5699                    "cargo:rustc-cfg=soc_has_cpu_ctrl",
5700                    "cargo:rustc-cfg=soc_has_from_cpu_intr0",
5701                    "cargo:rustc-cfg=soc_has_from_cpu_intr1",
5702                    "cargo:rustc-cfg=soc_has_from_cpu_intr2",
5703                    "cargo:rustc-cfg=soc_has_from_cpu_intr3",
5704                    "cargo:rustc-cfg=gpio_driver_supported",
5705                    "cargo:rustc-cfg=dedicated_gpio_driver_supported",
5706                    "cargo:rustc-cfg=io_mux_driver_supported",
5707                    "cargo:rustc-cfg=lp_io_driver_supported",
5708                    "cargo:rustc-cfg=uart_driver_supported",
5709                    "cargo:rustc-cfg=uhci_driver_supported",
5710                    "cargo:rustc-cfg=i2c_master_driver_supported",
5711                    "cargo:rustc-cfg=lp_i2c_master_driver_supported",
5712                    "cargo:rustc-cfg=spi_master_driver_supported",
5713                    "cargo:rustc-cfg=spi_slave_driver_supported",
5714                    "cargo:rustc-cfg=i2s_driver_supported",
5715                    "cargo:rustc-cfg=rmt_driver_supported",
5716                    "cargo:rustc-cfg=sdmmc_driver_supported",
5717                    "cargo:rustc-cfg=usb_otg_driver_supported",
5718                    "cargo:rustc-cfg=usb_otg_hs_driver_supported",
5719                    "cargo:rustc-cfg=usb_serial_jtag_driver_supported",
5720                    "cargo:rustc-cfg=ethernet_driver_supported",
5721                    "cargo:rustc-cfg=mipi_dsi_driver_supported",
5722                    "cargo:rustc-cfg=adc_driver_supported",
5723                    "cargo:rustc-cfg=lp_timer_driver_supported",
5724                    "cargo:rustc-cfg=sdm_driver_supported",
5725                    "cargo:rustc-cfg=systimer_driver_supported",
5726                    "cargo:rustc-cfg=timergroup_driver_supported",
5727                    "cargo:rustc-cfg=aes_driver_supported",
5728                    "cargo:rustc-cfg=ecc_driver_supported",
5729                    "cargo:rustc-cfg=rng_driver_supported",
5730                    "cargo:rustc-cfg=rsa_driver_supported",
5731                    "cargo:rustc-cfg=sha_driver_supported",
5732                    "cargo:rustc-cfg=sleep_driver_supported",
5733                    "cargo:rustc-cfg=dma_driver_supported",
5734                    "cargo:rustc-cfg=interrupts_driver_supported",
5735                    "cargo:rustc-cfg=mmu_driver_supported",
5736                    "cargo:rustc-cfg=psram_driver_supported",
5737                    "cargo:rustc-cfg=rom_driver_supported",
5738                    "cargo:rustc-cfg=soc_driver_supported",
5739                    "cargo:rustc-cfg=uart_uart0",
5740                    "cargo:rustc-cfg=uart_uart1",
5741                    "cargo:rustc-cfg=uart_uart2",
5742                    "cargo:rustc-cfg=uart_uart3",
5743                    "cargo:rustc-cfg=uart_uart4",
5744                    "cargo:rustc-cfg=i2c_master_i2c0",
5745                    "cargo:rustc-cfg=i2c_master_i2c1",
5746                    "cargo:rustc-cfg=spi_master_spi2",
5747                    "cargo:rustc-cfg=spi_master_spi3",
5748                    "cargo:rustc-cfg=spi_slave_spi2",
5749                    "cargo:rustc-cfg=spi_slave_spi3",
5750                    "cargo:rustc-cfg=i2s_i2s0",
5751                    "cargo:rustc-cfg=i2s_i2s1",
5752                    "cargo:rustc-cfg=i2s_i2s2",
5753                    "cargo:rustc-cfg=adc_adc1",
5754                    "cargo:rustc-cfg=adc_adc2",
5755                    "cargo:rustc-cfg=timergroup_timg0",
5756                    "cargo:rustc-cfg=timergroup_timg1",
5757                    "cargo:rustc-cfg=gpio_version=\"3\"",
5758                    "cargo:rustc-cfg=gpio_has_input_sync",
5759                    "cargo:rustc-cfg=gpio_gpio_function=\"1\"",
5760                    "cargo:rustc-cfg=gpio_constant_0_input=\"62\"",
5761                    "cargo:rustc-cfg=gpio_constant_1_input=\"63\"",
5762                    "cargo:rustc-cfg=gpio_func_in_sel_offset=\"1\"",
5763                    "cargo:rustc-cfg=gpio_has_bank_1",
5764                    "cargo:rustc-cfg=gpio_input_signal_max=\"249\"",
5765                    "cargo:rustc-cfg=gpio_output_signal_max=\"256\"",
5766                    "cargo:rustc-cfg=dedicated_gpio_version=\"riscv_v2\"",
5767                    "cargo:rustc-cfg=lp_io_version=\"esp32p4\"",
5768                    "cargo:rustc-cfg=lp_io_has_gpio_matrix",
5769                    "cargo:rustc-cfg=uart_ram_size=\"128\"",
5770                    "cargo:rustc-cfg=uart_version=\"2\"",
5771                    "cargo:rustc-cfg=uhci_combined_uart_selector_field",
5772                    "cargo:rustc-cfg=i2c_master_version=\"4\"",
5773                    "cargo:rustc-cfg=i2c_master_has_fsm_timeouts",
5774                    "cargo:rustc-cfg=i2c_master_has_hw_bus_clear",
5775                    "cargo:rustc-cfg=i2c_master_has_bus_timeout_enable",
5776                    "cargo:rustc-cfg=i2c_master_can_estimate_nack_reason",
5777                    "cargo:rustc-cfg=i2c_master_has_conf_update",
5778                    "cargo:rustc-cfg=i2c_master_has_arbitration_en",
5779                    "cargo:rustc-cfg=i2c_master_has_pd_en",
5780                    "cargo:rustc-cfg=i2c_master_max_bus_timeout=\"31\"",
5781                    "cargo:rustc-cfg=i2c_master_ll_intr_mask=\"262143\"",
5782                    "cargo:rustc-cfg=i2c_master_fifo_size=\"32\"",
5783                    "cargo:rustc-cfg=lp_i2c_master_version=\"lp_i2c\"",
5784                    "cargo:rustc-cfg=lp_i2c_master_fifo_size=\"16\"",
5785                    "cargo:rustc-cfg=lp_i2c_master_fifo_size_is_set",
5786                    "cargo:rustc-cfg=spi_master_version=\"3\"",
5787                    "cargo:rustc-cfg=spi_master_fifo_size=\"64\"",
5788                    "cargo:rustc-cfg=i2s_version=\"3\"",
5789                    "cargo:rustc-cfg=i2s_version_is_set",
5790                    "cargo:rustc-cfg=i2s_default_clock_source=\"3\"",
5791                    "cargo:rustc-cfg=i2s_default_clock_source_is_set",
5792                    "cargo:rustc-cfg=i2s_mclk_divider_bit_width=\"6\"",
5793                    "cargo:rustc-cfg=i2s_mclk_divider_bit_width_is_set",
5794                    "cargo:rustc-cfg=i2s_max_ws_width=\"128\"",
5795                    "cargo:rustc-cfg=i2s_max_ws_width_is_set",
5796                    "cargo:rustc-cfg=i2s_clock_configured_by_hp_sys_clkrst",
5797                    "cargo:rustc-cfg=i2s_supports_pdm_rx_hp_filter",
5798                    "cargo:rustc-cfg=i2s_supports_pdm_tx",
5799                    "cargo:rustc-cfg=i2s_supports_pdm_rx",
5800                    "cargo:rustc-cfg=i2s_supports_pcm2pdm",
5801                    "cargo:rustc-cfg=i2s_supports_pdm2pcm",
5802                    "cargo:rustc-cfg=rmt_ram_start=\"1342842880\"",
5803                    "cargo:rustc-cfg=rmt_channel_ram_size=\"48\"",
5804                    "cargo:rustc-cfg=rmt_has_tx_immediate_stop",
5805                    "cargo:rustc-cfg=rmt_has_tx_loop_count",
5806                    "cargo:rustc-cfg=rmt_has_tx_loop_auto_stop",
5807                    "cargo:rustc-cfg=rmt_has_tx_carrier_data_only",
5808                    "cargo:rustc-cfg=rmt_has_tx_sync",
5809                    "cargo:rustc-cfg=rmt_has_rx_wrap",
5810                    "cargo:rustc-cfg=rmt_has_rx_demodulation",
5811                    "cargo:rustc-cfg=sdmmc_delay_phase_num=\"8\"",
5812                    "cargo:rustc-cfg=sdmmc_delay_phase_num_is_set",
5813                    "cargo:rustc-cfg=sdmmc_has_iomux",
5814                    "cargo:rustc-cfg=sdmmc_has_gpio_matrix",
5815                    "cargo:rustc-cfg=sdmmc_psram_dma",
5816                    "cargo:rustc-cfg=usb_otg_fifo_depth_words=\"200\"",
5817                    "cargo:rustc-cfg=usb_otg_hs_fifo_depth_words=\"896\"",
5818                    "cargo:rustc-cfg=ethernet_mii_via_gpio_matrix",
5819                    "cargo:rustc-cfg=soc_has_sdm_ch0",
5820                    "cargo:rustc-cfg=soc_has_sdm_ch1",
5821                    "cargo:rustc-cfg=soc_has_sdm_ch2",
5822                    "cargo:rustc-cfg=soc_has_sdm_ch3",
5823                    "cargo:rustc-cfg=soc_has_sdm_ch4",
5824                    "cargo:rustc-cfg=soc_has_sdm_ch5",
5825                    "cargo:rustc-cfg=soc_has_sdm_ch6",
5826                    "cargo:rustc-cfg=soc_has_sdm_ch7",
5827                    "cargo:rustc-cfg=timergroup_timg_has_timer1",
5828                    "cargo:rustc-cfg=timergroup_timg_has_divcnt_rst",
5829                    "cargo:rustc-cfg=timergroup_rc_fast_calibration_is_set",
5830                    "cargo:rustc-cfg=aes_dma_mode_ecb",
5831                    "cargo:rustc-cfg=aes_dma_mode_cbc",
5832                    "cargo:rustc-cfg=aes_dma_mode_ofb",
5833                    "cargo:rustc-cfg=aes_dma_mode_ctr",
5834                    "cargo:rustc-cfg=aes_dma_mode_cfb8",
5835                    "cargo:rustc-cfg=aes_dma_mode_cfb128",
5836                    "cargo:rustc-cfg=aes_dma_mode_gcm",
5837                    "cargo:rustc-cfg=aes_has_split_text_registers",
5838                    "cargo:rustc-cfg=ecc_separate_jacobian_point_memory",
5839                    "cargo:rustc-cfg=ecc_has_memory_clock_gate",
5840                    "cargo:rustc-cfg=ecc_supports_enhanced_security",
5841                    "cargo:rustc-cfg=ecc_has_modular_arithmetic",
5842                    "cargo:rustc-cfg=ecc_has_point_addition",
5843                    "cargo:rustc-cfg=ecc_has_curve_p192",
5844                    "cargo:rustc-cfg=ecc_has_curve_p256",
5845                    "cargo:rustc-cfg=ecc_has_curve_p384",
5846                    "cargo:rustc-cfg=rng_apb_cycle_wait_num=\"16\"",
5847                    "cargo:rustc-cfg=rng_is_lp_sys",
5848                    "cargo:rustc-cfg=rsa_version=\"3\"",
5849                    "cargo:rustc-cfg=rsa_size_increment=\"32\"",
5850                    "cargo:rustc-cfg=rsa_memory_size_bytes=\"512\"",
5851                    "cargo:rustc-cfg=sleep_light_sleep",
5852                    "cargo:rustc-cfg=sleep_deep_sleep",
5853                    "cargo:rustc-cfg=sleep_has_wakeup_source_sdio",
5854                    "cargo:rustc-cfg=sleep_has_wakeup_source_gpio",
5855                    "cargo:rustc-cfg=sleep_has_wakeup_source_usb",
5856                    "cargo:rustc-cfg=sleep_has_wakeup_source_uart",
5857                    "cargo:rustc-cfg=sleep_has_wakeup_source_touch",
5858                    "cargo:rustc-cfg=sleep_has_wakeup_source_ext1",
5859                    "cargo:rustc-cfg=sleep_has_wakeup_source_timer",
5860                    "cargo:rustc-cfg=sleep_ext1_version=\"3\"",
5861                    "cargo:rustc-cfg=sleep_ext1_version_is_set",
5862                    "cargo:rustc-cfg=sleep_pin_wakeup_version=\"3\"",
5863                    "cargo:rustc-cfg=sleep_pin_wakeup_version_is_set",
5864                    "cargo:rustc-cfg=dma_separate_in_out_interrupts",
5865                    "cargo:rustc-cfg=dma_gdma_version=\"2\"",
5866                    "cargo:rustc-cfg=dma_gdma_version_is_set",
5867                    "cargo:rustc-cfg=soc_has_dma_ch0",
5868                    "cargo:rustc-cfg=soc_has_dma_ch1",
5869                    "cargo:rustc-cfg=soc_has_dma_ch2",
5870                    "cargo:rustc-cfg=soc_has_dma_axi_ch0",
5871                    "cargo:rustc-cfg=soc_has_dma_axi_ch1",
5872                    "cargo:rustc-cfg=soc_has_dma_axi_ch2",
5873                    "cargo:rustc-cfg=soc_has_vdma_ch0",
5874                    "cargo:rustc-cfg=soc_has_vdma_ch1",
5875                    "cargo:rustc-cfg=soc_has_vdma_ch2",
5876                    "cargo:rustc-cfg=soc_has_vdma_ch3",
5877                    "cargo:rustc-cfg=dma_supports_mem2mem",
5878                    "cargo:rustc-cfg=i2s_supports_dma",
5879                    "cargo:rustc-cfg=i2s_dma_engine=\"AHB_GDMA\"",
5880                    "cargo:rustc-cfg=uhci_supports_dma",
5881                    "cargo:rustc-cfg=uhci_dma_engine=\"AHB_GDMA\"",
5882                    "cargo:rustc-cfg=aes_supports_dma",
5883                    "cargo:rustc-cfg=aes_dma_engine=\"AXI_GDMA\"",
5884                    "cargo:rustc-cfg=sha_supports_dma",
5885                    "cargo:rustc-cfg=sha_dma_engine=\"AXI_GDMA\"",
5886                    "cargo:rustc-cfg=spi_master_supports_dma",
5887                    "cargo:rustc-cfg=spi_master_dma_engine=\"AXI_GDMA\"",
5888                    "cargo:rustc-cfg=spi_slave_supports_dma",
5889                    "cargo:rustc-cfg=spi_slave_dma_engine=\"AXI_GDMA\"",
5890                    "cargo:rustc-cfg=mipi_dsi_supports_dma",
5891                    "cargo:rustc-cfg=mipi_dsi_dma_engine=\"VDMA\"",
5892                    "cargo:rustc-cfg=dma_can_access_psram",
5893                    "cargo:rustc-cfg=dma_max_priority=\"5\"",
5894                    "cargo:rustc-cfg=dma_max_priority_is_set",
5895                    "cargo:rustc-cfg=interrupts_status_registers=\"5\"",
5896                    "cargo:rustc-cfg=interrupt_controller=\"clic\"",
5897                    "cargo:rustc-cfg=mmu_page_size=\"65536\"",
5898                    "cargo:rustc-cfg=mmu_entry_num=\"512\"",
5899                    "cargo:rustc-cfg=psram_octal_spi",
5900                    "cargo:rustc-cfg=psram_hex_spi",
5901                    "cargo:rustc-cfg=psram_extmem_origin=\"1207959552\"",
5902                    "cargo:rustc-cfg=rom_has_crc_le",
5903                    "cargo:rustc-cfg=rom_has_crc_be",
5904                    "cargo:rustc-cfg=rom_has_md5_bsd",
5905                    "cargo:rustc-cfg=soc_cpu_has_branch_predictor",
5906                    "cargo:rustc-cfg=soc_multi_core_enabled",
5907                    "cargo:rustc-cfg=soc_internal_memory_cached",
5908                    "cargo:rustc-cfg=soc_has_swd_watchdog",
5909                    "cargo:rustc-cfg=soc_cpu_mcause_mask=\"63\"",
5910                    "cargo:rustc-cfg=soc_has_clock_node_xtal_clk",
5911                    "cargo:rustc-cfg=soc_has_clock_node_cpll_clk",
5912                    "cargo:rustc-cfg=soc_clock_node_cpll_clk_is_configurable",
5913                    "cargo:rustc-cfg=soc_has_clock_node_spll_clk",
5914                    "cargo:rustc-cfg=soc_has_clock_node_mpll_clk",
5915                    "cargo:rustc-cfg=soc_clock_node_mpll_clk_is_configurable",
5916                    "cargo:rustc-cfg=soc_has_clock_node_rc_fast_clk",
5917                    "cargo:rustc-cfg=soc_has_clock_node_xtal32k_clk",
5918                    "cargo:rustc-cfg=soc_has_clock_node_osc_slow_clk",
5919                    "cargo:rustc-cfg=soc_has_clock_node_rc_slow_clk",
5920                    "cargo:rustc-cfg=soc_has_clock_node_rc32k_clk",
5921                    "cargo:rustc-cfg=soc_has_clock_node_pll_f20m",
5922                    "cargo:rustc-cfg=soc_has_clock_node_pll_f80m",
5923                    "cargo:rustc-cfg=soc_has_clock_node_pll_f120m",
5924                    "cargo:rustc-cfg=soc_has_clock_node_pll_f160m",
5925                    "cargo:rustc-cfg=soc_has_clock_node_pll_f240m",
5926                    "cargo:rustc-cfg=soc_has_clock_node_spll_d3_clock",
5927                    "cargo:rustc-cfg=soc_has_clock_node_iomux_function_clock",
5928                    "cargo:rustc-cfg=soc_clock_node_iomux_function_clock_is_configurable",
5929                    "cargo:rustc-cfg=soc_has_clock_node_pll_f25m",
5930                    "cargo:rustc-cfg=soc_has_clock_node_pll_f50m",
5931                    "cargo:rustc-cfg=soc_has_clock_node_xtal_d2_clk",
5932                    "cargo:rustc-cfg=soc_has_clock_node_cpu_root_clk",
5933                    "cargo:rustc-cfg=soc_clock_node_cpu_root_clk_is_configurable",
5934                    "cargo:rustc-cfg=soc_has_clock_node_cpu_clk",
5935                    "cargo:rustc-cfg=soc_clock_node_cpu_clk_is_configurable",
5936                    "cargo:rustc-cfg=soc_has_clock_node_mem_clk",
5937                    "cargo:rustc-cfg=soc_clock_node_mem_clk_is_configurable",
5938                    "cargo:rustc-cfg=soc_has_clock_node_sys_clk",
5939                    "cargo:rustc-cfg=soc_clock_node_sys_clk_is_configurable",
5940                    "cargo:rustc-cfg=soc_has_clock_node_apb_clk",
5941                    "cargo:rustc-cfg=soc_clock_node_apb_clk_is_configurable",
5942                    "cargo:rustc-cfg=soc_has_clock_node_lp_fast_clk",
5943                    "cargo:rustc-cfg=soc_clock_node_lp_fast_clk_is_configurable",
5944                    "cargo:rustc-cfg=soc_has_clock_node_lp_slow_clk",
5945                    "cargo:rustc-cfg=soc_clock_node_lp_slow_clk_is_configurable",
5946                    "cargo:rustc-cfg=soc_has_clock_node_timg_calibration_clock",
5947                    "cargo:rustc-cfg=soc_clock_node_timg_calibration_clock_is_configurable",
5948                    "cargo:rustc-cfg=soc_has_clock_node_psram_function_clock",
5949                    "cargo:rustc-cfg=soc_clock_node_psram_function_clock_is_configurable",
5950                    "cargo:rustc-cfg=soc_has_clock_node_uart_function_clock",
5951                    "cargo:rustc-cfg=soc_clock_node_uart_function_clock_is_configurable",
5952                    "cargo:rustc-cfg=soc_has_clock_node_uart_baud_rate_generator",
5953                    "cargo:rustc-cfg=soc_clock_node_uart_baud_rate_generator_is_configurable",
5954                    "cargo:rustc-cfg=soc_has_clock_node_sdm_function_clock",
5955                    "cargo:rustc-cfg=soc_has_clock_node_timg_function_clock",
5956                    "cargo:rustc-cfg=soc_clock_node_timg_function_clock_is_configurable",
5957                    "cargo:rustc-cfg=soc_has_clock_node_timg_wdt_clock",
5958                    "cargo:rustc-cfg=soc_clock_node_timg_wdt_clock_is_configurable",
5959                    "cargo:rustc-cfg=soc_has_clock_node_i2c_function_clock",
5960                    "cargo:rustc-cfg=soc_clock_node_i2c_function_clock_is_configurable",
5961                    "cargo:rustc-cfg=soc_has_clock_node_rmt_sclk",
5962                    "cargo:rustc-cfg=soc_clock_node_rmt_sclk_is_configurable",
5963                    "cargo:rustc-cfg=soc_has_clock_node_spi_function_clock",
5964                    "cargo:rustc-cfg=soc_clock_node_spi_function_clock_is_configurable",
5965                    "cargo:rustc-cfg=soc_has_clock_node_mipi_dsi_dpi_clk",
5966                    "cargo:rustc-cfg=soc_clock_node_mipi_dsi_dpi_clk_is_configurable",
5967                    "cargo:rustc-cfg=soc_has_clock_node_mipi_dsi_phy_pll_refclk",
5968                    "cargo:rustc-cfg=soc_clock_node_mipi_dsi_phy_pll_refclk_is_configurable",
5969                    "cargo:rustc-cfg=soc_has_clock_node_mipi_dsi_phy_cfg_clk",
5970                    "cargo:rustc-cfg=soc_clock_node_mipi_dsi_phy_cfg_clk_is_configurable",
5971                    "cargo:rustc-cfg=has_dram_region",
5972                    "cargo:rustc-cfg=has_dram2_uninit_region",
5973                    "cargo:rustc-cfg=has_irom_region",
5974                    "cargo:rustc-cfg=has_drom_region",
5975                ],
5976                memory_layout: &MemoryLayout {
5977                    regions: &[
5978                        (
5979                            "dram",
5980                            MemoryRegion {
5981                                address_range: 0x4FF40000..0x4FFADFC0,
5982                            },
5983                        ),
5984                        (
5985                            "dram2_uninit",
5986                            MemoryRegion {
5987                                address_range: 0x4FFADFC0..0x4FFBEFC0,
5988                            },
5989                        ),
5990                        (
5991                            "irom",
5992                            MemoryRegion {
5993                                address_range: 0x40000000..0x44000000,
5994                            },
5995                        ),
5996                        (
5997                            "drom",
5998                            MemoryRegion {
5999                                address_range: 0x40000000..0x44000000,
6000                            },
6001                        ),
6002                    ],
6003                },
6004                pins: &[
6005                    PinInfo {
6006                        pin: 0,
6007                        limitations: &[],
6008                    },
6009                    PinInfo {
6010                        pin: 1,
6011                        limitations: &[],
6012                    },
6013                    PinInfo {
6014                        pin: 2,
6015                        limitations: &["jtag"],
6016                    },
6017                    PinInfo {
6018                        pin: 3,
6019                        limitations: &["jtag"],
6020                    },
6021                    PinInfo {
6022                        pin: 4,
6023                        limitations: &["jtag"],
6024                    },
6025                    PinInfo {
6026                        pin: 5,
6027                        limitations: &["jtag"],
6028                    },
6029                    PinInfo {
6030                        pin: 6,
6031                        limitations: &[],
6032                    },
6033                    PinInfo {
6034                        pin: 7,
6035                        limitations: &[],
6036                    },
6037                    PinInfo {
6038                        pin: 8,
6039                        limitations: &[],
6040                    },
6041                    PinInfo {
6042                        pin: 9,
6043                        limitations: &[],
6044                    },
6045                    PinInfo {
6046                        pin: 10,
6047                        limitations: &[],
6048                    },
6049                    PinInfo {
6050                        pin: 11,
6051                        limitations: &[],
6052                    },
6053                    PinInfo {
6054                        pin: 12,
6055                        limitations: &[],
6056                    },
6057                    PinInfo {
6058                        pin: 13,
6059                        limitations: &[],
6060                    },
6061                    PinInfo {
6062                        pin: 14,
6063                        limitations: &[],
6064                    },
6065                    PinInfo {
6066                        pin: 15,
6067                        limitations: &[],
6068                    },
6069                    PinInfo {
6070                        pin: 16,
6071                        limitations: &[],
6072                    },
6073                    PinInfo {
6074                        pin: 17,
6075                        limitations: &[],
6076                    },
6077                    PinInfo {
6078                        pin: 18,
6079                        limitations: &[],
6080                    },
6081                    PinInfo {
6082                        pin: 19,
6083                        limitations: &[],
6084                    },
6085                    PinInfo {
6086                        pin: 20,
6087                        limitations: &[],
6088                    },
6089                    PinInfo {
6090                        pin: 21,
6091                        limitations: &[],
6092                    },
6093                    PinInfo {
6094                        pin: 22,
6095                        limitations: &[],
6096                    },
6097                    PinInfo {
6098                        pin: 23,
6099                        limitations: &[],
6100                    },
6101                    PinInfo {
6102                        pin: 24,
6103                        limitations: &["usb_jtag"],
6104                    },
6105                    PinInfo {
6106                        pin: 25,
6107                        limitations: &["usb_jtag"],
6108                    },
6109                    PinInfo {
6110                        pin: 26,
6111                        limitations: &[],
6112                    },
6113                    PinInfo {
6114                        pin: 27,
6115                        limitations: &[],
6116                    },
6117                    PinInfo {
6118                        pin: 28,
6119                        limitations: &[],
6120                    },
6121                    PinInfo {
6122                        pin: 29,
6123                        limitations: &[],
6124                    },
6125                    PinInfo {
6126                        pin: 30,
6127                        limitations: &[],
6128                    },
6129                    PinInfo {
6130                        pin: 31,
6131                        limitations: &[],
6132                    },
6133                    PinInfo {
6134                        pin: 32,
6135                        limitations: &["strapping"],
6136                    },
6137                    PinInfo {
6138                        pin: 33,
6139                        limitations: &["strapping"],
6140                    },
6141                    PinInfo {
6142                        pin: 34,
6143                        limitations: &["strapping"],
6144                    },
6145                    PinInfo {
6146                        pin: 35,
6147                        limitations: &["strapping"],
6148                    },
6149                    PinInfo {
6150                        pin: 36,
6151                        limitations: &["strapping"],
6152                    },
6153                    PinInfo {
6154                        pin: 37,
6155                        limitations: &["strapping"],
6156                    },
6157                    PinInfo {
6158                        pin: 38,
6159                        limitations: &["strapping"],
6160                    },
6161                    PinInfo {
6162                        pin: 39,
6163                        limitations: &[],
6164                    },
6165                    PinInfo {
6166                        pin: 40,
6167                        limitations: &[],
6168                    },
6169                    PinInfo {
6170                        pin: 41,
6171                        limitations: &[],
6172                    },
6173                    PinInfo {
6174                        pin: 42,
6175                        limitations: &[],
6176                    },
6177                    PinInfo {
6178                        pin: 43,
6179                        limitations: &[],
6180                    },
6181                    PinInfo {
6182                        pin: 44,
6183                        limitations: &[],
6184                    },
6185                    PinInfo {
6186                        pin: 45,
6187                        limitations: &[],
6188                    },
6189                    PinInfo {
6190                        pin: 46,
6191                        limitations: &[],
6192                    },
6193                    PinInfo {
6194                        pin: 47,
6195                        limitations: &[],
6196                    },
6197                    PinInfo {
6198                        pin: 48,
6199                        limitations: &[],
6200                    },
6201                    PinInfo {
6202                        pin: 49,
6203                        limitations: &[],
6204                    },
6205                    PinInfo {
6206                        pin: 50,
6207                        limitations: &[],
6208                    },
6209                    PinInfo {
6210                        pin: 51,
6211                        limitations: &[],
6212                    },
6213                    PinInfo {
6214                        pin: 52,
6215                        limitations: &[],
6216                    },
6217                    PinInfo {
6218                        pin: 53,
6219                        limitations: &[],
6220                    },
6221                    PinInfo {
6222                        pin: 54,
6223                        limitations: &[],
6224                    },
6225                ],
6226            },
6227            Self::Esp32s2 => Config {
6228                architecture: "xtensa",
6229                target: "xtensa-esp32s2-none-elf",
6230                symbols: &[
6231                    "esp32s2",
6232                    "xtensa",
6233                    "single_core",
6234                    "soc_has_aes",
6235                    "soc_has_apb_saradc",
6236                    "soc_has_ds",
6237                    "soc_has_efuse",
6238                    "soc_has_extmem",
6239                    "soc_has_mmu_table",
6240                    "soc_has_fe",
6241                    "soc_has_fe2",
6242                    "soc_has_gpio",
6243                    "soc_has_gpio_sd",
6244                    "soc_has_hmac",
6245                    "soc_has_i2c_ana_mst",
6246                    "soc_has_i2c0",
6247                    "soc_has_i2c1",
6248                    "soc_has_i2s0",
6249                    "soc_has_interrupt_core0",
6250                    "soc_has_io_mux",
6251                    "soc_has_ledc",
6252                    "soc_has_nrx",
6253                    "soc_has_pcnt",
6254                    "soc_has_pms",
6255                    "soc_has_rmt",
6256                    "soc_has_rng",
6257                    "soc_has_rsa",
6258                    "soc_has_lpwr",
6259                    "soc_has_rtc_timer",
6260                    "soc_has_lp_i2c0",
6261                    "soc_has_rtc_io",
6262                    "soc_has_sens",
6263                    "soc_has_sha",
6264                    "soc_has_spi0",
6265                    "soc_has_spi1",
6266                    "soc_has_spi2",
6267                    "soc_has_spi3",
6268                    "soc_has_syscon",
6269                    "soc_has_system",
6270                    "soc_has_systimer",
6271                    "soc_has_timg0",
6272                    "soc_has_timg1",
6273                    "soc_has_twai0",
6274                    "soc_has_uart0",
6275                    "soc_has_uart1",
6276                    "soc_has_uhci0",
6277                    "soc_has_usb_fs",
6278                    "soc_has_usb_wrap",
6279                    "soc_has_xts_aes",
6280                    "soc_has_wifi",
6281                    "soc_has_adc1",
6282                    "soc_has_adc2",
6283                    "soc_has_dac1",
6284                    "soc_has_dac2",
6285                    "soc_has_flash",
6286                    "soc_has_gpio_dedicated",
6287                    "soc_has_psram",
6288                    "soc_has_ulp_riscv_core",
6289                    "soc_has_from_cpu_intr0",
6290                    "soc_has_from_cpu_intr1",
6291                    "soc_has_from_cpu_intr2",
6292                    "soc_has_from_cpu_intr3",
6293                    "gpio_driver_supported",
6294                    "dedicated_gpio_driver_supported",
6295                    "io_mux_driver_supported",
6296                    "lp_io_driver_supported",
6297                    "uart_driver_supported",
6298                    "i2c_master_driver_supported",
6299                    "spi_master_driver_supported",
6300                    "spi_slave_driver_supported",
6301                    "i2s_driver_supported",
6302                    "rmt_driver_supported",
6303                    "twai_driver_supported",
6304                    "usb_otg_driver_supported",
6305                    "wifi_driver_supported",
6306                    "phy_driver_supported",
6307                    "adc_driver_supported",
6308                    "dac_driver_supported",
6309                    "temp_sensor_driver_supported",
6310                    "ledc_driver_supported",
6311                    "pcnt_driver_supported",
6312                    "lp_timer_driver_supported",
6313                    "sdm_driver_supported",
6314                    "systimer_driver_supported",
6315                    "timergroup_driver_supported",
6316                    "aes_driver_supported",
6317                    "hmac_driver_supported",
6318                    "rng_driver_supported",
6319                    "rsa_driver_supported",
6320                    "sha_driver_supported",
6321                    "sleep_driver_supported",
6322                    "ulp_riscv_driver_supported",
6323                    "dma_driver_supported",
6324                    "interrupts_driver_supported",
6325                    "mmu_driver_supported",
6326                    "psram_driver_supported",
6327                    "rom_driver_supported",
6328                    "soc_driver_supported",
6329                    "uart_uart0",
6330                    "uart_uart1",
6331                    "i2c_master_i2c0",
6332                    "i2c_master_i2c1",
6333                    "spi_master_spi2",
6334                    "spi_master_spi3",
6335                    "spi_slave_spi2",
6336                    "spi_slave_spi3",
6337                    "i2s_i2s0",
6338                    "adc_adc1",
6339                    "adc_adc2",
6340                    "dac_dac1",
6341                    "dac_dac2",
6342                    "timergroup_timg0",
6343                    "timergroup_timg1",
6344                    "gpio_version=\"2\"",
6345                    "gpio_has_input_sync",
6346                    "gpio_gpio_function=\"1\"",
6347                    "gpio_constant_0_input=\"60\"",
6348                    "gpio_constant_1_input=\"56\"",
6349                    "gpio_func_in_sel_offset=\"0\"",
6350                    "soc_has_xtal32k_pads",
6351                    "gpio_has_bank_1",
6352                    "gpio_input_signal_max=\"242\"",
6353                    "gpio_output_signal_max=\"256\"",
6354                    "dedicated_gpio_version=\"esp32s2\"",
6355                    "dedicated_gpio_needs_initialization",
6356                    "lp_io_version=\"v2\"",
6357                    "uart_ram_size=\"128\"",
6358                    "uart_version=\"1\"",
6359                    "i2c_master_version=\"2\"",
6360                    "i2c_master_has_bus_timeout_enable",
6361                    "i2c_master_separate_filter_config_registers",
6362                    "i2c_master_has_arbitration_en",
6363                    "i2c_master_has_pd_en",
6364                    "i2c_master_i2c0_data_register_ahb_address=\"1610690588\"",
6365                    "i2c_master_i2c0_data_register_ahb_address_is_set",
6366                    "i2c_master_max_bus_timeout=\"16777215\"",
6367                    "i2c_master_ll_intr_mask=\"131071\"",
6368                    "i2c_master_fifo_size=\"32\"",
6369                    "spi_master_version=\"2\"",
6370                    "spi_master_fifo_size=\"72\"",
6371                    "spi_master_bit_order_is_bool",
6372                    "spi_master_has_octal",
6373                    "spi_master_has_dma_segmented_transfer",
6374                    "i2s_version=\"1\"",
6375                    "i2s_version_is_set",
6376                    "i2s_default_clock_source=\"2\"",
6377                    "i2s_default_clock_source_is_set",
6378                    "i2s_mclk_divider_bit_width=\"6\"",
6379                    "i2s_mclk_divider_bit_width_is_set",
6380                    "i2s_max_ws_width=\"128\"",
6381                    "i2s_max_ws_width_is_set",
6382                    "rmt_ram_start=\"1061250048\"",
6383                    "rmt_channel_ram_size=\"64\"",
6384                    "rmt_has_tx_immediate_stop",
6385                    "rmt_has_tx_loop_count",
6386                    "rmt_has_tx_carrier_data_only",
6387                    "rmt_has_tx_sync",
6388                    "rmt_has_rx_demodulation",
6389                    "rmt_has_per_channel_clock",
6390                    "usb_otg_fifo_depth_words=\"256\"",
6391                    "wifi_mac_version=\"1\"",
6392                    "wifi_csi_supported",
6393                    "ledc_version=\"2\"",
6394                    "ledc_channel_count=\"8\"",
6395                    "soc_has_sdm_ch0",
6396                    "soc_has_sdm_ch1",
6397                    "soc_has_sdm_ch2",
6398                    "soc_has_sdm_ch3",
6399                    "soc_has_sdm_ch4",
6400                    "soc_has_sdm_ch5",
6401                    "soc_has_sdm_ch6",
6402                    "soc_has_sdm_ch7",
6403                    "timergroup_timg_has_timer1",
6404                    "timergroup_rc_fast_calibration_is_set",
6405                    "aes_dma_mode_ecb",
6406                    "aes_dma_mode_cbc",
6407                    "aes_dma_mode_ofb",
6408                    "aes_dma_mode_ctr",
6409                    "aes_dma_mode_cfb8",
6410                    "aes_dma_mode_cfb128",
6411                    "aes_dma_mode_gcm",
6412                    "aes_has_split_text_registers",
6413                    "aes_endianness_configurable",
6414                    "rng_apb_cycle_wait_num=\"16\"",
6415                    "rng_trng_supported",
6416                    "rsa_version=\"2\"",
6417                    "rsa_size_increment=\"32\"",
6418                    "rsa_memory_size_bytes=\"512\"",
6419                    "sleep_light_sleep",
6420                    "sleep_deep_sleep",
6421                    "sleep_has_wakeup_source_ext0",
6422                    "sleep_has_wakeup_source_ext1",
6423                    "sleep_has_wakeup_source_gpio",
6424                    "sleep_has_wakeup_source_timer",
6425                    "sleep_has_wakeup_source_wifi",
6426                    "sleep_has_wakeup_source_uart",
6427                    "sleep_has_wakeup_source_touch",
6428                    "sleep_has_wakeup_source_ulp_riscv",
6429                    "sleep_has_wakeup_source_ulp_riscv_trap",
6430                    "sleep_ext1_version=\"1\"",
6431                    "sleep_ext1_version_is_set",
6432                    "sleep_pin_wakeup_version=\"1\"",
6433                    "sleep_pin_wakeup_version_is_set",
6434                    "sleep_deep_sleep_needs_gpio_isolation",
6435                    "dma_ext_mem_configurable_block_size",
6436                    "soc_has_dma_spi2",
6437                    "soc_has_dma_spi3",
6438                    "soc_has_dma_i2s0",
6439                    "soc_has_dma_crypto",
6440                    "soc_has_dma_copy",
6441                    "dma_supports_mem2mem",
6442                    "spi_master_supports_dma",
6443                    "spi_master_dma_engine=\"SPI_DMA\"",
6444                    "spi_slave_supports_dma",
6445                    "spi_slave_dma_engine=\"SPI_DMA\"",
6446                    "i2s_supports_dma",
6447                    "i2s_dma_engine=\"I2S_DMA\"",
6448                    "aes_supports_dma",
6449                    "aes_dma_engine=\"CRYPTO_DMA\"",
6450                    "sha_supports_dma",
6451                    "sha_dma_engine=\"CRYPTO_DMA\"",
6452                    "dma_can_access_psram",
6453                    "interrupts_status_registers=\"3\"",
6454                    "interrupt_controller=\"xtensa\"",
6455                    "mmu_page_size=\"65536\"",
6456                    "mmu_entry_num=\"256\"",
6457                    "psram_extmem_origin=\"1062207488\"",
6458                    "rom_has_crc_le",
6459                    "rom_has_md5_bsd",
6460                    "soc_has_swd_watchdog",
6461                    "soc_cpu_mcause_mask=\"0\"",
6462                    "soc_has_clock_node_xtal_clk",
6463                    "soc_clock_node_xtal_clk_is_configurable",
6464                    "soc_has_clock_node_pll_clk",
6465                    "soc_clock_node_pll_clk_is_configurable",
6466                    "soc_has_clock_node_apll_clk",
6467                    "soc_clock_node_apll_clk_is_configurable",
6468                    "soc_has_clock_node_rc_fast_clk",
6469                    "soc_has_clock_node_cpu_pll_div_in",
6470                    "soc_clock_node_cpu_pll_div_in_is_configurable",
6471                    "soc_has_clock_node_cpu_pll_div",
6472                    "soc_clock_node_cpu_pll_div_is_configurable",
6473                    "soc_has_clock_node_system_pre_div_in",
6474                    "soc_clock_node_system_pre_div_in_is_configurable",
6475                    "soc_has_clock_node_system_pre_div",
6476                    "soc_clock_node_system_pre_div_is_configurable",
6477                    "soc_has_clock_node_cpu_clk",
6478                    "soc_clock_node_cpu_clk_is_configurable",
6479                    "soc_has_clock_node_apb_clk_cpu_div2",
6480                    "soc_has_clock_node_apb_clk_80m",
6481                    "soc_has_clock_node_apb_clk",
6482                    "soc_clock_node_apb_clk_is_configurable",
6483                    "soc_has_clock_node_ref_tick_xtal",
6484                    "soc_clock_node_ref_tick_xtal_is_configurable",
6485                    "soc_has_clock_node_ref_tick_ck8m",
6486                    "soc_clock_node_ref_tick_ck8m_is_configurable",
6487                    "soc_has_clock_node_ref_tick",
6488                    "soc_clock_node_ref_tick_is_configurable",
6489                    "soc_has_clock_node_xtal32k_clk",
6490                    "soc_has_clock_node_rc_slow_clk",
6491                    "soc_has_clock_node_rc_fast_div_clk",
6492                    "soc_has_clock_node_xtal_div_clk",
6493                    "soc_has_clock_node_rtc_slow_clk",
6494                    "soc_clock_node_rtc_slow_clk_is_configurable",
6495                    "soc_has_clock_node_rtc_fast_clk",
6496                    "soc_clock_node_rtc_fast_clk_is_configurable",
6497                    "soc_has_clock_node_uart_mem_clk",
6498                    "soc_has_clock_node_timg_calibration_clock",
6499                    "soc_clock_node_timg_calibration_clock_is_configurable",
6500                    "soc_has_clock_node_timg_function_clock",
6501                    "soc_clock_node_timg_function_clock_is_configurable",
6502                    "soc_has_clock_node_uart_function_clock",
6503                    "soc_clock_node_uart_function_clock_is_configurable",
6504                    "soc_has_clock_node_uart_baud_rate_generator",
6505                    "soc_clock_node_uart_baud_rate_generator_is_configurable",
6506                    "soc_has_clock_node_uart_mem_clock",
6507                    "soc_has_clock_node_sdm_function_clock",
6508                    "soc_has_clock_node_rmt_sclk",
6509                    "soc_clock_node_rmt_sclk_is_configurable",
6510                    "soc_has_clock_node_i2c_function_clock",
6511                    "soc_clock_node_i2c_function_clock_is_configurable",
6512                    "soc_has_clock_node_spi_function_clock",
6513                    "has_dram_region",
6514                    "has_dram2_uninit_region",
6515                    "has_irom_region",
6516                    "has_drom_region",
6517                ],
6518                cfgs: &[
6519                    "cargo:rustc-cfg=esp32s2",
6520                    "cargo:rustc-cfg=xtensa",
6521                    "cargo:rustc-cfg=single_core",
6522                    "cargo:rustc-cfg=soc_has_aes",
6523                    "cargo:rustc-cfg=soc_has_apb_saradc",
6524                    "cargo:rustc-cfg=soc_has_ds",
6525                    "cargo:rustc-cfg=soc_has_efuse",
6526                    "cargo:rustc-cfg=soc_has_extmem",
6527                    "cargo:rustc-cfg=soc_has_mmu_table",
6528                    "cargo:rustc-cfg=soc_has_fe",
6529                    "cargo:rustc-cfg=soc_has_fe2",
6530                    "cargo:rustc-cfg=soc_has_gpio",
6531                    "cargo:rustc-cfg=soc_has_gpio_sd",
6532                    "cargo:rustc-cfg=soc_has_hmac",
6533                    "cargo:rustc-cfg=soc_has_i2c_ana_mst",
6534                    "cargo:rustc-cfg=soc_has_i2c0",
6535                    "cargo:rustc-cfg=soc_has_i2c1",
6536                    "cargo:rustc-cfg=soc_has_i2s0",
6537                    "cargo:rustc-cfg=soc_has_interrupt_core0",
6538                    "cargo:rustc-cfg=soc_has_io_mux",
6539                    "cargo:rustc-cfg=soc_has_ledc",
6540                    "cargo:rustc-cfg=soc_has_nrx",
6541                    "cargo:rustc-cfg=soc_has_pcnt",
6542                    "cargo:rustc-cfg=soc_has_pms",
6543                    "cargo:rustc-cfg=soc_has_rmt",
6544                    "cargo:rustc-cfg=soc_has_rng",
6545                    "cargo:rustc-cfg=soc_has_rsa",
6546                    "cargo:rustc-cfg=soc_has_lpwr",
6547                    "cargo:rustc-cfg=soc_has_rtc_timer",
6548                    "cargo:rustc-cfg=soc_has_lp_i2c0",
6549                    "cargo:rustc-cfg=soc_has_rtc_io",
6550                    "cargo:rustc-cfg=soc_has_sens",
6551                    "cargo:rustc-cfg=soc_has_sha",
6552                    "cargo:rustc-cfg=soc_has_spi0",
6553                    "cargo:rustc-cfg=soc_has_spi1",
6554                    "cargo:rustc-cfg=soc_has_spi2",
6555                    "cargo:rustc-cfg=soc_has_spi3",
6556                    "cargo:rustc-cfg=soc_has_syscon",
6557                    "cargo:rustc-cfg=soc_has_system",
6558                    "cargo:rustc-cfg=soc_has_systimer",
6559                    "cargo:rustc-cfg=soc_has_timg0",
6560                    "cargo:rustc-cfg=soc_has_timg1",
6561                    "cargo:rustc-cfg=soc_has_twai0",
6562                    "cargo:rustc-cfg=soc_has_uart0",
6563                    "cargo:rustc-cfg=soc_has_uart1",
6564                    "cargo:rustc-cfg=soc_has_uhci0",
6565                    "cargo:rustc-cfg=soc_has_usb_fs",
6566                    "cargo:rustc-cfg=soc_has_usb_wrap",
6567                    "cargo:rustc-cfg=soc_has_xts_aes",
6568                    "cargo:rustc-cfg=soc_has_wifi",
6569                    "cargo:rustc-cfg=soc_has_adc1",
6570                    "cargo:rustc-cfg=soc_has_adc2",
6571                    "cargo:rustc-cfg=soc_has_dac1",
6572                    "cargo:rustc-cfg=soc_has_dac2",
6573                    "cargo:rustc-cfg=soc_has_flash",
6574                    "cargo:rustc-cfg=soc_has_gpio_dedicated",
6575                    "cargo:rustc-cfg=soc_has_psram",
6576                    "cargo:rustc-cfg=soc_has_ulp_riscv_core",
6577                    "cargo:rustc-cfg=soc_has_from_cpu_intr0",
6578                    "cargo:rustc-cfg=soc_has_from_cpu_intr1",
6579                    "cargo:rustc-cfg=soc_has_from_cpu_intr2",
6580                    "cargo:rustc-cfg=soc_has_from_cpu_intr3",
6581                    "cargo:rustc-cfg=gpio_driver_supported",
6582                    "cargo:rustc-cfg=dedicated_gpio_driver_supported",
6583                    "cargo:rustc-cfg=io_mux_driver_supported",
6584                    "cargo:rustc-cfg=lp_io_driver_supported",
6585                    "cargo:rustc-cfg=uart_driver_supported",
6586                    "cargo:rustc-cfg=i2c_master_driver_supported",
6587                    "cargo:rustc-cfg=spi_master_driver_supported",
6588                    "cargo:rustc-cfg=spi_slave_driver_supported",
6589                    "cargo:rustc-cfg=i2s_driver_supported",
6590                    "cargo:rustc-cfg=rmt_driver_supported",
6591                    "cargo:rustc-cfg=twai_driver_supported",
6592                    "cargo:rustc-cfg=usb_otg_driver_supported",
6593                    "cargo:rustc-cfg=wifi_driver_supported",
6594                    "cargo:rustc-cfg=phy_driver_supported",
6595                    "cargo:rustc-cfg=adc_driver_supported",
6596                    "cargo:rustc-cfg=dac_driver_supported",
6597                    "cargo:rustc-cfg=temp_sensor_driver_supported",
6598                    "cargo:rustc-cfg=ledc_driver_supported",
6599                    "cargo:rustc-cfg=pcnt_driver_supported",
6600                    "cargo:rustc-cfg=lp_timer_driver_supported",
6601                    "cargo:rustc-cfg=sdm_driver_supported",
6602                    "cargo:rustc-cfg=systimer_driver_supported",
6603                    "cargo:rustc-cfg=timergroup_driver_supported",
6604                    "cargo:rustc-cfg=aes_driver_supported",
6605                    "cargo:rustc-cfg=hmac_driver_supported",
6606                    "cargo:rustc-cfg=rng_driver_supported",
6607                    "cargo:rustc-cfg=rsa_driver_supported",
6608                    "cargo:rustc-cfg=sha_driver_supported",
6609                    "cargo:rustc-cfg=sleep_driver_supported",
6610                    "cargo:rustc-cfg=ulp_riscv_driver_supported",
6611                    "cargo:rustc-cfg=dma_driver_supported",
6612                    "cargo:rustc-cfg=interrupts_driver_supported",
6613                    "cargo:rustc-cfg=mmu_driver_supported",
6614                    "cargo:rustc-cfg=psram_driver_supported",
6615                    "cargo:rustc-cfg=rom_driver_supported",
6616                    "cargo:rustc-cfg=soc_driver_supported",
6617                    "cargo:rustc-cfg=uart_uart0",
6618                    "cargo:rustc-cfg=uart_uart1",
6619                    "cargo:rustc-cfg=i2c_master_i2c0",
6620                    "cargo:rustc-cfg=i2c_master_i2c1",
6621                    "cargo:rustc-cfg=spi_master_spi2",
6622                    "cargo:rustc-cfg=spi_master_spi3",
6623                    "cargo:rustc-cfg=spi_slave_spi2",
6624                    "cargo:rustc-cfg=spi_slave_spi3",
6625                    "cargo:rustc-cfg=i2s_i2s0",
6626                    "cargo:rustc-cfg=adc_adc1",
6627                    "cargo:rustc-cfg=adc_adc2",
6628                    "cargo:rustc-cfg=dac_dac1",
6629                    "cargo:rustc-cfg=dac_dac2",
6630                    "cargo:rustc-cfg=timergroup_timg0",
6631                    "cargo:rustc-cfg=timergroup_timg1",
6632                    "cargo:rustc-cfg=gpio_version=\"2\"",
6633                    "cargo:rustc-cfg=gpio_has_input_sync",
6634                    "cargo:rustc-cfg=gpio_gpio_function=\"1\"",
6635                    "cargo:rustc-cfg=gpio_constant_0_input=\"60\"",
6636                    "cargo:rustc-cfg=gpio_constant_1_input=\"56\"",
6637                    "cargo:rustc-cfg=gpio_func_in_sel_offset=\"0\"",
6638                    "cargo:rustc-cfg=soc_has_xtal32k_pads",
6639                    "cargo:rustc-cfg=gpio_has_bank_1",
6640                    "cargo:rustc-cfg=gpio_input_signal_max=\"242\"",
6641                    "cargo:rustc-cfg=gpio_output_signal_max=\"256\"",
6642                    "cargo:rustc-cfg=dedicated_gpio_version=\"esp32s2\"",
6643                    "cargo:rustc-cfg=dedicated_gpio_needs_initialization",
6644                    "cargo:rustc-cfg=lp_io_version=\"v2\"",
6645                    "cargo:rustc-cfg=uart_ram_size=\"128\"",
6646                    "cargo:rustc-cfg=uart_version=\"1\"",
6647                    "cargo:rustc-cfg=i2c_master_version=\"2\"",
6648                    "cargo:rustc-cfg=i2c_master_has_bus_timeout_enable",
6649                    "cargo:rustc-cfg=i2c_master_separate_filter_config_registers",
6650                    "cargo:rustc-cfg=i2c_master_has_arbitration_en",
6651                    "cargo:rustc-cfg=i2c_master_has_pd_en",
6652                    "cargo:rustc-cfg=i2c_master_i2c0_data_register_ahb_address=\"1610690588\"",
6653                    "cargo:rustc-cfg=i2c_master_i2c0_data_register_ahb_address_is_set",
6654                    "cargo:rustc-cfg=i2c_master_max_bus_timeout=\"16777215\"",
6655                    "cargo:rustc-cfg=i2c_master_ll_intr_mask=\"131071\"",
6656                    "cargo:rustc-cfg=i2c_master_fifo_size=\"32\"",
6657                    "cargo:rustc-cfg=spi_master_version=\"2\"",
6658                    "cargo:rustc-cfg=spi_master_fifo_size=\"72\"",
6659                    "cargo:rustc-cfg=spi_master_bit_order_is_bool",
6660                    "cargo:rustc-cfg=spi_master_has_octal",
6661                    "cargo:rustc-cfg=spi_master_has_dma_segmented_transfer",
6662                    "cargo:rustc-cfg=i2s_version=\"1\"",
6663                    "cargo:rustc-cfg=i2s_version_is_set",
6664                    "cargo:rustc-cfg=i2s_default_clock_source=\"2\"",
6665                    "cargo:rustc-cfg=i2s_default_clock_source_is_set",
6666                    "cargo:rustc-cfg=i2s_mclk_divider_bit_width=\"6\"",
6667                    "cargo:rustc-cfg=i2s_mclk_divider_bit_width_is_set",
6668                    "cargo:rustc-cfg=i2s_max_ws_width=\"128\"",
6669                    "cargo:rustc-cfg=i2s_max_ws_width_is_set",
6670                    "cargo:rustc-cfg=rmt_ram_start=\"1061250048\"",
6671                    "cargo:rustc-cfg=rmt_channel_ram_size=\"64\"",
6672                    "cargo:rustc-cfg=rmt_has_tx_immediate_stop",
6673                    "cargo:rustc-cfg=rmt_has_tx_loop_count",
6674                    "cargo:rustc-cfg=rmt_has_tx_carrier_data_only",
6675                    "cargo:rustc-cfg=rmt_has_tx_sync",
6676                    "cargo:rustc-cfg=rmt_has_rx_demodulation",
6677                    "cargo:rustc-cfg=rmt_has_per_channel_clock",
6678                    "cargo:rustc-cfg=usb_otg_fifo_depth_words=\"256\"",
6679                    "cargo:rustc-cfg=wifi_mac_version=\"1\"",
6680                    "cargo:rustc-cfg=wifi_csi_supported",
6681                    "cargo:rustc-cfg=ledc_version=\"2\"",
6682                    "cargo:rustc-cfg=ledc_channel_count=\"8\"",
6683                    "cargo:rustc-cfg=soc_has_sdm_ch0",
6684                    "cargo:rustc-cfg=soc_has_sdm_ch1",
6685                    "cargo:rustc-cfg=soc_has_sdm_ch2",
6686                    "cargo:rustc-cfg=soc_has_sdm_ch3",
6687                    "cargo:rustc-cfg=soc_has_sdm_ch4",
6688                    "cargo:rustc-cfg=soc_has_sdm_ch5",
6689                    "cargo:rustc-cfg=soc_has_sdm_ch6",
6690                    "cargo:rustc-cfg=soc_has_sdm_ch7",
6691                    "cargo:rustc-cfg=timergroup_timg_has_timer1",
6692                    "cargo:rustc-cfg=timergroup_rc_fast_calibration_is_set",
6693                    "cargo:rustc-cfg=aes_dma_mode_ecb",
6694                    "cargo:rustc-cfg=aes_dma_mode_cbc",
6695                    "cargo:rustc-cfg=aes_dma_mode_ofb",
6696                    "cargo:rustc-cfg=aes_dma_mode_ctr",
6697                    "cargo:rustc-cfg=aes_dma_mode_cfb8",
6698                    "cargo:rustc-cfg=aes_dma_mode_cfb128",
6699                    "cargo:rustc-cfg=aes_dma_mode_gcm",
6700                    "cargo:rustc-cfg=aes_has_split_text_registers",
6701                    "cargo:rustc-cfg=aes_endianness_configurable",
6702                    "cargo:rustc-cfg=rng_apb_cycle_wait_num=\"16\"",
6703                    "cargo:rustc-cfg=rng_trng_supported",
6704                    "cargo:rustc-cfg=rsa_version=\"2\"",
6705                    "cargo:rustc-cfg=rsa_size_increment=\"32\"",
6706                    "cargo:rustc-cfg=rsa_memory_size_bytes=\"512\"",
6707                    "cargo:rustc-cfg=sleep_light_sleep",
6708                    "cargo:rustc-cfg=sleep_deep_sleep",
6709                    "cargo:rustc-cfg=sleep_has_wakeup_source_ext0",
6710                    "cargo:rustc-cfg=sleep_has_wakeup_source_ext1",
6711                    "cargo:rustc-cfg=sleep_has_wakeup_source_gpio",
6712                    "cargo:rustc-cfg=sleep_has_wakeup_source_timer",
6713                    "cargo:rustc-cfg=sleep_has_wakeup_source_wifi",
6714                    "cargo:rustc-cfg=sleep_has_wakeup_source_uart",
6715                    "cargo:rustc-cfg=sleep_has_wakeup_source_touch",
6716                    "cargo:rustc-cfg=sleep_has_wakeup_source_ulp_riscv",
6717                    "cargo:rustc-cfg=sleep_has_wakeup_source_ulp_riscv_trap",
6718                    "cargo:rustc-cfg=sleep_ext1_version=\"1\"",
6719                    "cargo:rustc-cfg=sleep_ext1_version_is_set",
6720                    "cargo:rustc-cfg=sleep_pin_wakeup_version=\"1\"",
6721                    "cargo:rustc-cfg=sleep_pin_wakeup_version_is_set",
6722                    "cargo:rustc-cfg=sleep_deep_sleep_needs_gpio_isolation",
6723                    "cargo:rustc-cfg=dma_ext_mem_configurable_block_size",
6724                    "cargo:rustc-cfg=soc_has_dma_spi2",
6725                    "cargo:rustc-cfg=soc_has_dma_spi3",
6726                    "cargo:rustc-cfg=soc_has_dma_i2s0",
6727                    "cargo:rustc-cfg=soc_has_dma_crypto",
6728                    "cargo:rustc-cfg=soc_has_dma_copy",
6729                    "cargo:rustc-cfg=dma_supports_mem2mem",
6730                    "cargo:rustc-cfg=spi_master_supports_dma",
6731                    "cargo:rustc-cfg=spi_master_dma_engine=\"SPI_DMA\"",
6732                    "cargo:rustc-cfg=spi_slave_supports_dma",
6733                    "cargo:rustc-cfg=spi_slave_dma_engine=\"SPI_DMA\"",
6734                    "cargo:rustc-cfg=i2s_supports_dma",
6735                    "cargo:rustc-cfg=i2s_dma_engine=\"I2S_DMA\"",
6736                    "cargo:rustc-cfg=aes_supports_dma",
6737                    "cargo:rustc-cfg=aes_dma_engine=\"CRYPTO_DMA\"",
6738                    "cargo:rustc-cfg=sha_supports_dma",
6739                    "cargo:rustc-cfg=sha_dma_engine=\"CRYPTO_DMA\"",
6740                    "cargo:rustc-cfg=dma_can_access_psram",
6741                    "cargo:rustc-cfg=interrupts_status_registers=\"3\"",
6742                    "cargo:rustc-cfg=interrupt_controller=\"xtensa\"",
6743                    "cargo:rustc-cfg=mmu_page_size=\"65536\"",
6744                    "cargo:rustc-cfg=mmu_entry_num=\"256\"",
6745                    "cargo:rustc-cfg=psram_extmem_origin=\"1062207488\"",
6746                    "cargo:rustc-cfg=rom_has_crc_le",
6747                    "cargo:rustc-cfg=rom_has_md5_bsd",
6748                    "cargo:rustc-cfg=soc_has_swd_watchdog",
6749                    "cargo:rustc-cfg=soc_cpu_mcause_mask=\"0\"",
6750                    "cargo:rustc-cfg=soc_has_clock_node_xtal_clk",
6751                    "cargo:rustc-cfg=soc_clock_node_xtal_clk_is_configurable",
6752                    "cargo:rustc-cfg=soc_has_clock_node_pll_clk",
6753                    "cargo:rustc-cfg=soc_clock_node_pll_clk_is_configurable",
6754                    "cargo:rustc-cfg=soc_has_clock_node_apll_clk",
6755                    "cargo:rustc-cfg=soc_clock_node_apll_clk_is_configurable",
6756                    "cargo:rustc-cfg=soc_has_clock_node_rc_fast_clk",
6757                    "cargo:rustc-cfg=soc_has_clock_node_cpu_pll_div_in",
6758                    "cargo:rustc-cfg=soc_clock_node_cpu_pll_div_in_is_configurable",
6759                    "cargo:rustc-cfg=soc_has_clock_node_cpu_pll_div",
6760                    "cargo:rustc-cfg=soc_clock_node_cpu_pll_div_is_configurable",
6761                    "cargo:rustc-cfg=soc_has_clock_node_system_pre_div_in",
6762                    "cargo:rustc-cfg=soc_clock_node_system_pre_div_in_is_configurable",
6763                    "cargo:rustc-cfg=soc_has_clock_node_system_pre_div",
6764                    "cargo:rustc-cfg=soc_clock_node_system_pre_div_is_configurable",
6765                    "cargo:rustc-cfg=soc_has_clock_node_cpu_clk",
6766                    "cargo:rustc-cfg=soc_clock_node_cpu_clk_is_configurable",
6767                    "cargo:rustc-cfg=soc_has_clock_node_apb_clk_cpu_div2",
6768                    "cargo:rustc-cfg=soc_has_clock_node_apb_clk_80m",
6769                    "cargo:rustc-cfg=soc_has_clock_node_apb_clk",
6770                    "cargo:rustc-cfg=soc_clock_node_apb_clk_is_configurable",
6771                    "cargo:rustc-cfg=soc_has_clock_node_ref_tick_xtal",
6772                    "cargo:rustc-cfg=soc_clock_node_ref_tick_xtal_is_configurable",
6773                    "cargo:rustc-cfg=soc_has_clock_node_ref_tick_ck8m",
6774                    "cargo:rustc-cfg=soc_clock_node_ref_tick_ck8m_is_configurable",
6775                    "cargo:rustc-cfg=soc_has_clock_node_ref_tick",
6776                    "cargo:rustc-cfg=soc_clock_node_ref_tick_is_configurable",
6777                    "cargo:rustc-cfg=soc_has_clock_node_xtal32k_clk",
6778                    "cargo:rustc-cfg=soc_has_clock_node_rc_slow_clk",
6779                    "cargo:rustc-cfg=soc_has_clock_node_rc_fast_div_clk",
6780                    "cargo:rustc-cfg=soc_has_clock_node_xtal_div_clk",
6781                    "cargo:rustc-cfg=soc_has_clock_node_rtc_slow_clk",
6782                    "cargo:rustc-cfg=soc_clock_node_rtc_slow_clk_is_configurable",
6783                    "cargo:rustc-cfg=soc_has_clock_node_rtc_fast_clk",
6784                    "cargo:rustc-cfg=soc_clock_node_rtc_fast_clk_is_configurable",
6785                    "cargo:rustc-cfg=soc_has_clock_node_uart_mem_clk",
6786                    "cargo:rustc-cfg=soc_has_clock_node_timg_calibration_clock",
6787                    "cargo:rustc-cfg=soc_clock_node_timg_calibration_clock_is_configurable",
6788                    "cargo:rustc-cfg=soc_has_clock_node_timg_function_clock",
6789                    "cargo:rustc-cfg=soc_clock_node_timg_function_clock_is_configurable",
6790                    "cargo:rustc-cfg=soc_has_clock_node_uart_function_clock",
6791                    "cargo:rustc-cfg=soc_clock_node_uart_function_clock_is_configurable",
6792                    "cargo:rustc-cfg=soc_has_clock_node_uart_baud_rate_generator",
6793                    "cargo:rustc-cfg=soc_clock_node_uart_baud_rate_generator_is_configurable",
6794                    "cargo:rustc-cfg=soc_has_clock_node_uart_mem_clock",
6795                    "cargo:rustc-cfg=soc_has_clock_node_sdm_function_clock",
6796                    "cargo:rustc-cfg=soc_has_clock_node_rmt_sclk",
6797                    "cargo:rustc-cfg=soc_clock_node_rmt_sclk_is_configurable",
6798                    "cargo:rustc-cfg=soc_has_clock_node_i2c_function_clock",
6799                    "cargo:rustc-cfg=soc_clock_node_i2c_function_clock_is_configurable",
6800                    "cargo:rustc-cfg=soc_has_clock_node_spi_function_clock",
6801                    "cargo:rustc-cfg=has_dram_region",
6802                    "cargo:rustc-cfg=has_dram2_uninit_region",
6803                    "cargo:rustc-cfg=has_irom_region",
6804                    "cargo:rustc-cfg=has_drom_region",
6805                ],
6806                memory_layout: &MemoryLayout {
6807                    regions: &[
6808                        (
6809                            "dram",
6810                            MemoryRegion {
6811                                address_range: 0x3FFB0000..0x40000000,
6812                            },
6813                        ),
6814                        (
6815                            "dram2_uninit",
6816                            MemoryRegion {
6817                                address_range: 0x3FFDE000..0x40000000,
6818                            },
6819                        ),
6820                        (
6821                            "irom",
6822                            MemoryRegion {
6823                                address_range: 0x40080000..0x40800000,
6824                            },
6825                        ),
6826                        (
6827                            "drom",
6828                            MemoryRegion {
6829                                address_range: 0x3F000000..0x3F400000,
6830                            },
6831                        ),
6832                    ],
6833                },
6834                pins: &[
6835                    PinInfo {
6836                        pin: 0,
6837                        limitations: &["strapping"],
6838                    },
6839                    PinInfo {
6840                        pin: 1,
6841                        limitations: &[],
6842                    },
6843                    PinInfo {
6844                        pin: 2,
6845                        limitations: &[],
6846                    },
6847                    PinInfo {
6848                        pin: 3,
6849                        limitations: &[],
6850                    },
6851                    PinInfo {
6852                        pin: 4,
6853                        limitations: &[],
6854                    },
6855                    PinInfo {
6856                        pin: 5,
6857                        limitations: &[],
6858                    },
6859                    PinInfo {
6860                        pin: 6,
6861                        limitations: &[],
6862                    },
6863                    PinInfo {
6864                        pin: 7,
6865                        limitations: &[],
6866                    },
6867                    PinInfo {
6868                        pin: 8,
6869                        limitations: &[],
6870                    },
6871                    PinInfo {
6872                        pin: 9,
6873                        limitations: &[],
6874                    },
6875                    PinInfo {
6876                        pin: 10,
6877                        limitations: &[],
6878                    },
6879                    PinInfo {
6880                        pin: 11,
6881                        limitations: &[],
6882                    },
6883                    PinInfo {
6884                        pin: 12,
6885                        limitations: &[],
6886                    },
6887                    PinInfo {
6888                        pin: 13,
6889                        limitations: &[],
6890                    },
6891                    PinInfo {
6892                        pin: 14,
6893                        limitations: &[],
6894                    },
6895                    PinInfo {
6896                        pin: 15,
6897                        limitations: &[],
6898                    },
6899                    PinInfo {
6900                        pin: 16,
6901                        limitations: &[],
6902                    },
6903                    PinInfo {
6904                        pin: 17,
6905                        limitations: &[],
6906                    },
6907                    PinInfo {
6908                        pin: 18,
6909                        limitations: &[],
6910                    },
6911                    PinInfo {
6912                        pin: 19,
6913                        limitations: &[],
6914                    },
6915                    PinInfo {
6916                        pin: 20,
6917                        limitations: &[],
6918                    },
6919                    PinInfo {
6920                        pin: 21,
6921                        limitations: &[],
6922                    },
6923                    PinInfo {
6924                        pin: 26,
6925                        limitations: &["spi_psram"],
6926                    },
6927                    PinInfo {
6928                        pin: 27,
6929                        limitations: &["spi_flash", "spi_psram"],
6930                    },
6931                    PinInfo {
6932                        pin: 28,
6933                        limitations: &["spi_flash", "spi_psram"],
6934                    },
6935                    PinInfo {
6936                        pin: 29,
6937                        limitations: &["spi_flash"],
6938                    },
6939                    PinInfo {
6940                        pin: 30,
6941                        limitations: &["spi_flash", "spi_psram"],
6942                    },
6943                    PinInfo {
6944                        pin: 31,
6945                        limitations: &["spi_flash", "spi_psram"],
6946                    },
6947                    PinInfo {
6948                        pin: 32,
6949                        limitations: &["spi_flash", "spi_psram"],
6950                    },
6951                    PinInfo {
6952                        pin: 33,
6953                        limitations: &["octal_flash", "octal_psram"],
6954                    },
6955                    PinInfo {
6956                        pin: 34,
6957                        limitations: &["octal_flash", "octal_psram"],
6958                    },
6959                    PinInfo {
6960                        pin: 35,
6961                        limitations: &["octal_flash", "octal_psram"],
6962                    },
6963                    PinInfo {
6964                        pin: 36,
6965                        limitations: &["octal_flash", "octal_psram"],
6966                    },
6967                    PinInfo {
6968                        pin: 37,
6969                        limitations: &["octal_flash", "octal_psram"],
6970                    },
6971                    PinInfo {
6972                        pin: 38,
6973                        limitations: &[],
6974                    },
6975                    PinInfo {
6976                        pin: 39,
6977                        limitations: &["jtag"],
6978                    },
6979                    PinInfo {
6980                        pin: 40,
6981                        limitations: &["jtag"],
6982                    },
6983                    PinInfo {
6984                        pin: 41,
6985                        limitations: &["jtag"],
6986                    },
6987                    PinInfo {
6988                        pin: 42,
6989                        limitations: &["jtag"],
6990                    },
6991                    PinInfo {
6992                        pin: 43,
6993                        limitations: &["bootloader_uart"],
6994                    },
6995                    PinInfo {
6996                        pin: 44,
6997                        limitations: &["bootloader_uart"],
6998                    },
6999                    PinInfo {
7000                        pin: 45,
7001                        limitations: &["strapping"],
7002                    },
7003                    PinInfo {
7004                        pin: 46,
7005                        limitations: &["strapping"],
7006                    },
7007                ],
7008            },
7009            Self::Esp32s3 => Config {
7010                architecture: "xtensa",
7011                target: "xtensa-esp32s3-none-elf",
7012                symbols: &[
7013                    "esp32s3",
7014                    "xtensa",
7015                    "multi_core",
7016                    "soc_has_aes",
7017                    "soc_has_apb_ctrl",
7018                    "soc_has_apb_saradc",
7019                    "soc_has_assist_debug",
7020                    "soc_has_dma",
7021                    "soc_has_ds",
7022                    "soc_has_efuse",
7023                    "soc_has_extmem",
7024                    "soc_has_mmu_table",
7025                    "soc_has_gpio",
7026                    "soc_has_gpio_sd",
7027                    "soc_has_hmac",
7028                    "soc_has_i2c_ana_mst",
7029                    "soc_has_i2c0",
7030                    "soc_has_i2c1",
7031                    "soc_has_i2s0",
7032                    "soc_has_i2s1",
7033                    "soc_has_interrupt_core0",
7034                    "soc_has_interrupt_core1",
7035                    "soc_has_io_mux",
7036                    "soc_has_lcd_cam",
7037                    "soc_has_ledc",
7038                    "soc_has_lpwr",
7039                    "soc_has_rtc_timer",
7040                    "soc_has_mcpwm0",
7041                    "soc_has_mcpwm1",
7042                    "soc_has_pcnt",
7043                    "soc_has_peri_backup",
7044                    "soc_has_rmt",
7045                    "soc_has_rng",
7046                    "soc_has_rsa",
7047                    "soc_has_rtc_cntl",
7048                    "soc_has_lp_i2c0",
7049                    "soc_has_rtc_io",
7050                    "soc_has_sdhost",
7051                    "soc_has_sens",
7052                    "soc_has_sensitive",
7053                    "soc_has_sha",
7054                    "soc_has_spi0",
7055                    "soc_has_spi1",
7056                    "soc_has_spi2",
7057                    "soc_has_spi3",
7058                    "soc_has_system",
7059                    "soc_has_systimer",
7060                    "soc_has_timg0",
7061                    "soc_has_timg1",
7062                    "soc_has_twai0",
7063                    "soc_has_uart0",
7064                    "soc_has_uart1",
7065                    "soc_has_uart2",
7066                    "soc_has_uhci0",
7067                    "soc_has_usb_fs",
7068                    "soc_has_usb_device",
7069                    "soc_has_usb_wrap",
7070                    "soc_has_wcl",
7071                    "soc_has_xts_aes",
7072                    "soc_has_adc1",
7073                    "soc_has_adc2",
7074                    "soc_has_bt",
7075                    "soc_has_cpu_ctrl",
7076                    "soc_has_flash",
7077                    "soc_has_gpio_dedicated",
7078                    "soc_has_psram",
7079                    "soc_has_ulp_riscv_core",
7080                    "soc_has_wifi",
7081                    "soc_has_from_cpu_intr0",
7082                    "soc_has_from_cpu_intr1",
7083                    "soc_has_from_cpu_intr2",
7084                    "soc_has_from_cpu_intr3",
7085                    "gpio_driver_supported",
7086                    "dedicated_gpio_driver_supported",
7087                    "io_mux_driver_supported",
7088                    "lp_io_driver_supported",
7089                    "uart_driver_supported",
7090                    "uhci_driver_supported",
7091                    "i2c_master_driver_supported",
7092                    "lp_i2c_master_driver_supported",
7093                    "spi_master_driver_supported",
7094                    "spi_slave_driver_supported",
7095                    "i2s_driver_supported",
7096                    "rmt_driver_supported",
7097                    "sdmmc_driver_supported",
7098                    "twai_driver_supported",
7099                    "usb_otg_driver_supported",
7100                    "usb_serial_jtag_driver_supported",
7101                    "bt_driver_supported",
7102                    "wifi_driver_supported",
7103                    "phy_driver_supported",
7104                    "camera_driver_supported",
7105                    "rgb_display_driver_supported",
7106                    "adc_driver_supported",
7107                    "temp_sensor_driver_supported",
7108                    "ledc_driver_supported",
7109                    "mcpwm_driver_supported",
7110                    "pcnt_driver_supported",
7111                    "lp_timer_driver_supported",
7112                    "sdm_driver_supported",
7113                    "systimer_driver_supported",
7114                    "timergroup_driver_supported",
7115                    "aes_driver_supported",
7116                    "hmac_driver_supported",
7117                    "rng_driver_supported",
7118                    "rsa_driver_supported",
7119                    "sha_driver_supported",
7120                    "sleep_driver_supported",
7121                    "ulp_riscv_driver_supported",
7122                    "assist_debug_driver_supported",
7123                    "dma_driver_supported",
7124                    "interrupts_driver_supported",
7125                    "mmu_driver_supported",
7126                    "psram_driver_supported",
7127                    "rom_driver_supported",
7128                    "soc_driver_supported",
7129                    "uart_uart0",
7130                    "uart_uart1",
7131                    "uart_uart2",
7132                    "i2c_master_i2c0",
7133                    "i2c_master_i2c1",
7134                    "spi_master_spi2",
7135                    "spi_master_spi3",
7136                    "spi_slave_spi2",
7137                    "spi_slave_spi3",
7138                    "i2s_i2s0",
7139                    "i2s_i2s1",
7140                    "adc_adc1",
7141                    "adc_adc2",
7142                    "timergroup_timg0",
7143                    "timergroup_timg1",
7144                    "gpio_version=\"2\"",
7145                    "gpio_has_input_sync",
7146                    "gpio_gpio_function=\"1\"",
7147                    "gpio_constant_0_input=\"60\"",
7148                    "gpio_constant_1_input=\"56\"",
7149                    "gpio_func_in_sel_offset=\"0\"",
7150                    "soc_has_xtal32k_pads",
7151                    "gpio_has_bank_1",
7152                    "gpio_input_signal_max=\"255\"",
7153                    "gpio_output_signal_max=\"256\"",
7154                    "dedicated_gpio_version=\"esp32s3\"",
7155                    "dedicated_gpio_needs_initialization",
7156                    "lp_io_version=\"v2\"",
7157                    "uart_ram_size=\"128\"",
7158                    "uart_version=\"1\"",
7159                    "uart_has_sclk_divider",
7160                    "uart_has_sclk_enable",
7161                    "i2c_master_version=\"3\"",
7162                    "i2c_master_has_fsm_timeouts",
7163                    "i2c_master_has_bus_timeout_enable",
7164                    "i2c_master_can_estimate_nack_reason",
7165                    "i2c_master_has_conf_update",
7166                    "i2c_master_has_arbitration_en",
7167                    "i2c_master_has_tx_fifo_watermark",
7168                    "i2c_master_bus_timeout_is_exponential",
7169                    "i2c_master_has_pd_en",
7170                    "i2c_master_max_bus_timeout=\"31\"",
7171                    "i2c_master_ll_intr_mask=\"262143\"",
7172                    "i2c_master_fifo_size=\"32\"",
7173                    "lp_i2c_master_version=\"rtc_i2c\"",
7174                    "spi_master_version=\"3\"",
7175                    "spi_master_fifo_size=\"64\"",
7176                    "spi_master_has_octal",
7177                    "spi_master_has_app_interrupts",
7178                    "spi_master_has_dma_segmented_transfer",
7179                    "i2s_version=\"2\"",
7180                    "i2s_version_is_set",
7181                    "i2s_default_clock_source=\"2\"",
7182                    "i2s_default_clock_source_is_set",
7183                    "i2s_mclk_divider_bit_width=\"6\"",
7184                    "i2s_mclk_divider_bit_width_is_set",
7185                    "i2s_max_ws_width=\"128\"",
7186                    "i2s_max_ws_width_is_set",
7187                    "i2s_supports_pdm_tx",
7188                    "i2s_supports_pdm_rx",
7189                    "i2s_supports_pcm2pdm",
7190                    "i2s_supports_pdm2pcm",
7191                    "rmt_ram_start=\"1610704896\"",
7192                    "rmt_channel_ram_size=\"48\"",
7193                    "rmt_has_tx_immediate_stop",
7194                    "rmt_has_tx_loop_count",
7195                    "rmt_has_tx_loop_auto_stop",
7196                    "rmt_has_tx_carrier_data_only",
7197                    "rmt_has_tx_sync",
7198                    "rmt_has_rx_wrap",
7199                    "rmt_has_rx_demodulation",
7200                    "sdmmc_delay_phase_num=\"4\"",
7201                    "sdmmc_delay_phase_num_is_set",
7202                    "sdmmc_has_gpio_matrix",
7203                    "usb_otg_fifo_depth_words=\"256\"",
7204                    "bt_controller=\"btdm\"",
7205                    "wifi_mac_version=\"1\"",
7206                    "wifi_csi_supported",
7207                    "phy_combo_module",
7208                    "phy_backed_up_digital_register_count=\"21\"",
7209                    "phy_backed_up_digital_register_count_is_set",
7210                    "ledc_version=\"2\"",
7211                    "ledc_channel_count=\"8\"",
7212                    "soc_has_sdm_ch0",
7213                    "soc_has_sdm_ch1",
7214                    "soc_has_sdm_ch2",
7215                    "soc_has_sdm_ch3",
7216                    "soc_has_sdm_ch4",
7217                    "soc_has_sdm_ch5",
7218                    "soc_has_sdm_ch6",
7219                    "soc_has_sdm_ch7",
7220                    "timergroup_timg_has_timer1",
7221                    "timergroup_rc_fast_calibration_is_set",
7222                    "aes_dma_mode_ecb",
7223                    "aes_dma_mode_cbc",
7224                    "aes_dma_mode_ofb",
7225                    "aes_dma_mode_ctr",
7226                    "aes_dma_mode_cfb8",
7227                    "aes_dma_mode_cfb128",
7228                    "aes_has_split_text_registers",
7229                    "rng_apb_cycle_wait_num=\"16\"",
7230                    "rng_trng_supported",
7231                    "rsa_version=\"2\"",
7232                    "rsa_size_increment=\"32\"",
7233                    "rsa_memory_size_bytes=\"512\"",
7234                    "sleep_light_sleep",
7235                    "sleep_deep_sleep",
7236                    "sleep_has_wakeup_source_ext0",
7237                    "sleep_has_wakeup_source_ext1",
7238                    "sleep_has_wakeup_source_gpio",
7239                    "sleep_has_wakeup_source_timer",
7240                    "sleep_has_wakeup_source_sdio",
7241                    "sleep_has_wakeup_source_wifi",
7242                    "sleep_has_wakeup_source_uart",
7243                    "sleep_has_wakeup_source_touch",
7244                    "sleep_has_wakeup_source_bt",
7245                    "sleep_has_wakeup_source_ulp_riscv",
7246                    "sleep_has_wakeup_source_ulp_riscv_trap",
7247                    "sleep_ext1_version=\"1\"",
7248                    "sleep_ext1_version_is_set",
7249                    "sleep_pin_wakeup_version=\"1\"",
7250                    "sleep_pin_wakeup_version_is_set",
7251                    "sleep_deep_sleep_needs_gpio_isolation",
7252                    "assist_debug_has_region_monitor",
7253                    "dma_mem2mem_requires_peripheral",
7254                    "dma_ext_mem_configurable_block_size",
7255                    "dma_separate_in_out_interrupts",
7256                    "dma_gdma_version=\"1\"",
7257                    "dma_gdma_version_is_set",
7258                    "soc_has_dma_ch0",
7259                    "soc_has_dma_ch1",
7260                    "soc_has_dma_ch2",
7261                    "soc_has_dma_ch3",
7262                    "soc_has_dma_ch4",
7263                    "dma_supports_mem2mem",
7264                    "aes_supports_dma",
7265                    "aes_dma_engine=\"AHB_GDMA\"",
7266                    "sha_supports_dma",
7267                    "sha_dma_engine=\"AHB_GDMA\"",
7268                    "spi_master_supports_dma",
7269                    "spi_master_dma_engine=\"AHB_GDMA\"",
7270                    "spi_slave_supports_dma",
7271                    "spi_slave_dma_engine=\"AHB_GDMA\"",
7272                    "rmt_supports_dma",
7273                    "rmt_dma_engine=\"AHB_GDMA\"",
7274                    "uhci_supports_dma",
7275                    "uhci_dma_engine=\"AHB_GDMA\"",
7276                    "i2s_supports_dma",
7277                    "i2s_dma_engine=\"AHB_GDMA\"",
7278                    "lcd_cam_supports_dma",
7279                    "lcd_cam_dma_engine=\"AHB_GDMA\"",
7280                    "dma_can_access_psram",
7281                    "dma_max_priority=\"9\"",
7282                    "dma_max_priority_is_set",
7283                    "interrupts_status_registers=\"4\"",
7284                    "interrupt_controller=\"xtensa\"",
7285                    "mmu_page_size=\"65536\"",
7286                    "mmu_entry_num=\"384\"",
7287                    "psram_octal_spi",
7288                    "psram_extmem_origin=\"1006632960\"",
7289                    "rom_has_crc_le",
7290                    "rom_has_crc_be",
7291                    "rom_has_md5_bsd",
7292                    "soc_multi_core_enabled",
7293                    "soc_has_swd_watchdog",
7294                    "soc_cpu_mcause_mask=\"0\"",
7295                    "soc_has_clock_node_xtal_clk",
7296                    "soc_clock_node_xtal_clk_is_configurable",
7297                    "soc_has_clock_node_pll_clk",
7298                    "soc_clock_node_pll_clk_is_configurable",
7299                    "soc_has_clock_node_rc_fast_clk",
7300                    "soc_has_clock_node_xtal32k_clk",
7301                    "soc_has_clock_node_rc_slow_clk",
7302                    "soc_has_clock_node_rc_fast_div_clk",
7303                    "soc_has_clock_node_system_pre_div_in",
7304                    "soc_clock_node_system_pre_div_in_is_configurable",
7305                    "soc_has_clock_node_system_pre_div",
7306                    "soc_clock_node_system_pre_div_is_configurable",
7307                    "soc_has_clock_node_cpu_pll_div_out",
7308                    "soc_clock_node_cpu_pll_div_out_is_configurable",
7309                    "soc_has_clock_node_cpu_clk",
7310                    "soc_clock_node_cpu_clk_is_configurable",
7311                    "soc_has_clock_node_pll_d2",
7312                    "soc_has_clock_node_pll_160m",
7313                    "soc_has_clock_node_apb_80m",
7314                    "soc_has_clock_node_apb_clk",
7315                    "soc_clock_node_apb_clk_is_configurable",
7316                    "soc_has_clock_node_crypto_pwm_clk",
7317                    "soc_clock_node_crypto_pwm_clk_is_configurable",
7318                    "soc_has_clock_node_rc_fast_clk_div_n",
7319                    "soc_clock_node_rc_fast_clk_div_n_is_configurable",
7320                    "soc_has_clock_node_xtal_div_clk",
7321                    "soc_has_clock_node_rtc_slow_clk",
7322                    "soc_clock_node_rtc_slow_clk_is_configurable",
7323                    "soc_has_clock_node_rtc_fast_clk",
7324                    "soc_clock_node_rtc_fast_clk_is_configurable",
7325                    "soc_has_clock_node_low_power_clk",
7326                    "soc_clock_node_low_power_clk_is_configurable",
7327                    "soc_has_clock_node_uart_mem_clk",
7328                    "soc_has_clock_node_timg_calibration_clock",
7329                    "soc_clock_node_timg_calibration_clock_is_configurable",
7330                    "soc_has_clock_node_mcpwm_function_clock",
7331                    "soc_has_clock_node_timg_function_clock",
7332                    "soc_clock_node_timg_function_clock_is_configurable",
7333                    "soc_has_clock_node_sdm_function_clock",
7334                    "soc_has_clock_node_rmt_sclk",
7335                    "soc_clock_node_rmt_sclk_is_configurable",
7336                    "soc_has_clock_node_uart_function_clock",
7337                    "soc_clock_node_uart_function_clock_is_configurable",
7338                    "soc_has_clock_node_uart_baud_rate_generator",
7339                    "soc_clock_node_uart_baud_rate_generator_is_configurable",
7340                    "soc_has_clock_node_uart_mem_clock",
7341                    "soc_has_clock_node_i2c_function_clock",
7342                    "soc_clock_node_i2c_function_clock_is_configurable",
7343                    "soc_has_clock_node_lcd_cam_lcd_clock",
7344                    "soc_clock_node_lcd_cam_lcd_clock_is_configurable",
7345                    "soc_has_clock_node_lcd_cam_cam_clock",
7346                    "soc_clock_node_lcd_cam_cam_clock_is_configurable",
7347                    "soc_has_clock_node_spi_function_clock",
7348                    "soc_clock_node_spi_function_clock_is_configurable",
7349                    "has_dram_region",
7350                    "has_dram2_uninit_region",
7351                    "has_irom_region",
7352                    "has_drom_region",
7353                ],
7354                cfgs: &[
7355                    "cargo:rustc-cfg=esp32s3",
7356                    "cargo:rustc-cfg=xtensa",
7357                    "cargo:rustc-cfg=multi_core",
7358                    "cargo:rustc-cfg=soc_has_aes",
7359                    "cargo:rustc-cfg=soc_has_apb_ctrl",
7360                    "cargo:rustc-cfg=soc_has_apb_saradc",
7361                    "cargo:rustc-cfg=soc_has_assist_debug",
7362                    "cargo:rustc-cfg=soc_has_dma",
7363                    "cargo:rustc-cfg=soc_has_ds",
7364                    "cargo:rustc-cfg=soc_has_efuse",
7365                    "cargo:rustc-cfg=soc_has_extmem",
7366                    "cargo:rustc-cfg=soc_has_mmu_table",
7367                    "cargo:rustc-cfg=soc_has_gpio",
7368                    "cargo:rustc-cfg=soc_has_gpio_sd",
7369                    "cargo:rustc-cfg=soc_has_hmac",
7370                    "cargo:rustc-cfg=soc_has_i2c_ana_mst",
7371                    "cargo:rustc-cfg=soc_has_i2c0",
7372                    "cargo:rustc-cfg=soc_has_i2c1",
7373                    "cargo:rustc-cfg=soc_has_i2s0",
7374                    "cargo:rustc-cfg=soc_has_i2s1",
7375                    "cargo:rustc-cfg=soc_has_interrupt_core0",
7376                    "cargo:rustc-cfg=soc_has_interrupt_core1",
7377                    "cargo:rustc-cfg=soc_has_io_mux",
7378                    "cargo:rustc-cfg=soc_has_lcd_cam",
7379                    "cargo:rustc-cfg=soc_has_ledc",
7380                    "cargo:rustc-cfg=soc_has_lpwr",
7381                    "cargo:rustc-cfg=soc_has_rtc_timer",
7382                    "cargo:rustc-cfg=soc_has_mcpwm0",
7383                    "cargo:rustc-cfg=soc_has_mcpwm1",
7384                    "cargo:rustc-cfg=soc_has_pcnt",
7385                    "cargo:rustc-cfg=soc_has_peri_backup",
7386                    "cargo:rustc-cfg=soc_has_rmt",
7387                    "cargo:rustc-cfg=soc_has_rng",
7388                    "cargo:rustc-cfg=soc_has_rsa",
7389                    "cargo:rustc-cfg=soc_has_rtc_cntl",
7390                    "cargo:rustc-cfg=soc_has_lp_i2c0",
7391                    "cargo:rustc-cfg=soc_has_rtc_io",
7392                    "cargo:rustc-cfg=soc_has_sdhost",
7393                    "cargo:rustc-cfg=soc_has_sens",
7394                    "cargo:rustc-cfg=soc_has_sensitive",
7395                    "cargo:rustc-cfg=soc_has_sha",
7396                    "cargo:rustc-cfg=soc_has_spi0",
7397                    "cargo:rustc-cfg=soc_has_spi1",
7398                    "cargo:rustc-cfg=soc_has_spi2",
7399                    "cargo:rustc-cfg=soc_has_spi3",
7400                    "cargo:rustc-cfg=soc_has_system",
7401                    "cargo:rustc-cfg=soc_has_systimer",
7402                    "cargo:rustc-cfg=soc_has_timg0",
7403                    "cargo:rustc-cfg=soc_has_timg1",
7404                    "cargo:rustc-cfg=soc_has_twai0",
7405                    "cargo:rustc-cfg=soc_has_uart0",
7406                    "cargo:rustc-cfg=soc_has_uart1",
7407                    "cargo:rustc-cfg=soc_has_uart2",
7408                    "cargo:rustc-cfg=soc_has_uhci0",
7409                    "cargo:rustc-cfg=soc_has_usb_fs",
7410                    "cargo:rustc-cfg=soc_has_usb_device",
7411                    "cargo:rustc-cfg=soc_has_usb_wrap",
7412                    "cargo:rustc-cfg=soc_has_wcl",
7413                    "cargo:rustc-cfg=soc_has_xts_aes",
7414                    "cargo:rustc-cfg=soc_has_adc1",
7415                    "cargo:rustc-cfg=soc_has_adc2",
7416                    "cargo:rustc-cfg=soc_has_bt",
7417                    "cargo:rustc-cfg=soc_has_cpu_ctrl",
7418                    "cargo:rustc-cfg=soc_has_flash",
7419                    "cargo:rustc-cfg=soc_has_gpio_dedicated",
7420                    "cargo:rustc-cfg=soc_has_psram",
7421                    "cargo:rustc-cfg=soc_has_ulp_riscv_core",
7422                    "cargo:rustc-cfg=soc_has_wifi",
7423                    "cargo:rustc-cfg=soc_has_from_cpu_intr0",
7424                    "cargo:rustc-cfg=soc_has_from_cpu_intr1",
7425                    "cargo:rustc-cfg=soc_has_from_cpu_intr2",
7426                    "cargo:rustc-cfg=soc_has_from_cpu_intr3",
7427                    "cargo:rustc-cfg=gpio_driver_supported",
7428                    "cargo:rustc-cfg=dedicated_gpio_driver_supported",
7429                    "cargo:rustc-cfg=io_mux_driver_supported",
7430                    "cargo:rustc-cfg=lp_io_driver_supported",
7431                    "cargo:rustc-cfg=uart_driver_supported",
7432                    "cargo:rustc-cfg=uhci_driver_supported",
7433                    "cargo:rustc-cfg=i2c_master_driver_supported",
7434                    "cargo:rustc-cfg=lp_i2c_master_driver_supported",
7435                    "cargo:rustc-cfg=spi_master_driver_supported",
7436                    "cargo:rustc-cfg=spi_slave_driver_supported",
7437                    "cargo:rustc-cfg=i2s_driver_supported",
7438                    "cargo:rustc-cfg=rmt_driver_supported",
7439                    "cargo:rustc-cfg=sdmmc_driver_supported",
7440                    "cargo:rustc-cfg=twai_driver_supported",
7441                    "cargo:rustc-cfg=usb_otg_driver_supported",
7442                    "cargo:rustc-cfg=usb_serial_jtag_driver_supported",
7443                    "cargo:rustc-cfg=bt_driver_supported",
7444                    "cargo:rustc-cfg=wifi_driver_supported",
7445                    "cargo:rustc-cfg=phy_driver_supported",
7446                    "cargo:rustc-cfg=camera_driver_supported",
7447                    "cargo:rustc-cfg=rgb_display_driver_supported",
7448                    "cargo:rustc-cfg=adc_driver_supported",
7449                    "cargo:rustc-cfg=temp_sensor_driver_supported",
7450                    "cargo:rustc-cfg=ledc_driver_supported",
7451                    "cargo:rustc-cfg=mcpwm_driver_supported",
7452                    "cargo:rustc-cfg=pcnt_driver_supported",
7453                    "cargo:rustc-cfg=lp_timer_driver_supported",
7454                    "cargo:rustc-cfg=sdm_driver_supported",
7455                    "cargo:rustc-cfg=systimer_driver_supported",
7456                    "cargo:rustc-cfg=timergroup_driver_supported",
7457                    "cargo:rustc-cfg=aes_driver_supported",
7458                    "cargo:rustc-cfg=hmac_driver_supported",
7459                    "cargo:rustc-cfg=rng_driver_supported",
7460                    "cargo:rustc-cfg=rsa_driver_supported",
7461                    "cargo:rustc-cfg=sha_driver_supported",
7462                    "cargo:rustc-cfg=sleep_driver_supported",
7463                    "cargo:rustc-cfg=ulp_riscv_driver_supported",
7464                    "cargo:rustc-cfg=assist_debug_driver_supported",
7465                    "cargo:rustc-cfg=dma_driver_supported",
7466                    "cargo:rustc-cfg=interrupts_driver_supported",
7467                    "cargo:rustc-cfg=mmu_driver_supported",
7468                    "cargo:rustc-cfg=psram_driver_supported",
7469                    "cargo:rustc-cfg=rom_driver_supported",
7470                    "cargo:rustc-cfg=soc_driver_supported",
7471                    "cargo:rustc-cfg=uart_uart0",
7472                    "cargo:rustc-cfg=uart_uart1",
7473                    "cargo:rustc-cfg=uart_uart2",
7474                    "cargo:rustc-cfg=i2c_master_i2c0",
7475                    "cargo:rustc-cfg=i2c_master_i2c1",
7476                    "cargo:rustc-cfg=spi_master_spi2",
7477                    "cargo:rustc-cfg=spi_master_spi3",
7478                    "cargo:rustc-cfg=spi_slave_spi2",
7479                    "cargo:rustc-cfg=spi_slave_spi3",
7480                    "cargo:rustc-cfg=i2s_i2s0",
7481                    "cargo:rustc-cfg=i2s_i2s1",
7482                    "cargo:rustc-cfg=adc_adc1",
7483                    "cargo:rustc-cfg=adc_adc2",
7484                    "cargo:rustc-cfg=timergroup_timg0",
7485                    "cargo:rustc-cfg=timergroup_timg1",
7486                    "cargo:rustc-cfg=gpio_version=\"2\"",
7487                    "cargo:rustc-cfg=gpio_has_input_sync",
7488                    "cargo:rustc-cfg=gpio_gpio_function=\"1\"",
7489                    "cargo:rustc-cfg=gpio_constant_0_input=\"60\"",
7490                    "cargo:rustc-cfg=gpio_constant_1_input=\"56\"",
7491                    "cargo:rustc-cfg=gpio_func_in_sel_offset=\"0\"",
7492                    "cargo:rustc-cfg=soc_has_xtal32k_pads",
7493                    "cargo:rustc-cfg=gpio_has_bank_1",
7494                    "cargo:rustc-cfg=gpio_input_signal_max=\"255\"",
7495                    "cargo:rustc-cfg=gpio_output_signal_max=\"256\"",
7496                    "cargo:rustc-cfg=dedicated_gpio_version=\"esp32s3\"",
7497                    "cargo:rustc-cfg=dedicated_gpio_needs_initialization",
7498                    "cargo:rustc-cfg=lp_io_version=\"v2\"",
7499                    "cargo:rustc-cfg=uart_ram_size=\"128\"",
7500                    "cargo:rustc-cfg=uart_version=\"1\"",
7501                    "cargo:rustc-cfg=uart_has_sclk_divider",
7502                    "cargo:rustc-cfg=uart_has_sclk_enable",
7503                    "cargo:rustc-cfg=i2c_master_version=\"3\"",
7504                    "cargo:rustc-cfg=i2c_master_has_fsm_timeouts",
7505                    "cargo:rustc-cfg=i2c_master_has_bus_timeout_enable",
7506                    "cargo:rustc-cfg=i2c_master_can_estimate_nack_reason",
7507                    "cargo:rustc-cfg=i2c_master_has_conf_update",
7508                    "cargo:rustc-cfg=i2c_master_has_arbitration_en",
7509                    "cargo:rustc-cfg=i2c_master_has_tx_fifo_watermark",
7510                    "cargo:rustc-cfg=i2c_master_bus_timeout_is_exponential",
7511                    "cargo:rustc-cfg=i2c_master_has_pd_en",
7512                    "cargo:rustc-cfg=i2c_master_max_bus_timeout=\"31\"",
7513                    "cargo:rustc-cfg=i2c_master_ll_intr_mask=\"262143\"",
7514                    "cargo:rustc-cfg=i2c_master_fifo_size=\"32\"",
7515                    "cargo:rustc-cfg=lp_i2c_master_version=\"rtc_i2c\"",
7516                    "cargo:rustc-cfg=spi_master_version=\"3\"",
7517                    "cargo:rustc-cfg=spi_master_fifo_size=\"64\"",
7518                    "cargo:rustc-cfg=spi_master_has_octal",
7519                    "cargo:rustc-cfg=spi_master_has_app_interrupts",
7520                    "cargo:rustc-cfg=spi_master_has_dma_segmented_transfer",
7521                    "cargo:rustc-cfg=i2s_version=\"2\"",
7522                    "cargo:rustc-cfg=i2s_version_is_set",
7523                    "cargo:rustc-cfg=i2s_default_clock_source=\"2\"",
7524                    "cargo:rustc-cfg=i2s_default_clock_source_is_set",
7525                    "cargo:rustc-cfg=i2s_mclk_divider_bit_width=\"6\"",
7526                    "cargo:rustc-cfg=i2s_mclk_divider_bit_width_is_set",
7527                    "cargo:rustc-cfg=i2s_max_ws_width=\"128\"",
7528                    "cargo:rustc-cfg=i2s_max_ws_width_is_set",
7529                    "cargo:rustc-cfg=i2s_supports_pdm_tx",
7530                    "cargo:rustc-cfg=i2s_supports_pdm_rx",
7531                    "cargo:rustc-cfg=i2s_supports_pcm2pdm",
7532                    "cargo:rustc-cfg=i2s_supports_pdm2pcm",
7533                    "cargo:rustc-cfg=rmt_ram_start=\"1610704896\"",
7534                    "cargo:rustc-cfg=rmt_channel_ram_size=\"48\"",
7535                    "cargo:rustc-cfg=rmt_has_tx_immediate_stop",
7536                    "cargo:rustc-cfg=rmt_has_tx_loop_count",
7537                    "cargo:rustc-cfg=rmt_has_tx_loop_auto_stop",
7538                    "cargo:rustc-cfg=rmt_has_tx_carrier_data_only",
7539                    "cargo:rustc-cfg=rmt_has_tx_sync",
7540                    "cargo:rustc-cfg=rmt_has_rx_wrap",
7541                    "cargo:rustc-cfg=rmt_has_rx_demodulation",
7542                    "cargo:rustc-cfg=sdmmc_delay_phase_num=\"4\"",
7543                    "cargo:rustc-cfg=sdmmc_delay_phase_num_is_set",
7544                    "cargo:rustc-cfg=sdmmc_has_gpio_matrix",
7545                    "cargo:rustc-cfg=usb_otg_fifo_depth_words=\"256\"",
7546                    "cargo:rustc-cfg=bt_controller=\"btdm\"",
7547                    "cargo:rustc-cfg=wifi_mac_version=\"1\"",
7548                    "cargo:rustc-cfg=wifi_csi_supported",
7549                    "cargo:rustc-cfg=phy_combo_module",
7550                    "cargo:rustc-cfg=phy_backed_up_digital_register_count=\"21\"",
7551                    "cargo:rustc-cfg=phy_backed_up_digital_register_count_is_set",
7552                    "cargo:rustc-cfg=ledc_version=\"2\"",
7553                    "cargo:rustc-cfg=ledc_channel_count=\"8\"",
7554                    "cargo:rustc-cfg=soc_has_sdm_ch0",
7555                    "cargo:rustc-cfg=soc_has_sdm_ch1",
7556                    "cargo:rustc-cfg=soc_has_sdm_ch2",
7557                    "cargo:rustc-cfg=soc_has_sdm_ch3",
7558                    "cargo:rustc-cfg=soc_has_sdm_ch4",
7559                    "cargo:rustc-cfg=soc_has_sdm_ch5",
7560                    "cargo:rustc-cfg=soc_has_sdm_ch6",
7561                    "cargo:rustc-cfg=soc_has_sdm_ch7",
7562                    "cargo:rustc-cfg=timergroup_timg_has_timer1",
7563                    "cargo:rustc-cfg=timergroup_rc_fast_calibration_is_set",
7564                    "cargo:rustc-cfg=aes_dma_mode_ecb",
7565                    "cargo:rustc-cfg=aes_dma_mode_cbc",
7566                    "cargo:rustc-cfg=aes_dma_mode_ofb",
7567                    "cargo:rustc-cfg=aes_dma_mode_ctr",
7568                    "cargo:rustc-cfg=aes_dma_mode_cfb8",
7569                    "cargo:rustc-cfg=aes_dma_mode_cfb128",
7570                    "cargo:rustc-cfg=aes_has_split_text_registers",
7571                    "cargo:rustc-cfg=rng_apb_cycle_wait_num=\"16\"",
7572                    "cargo:rustc-cfg=rng_trng_supported",
7573                    "cargo:rustc-cfg=rsa_version=\"2\"",
7574                    "cargo:rustc-cfg=rsa_size_increment=\"32\"",
7575                    "cargo:rustc-cfg=rsa_memory_size_bytes=\"512\"",
7576                    "cargo:rustc-cfg=sleep_light_sleep",
7577                    "cargo:rustc-cfg=sleep_deep_sleep",
7578                    "cargo:rustc-cfg=sleep_has_wakeup_source_ext0",
7579                    "cargo:rustc-cfg=sleep_has_wakeup_source_ext1",
7580                    "cargo:rustc-cfg=sleep_has_wakeup_source_gpio",
7581                    "cargo:rustc-cfg=sleep_has_wakeup_source_timer",
7582                    "cargo:rustc-cfg=sleep_has_wakeup_source_sdio",
7583                    "cargo:rustc-cfg=sleep_has_wakeup_source_wifi",
7584                    "cargo:rustc-cfg=sleep_has_wakeup_source_uart",
7585                    "cargo:rustc-cfg=sleep_has_wakeup_source_touch",
7586                    "cargo:rustc-cfg=sleep_has_wakeup_source_bt",
7587                    "cargo:rustc-cfg=sleep_has_wakeup_source_ulp_riscv",
7588                    "cargo:rustc-cfg=sleep_has_wakeup_source_ulp_riscv_trap",
7589                    "cargo:rustc-cfg=sleep_ext1_version=\"1\"",
7590                    "cargo:rustc-cfg=sleep_ext1_version_is_set",
7591                    "cargo:rustc-cfg=sleep_pin_wakeup_version=\"1\"",
7592                    "cargo:rustc-cfg=sleep_pin_wakeup_version_is_set",
7593                    "cargo:rustc-cfg=sleep_deep_sleep_needs_gpio_isolation",
7594                    "cargo:rustc-cfg=assist_debug_has_region_monitor",
7595                    "cargo:rustc-cfg=dma_mem2mem_requires_peripheral",
7596                    "cargo:rustc-cfg=dma_ext_mem_configurable_block_size",
7597                    "cargo:rustc-cfg=dma_separate_in_out_interrupts",
7598                    "cargo:rustc-cfg=dma_gdma_version=\"1\"",
7599                    "cargo:rustc-cfg=dma_gdma_version_is_set",
7600                    "cargo:rustc-cfg=soc_has_dma_ch0",
7601                    "cargo:rustc-cfg=soc_has_dma_ch1",
7602                    "cargo:rustc-cfg=soc_has_dma_ch2",
7603                    "cargo:rustc-cfg=soc_has_dma_ch3",
7604                    "cargo:rustc-cfg=soc_has_dma_ch4",
7605                    "cargo:rustc-cfg=dma_supports_mem2mem",
7606                    "cargo:rustc-cfg=aes_supports_dma",
7607                    "cargo:rustc-cfg=aes_dma_engine=\"AHB_GDMA\"",
7608                    "cargo:rustc-cfg=sha_supports_dma",
7609                    "cargo:rustc-cfg=sha_dma_engine=\"AHB_GDMA\"",
7610                    "cargo:rustc-cfg=spi_master_supports_dma",
7611                    "cargo:rustc-cfg=spi_master_dma_engine=\"AHB_GDMA\"",
7612                    "cargo:rustc-cfg=spi_slave_supports_dma",
7613                    "cargo:rustc-cfg=spi_slave_dma_engine=\"AHB_GDMA\"",
7614                    "cargo:rustc-cfg=rmt_supports_dma",
7615                    "cargo:rustc-cfg=rmt_dma_engine=\"AHB_GDMA\"",
7616                    "cargo:rustc-cfg=uhci_supports_dma",
7617                    "cargo:rustc-cfg=uhci_dma_engine=\"AHB_GDMA\"",
7618                    "cargo:rustc-cfg=i2s_supports_dma",
7619                    "cargo:rustc-cfg=i2s_dma_engine=\"AHB_GDMA\"",
7620                    "cargo:rustc-cfg=lcd_cam_supports_dma",
7621                    "cargo:rustc-cfg=lcd_cam_dma_engine=\"AHB_GDMA\"",
7622                    "cargo:rustc-cfg=dma_can_access_psram",
7623                    "cargo:rustc-cfg=dma_max_priority=\"9\"",
7624                    "cargo:rustc-cfg=dma_max_priority_is_set",
7625                    "cargo:rustc-cfg=interrupts_status_registers=\"4\"",
7626                    "cargo:rustc-cfg=interrupt_controller=\"xtensa\"",
7627                    "cargo:rustc-cfg=mmu_page_size=\"65536\"",
7628                    "cargo:rustc-cfg=mmu_entry_num=\"384\"",
7629                    "cargo:rustc-cfg=psram_octal_spi",
7630                    "cargo:rustc-cfg=psram_extmem_origin=\"1006632960\"",
7631                    "cargo:rustc-cfg=rom_has_crc_le",
7632                    "cargo:rustc-cfg=rom_has_crc_be",
7633                    "cargo:rustc-cfg=rom_has_md5_bsd",
7634                    "cargo:rustc-cfg=soc_multi_core_enabled",
7635                    "cargo:rustc-cfg=soc_has_swd_watchdog",
7636                    "cargo:rustc-cfg=soc_cpu_mcause_mask=\"0\"",
7637                    "cargo:rustc-cfg=soc_has_clock_node_xtal_clk",
7638                    "cargo:rustc-cfg=soc_clock_node_xtal_clk_is_configurable",
7639                    "cargo:rustc-cfg=soc_has_clock_node_pll_clk",
7640                    "cargo:rustc-cfg=soc_clock_node_pll_clk_is_configurable",
7641                    "cargo:rustc-cfg=soc_has_clock_node_rc_fast_clk",
7642                    "cargo:rustc-cfg=soc_has_clock_node_xtal32k_clk",
7643                    "cargo:rustc-cfg=soc_has_clock_node_rc_slow_clk",
7644                    "cargo:rustc-cfg=soc_has_clock_node_rc_fast_div_clk",
7645                    "cargo:rustc-cfg=soc_has_clock_node_system_pre_div_in",
7646                    "cargo:rustc-cfg=soc_clock_node_system_pre_div_in_is_configurable",
7647                    "cargo:rustc-cfg=soc_has_clock_node_system_pre_div",
7648                    "cargo:rustc-cfg=soc_clock_node_system_pre_div_is_configurable",
7649                    "cargo:rustc-cfg=soc_has_clock_node_cpu_pll_div_out",
7650                    "cargo:rustc-cfg=soc_clock_node_cpu_pll_div_out_is_configurable",
7651                    "cargo:rustc-cfg=soc_has_clock_node_cpu_clk",
7652                    "cargo:rustc-cfg=soc_clock_node_cpu_clk_is_configurable",
7653                    "cargo:rustc-cfg=soc_has_clock_node_pll_d2",
7654                    "cargo:rustc-cfg=soc_has_clock_node_pll_160m",
7655                    "cargo:rustc-cfg=soc_has_clock_node_apb_80m",
7656                    "cargo:rustc-cfg=soc_has_clock_node_apb_clk",
7657                    "cargo:rustc-cfg=soc_clock_node_apb_clk_is_configurable",
7658                    "cargo:rustc-cfg=soc_has_clock_node_crypto_pwm_clk",
7659                    "cargo:rustc-cfg=soc_clock_node_crypto_pwm_clk_is_configurable",
7660                    "cargo:rustc-cfg=soc_has_clock_node_rc_fast_clk_div_n",
7661                    "cargo:rustc-cfg=soc_clock_node_rc_fast_clk_div_n_is_configurable",
7662                    "cargo:rustc-cfg=soc_has_clock_node_xtal_div_clk",
7663                    "cargo:rustc-cfg=soc_has_clock_node_rtc_slow_clk",
7664                    "cargo:rustc-cfg=soc_clock_node_rtc_slow_clk_is_configurable",
7665                    "cargo:rustc-cfg=soc_has_clock_node_rtc_fast_clk",
7666                    "cargo:rustc-cfg=soc_clock_node_rtc_fast_clk_is_configurable",
7667                    "cargo:rustc-cfg=soc_has_clock_node_low_power_clk",
7668                    "cargo:rustc-cfg=soc_clock_node_low_power_clk_is_configurable",
7669                    "cargo:rustc-cfg=soc_has_clock_node_uart_mem_clk",
7670                    "cargo:rustc-cfg=soc_has_clock_node_timg_calibration_clock",
7671                    "cargo:rustc-cfg=soc_clock_node_timg_calibration_clock_is_configurable",
7672                    "cargo:rustc-cfg=soc_has_clock_node_mcpwm_function_clock",
7673                    "cargo:rustc-cfg=soc_has_clock_node_timg_function_clock",
7674                    "cargo:rustc-cfg=soc_clock_node_timg_function_clock_is_configurable",
7675                    "cargo:rustc-cfg=soc_has_clock_node_sdm_function_clock",
7676                    "cargo:rustc-cfg=soc_has_clock_node_rmt_sclk",
7677                    "cargo:rustc-cfg=soc_clock_node_rmt_sclk_is_configurable",
7678                    "cargo:rustc-cfg=soc_has_clock_node_uart_function_clock",
7679                    "cargo:rustc-cfg=soc_clock_node_uart_function_clock_is_configurable",
7680                    "cargo:rustc-cfg=soc_has_clock_node_uart_baud_rate_generator",
7681                    "cargo:rustc-cfg=soc_clock_node_uart_baud_rate_generator_is_configurable",
7682                    "cargo:rustc-cfg=soc_has_clock_node_uart_mem_clock",
7683                    "cargo:rustc-cfg=soc_has_clock_node_i2c_function_clock",
7684                    "cargo:rustc-cfg=soc_clock_node_i2c_function_clock_is_configurable",
7685                    "cargo:rustc-cfg=soc_has_clock_node_lcd_cam_lcd_clock",
7686                    "cargo:rustc-cfg=soc_clock_node_lcd_cam_lcd_clock_is_configurable",
7687                    "cargo:rustc-cfg=soc_has_clock_node_lcd_cam_cam_clock",
7688                    "cargo:rustc-cfg=soc_clock_node_lcd_cam_cam_clock_is_configurable",
7689                    "cargo:rustc-cfg=soc_has_clock_node_spi_function_clock",
7690                    "cargo:rustc-cfg=soc_clock_node_spi_function_clock_is_configurable",
7691                    "cargo:rustc-cfg=has_dram_region",
7692                    "cargo:rustc-cfg=has_dram2_uninit_region",
7693                    "cargo:rustc-cfg=has_irom_region",
7694                    "cargo:rustc-cfg=has_drom_region",
7695                ],
7696                memory_layout: &MemoryLayout {
7697                    regions: &[
7698                        (
7699                            "dram",
7700                            MemoryRegion {
7701                                address_range: 0x3FC88000..0x3FD00000,
7702                            },
7703                        ),
7704                        (
7705                            "dram2_uninit",
7706                            MemoryRegion {
7707                                address_range: 0x3FCDB700..0x3FCED710,
7708                            },
7709                        ),
7710                        (
7711                            "irom",
7712                            MemoryRegion {
7713                                address_range: 0x42000000..0x44000000,
7714                            },
7715                        ),
7716                        (
7717                            "drom",
7718                            MemoryRegion {
7719                                address_range: 0x3C000000..0x3E000000,
7720                            },
7721                        ),
7722                    ],
7723                },
7724                pins: &[
7725                    PinInfo {
7726                        pin: 0,
7727                        limitations: &["strapping"],
7728                    },
7729                    PinInfo {
7730                        pin: 1,
7731                        limitations: &[],
7732                    },
7733                    PinInfo {
7734                        pin: 2,
7735                        limitations: &[],
7736                    },
7737                    PinInfo {
7738                        pin: 3,
7739                        limitations: &["strapping"],
7740                    },
7741                    PinInfo {
7742                        pin: 4,
7743                        limitations: &[],
7744                    },
7745                    PinInfo {
7746                        pin: 5,
7747                        limitations: &[],
7748                    },
7749                    PinInfo {
7750                        pin: 6,
7751                        limitations: &[],
7752                    },
7753                    PinInfo {
7754                        pin: 7,
7755                        limitations: &[],
7756                    },
7757                    PinInfo {
7758                        pin: 8,
7759                        limitations: &[],
7760                    },
7761                    PinInfo {
7762                        pin: 9,
7763                        limitations: &[],
7764                    },
7765                    PinInfo {
7766                        pin: 10,
7767                        limitations: &[],
7768                    },
7769                    PinInfo {
7770                        pin: 11,
7771                        limitations: &[],
7772                    },
7773                    PinInfo {
7774                        pin: 12,
7775                        limitations: &[],
7776                    },
7777                    PinInfo {
7778                        pin: 13,
7779                        limitations: &[],
7780                    },
7781                    PinInfo {
7782                        pin: 14,
7783                        limitations: &[],
7784                    },
7785                    PinInfo {
7786                        pin: 15,
7787                        limitations: &[],
7788                    },
7789                    PinInfo {
7790                        pin: 16,
7791                        limitations: &[],
7792                    },
7793                    PinInfo {
7794                        pin: 17,
7795                        limitations: &[],
7796                    },
7797                    PinInfo {
7798                        pin: 18,
7799                        limitations: &[],
7800                    },
7801                    PinInfo {
7802                        pin: 19,
7803                        limitations: &["usb_jtag"],
7804                    },
7805                    PinInfo {
7806                        pin: 20,
7807                        limitations: &["usb_jtag"],
7808                    },
7809                    PinInfo {
7810                        pin: 21,
7811                        limitations: &[],
7812                    },
7813                    PinInfo {
7814                        pin: 26,
7815                        limitations: &["spi_psram"],
7816                    },
7817                    PinInfo {
7818                        pin: 27,
7819                        limitations: &["spi_flash", "spi_psram"],
7820                    },
7821                    PinInfo {
7822                        pin: 28,
7823                        limitations: &["spi_flash", "spi_psram"],
7824                    },
7825                    PinInfo {
7826                        pin: 29,
7827                        limitations: &["spi_flash"],
7828                    },
7829                    PinInfo {
7830                        pin: 30,
7831                        limitations: &["spi_flash", "spi_psram"],
7832                    },
7833                    PinInfo {
7834                        pin: 31,
7835                        limitations: &["spi_flash", "spi_psram"],
7836                    },
7837                    PinInfo {
7838                        pin: 32,
7839                        limitations: &["spi_flash"],
7840                    },
7841                    PinInfo {
7842                        pin: 33,
7843                        limitations: &["octal_flash", "octal_psram"],
7844                    },
7845                    PinInfo {
7846                        pin: 34,
7847                        limitations: &["octal_flash", "octal_psram"],
7848                    },
7849                    PinInfo {
7850                        pin: 35,
7851                        limitations: &["octal_flash", "octal_psram"],
7852                    },
7853                    PinInfo {
7854                        pin: 36,
7855                        limitations: &["octal_flash", "octal_psram"],
7856                    },
7857                    PinInfo {
7858                        pin: 37,
7859                        limitations: &["octal_flash", "octal_psram"],
7860                    },
7861                    PinInfo {
7862                        pin: 38,
7863                        limitations: &[],
7864                    },
7865                    PinInfo {
7866                        pin: 39,
7867                        limitations: &["jtag"],
7868                    },
7869                    PinInfo {
7870                        pin: 40,
7871                        limitations: &["jtag"],
7872                    },
7873                    PinInfo {
7874                        pin: 41,
7875                        limitations: &["jtag"],
7876                    },
7877                    PinInfo {
7878                        pin: 42,
7879                        limitations: &["jtag"],
7880                    },
7881                    PinInfo {
7882                        pin: 43,
7883                        limitations: &["bootloader_uart"],
7884                    },
7885                    PinInfo {
7886                        pin: 44,
7887                        limitations: &["bootloader_uart"],
7888                    },
7889                    PinInfo {
7890                        pin: 45,
7891                        limitations: &["strapping"],
7892                    },
7893                    PinInfo {
7894                        pin: 46,
7895                        limitations: &["strapping"],
7896                    },
7897                    PinInfo {
7898                        pin: 47,
7899                        limitations: &[],
7900                    },
7901                    PinInfo {
7902                        pin: 48,
7903                        limitations: &[],
7904                    },
7905                ],
7906            },
7907            Self::Esp32s31 => Config {
7908                architecture: "riscv",
7909                target: "riscv32imafc-unknown-none-elf",
7910                symbols: &[
7911                    "esp32s31",
7912                    "riscv",
7913                    "multi_core",
7914                    "soc_has_aes",
7915                    "soc_has_apb_saradc",
7916                    "soc_has_assist_debug",
7917                    "soc_has_cache",
7918                    "soc_has_clic",
7919                    "soc_has_cnnt_sys",
7920                    "soc_has_cnnt_io_mux",
7921                    "soc_has_ecc",
7922                    "soc_has_efuse",
7923                    "soc_has_gpio",
7924                    "soc_has_gpio_sd",
7925                    "soc_has_hp_apm",
7926                    "soc_has_hp_mem_apm",
7927                    "soc_has_hp_sys",
7928                    "soc_has_hp_alive_sys",
7929                    "soc_has_hp_sys_clkrst",
7930                    "soc_has_i2c0",
7931                    "soc_has_i2c1",
7932                    "soc_has_ieee802154",
7933                    "soc_has_interrupt_core0",
7934                    "soc_has_interrupt_core1",
7935                    "soc_has_io_mux",
7936                    "soc_has_iomux_mspi_pin",
7937                    "soc_has_lp_aon_clk_rst",
7938                    "soc_has_lp_apm",
7939                    "soc_has_lp_gpio",
7940                    "soc_has_lp_io_mux",
7941                    "soc_has_lp_peri",
7942                    "soc_has_lp_sys",
7943                    "soc_has_lp_tee",
7944                    "soc_has_lp_wdt",
7945                    "soc_has_lpwr",
7946                    "soc_has_mem_monitor",
7947                    "soc_has_modem_lpcon",
7948                    "soc_has_modem_syscon",
7949                    "soc_has_pau",
7950                    "soc_has_pmu",
7951                    "soc_has_rtc_timer",
7952                    "soc_has_rng",
7953                    "soc_has_rmt",
7954                    "soc_has_rsa",
7955                    "soc_has_spi0",
7956                    "soc_has_spi1",
7957                    "soc_has_memspi2",
7958                    "soc_has_memspi3",
7959                    "soc_has_spi2",
7960                    "soc_has_spi3",
7961                    "soc_has_axi_gdma",
7962                    "soc_has_dma",
7963                    "soc_has_sha",
7964                    "soc_has_system",
7965                    "soc_has_systimer",
7966                    "soc_has_sdhost",
7967                    "soc_has_tee",
7968                    "soc_has_timg0",
7969                    "soc_has_timg1",
7970                    "soc_has_uart0",
7971                    "soc_has_uart1",
7972                    "soc_has_uart2",
7973                    "soc_has_uart3",
7974                    "soc_has_uhci0",
7975                    "soc_has_usb_device",
7976                    "soc_has_usb_hs",
7977                    "soc_has_adc1",
7978                    "soc_has_adc2",
7979                    "soc_has_flash",
7980                    "soc_has_psram",
7981                    "soc_has_gpio_dedicated",
7982                    "soc_has_wifi",
7983                    "soc_has_cpu_ctrl",
7984                    "soc_has_from_cpu_intr0",
7985                    "soc_has_from_cpu_intr1",
7986                    "soc_has_from_cpu_intr2",
7987                    "soc_has_from_cpu_intr3",
7988                    "gpio_driver_supported",
7989                    "dedicated_gpio_driver_supported",
7990                    "io_mux_driver_supported",
7991                    "uart_driver_supported",
7992                    "uhci_driver_supported",
7993                    "i2c_master_driver_supported",
7994                    "spi_master_driver_supported",
7995                    "spi_slave_driver_supported",
7996                    "rmt_driver_supported",
7997                    "sdmmc_driver_supported",
7998                    "usb_otg_hs_driver_supported",
7999                    "usb_serial_jtag_driver_supported",
8000                    "wifi_driver_supported",
8001                    "ieee802154_driver_supported",
8002                    "phy_driver_supported",
8003                    "adc_driver_supported",
8004                    "lp_timer_driver_supported",
8005                    "sdm_driver_supported",
8006                    "systimer_driver_supported",
8007                    "timergroup_driver_supported",
8008                    "aes_driver_supported",
8009                    "ecc_driver_supported",
8010                    "rng_driver_supported",
8011                    "rsa_driver_supported",
8012                    "sha_driver_supported",
8013                    "dma_driver_supported",
8014                    "interrupts_driver_supported",
8015                    "mmu_driver_supported",
8016                    "psram_driver_supported",
8017                    "rom_driver_supported",
8018                    "soc_driver_supported",
8019                    "uart_uart0",
8020                    "uart_uart1",
8021                    "uart_uart2",
8022                    "uart_uart3",
8023                    "i2c_master_i2c0",
8024                    "i2c_master_i2c1",
8025                    "spi_master_spi2",
8026                    "spi_master_spi3",
8027                    "spi_slave_spi2",
8028                    "spi_slave_spi3",
8029                    "adc_adc1",
8030                    "adc_adc2",
8031                    "timergroup_timg0",
8032                    "timergroup_timg1",
8033                    "gpio_version=\"3\"",
8034                    "gpio_has_input_sync",
8035                    "gpio_gpio_function=\"1\"",
8036                    "gpio_constant_0_input=\"192\"",
8037                    "gpio_constant_1_input=\"128\"",
8038                    "gpio_func_in_sel_offset=\"0\"",
8039                    "soc_has_xtal32k_pads",
8040                    "gpio_has_bank_1",
8041                    "gpio_input_signal_max=\"255\"",
8042                    "gpio_output_signal_max=\"256\"",
8043                    "dedicated_gpio_version=\"riscv_v2\"",
8044                    "uart_ram_size=\"128\"",
8045                    "uart_version=\"2\"",
8046                    "uart_peripheral_controls_mem_clk",
8047                    "uart_has_sclk_enable",
8048                    "uhci_combined_uart_selector_field",
8049                    "i2c_master_version=\"4\"",
8050                    "i2c_master_has_fsm_timeouts",
8051                    "i2c_master_has_hw_bus_clear",
8052                    "i2c_master_has_bus_timeout_enable",
8053                    "i2c_master_can_estimate_nack_reason",
8054                    "i2c_master_has_conf_update",
8055                    "i2c_master_has_reliable_fsm_reset",
8056                    "i2c_master_has_arbitration_en",
8057                    "i2c_master_has_tx_fifo_watermark",
8058                    "i2c_master_bus_timeout_is_exponential",
8059                    "i2c_master_has_pd_en",
8060                    "i2c_master_max_bus_timeout=\"31\"",
8061                    "i2c_master_ll_intr_mask=\"262143\"",
8062                    "i2c_master_fifo_size=\"32\"",
8063                    "spi_master_version=\"3\"",
8064                    "spi_master_fifo_size=\"64\"",
8065                    "spi_master_has_octal",
8066                    "spi_master_has_app_interrupts",
8067                    "spi_master_has_dma_segmented_transfer",
8068                    "rmt_ram_start=\"540366848\"",
8069                    "rmt_channel_ram_size=\"48\"",
8070                    "rmt_has_tx_immediate_stop",
8071                    "rmt_has_tx_loop_count",
8072                    "rmt_has_tx_loop_auto_stop",
8073                    "rmt_has_tx_carrier_data_only",
8074                    "rmt_has_tx_sync",
8075                    "rmt_has_rx_wrap",
8076                    "rmt_has_rx_demodulation",
8077                    "sdmmc_delay_phase_num=\"8\"",
8078                    "sdmmc_delay_phase_num_is_set",
8079                    "sdmmc_has_iomux",
8080                    "sdmmc_psram_dma",
8081                    "usb_otg_hs_fifo_depth_words=\"896\"",
8082                    "wifi_has_wifi6",
8083                    "wifi_mac_version=\"3\"",
8084                    "wifi_csi_supported",
8085                    "phy_combo_module",
8086                    "soc_has_sdm_ch0",
8087                    "soc_has_sdm_ch1",
8088                    "soc_has_sdm_ch2",
8089                    "soc_has_sdm_ch3",
8090                    "soc_has_sdm_ch4",
8091                    "soc_has_sdm_ch5",
8092                    "soc_has_sdm_ch6",
8093                    "soc_has_sdm_ch7",
8094                    "timergroup_timg_has_divcnt_rst",
8095                    "timergroup_rc_fast_calibration_divider",
8096                    "timergroup_rc_fast_calibration_is_set",
8097                    "aes_dma_mode_ecb",
8098                    "aes_dma_mode_cbc",
8099                    "aes_dma_mode_ofb",
8100                    "aes_dma_mode_ctr",
8101                    "aes_dma_mode_cfb8",
8102                    "aes_dma_mode_cfb128",
8103                    "aes_dma_mode_gcm",
8104                    "aes_has_split_text_registers",
8105                    "ecc_separate_jacobian_point_memory",
8106                    "ecc_has_memory_clock_gate",
8107                    "ecc_supports_enhanced_security",
8108                    "ecc_has_modular_arithmetic",
8109                    "ecc_has_point_addition",
8110                    "ecc_has_curve_p192",
8111                    "ecc_has_curve_p256",
8112                    "ecc_has_curve_p384",
8113                    "rng_apb_cycle_wait_num=\"16\"",
8114                    "rsa_version=\"3\"",
8115                    "rsa_size_increment=\"32\"",
8116                    "rsa_memory_size_bytes=\"512\"",
8117                    "dma_separate_in_out_interrupts",
8118                    "dma_gdma_version=\"3\"",
8119                    "dma_gdma_version_is_set",
8120                    "soc_has_dma_ch0",
8121                    "soc_has_dma_ch1",
8122                    "soc_has_dma_ch2",
8123                    "soc_has_dma_ch3",
8124                    "soc_has_dma_ch4",
8125                    "soc_has_dma_axi_ch0",
8126                    "soc_has_dma_axi_ch1",
8127                    "soc_has_dma_axi_ch2",
8128                    "dma_supports_mem2mem",
8129                    "uhci_supports_dma",
8130                    "uhci_dma_engine=\"AHB_GDMA\"",
8131                    "spi_master_supports_dma",
8132                    "spi_master_dma_engine=\"AXI_GDMA\"",
8133                    "spi_slave_supports_dma",
8134                    "spi_slave_dma_engine=\"AXI_GDMA\"",
8135                    "aes_supports_dma",
8136                    "aes_dma_engine=\"AXI_GDMA\"",
8137                    "dma_can_access_psram",
8138                    "dma_max_priority=\"15\"",
8139                    "dma_max_priority_is_set",
8140                    "interrupts_status_registers=\"6\"",
8141                    "interrupt_controller=\"clic\"",
8142                    "mmu_page_size=\"65536\"",
8143                    "mmu_entry_num=\"1024\"",
8144                    "psram_octal_spi",
8145                    "psram_extmem_origin=\"1342177280\"",
8146                    "rom_has_crc_le",
8147                    "rom_has_crc_be",
8148                    "rom_has_md5_bsd",
8149                    "soc_cpu_has_branch_predictor",
8150                    "soc_multi_core_enabled",
8151                    "soc_cpu_csr_prv_mode=\"2064\"",
8152                    "soc_cpu_csr_prv_mode_is_set",
8153                    "soc_has_swd_watchdog",
8154                    "soc_cpu_mcause_mask=\"63\"",
8155                    "soc_has_clock_node_xtal_clk",
8156                    "soc_has_clock_node_bbpll_clk",
8157                    "soc_has_clock_node_cpll_clk",
8158                    "soc_has_clock_node_mpll_clk",
8159                    "soc_has_clock_node_rc_fast_clk",
8160                    "soc_has_clock_node_xtal32k_clk",
8161                    "soc_has_clock_node_rc_slow_clk",
8162                    "soc_has_clock_node_pll_f20m",
8163                    "soc_has_clock_node_pll_f80m",
8164                    "soc_has_clock_node_pll_f120m",
8165                    "soc_has_clock_node_pll_f160m",
8166                    "soc_has_clock_node_pll_f240m",
8167                    "soc_has_clock_node_bbpll_d3_clock",
8168                    "soc_has_clock_node_pll_f25m",
8169                    "soc_has_clock_node_pll_f50m",
8170                    "soc_has_clock_node_xtal_d2_clk",
8171                    "soc_has_clock_node_cpu_root_clk",
8172                    "soc_clock_node_cpu_root_clk_is_configurable",
8173                    "soc_has_clock_node_cpu_clk",
8174                    "soc_clock_node_cpu_clk_is_configurable",
8175                    "soc_has_clock_node_ahb_clk",
8176                    "soc_clock_node_ahb_clk_is_configurable",
8177                    "soc_has_clock_node_apb_clk",
8178                    "soc_clock_node_apb_clk_is_configurable",
8179                    "soc_has_clock_node_lp_fast_clk",
8180                    "soc_clock_node_lp_fast_clk_is_configurable",
8181                    "soc_has_clock_node_lp_slow_clk",
8182                    "soc_clock_node_lp_slow_clk_is_configurable",
8183                    "soc_has_clock_node_iomux_function_clock",
8184                    "soc_clock_node_iomux_function_clock_is_configurable",
8185                    "soc_has_clock_node_timg_calibration_clock",
8186                    "soc_clock_node_timg_calibration_clock_is_configurable",
8187                    "soc_has_clock_node_psram_function_clock",
8188                    "soc_clock_node_psram_function_clock_is_configurable",
8189                    "soc_has_clock_node_uart_function_clock",
8190                    "soc_clock_node_uart_function_clock_is_configurable",
8191                    "soc_has_clock_node_uart_baud_rate_generator",
8192                    "soc_clock_node_uart_baud_rate_generator_is_configurable",
8193                    "soc_has_clock_node_uart_mem_clock",
8194                    "soc_has_clock_node_timg_function_clock",
8195                    "soc_clock_node_timg_function_clock_is_configurable",
8196                    "soc_has_clock_node_timg_wdt_clock",
8197                    "soc_clock_node_timg_wdt_clock_is_configurable",
8198                    "soc_has_clock_node_spi_function_clock",
8199                    "soc_clock_node_spi_function_clock_is_configurable",
8200                    "soc_has_clock_node_i2c_function_clock",
8201                    "soc_clock_node_i2c_function_clock_is_configurable",
8202                    "soc_has_clock_node_rmt_sclk",
8203                    "soc_clock_node_rmt_sclk_is_configurable",
8204                    "soc_has_clock_node_sdm_function_clock",
8205                    "has_dram_region",
8206                    "has_dram2_uninit_region",
8207                    "has_irom_region",
8208                    "has_drom_region",
8209                ],
8210                cfgs: &[
8211                    "cargo:rustc-cfg=esp32s31",
8212                    "cargo:rustc-cfg=riscv",
8213                    "cargo:rustc-cfg=multi_core",
8214                    "cargo:rustc-cfg=soc_has_aes",
8215                    "cargo:rustc-cfg=soc_has_apb_saradc",
8216                    "cargo:rustc-cfg=soc_has_assist_debug",
8217                    "cargo:rustc-cfg=soc_has_cache",
8218                    "cargo:rustc-cfg=soc_has_clic",
8219                    "cargo:rustc-cfg=soc_has_cnnt_sys",
8220                    "cargo:rustc-cfg=soc_has_cnnt_io_mux",
8221                    "cargo:rustc-cfg=soc_has_ecc",
8222                    "cargo:rustc-cfg=soc_has_efuse",
8223                    "cargo:rustc-cfg=soc_has_gpio",
8224                    "cargo:rustc-cfg=soc_has_gpio_sd",
8225                    "cargo:rustc-cfg=soc_has_hp_apm",
8226                    "cargo:rustc-cfg=soc_has_hp_mem_apm",
8227                    "cargo:rustc-cfg=soc_has_hp_sys",
8228                    "cargo:rustc-cfg=soc_has_hp_alive_sys",
8229                    "cargo:rustc-cfg=soc_has_hp_sys_clkrst",
8230                    "cargo:rustc-cfg=soc_has_i2c0",
8231                    "cargo:rustc-cfg=soc_has_i2c1",
8232                    "cargo:rustc-cfg=soc_has_ieee802154",
8233                    "cargo:rustc-cfg=soc_has_interrupt_core0",
8234                    "cargo:rustc-cfg=soc_has_interrupt_core1",
8235                    "cargo:rustc-cfg=soc_has_io_mux",
8236                    "cargo:rustc-cfg=soc_has_iomux_mspi_pin",
8237                    "cargo:rustc-cfg=soc_has_lp_aon_clk_rst",
8238                    "cargo:rustc-cfg=soc_has_lp_apm",
8239                    "cargo:rustc-cfg=soc_has_lp_gpio",
8240                    "cargo:rustc-cfg=soc_has_lp_io_mux",
8241                    "cargo:rustc-cfg=soc_has_lp_peri",
8242                    "cargo:rustc-cfg=soc_has_lp_sys",
8243                    "cargo:rustc-cfg=soc_has_lp_tee",
8244                    "cargo:rustc-cfg=soc_has_lp_wdt",
8245                    "cargo:rustc-cfg=soc_has_lpwr",
8246                    "cargo:rustc-cfg=soc_has_mem_monitor",
8247                    "cargo:rustc-cfg=soc_has_modem_lpcon",
8248                    "cargo:rustc-cfg=soc_has_modem_syscon",
8249                    "cargo:rustc-cfg=soc_has_pau",
8250                    "cargo:rustc-cfg=soc_has_pmu",
8251                    "cargo:rustc-cfg=soc_has_rtc_timer",
8252                    "cargo:rustc-cfg=soc_has_rng",
8253                    "cargo:rustc-cfg=soc_has_rmt",
8254                    "cargo:rustc-cfg=soc_has_rsa",
8255                    "cargo:rustc-cfg=soc_has_spi0",
8256                    "cargo:rustc-cfg=soc_has_spi1",
8257                    "cargo:rustc-cfg=soc_has_memspi2",
8258                    "cargo:rustc-cfg=soc_has_memspi3",
8259                    "cargo:rustc-cfg=soc_has_spi2",
8260                    "cargo:rustc-cfg=soc_has_spi3",
8261                    "cargo:rustc-cfg=soc_has_axi_gdma",
8262                    "cargo:rustc-cfg=soc_has_dma",
8263                    "cargo:rustc-cfg=soc_has_sha",
8264                    "cargo:rustc-cfg=soc_has_system",
8265                    "cargo:rustc-cfg=soc_has_systimer",
8266                    "cargo:rustc-cfg=soc_has_sdhost",
8267                    "cargo:rustc-cfg=soc_has_tee",
8268                    "cargo:rustc-cfg=soc_has_timg0",
8269                    "cargo:rustc-cfg=soc_has_timg1",
8270                    "cargo:rustc-cfg=soc_has_uart0",
8271                    "cargo:rustc-cfg=soc_has_uart1",
8272                    "cargo:rustc-cfg=soc_has_uart2",
8273                    "cargo:rustc-cfg=soc_has_uart3",
8274                    "cargo:rustc-cfg=soc_has_uhci0",
8275                    "cargo:rustc-cfg=soc_has_usb_device",
8276                    "cargo:rustc-cfg=soc_has_usb_hs",
8277                    "cargo:rustc-cfg=soc_has_adc1",
8278                    "cargo:rustc-cfg=soc_has_adc2",
8279                    "cargo:rustc-cfg=soc_has_flash",
8280                    "cargo:rustc-cfg=soc_has_psram",
8281                    "cargo:rustc-cfg=soc_has_gpio_dedicated",
8282                    "cargo:rustc-cfg=soc_has_wifi",
8283                    "cargo:rustc-cfg=soc_has_cpu_ctrl",
8284                    "cargo:rustc-cfg=soc_has_from_cpu_intr0",
8285                    "cargo:rustc-cfg=soc_has_from_cpu_intr1",
8286                    "cargo:rustc-cfg=soc_has_from_cpu_intr2",
8287                    "cargo:rustc-cfg=soc_has_from_cpu_intr3",
8288                    "cargo:rustc-cfg=gpio_driver_supported",
8289                    "cargo:rustc-cfg=dedicated_gpio_driver_supported",
8290                    "cargo:rustc-cfg=io_mux_driver_supported",
8291                    "cargo:rustc-cfg=uart_driver_supported",
8292                    "cargo:rustc-cfg=uhci_driver_supported",
8293                    "cargo:rustc-cfg=i2c_master_driver_supported",
8294                    "cargo:rustc-cfg=spi_master_driver_supported",
8295                    "cargo:rustc-cfg=spi_slave_driver_supported",
8296                    "cargo:rustc-cfg=rmt_driver_supported",
8297                    "cargo:rustc-cfg=sdmmc_driver_supported",
8298                    "cargo:rustc-cfg=usb_otg_hs_driver_supported",
8299                    "cargo:rustc-cfg=usb_serial_jtag_driver_supported",
8300                    "cargo:rustc-cfg=wifi_driver_supported",
8301                    "cargo:rustc-cfg=ieee802154_driver_supported",
8302                    "cargo:rustc-cfg=phy_driver_supported",
8303                    "cargo:rustc-cfg=adc_driver_supported",
8304                    "cargo:rustc-cfg=lp_timer_driver_supported",
8305                    "cargo:rustc-cfg=sdm_driver_supported",
8306                    "cargo:rustc-cfg=systimer_driver_supported",
8307                    "cargo:rustc-cfg=timergroup_driver_supported",
8308                    "cargo:rustc-cfg=aes_driver_supported",
8309                    "cargo:rustc-cfg=ecc_driver_supported",
8310                    "cargo:rustc-cfg=rng_driver_supported",
8311                    "cargo:rustc-cfg=rsa_driver_supported",
8312                    "cargo:rustc-cfg=sha_driver_supported",
8313                    "cargo:rustc-cfg=dma_driver_supported",
8314                    "cargo:rustc-cfg=interrupts_driver_supported",
8315                    "cargo:rustc-cfg=mmu_driver_supported",
8316                    "cargo:rustc-cfg=psram_driver_supported",
8317                    "cargo:rustc-cfg=rom_driver_supported",
8318                    "cargo:rustc-cfg=soc_driver_supported",
8319                    "cargo:rustc-cfg=uart_uart0",
8320                    "cargo:rustc-cfg=uart_uart1",
8321                    "cargo:rustc-cfg=uart_uart2",
8322                    "cargo:rustc-cfg=uart_uart3",
8323                    "cargo:rustc-cfg=i2c_master_i2c0",
8324                    "cargo:rustc-cfg=i2c_master_i2c1",
8325                    "cargo:rustc-cfg=spi_master_spi2",
8326                    "cargo:rustc-cfg=spi_master_spi3",
8327                    "cargo:rustc-cfg=spi_slave_spi2",
8328                    "cargo:rustc-cfg=spi_slave_spi3",
8329                    "cargo:rustc-cfg=adc_adc1",
8330                    "cargo:rustc-cfg=adc_adc2",
8331                    "cargo:rustc-cfg=timergroup_timg0",
8332                    "cargo:rustc-cfg=timergroup_timg1",
8333                    "cargo:rustc-cfg=gpio_version=\"3\"",
8334                    "cargo:rustc-cfg=gpio_has_input_sync",
8335                    "cargo:rustc-cfg=gpio_gpio_function=\"1\"",
8336                    "cargo:rustc-cfg=gpio_constant_0_input=\"192\"",
8337                    "cargo:rustc-cfg=gpio_constant_1_input=\"128\"",
8338                    "cargo:rustc-cfg=gpio_func_in_sel_offset=\"0\"",
8339                    "cargo:rustc-cfg=soc_has_xtal32k_pads",
8340                    "cargo:rustc-cfg=gpio_has_bank_1",
8341                    "cargo:rustc-cfg=gpio_input_signal_max=\"255\"",
8342                    "cargo:rustc-cfg=gpio_output_signal_max=\"256\"",
8343                    "cargo:rustc-cfg=dedicated_gpio_version=\"riscv_v2\"",
8344                    "cargo:rustc-cfg=uart_ram_size=\"128\"",
8345                    "cargo:rustc-cfg=uart_version=\"2\"",
8346                    "cargo:rustc-cfg=uart_peripheral_controls_mem_clk",
8347                    "cargo:rustc-cfg=uart_has_sclk_enable",
8348                    "cargo:rustc-cfg=uhci_combined_uart_selector_field",
8349                    "cargo:rustc-cfg=i2c_master_version=\"4\"",
8350                    "cargo:rustc-cfg=i2c_master_has_fsm_timeouts",
8351                    "cargo:rustc-cfg=i2c_master_has_hw_bus_clear",
8352                    "cargo:rustc-cfg=i2c_master_has_bus_timeout_enable",
8353                    "cargo:rustc-cfg=i2c_master_can_estimate_nack_reason",
8354                    "cargo:rustc-cfg=i2c_master_has_conf_update",
8355                    "cargo:rustc-cfg=i2c_master_has_reliable_fsm_reset",
8356                    "cargo:rustc-cfg=i2c_master_has_arbitration_en",
8357                    "cargo:rustc-cfg=i2c_master_has_tx_fifo_watermark",
8358                    "cargo:rustc-cfg=i2c_master_bus_timeout_is_exponential",
8359                    "cargo:rustc-cfg=i2c_master_has_pd_en",
8360                    "cargo:rustc-cfg=i2c_master_max_bus_timeout=\"31\"",
8361                    "cargo:rustc-cfg=i2c_master_ll_intr_mask=\"262143\"",
8362                    "cargo:rustc-cfg=i2c_master_fifo_size=\"32\"",
8363                    "cargo:rustc-cfg=spi_master_version=\"3\"",
8364                    "cargo:rustc-cfg=spi_master_fifo_size=\"64\"",
8365                    "cargo:rustc-cfg=spi_master_has_octal",
8366                    "cargo:rustc-cfg=spi_master_has_app_interrupts",
8367                    "cargo:rustc-cfg=spi_master_has_dma_segmented_transfer",
8368                    "cargo:rustc-cfg=rmt_ram_start=\"540366848\"",
8369                    "cargo:rustc-cfg=rmt_channel_ram_size=\"48\"",
8370                    "cargo:rustc-cfg=rmt_has_tx_immediate_stop",
8371                    "cargo:rustc-cfg=rmt_has_tx_loop_count",
8372                    "cargo:rustc-cfg=rmt_has_tx_loop_auto_stop",
8373                    "cargo:rustc-cfg=rmt_has_tx_carrier_data_only",
8374                    "cargo:rustc-cfg=rmt_has_tx_sync",
8375                    "cargo:rustc-cfg=rmt_has_rx_wrap",
8376                    "cargo:rustc-cfg=rmt_has_rx_demodulation",
8377                    "cargo:rustc-cfg=sdmmc_delay_phase_num=\"8\"",
8378                    "cargo:rustc-cfg=sdmmc_delay_phase_num_is_set",
8379                    "cargo:rustc-cfg=sdmmc_has_iomux",
8380                    "cargo:rustc-cfg=sdmmc_psram_dma",
8381                    "cargo:rustc-cfg=usb_otg_hs_fifo_depth_words=\"896\"",
8382                    "cargo:rustc-cfg=wifi_has_wifi6",
8383                    "cargo:rustc-cfg=wifi_mac_version=\"3\"",
8384                    "cargo:rustc-cfg=wifi_csi_supported",
8385                    "cargo:rustc-cfg=phy_combo_module",
8386                    "cargo:rustc-cfg=soc_has_sdm_ch0",
8387                    "cargo:rustc-cfg=soc_has_sdm_ch1",
8388                    "cargo:rustc-cfg=soc_has_sdm_ch2",
8389                    "cargo:rustc-cfg=soc_has_sdm_ch3",
8390                    "cargo:rustc-cfg=soc_has_sdm_ch4",
8391                    "cargo:rustc-cfg=soc_has_sdm_ch5",
8392                    "cargo:rustc-cfg=soc_has_sdm_ch6",
8393                    "cargo:rustc-cfg=soc_has_sdm_ch7",
8394                    "cargo:rustc-cfg=timergroup_timg_has_divcnt_rst",
8395                    "cargo:rustc-cfg=timergroup_rc_fast_calibration_divider",
8396                    "cargo:rustc-cfg=timergroup_rc_fast_calibration_is_set",
8397                    "cargo:rustc-cfg=aes_dma_mode_ecb",
8398                    "cargo:rustc-cfg=aes_dma_mode_cbc",
8399                    "cargo:rustc-cfg=aes_dma_mode_ofb",
8400                    "cargo:rustc-cfg=aes_dma_mode_ctr",
8401                    "cargo:rustc-cfg=aes_dma_mode_cfb8",
8402                    "cargo:rustc-cfg=aes_dma_mode_cfb128",
8403                    "cargo:rustc-cfg=aes_dma_mode_gcm",
8404                    "cargo:rustc-cfg=aes_has_split_text_registers",
8405                    "cargo:rustc-cfg=ecc_separate_jacobian_point_memory",
8406                    "cargo:rustc-cfg=ecc_has_memory_clock_gate",
8407                    "cargo:rustc-cfg=ecc_supports_enhanced_security",
8408                    "cargo:rustc-cfg=ecc_has_modular_arithmetic",
8409                    "cargo:rustc-cfg=ecc_has_point_addition",
8410                    "cargo:rustc-cfg=ecc_has_curve_p192",
8411                    "cargo:rustc-cfg=ecc_has_curve_p256",
8412                    "cargo:rustc-cfg=ecc_has_curve_p384",
8413                    "cargo:rustc-cfg=rng_apb_cycle_wait_num=\"16\"",
8414                    "cargo:rustc-cfg=rsa_version=\"3\"",
8415                    "cargo:rustc-cfg=rsa_size_increment=\"32\"",
8416                    "cargo:rustc-cfg=rsa_memory_size_bytes=\"512\"",
8417                    "cargo:rustc-cfg=dma_separate_in_out_interrupts",
8418                    "cargo:rustc-cfg=dma_gdma_version=\"3\"",
8419                    "cargo:rustc-cfg=dma_gdma_version_is_set",
8420                    "cargo:rustc-cfg=soc_has_dma_ch0",
8421                    "cargo:rustc-cfg=soc_has_dma_ch1",
8422                    "cargo:rustc-cfg=soc_has_dma_ch2",
8423                    "cargo:rustc-cfg=soc_has_dma_ch3",
8424                    "cargo:rustc-cfg=soc_has_dma_ch4",
8425                    "cargo:rustc-cfg=soc_has_dma_axi_ch0",
8426                    "cargo:rustc-cfg=soc_has_dma_axi_ch1",
8427                    "cargo:rustc-cfg=soc_has_dma_axi_ch2",
8428                    "cargo:rustc-cfg=dma_supports_mem2mem",
8429                    "cargo:rustc-cfg=uhci_supports_dma",
8430                    "cargo:rustc-cfg=uhci_dma_engine=\"AHB_GDMA\"",
8431                    "cargo:rustc-cfg=spi_master_supports_dma",
8432                    "cargo:rustc-cfg=spi_master_dma_engine=\"AXI_GDMA\"",
8433                    "cargo:rustc-cfg=spi_slave_supports_dma",
8434                    "cargo:rustc-cfg=spi_slave_dma_engine=\"AXI_GDMA\"",
8435                    "cargo:rustc-cfg=aes_supports_dma",
8436                    "cargo:rustc-cfg=aes_dma_engine=\"AXI_GDMA\"",
8437                    "cargo:rustc-cfg=dma_can_access_psram",
8438                    "cargo:rustc-cfg=dma_max_priority=\"15\"",
8439                    "cargo:rustc-cfg=dma_max_priority_is_set",
8440                    "cargo:rustc-cfg=interrupts_status_registers=\"6\"",
8441                    "cargo:rustc-cfg=interrupt_controller=\"clic\"",
8442                    "cargo:rustc-cfg=mmu_page_size=\"65536\"",
8443                    "cargo:rustc-cfg=mmu_entry_num=\"1024\"",
8444                    "cargo:rustc-cfg=psram_octal_spi",
8445                    "cargo:rustc-cfg=psram_extmem_origin=\"1342177280\"",
8446                    "cargo:rustc-cfg=rom_has_crc_le",
8447                    "cargo:rustc-cfg=rom_has_crc_be",
8448                    "cargo:rustc-cfg=rom_has_md5_bsd",
8449                    "cargo:rustc-cfg=soc_cpu_has_branch_predictor",
8450                    "cargo:rustc-cfg=soc_multi_core_enabled",
8451                    "cargo:rustc-cfg=soc_cpu_csr_prv_mode=\"2064\"",
8452                    "cargo:rustc-cfg=soc_cpu_csr_prv_mode_is_set",
8453                    "cargo:rustc-cfg=soc_has_swd_watchdog",
8454                    "cargo:rustc-cfg=soc_cpu_mcause_mask=\"63\"",
8455                    "cargo:rustc-cfg=soc_has_clock_node_xtal_clk",
8456                    "cargo:rustc-cfg=soc_has_clock_node_bbpll_clk",
8457                    "cargo:rustc-cfg=soc_has_clock_node_cpll_clk",
8458                    "cargo:rustc-cfg=soc_has_clock_node_mpll_clk",
8459                    "cargo:rustc-cfg=soc_has_clock_node_rc_fast_clk",
8460                    "cargo:rustc-cfg=soc_has_clock_node_xtal32k_clk",
8461                    "cargo:rustc-cfg=soc_has_clock_node_rc_slow_clk",
8462                    "cargo:rustc-cfg=soc_has_clock_node_pll_f20m",
8463                    "cargo:rustc-cfg=soc_has_clock_node_pll_f80m",
8464                    "cargo:rustc-cfg=soc_has_clock_node_pll_f120m",
8465                    "cargo:rustc-cfg=soc_has_clock_node_pll_f160m",
8466                    "cargo:rustc-cfg=soc_has_clock_node_pll_f240m",
8467                    "cargo:rustc-cfg=soc_has_clock_node_bbpll_d3_clock",
8468                    "cargo:rustc-cfg=soc_has_clock_node_pll_f25m",
8469                    "cargo:rustc-cfg=soc_has_clock_node_pll_f50m",
8470                    "cargo:rustc-cfg=soc_has_clock_node_xtal_d2_clk",
8471                    "cargo:rustc-cfg=soc_has_clock_node_cpu_root_clk",
8472                    "cargo:rustc-cfg=soc_clock_node_cpu_root_clk_is_configurable",
8473                    "cargo:rustc-cfg=soc_has_clock_node_cpu_clk",
8474                    "cargo:rustc-cfg=soc_clock_node_cpu_clk_is_configurable",
8475                    "cargo:rustc-cfg=soc_has_clock_node_ahb_clk",
8476                    "cargo:rustc-cfg=soc_clock_node_ahb_clk_is_configurable",
8477                    "cargo:rustc-cfg=soc_has_clock_node_apb_clk",
8478                    "cargo:rustc-cfg=soc_clock_node_apb_clk_is_configurable",
8479                    "cargo:rustc-cfg=soc_has_clock_node_lp_fast_clk",
8480                    "cargo:rustc-cfg=soc_clock_node_lp_fast_clk_is_configurable",
8481                    "cargo:rustc-cfg=soc_has_clock_node_lp_slow_clk",
8482                    "cargo:rustc-cfg=soc_clock_node_lp_slow_clk_is_configurable",
8483                    "cargo:rustc-cfg=soc_has_clock_node_iomux_function_clock",
8484                    "cargo:rustc-cfg=soc_clock_node_iomux_function_clock_is_configurable",
8485                    "cargo:rustc-cfg=soc_has_clock_node_timg_calibration_clock",
8486                    "cargo:rustc-cfg=soc_clock_node_timg_calibration_clock_is_configurable",
8487                    "cargo:rustc-cfg=soc_has_clock_node_psram_function_clock",
8488                    "cargo:rustc-cfg=soc_clock_node_psram_function_clock_is_configurable",
8489                    "cargo:rustc-cfg=soc_has_clock_node_uart_function_clock",
8490                    "cargo:rustc-cfg=soc_clock_node_uart_function_clock_is_configurable",
8491                    "cargo:rustc-cfg=soc_has_clock_node_uart_baud_rate_generator",
8492                    "cargo:rustc-cfg=soc_clock_node_uart_baud_rate_generator_is_configurable",
8493                    "cargo:rustc-cfg=soc_has_clock_node_uart_mem_clock",
8494                    "cargo:rustc-cfg=soc_has_clock_node_timg_function_clock",
8495                    "cargo:rustc-cfg=soc_clock_node_timg_function_clock_is_configurable",
8496                    "cargo:rustc-cfg=soc_has_clock_node_timg_wdt_clock",
8497                    "cargo:rustc-cfg=soc_clock_node_timg_wdt_clock_is_configurable",
8498                    "cargo:rustc-cfg=soc_has_clock_node_spi_function_clock",
8499                    "cargo:rustc-cfg=soc_clock_node_spi_function_clock_is_configurable",
8500                    "cargo:rustc-cfg=soc_has_clock_node_i2c_function_clock",
8501                    "cargo:rustc-cfg=soc_clock_node_i2c_function_clock_is_configurable",
8502                    "cargo:rustc-cfg=soc_has_clock_node_rmt_sclk",
8503                    "cargo:rustc-cfg=soc_clock_node_rmt_sclk_is_configurable",
8504                    "cargo:rustc-cfg=soc_has_clock_node_sdm_function_clock",
8505                    "cargo:rustc-cfg=has_dram_region",
8506                    "cargo:rustc-cfg=has_dram2_uninit_region",
8507                    "cargo:rustc-cfg=has_irom_region",
8508                    "cargo:rustc-cfg=has_drom_region",
8509                ],
8510                memory_layout: &MemoryLayout {
8511                    regions: &[
8512                        (
8513                            "dram",
8514                            MemoryRegion {
8515                                address_range: 0x2F000000..0x2F07AFC0,
8516                            },
8517                        ),
8518                        (
8519                            "dram2_uninit",
8520                            MemoryRegion {
8521                                address_range: 0x2F07AFC0..0x2F07CFB0,
8522                            },
8523                        ),
8524                        (
8525                            "irom",
8526                            MemoryRegion {
8527                                address_range: 0x40000000..0x50000000,
8528                            },
8529                        ),
8530                        (
8531                            "drom",
8532                            MemoryRegion {
8533                                address_range: 0x40000000..0x50000000,
8534                            },
8535                        ),
8536                    ],
8537                },
8538                pins: &[
8539                    PinInfo {
8540                        pin: 0,
8541                        limitations: &[],
8542                    },
8543                    PinInfo {
8544                        pin: 1,
8545                        limitations: &[],
8546                    },
8547                    PinInfo {
8548                        pin: 2,
8549                        limitations: &[],
8550                    },
8551                    PinInfo {
8552                        pin: 3,
8553                        limitations: &[],
8554                    },
8555                    PinInfo {
8556                        pin: 4,
8557                        limitations: &[],
8558                    },
8559                    PinInfo {
8560                        pin: 5,
8561                        limitations: &[],
8562                    },
8563                    PinInfo {
8564                        pin: 6,
8565                        limitations: &[],
8566                    },
8567                    PinInfo {
8568                        pin: 7,
8569                        limitations: &[],
8570                    },
8571                    PinInfo {
8572                        pin: 8,
8573                        limitations: &[],
8574                    },
8575                    PinInfo {
8576                        pin: 9,
8577                        limitations: &[],
8578                    },
8579                    PinInfo {
8580                        pin: 10,
8581                        limitations: &[],
8582                    },
8583                    PinInfo {
8584                        pin: 11,
8585                        limitations: &[],
8586                    },
8587                    PinInfo {
8588                        pin: 12,
8589                        limitations: &[],
8590                    },
8591                    PinInfo {
8592                        pin: 13,
8593                        limitations: &[],
8594                    },
8595                    PinInfo {
8596                        pin: 14,
8597                        limitations: &[],
8598                    },
8599                    PinInfo {
8600                        pin: 15,
8601                        limitations: &[],
8602                    },
8603                    PinInfo {
8604                        pin: 16,
8605                        limitations: &[],
8606                    },
8607                    PinInfo {
8608                        pin: 17,
8609                        limitations: &[],
8610                    },
8611                    PinInfo {
8612                        pin: 18,
8613                        limitations: &[],
8614                    },
8615                    PinInfo {
8616                        pin: 19,
8617                        limitations: &[],
8618                    },
8619                    PinInfo {
8620                        pin: 20,
8621                        limitations: &[],
8622                    },
8623                    PinInfo {
8624                        pin: 21,
8625                        limitations: &[],
8626                    },
8627                    PinInfo {
8628                        pin: 22,
8629                        limitations: &[],
8630                    },
8631                    PinInfo {
8632                        pin: 23,
8633                        limitations: &[],
8634                    },
8635                    PinInfo {
8636                        pin: 24,
8637                        limitations: &[],
8638                    },
8639                    PinInfo {
8640                        pin: 25,
8641                        limitations: &[],
8642                    },
8643                    PinInfo {
8644                        pin: 26,
8645                        limitations: &["spi_flash"],
8646                    },
8647                    PinInfo {
8648                        pin: 27,
8649                        limitations: &["spi_flash", "strapping"],
8650                    },
8651                    PinInfo {
8652                        pin: 28,
8653                        limitations: &["spi_flash", "strapping"],
8654                    },
8655                    PinInfo {
8656                        pin: 30,
8657                        limitations: &["spi_flash"],
8658                    },
8659                    PinInfo {
8660                        pin: 31,
8661                        limitations: &["spi_flash"],
8662                    },
8663                    PinInfo {
8664                        pin: 32,
8665                        limitations: &["spi_flash"],
8666                    },
8667                    PinInfo {
8668                        pin: 33,
8669                        limitations: &["usb_jtag"],
8670                    },
8671                    PinInfo {
8672                        pin: 34,
8673                        limitations: &["usb_jtag"],
8674                    },
8675                    PinInfo {
8676                        pin: 35,
8677                        limitations: &[],
8678                    },
8679                    PinInfo {
8680                        pin: 36,
8681                        limitations: &["strapping"],
8682                    },
8683                    PinInfo {
8684                        pin: 37,
8685                        limitations: &["strapping"],
8686                    },
8687                    PinInfo {
8688                        pin: 38,
8689                        limitations: &["strapping"],
8690                    },
8691                    PinInfo {
8692                        pin: 39,
8693                        limitations: &["strapping"],
8694                    },
8695                    PinInfo {
8696                        pin: 40,
8697                        limitations: &["strapping"],
8698                    },
8699                    PinInfo {
8700                        pin: 42,
8701                        limitations: &[],
8702                    },
8703                    PinInfo {
8704                        pin: 43,
8705                        limitations: &[],
8706                    },
8707                    PinInfo {
8708                        pin: 44,
8709                        limitations: &[],
8710                    },
8711                    PinInfo {
8712                        pin: 45,
8713                        limitations: &[],
8714                    },
8715                    PinInfo {
8716                        pin: 46,
8717                        limitations: &[],
8718                    },
8719                    PinInfo {
8720                        pin: 47,
8721                        limitations: &[],
8722                    },
8723                    PinInfo {
8724                        pin: 48,
8725                        limitations: &[],
8726                    },
8727                    PinInfo {
8728                        pin: 49,
8729                        limitations: &[],
8730                    },
8731                    PinInfo {
8732                        pin: 50,
8733                        limitations: &[],
8734                    },
8735                    PinInfo {
8736                        pin: 51,
8737                        limitations: &[],
8738                    },
8739                    PinInfo {
8740                        pin: 52,
8741                        limitations: &[],
8742                    },
8743                    PinInfo {
8744                        pin: 53,
8745                        limitations: &[],
8746                    },
8747                    PinInfo {
8748                        pin: 54,
8749                        limitations: &["jtag"],
8750                    },
8751                    PinInfo {
8752                        pin: 55,
8753                        limitations: &["jtag"],
8754                    },
8755                    PinInfo {
8756                        pin: 56,
8757                        limitations: &["jtag"],
8758                    },
8759                    PinInfo {
8760                        pin: 57,
8761                        limitations: &["jtag"],
8762                    },
8763                    PinInfo {
8764                        pin: 58,
8765                        limitations: &["bootloader_uart"],
8766                    },
8767                    PinInfo {
8768                        pin: 59,
8769                        limitations: &["bootloader_uart"],
8770                    },
8771                    PinInfo {
8772                        pin: 60,
8773                        limitations: &["strapping"],
8774                    },
8775                    PinInfo {
8776                        pin: 61,
8777                        limitations: &["strapping"],
8778                    },
8779                ],
8780            },
8781        }
8782    }
8783    /// Returns the list of all symbols that any supported chip can define.
8784    ///
8785    /// Unlike [`Chip::all_symbols`], which returns the symbols defined for the
8786    /// selected chip, this returns the union of the symbols across every chip.
8787    ///
8788    /// Key-value configurations are returned with the syntax `cfg(<symbol>, values(<values>))`,
8789    /// as used by `cargo:rustc-check-cfg` directives.
8790    pub fn all_possible_symbols() -> &'static [&'static str] {
8791        &[
8792            "esp32",
8793            "xtensa",
8794            "multi_core",
8795            "soc_has_aes",
8796            "soc_has_apb_ctrl",
8797            "soc_has_bb",
8798            "soc_has_dport",
8799            "soc_has_system",
8800            "soc_has_efuse",
8801            "soc_has_eth",
8802            "soc_has_emac_dma",
8803            "soc_has_emac_ext",
8804            "soc_has_emac_mac",
8805            "soc_has_flash_encryption",
8806            "soc_has_frc_timer",
8807            "soc_has_gpio",
8808            "soc_has_gpio_sd",
8809            "soc_has_hinf",
8810            "soc_has_i2c0",
8811            "soc_has_i2c1",
8812            "soc_has_i2s0",
8813            "soc_has_i2s1",
8814            "soc_has_io_mux",
8815            "soc_has_ledc",
8816            "soc_has_mcpwm0",
8817            "soc_has_mmu_table",
8818            "soc_has_mcpwm1",
8819            "soc_has_nrx",
8820            "soc_has_pcnt",
8821            "soc_has_rmt",
8822            "soc_has_rng",
8823            "soc_has_rsa",
8824            "soc_has_lpwr",
8825            "soc_has_rtc_timer",
8826            "soc_has_lp_i2c0",
8827            "soc_has_rtc_io",
8828            "soc_has_sdhost",
8829            "soc_has_sens",
8830            "soc_has_sha",
8831            "soc_has_slc",
8832            "soc_has_slchost",
8833            "soc_has_spi0",
8834            "soc_has_spi1",
8835            "soc_has_spi2",
8836            "soc_has_spi3",
8837            "soc_has_timg0",
8838            "soc_has_timg1",
8839            "soc_has_twai0",
8840            "soc_has_uart0",
8841            "soc_has_uart1",
8842            "soc_has_uart2",
8843            "soc_has_uhci0",
8844            "soc_has_uhci1",
8845            "soc_has_wifi",
8846            "soc_has_adc1",
8847            "soc_has_adc2",
8848            "soc_has_bt",
8849            "soc_has_cpu_ctrl",
8850            "soc_has_dac1",
8851            "soc_has_dac2",
8852            "soc_has_flash",
8853            "soc_has_psram",
8854            "soc_has_touch",
8855            "soc_has_from_cpu_intr0",
8856            "soc_has_from_cpu_intr1",
8857            "soc_has_from_cpu_intr2",
8858            "soc_has_from_cpu_intr3",
8859            "gpio_driver_supported",
8860            "io_mux_driver_supported",
8861            "lp_io_driver_supported",
8862            "uart_driver_supported",
8863            "i2c_master_driver_supported",
8864            "spi_master_driver_supported",
8865            "spi_slave_driver_supported",
8866            "i2s_driver_supported",
8867            "rmt_driver_supported",
8868            "sdmmc_driver_supported",
8869            "twai_driver_supported",
8870            "bt_driver_supported",
8871            "wifi_driver_supported",
8872            "ethernet_driver_supported",
8873            "phy_driver_supported",
8874            "rgb_display_driver_supported",
8875            "adc_driver_supported",
8876            "dac_driver_supported",
8877            "temp_sensor_driver_supported",
8878            "touch_driver_supported",
8879            "ledc_driver_supported",
8880            "mcpwm_driver_supported",
8881            "pcnt_driver_supported",
8882            "lp_timer_driver_supported",
8883            "sdm_driver_supported",
8884            "timergroup_driver_supported",
8885            "aes_driver_supported",
8886            "rng_driver_supported",
8887            "rsa_driver_supported",
8888            "sha_driver_supported",
8889            "sleep_driver_supported",
8890            "dma_driver_supported",
8891            "interrupts_driver_supported",
8892            "mmu_driver_supported",
8893            "psram_driver_supported",
8894            "rom_driver_supported",
8895            "soc_driver_supported",
8896            "uart_uart0",
8897            "uart_uart1",
8898            "uart_uart2",
8899            "i2c_master_i2c0",
8900            "i2c_master_i2c1",
8901            "spi_master_spi2",
8902            "spi_master_spi3",
8903            "spi_slave_spi2",
8904            "spi_slave_spi3",
8905            "i2s_i2s0",
8906            "i2s_i2s1",
8907            "adc_adc1",
8908            "adc_adc2",
8909            "dac_dac1",
8910            "dac_dac2",
8911            "timergroup_timg0",
8912            "timergroup_timg1",
8913            "gpio_remap_iomux_pin_registers",
8914            "soc_has_xtal32k_pads",
8915            "gpio_has_bank_1",
8916            "i2c_master_separate_filter_config_registers",
8917            "i2c_master_i2c0_data_register_ahb_address_is_set",
8918            "spi_master_bit_order_is_bool",
8919            "i2s_version_is_set",
8920            "i2s_default_clock_source_is_set",
8921            "i2s_mclk_divider_bit_width_is_set",
8922            "i2s_max_ws_width_is_set",
8923            "i2s_supports_pdm_tx",
8924            "i2s_supports_pdm_rx",
8925            "i2s_supports_pcm2pdm",
8926            "i2s_supports_pdm2pcm",
8927            "rmt_has_per_channel_clock",
8928            "sdmmc_has_iomux",
8929            "wifi_csi_supported",
8930            "phy_combo_module",
8931            "soc_has_sdm_ch0",
8932            "soc_has_sdm_ch1",
8933            "soc_has_sdm_ch2",
8934            "soc_has_sdm_ch3",
8935            "soc_has_sdm_ch4",
8936            "soc_has_sdm_ch5",
8937            "soc_has_sdm_ch6",
8938            "soc_has_sdm_ch7",
8939            "timergroup_timg_has_timer1",
8940            "timergroup_rc_fast_calibration_is_set",
8941            "aes_endianness_configurable",
8942            "rng_trng_supported",
8943            "sleep_light_sleep",
8944            "sleep_deep_sleep",
8945            "sleep_has_wakeup_source_ext0",
8946            "sleep_has_wakeup_source_ext1",
8947            "sleep_has_wakeup_source_gpio",
8948            "sleep_has_wakeup_source_timer",
8949            "sleep_has_wakeup_source_sdio",
8950            "sleep_has_wakeup_source_wifi",
8951            "sleep_has_wakeup_source_uart",
8952            "sleep_has_wakeup_source_touch",
8953            "sleep_has_wakeup_source_ulp",
8954            "sleep_has_wakeup_source_bt",
8955            "sleep_ext1_version_is_set",
8956            "sleep_pin_wakeup_version_is_set",
8957            "sleep_deep_sleep_needs_gpio_isolation",
8958            "soc_has_dma_spi2",
8959            "soc_has_dma_spi3",
8960            "soc_has_dma_i2s0",
8961            "soc_has_dma_i2s1",
8962            "spi_master_supports_dma",
8963            "spi_slave_supports_dma",
8964            "i2s_supports_dma",
8965            "rom_has_crc_le",
8966            "rom_has_crc_be",
8967            "rom_has_md5_bsd",
8968            "soc_multi_core_enabled",
8969            "soc_has_clock_node_xtal_clk",
8970            "soc_clock_node_xtal_clk_is_configurable",
8971            "soc_has_clock_node_pll_clk",
8972            "soc_clock_node_pll_clk_is_configurable",
8973            "soc_has_clock_node_apll_clk",
8974            "soc_clock_node_apll_clk_is_configurable",
8975            "soc_has_clock_node_rc_fast_clk",
8976            "soc_has_clock_node_pll_f160m_clk",
8977            "soc_has_clock_node_cpu_pll_div_in",
8978            "soc_clock_node_cpu_pll_div_in_is_configurable",
8979            "soc_has_clock_node_cpu_pll_div",
8980            "soc_clock_node_cpu_pll_div_is_configurable",
8981            "soc_has_clock_node_syscon_pre_div_in",
8982            "soc_clock_node_syscon_pre_div_in_is_configurable",
8983            "soc_has_clock_node_syscon_pre_div",
8984            "soc_clock_node_syscon_pre_div_is_configurable",
8985            "soc_has_clock_node_cpu_clk",
8986            "soc_clock_node_cpu_clk_is_configurable",
8987            "soc_has_clock_node_apb_clk_cpu_div2",
8988            "soc_has_clock_node_apb_clk_80m",
8989            "soc_has_clock_node_apb_clk",
8990            "soc_clock_node_apb_clk_is_configurable",
8991            "soc_has_clock_node_ref_tick_pll",
8992            "soc_clock_node_ref_tick_pll_is_configurable",
8993            "soc_has_clock_node_ref_tick_apll",
8994            "soc_clock_node_ref_tick_apll_is_configurable",
8995            "soc_has_clock_node_ref_tick_xtal",
8996            "soc_clock_node_ref_tick_xtal_is_configurable",
8997            "soc_has_clock_node_ref_tick_fosc",
8998            "soc_clock_node_ref_tick_fosc_is_configurable",
8999            "soc_has_clock_node_ref_tick",
9000            "soc_clock_node_ref_tick_is_configurable",
9001            "soc_has_clock_node_xtal32k_clk",
9002            "soc_has_clock_node_rc_slow_clk",
9003            "soc_has_clock_node_rc_fast_div_clk",
9004            "soc_has_clock_node_xtal_div_clk",
9005            "soc_has_clock_node_rtc_slow_clk",
9006            "soc_clock_node_rtc_slow_clk_is_configurable",
9007            "soc_has_clock_node_rtc_fast_clk",
9008            "soc_clock_node_rtc_fast_clk_is_configurable",
9009            "soc_has_clock_node_uart_mem_clk",
9010            "soc_has_clock_node_timg_calibration_clock",
9011            "soc_clock_node_timg_calibration_clock_is_configurable",
9012            "soc_has_clock_node_mcpwm_function_clock",
9013            "soc_has_clock_node_i2c_function_clock",
9014            "soc_clock_node_i2c_function_clock_is_configurable",
9015            "soc_has_clock_node_uart_function_clock",
9016            "soc_clock_node_uart_function_clock_is_configurable",
9017            "soc_has_clock_node_uart_mem_clock",
9018            "soc_has_clock_node_uart_baud_rate_generator",
9019            "soc_clock_node_uart_baud_rate_generator_is_configurable",
9020            "soc_has_clock_node_sdm_function_clock",
9021            "soc_has_clock_node_rmt_sclk",
9022            "soc_clock_node_rmt_sclk_is_configurable",
9023            "soc_has_clock_node_spi_function_clock",
9024            "has_dram_region",
9025            "has_dram2_uninit_region",
9026            "has_irom_region",
9027            "has_drom_region",
9028            "esp32c2",
9029            "riscv",
9030            "single_core",
9031            "soc_has_apb_saradc",
9032            "soc_has_assist_debug",
9033            "soc_has_dma",
9034            "soc_has_ecc",
9035            "soc_has_extmem",
9036            "soc_has_i2c_ana_mst",
9037            "soc_has_interrupt_core0",
9038            "soc_has_modem_clkrst",
9039            "soc_has_sensitive",
9040            "soc_has_systimer",
9041            "soc_has_xts_aes",
9042            "soc_has_gpio_dedicated",
9043            "dedicated_gpio_driver_supported",
9044            "systimer_driver_supported",
9045            "ecc_driver_supported",
9046            "assist_debug_driver_supported",
9047            "gpio_has_input_sync",
9048            "uart_has_sclk_divider",
9049            "uart_has_sclk_enable",
9050            "i2c_master_has_fsm_timeouts",
9051            "i2c_master_has_hw_bus_clear",
9052            "i2c_master_has_bus_timeout_enable",
9053            "i2c_master_has_conf_update",
9054            "i2c_master_has_arbitration_en",
9055            "i2c_master_has_tx_fifo_watermark",
9056            "i2c_master_bus_timeout_is_exponential",
9057            "i2c_master_has_pd_en",
9058            "spi_master_has_app_interrupts",
9059            "spi_master_has_dma_segmented_transfer",
9060            "timergroup_timg_has_divcnt_rst",
9061            "ecc_zero_extend_writes",
9062            "ecc_has_finite_field_division",
9063            "ecc_has_curve_p192",
9064            "ecc_has_curve_p256",
9065            "assist_debug_has_sp_monitor",
9066            "dma_gdma_version_is_set",
9067            "soc_has_dma_ch0",
9068            "dma_supports_mem2mem",
9069            "sha_supports_dma",
9070            "dma_max_priority_is_set",
9071            "rom_has_md5_mbedtls",
9072            "soc_cpu_has_csr_pc",
9073            "soc_has_swd_watchdog",
9074            "soc_has_clock_node_osc_slow_clk",
9075            "soc_has_clock_node_system_pre_div_in",
9076            "soc_clock_node_system_pre_div_in_is_configurable",
9077            "soc_has_clock_node_system_pre_div",
9078            "soc_clock_node_system_pre_div_is_configurable",
9079            "soc_has_clock_node_pll_40m",
9080            "soc_has_clock_node_pll_60m",
9081            "soc_has_clock_node_pll_80m",
9082            "soc_has_clock_node_cpu_div2",
9083            "soc_has_clock_node_crypto_clk",
9084            "soc_clock_node_crypto_clk_is_configurable",
9085            "soc_has_clock_node_mspi_clk",
9086            "soc_clock_node_mspi_clk_is_configurable",
9087            "soc_has_clock_node_rc_fast_clk_div_n",
9088            "soc_clock_node_rc_fast_clk_div_n_is_configurable",
9089            "soc_has_clock_node_low_power_clk",
9090            "soc_clock_node_low_power_clk_is_configurable",
9091            "soc_has_clock_node_timg_function_clock",
9092            "soc_clock_node_timg_function_clock_is_configurable",
9093            "soc_has_clock_node_timg_wdt_clock",
9094            "soc_clock_node_timg_wdt_clock_is_configurable",
9095            "soc_clock_node_spi_function_clock_is_configurable",
9096            "esp32c3",
9097            "soc_has_ds",
9098            "soc_has_fe",
9099            "soc_has_fe2",
9100            "soc_has_hmac",
9101            "soc_has_usb_device",
9102            "soc_has_tsens",
9103            "uhci_driver_supported",
9104            "i2c_slave_driver_supported",
9105            "usb_serial_jtag_driver_supported",
9106            "hmac_driver_supported",
9107            "i2c_slave_i2c0",
9108            "rmt_has_tx_immediate_stop",
9109            "rmt_has_tx_loop_count",
9110            "rmt_has_tx_carrier_data_only",
9111            "rmt_has_tx_sync",
9112            "rmt_has_rx_wrap",
9113            "rmt_has_rx_demodulation",
9114            "phy_backed_up_digital_register_count_is_set",
9115            "aes_dma_mode_ecb",
9116            "aes_dma_mode_cbc",
9117            "aes_dma_mode_ofb",
9118            "aes_dma_mode_ctr",
9119            "aes_dma_mode_cfb8",
9120            "aes_dma_mode_cfb128",
9121            "aes_has_split_text_registers",
9122            "assist_debug_has_region_monitor",
9123            "dma_mem2mem_requires_peripheral",
9124            "soc_has_dma_ch1",
9125            "soc_has_dma_ch2",
9126            "aes_supports_dma",
9127            "uhci_supports_dma",
9128            "soc_has_clock_node_cpu_pll_div_out",
9129            "soc_clock_node_cpu_pll_div_out_is_configurable",
9130            "soc_has_clock_node_pll_160m",
9131            "esp32c5",
9132            "soc_has_cache",
9133            "soc_has_clint",
9134            "soc_has_ecdsa",
9135            "soc_has_etm",
9136            "soc_has_hp_apm",
9137            "soc_has_hp_sys",
9138            "soc_has_huk",
9139            "soc_has_ieee802154",
9140            "soc_has_intpri",
9141            "soc_has_keymng",
9142            "soc_has_lp_ana",
9143            "soc_has_lp_aon",
9144            "soc_has_lp_apm0",
9145            "soc_has_lp_clkrst",
9146            "soc_has_lp_gpio",
9147            "soc_has_lp_i2c_ana_mst",
9148            "soc_has_lp_io_mux",
9149            "soc_has_lp_peri",
9150            "soc_has_lp_tee",
9151            "soc_has_lp_uart",
9152            "soc_has_lp_wdt",
9153            "soc_has_mem_monitor",
9154            "soc_has_modem_lpcon",
9155            "soc_has_modem_syscon",
9156            "soc_has_parl_io",
9157            "soc_has_pau",
9158            "soc_has_pcr",
9159            "soc_has_pmu",
9160            "soc_has_pvt_monitor",
9161            "soc_has_tee",
9162            "soc_has_lp_core",
9163            "lp_i2c_master_driver_supported",
9164            "parl_io_driver_supported",
9165            "ieee802154_driver_supported",
9166            "uart_peripheral_controls_mem_clk",
9167            "uhci_combined_uart_selector_field",
9168            "i2c_master_can_estimate_nack_reason",
9169            "i2c_master_has_reliable_fsm_reset",
9170            "lp_i2c_master_fifo_size_is_set",
9171            "spi_master_has_clk_pre_div",
9172            "spi_master_dma_can_access_flash",
9173            "i2s_clock_configured_by_pcr",
9174            "rmt_has_tx_loop_auto_stop",
9175            "wifi_has_wifi6",
9176            "wifi_has_5g",
9177            "timergroup_rc_fast_calibration_divider",
9178            "ecc_separate_jacobian_point_memory",
9179            "ecc_has_memory_clock_gate",
9180            "ecc_supports_enhanced_security",
9181            "ecc_has_modular_arithmetic",
9182            "ecc_has_point_addition",
9183            "ecc_has_curve_p384",
9184            "rng_is_lp_sys",
9185            "sleep_has_wakeup_source_wifi_beacon",
9186            "sleep_has_wakeup_source_lp_core",
9187            "dma_separate_in_out_interrupts",
9188            "parl_io_supports_dma",
9189            "dma_can_access_psram",
9190            "soc_cpu_has_branch_predictor",
9191            "soc_cpu_csr_prv_mode_is_set",
9192            "soc_has_clock_node_pll_f12m",
9193            "soc_has_clock_node_pll_f20m",
9194            "soc_has_clock_node_pll_f40m",
9195            "soc_has_clock_node_pll_f48m",
9196            "soc_has_clock_node_pll_f60m",
9197            "soc_has_clock_node_pll_f80m",
9198            "soc_has_clock_node_pll_f120m",
9199            "soc_has_clock_node_pll_f160m",
9200            "soc_has_clock_node_pll_f240m",
9201            "soc_has_clock_node_hp_root_clk",
9202            "soc_clock_node_hp_root_clk_is_configurable",
9203            "soc_has_clock_node_ahb_clk",
9204            "soc_clock_node_ahb_clk_is_configurable",
9205            "soc_has_clock_node_xtal_d2_clk",
9206            "soc_has_clock_node_lp_fast_clk",
9207            "soc_clock_node_lp_fast_clk_is_configurable",
9208            "soc_has_clock_node_lp_slow_clk",
9209            "soc_clock_node_lp_slow_clk_is_configurable",
9210            "soc_has_clock_node_iomux_function_clock",
9211            "soc_clock_node_iomux_function_clock_is_configurable",
9212            "soc_has_clock_node_parl_io_rx_clock",
9213            "soc_clock_node_parl_io_rx_clock_is_configurable",
9214            "soc_has_clock_node_parl_io_tx_clock",
9215            "soc_clock_node_parl_io_tx_clock_is_configurable",
9216            "esp32c6",
9217            "soc_has_atomic",
9218            "soc_has_lp_apm",
9219            "soc_has_lp_io",
9220            "soc_has_otp_debug",
9221            "soc_has_plic_mx",
9222            "soc_has_trace0",
9223            "soc_has_twai1",
9224            "lp_uart_driver_supported",
9225            "ulp_riscv_driver_supported",
9226            "etm_driver_supported",
9227            "soc_has_clock_node_soc_root_clk",
9228            "soc_clock_node_soc_root_clk_is_configurable",
9229            "soc_has_clock_node_cpu_hs_div",
9230            "soc_clock_node_cpu_hs_div_is_configurable",
9231            "soc_has_clock_node_cpu_ls_div",
9232            "soc_clock_node_cpu_ls_div_is_configurable",
9233            "soc_has_clock_node_ahb_hs_div",
9234            "soc_clock_node_ahb_hs_div_is_configurable",
9235            "soc_has_clock_node_ahb_ls_div",
9236            "soc_clock_node_ahb_ls_div_is_configurable",
9237            "soc_has_clock_node_mspi_fast_hs_clk",
9238            "soc_clock_node_mspi_fast_hs_clk_is_configurable",
9239            "soc_has_clock_node_mspi_fast_ls_clk",
9240            "soc_clock_node_mspi_fast_ls_clk_is_configurable",
9241            "soc_has_clock_node_mspi_fast_clk",
9242            "soc_clock_node_mspi_fast_clk_is_configurable",
9243            "soc_has_clock_node_ledc_sclk",
9244            "soc_clock_node_ledc_sclk_is_configurable",
9245            "soc_clock_node_mcpwm_function_clock_is_configurable",
9246            "esp32c61",
9247            "esp32h2",
9248            "timergroup_rc_fast_calibration_tick_enable",
9249            "soc_has_clock_node_pll_f96m_clk",
9250            "soc_has_clock_node_pll_f64m_clk",
9251            "soc_has_clock_node_pll_f48m_clk",
9252            "soc_has_clock_node_pll_lp_clk",
9253            "esp32p4",
9254            "soc_has_hp_sys_clkrst",
9255            "soc_has_interrupt_core1",
9256            "soc_has_clic",
9257            "soc_has_iomux_mspi_pin",
9258            "soc_has_lp_aon_clkrst",
9259            "soc_has_lp_sys",
9260            "soc_has_uart3",
9261            "soc_has_uart4",
9262            "soc_has_memspi2",
9263            "soc_has_memspi3",
9264            "soc_has_i2s2",
9265            "soc_has_twai2",
9266            "soc_has_axi_gdma",
9267            "soc_has_mipi_dsi",
9268            "soc_has_vdma",
9269            "soc_has_mipi_dsi_host",
9270            "soc_has_mipi_dsi_bridge",
9271            "soc_has_lp_adc",
9272            "soc_has_usb_fs",
9273            "soc_has_usb_hs",
9274            "soc_has_usb_wrap",
9275            "usb_otg_driver_supported",
9276            "usb_otg_hs_driver_supported",
9277            "mipi_dsi_driver_supported",
9278            "uart_uart3",
9279            "uart_uart4",
9280            "i2s_i2s2",
9281            "lp_io_has_gpio_matrix",
9282            "i2s_clock_configured_by_hp_sys_clkrst",
9283            "i2s_supports_pdm_rx_hp_filter",
9284            "sdmmc_delay_phase_num_is_set",
9285            "sdmmc_has_gpio_matrix",
9286            "sdmmc_psram_dma",
9287            "ethernet_mii_via_gpio_matrix",
9288            "aes_dma_mode_gcm",
9289            "sleep_has_wakeup_source_usb",
9290            "soc_has_dma_axi_ch0",
9291            "soc_has_dma_axi_ch1",
9292            "soc_has_dma_axi_ch2",
9293            "soc_has_vdma_ch0",
9294            "soc_has_vdma_ch1",
9295            "soc_has_vdma_ch2",
9296            "soc_has_vdma_ch3",
9297            "mipi_dsi_supports_dma",
9298            "psram_octal_spi",
9299            "psram_hex_spi",
9300            "soc_internal_memory_cached",
9301            "soc_has_clock_node_cpll_clk",
9302            "soc_clock_node_cpll_clk_is_configurable",
9303            "soc_has_clock_node_spll_clk",
9304            "soc_has_clock_node_mpll_clk",
9305            "soc_clock_node_mpll_clk_is_configurable",
9306            "soc_has_clock_node_rc32k_clk",
9307            "soc_has_clock_node_spll_d3_clock",
9308            "soc_has_clock_node_pll_f25m",
9309            "soc_has_clock_node_pll_f50m",
9310            "soc_has_clock_node_cpu_root_clk",
9311            "soc_clock_node_cpu_root_clk_is_configurable",
9312            "soc_has_clock_node_mem_clk",
9313            "soc_clock_node_mem_clk_is_configurable",
9314            "soc_has_clock_node_sys_clk",
9315            "soc_clock_node_sys_clk_is_configurable",
9316            "soc_has_clock_node_psram_function_clock",
9317            "soc_clock_node_psram_function_clock_is_configurable",
9318            "soc_has_clock_node_mipi_dsi_dpi_clk",
9319            "soc_clock_node_mipi_dsi_dpi_clk_is_configurable",
9320            "soc_has_clock_node_mipi_dsi_phy_pll_refclk",
9321            "soc_clock_node_mipi_dsi_phy_pll_refclk_is_configurable",
9322            "soc_has_clock_node_mipi_dsi_phy_cfg_clk",
9323            "soc_clock_node_mipi_dsi_phy_cfg_clk_is_configurable",
9324            "esp32s2",
9325            "soc_has_pms",
9326            "soc_has_syscon",
9327            "soc_has_ulp_riscv_core",
9328            "dedicated_gpio_needs_initialization",
9329            "spi_master_has_octal",
9330            "sleep_has_wakeup_source_ulp_riscv",
9331            "sleep_has_wakeup_source_ulp_riscv_trap",
9332            "dma_ext_mem_configurable_block_size",
9333            "soc_has_dma_crypto",
9334            "soc_has_dma_copy",
9335            "soc_has_clock_node_ref_tick_ck8m",
9336            "soc_clock_node_ref_tick_ck8m_is_configurable",
9337            "esp32s3",
9338            "soc_has_lcd_cam",
9339            "soc_has_peri_backup",
9340            "soc_has_rtc_cntl",
9341            "soc_has_wcl",
9342            "camera_driver_supported",
9343            "soc_has_dma_ch3",
9344            "soc_has_dma_ch4",
9345            "rmt_supports_dma",
9346            "lcd_cam_supports_dma",
9347            "soc_has_clock_node_pll_d2",
9348            "soc_has_clock_node_apb_80m",
9349            "soc_has_clock_node_crypto_pwm_clk",
9350            "soc_clock_node_crypto_pwm_clk_is_configurable",
9351            "soc_has_clock_node_lcd_cam_lcd_clock",
9352            "soc_clock_node_lcd_cam_lcd_clock_is_configurable",
9353            "soc_has_clock_node_lcd_cam_cam_clock",
9354            "soc_clock_node_lcd_cam_cam_clock_is_configurable",
9355            "esp32s31",
9356            "soc_has_cnnt_sys",
9357            "soc_has_cnnt_io_mux",
9358            "soc_has_hp_mem_apm",
9359            "soc_has_hp_alive_sys",
9360            "soc_has_lp_aon_clk_rst",
9361            "soc_has_clock_node_bbpll_clk",
9362            "soc_has_clock_node_bbpll_d3_clock",
9363            "gpio_version, values(\"1\",\"2\",\"3\")",
9364            "gpio_gpio_function, values(\"2\",\"1\")",
9365            "gpio_constant_0_input, values(\"48\",\"31\",\"96\",\"60\",\"62\",\"192\")",
9366            "gpio_constant_1_input, values(\"56\",\"30\",\"64\",\"63\",\"128\")",
9367            "gpio_func_in_sel_offset, values(\"0\",\"1\")",
9368            "gpio_input_signal_max, \
9369             values(\"206\",\"100\",\"116\",\"124\",\"249\",\"242\",\"255\")",
9370            "gpio_output_signal_max, values(\"256\",\"128\")",
9371            "lp_io_version, values(\"esp32\",\"v3\",\"v4\",\"esp32h2\",\"esp32p4\",\"v2\")",
9372            "uart_ram_size, values(\"128\")",
9373            "uart_version, values(\"1\",\"2\")",
9374            "i2c_master_version, values(\"1\",\"3\",\"4\",\"2\")",
9375            "i2c_master_i2c0_data_register_ahb_address, values(\"1610690588\")",
9376            "i2c_master_max_bus_timeout, values(\"1048575\",\"31\",\"16777215\")",
9377            "i2c_master_ll_intr_mask, values(\"262143\",\"131071\")",
9378            "i2c_master_fifo_size, values(\"32\",\"16\")",
9379            "spi_master_version, values(\"1\",\"3\",\"2\")",
9380            "spi_master_fifo_size, values(\"64\",\"72\")",
9381            "i2s_version, values(\"1\",\"2\",\"3\")",
9382            "i2s_default_clock_source, values(\"2\",\"1\",\"3\")",
9383            "i2s_mclk_divider_bit_width, values(\"6\",\"9\")",
9384            "i2s_max_ws_width, values(\"128\",\"512\")",
9385            "rmt_ram_start, \
9386             values(\"1073047552\",\"1610703872\",\"1610638336\",\"1610642432\",\"1342842880\",\"\
9387             1061250048\",\"1610704896\",\"540366848\")",
9388            "rmt_channel_ram_size, values(\"64\",\"48\")",
9389            "bt_controller, values(\"btdm\",\"npl\")",
9390            "wifi_mac_version, values(\"1\",\"3\",\"2\")",
9391            "ledc_version, values(\"1\",\"2\",\"3\")",
9392            "ledc_channel_count, values(\"8\",\"6\")",
9393            "rng_apb_cycle_wait_num, values(\"16\")",
9394            "rsa_version, values(\"1\",\"3\",\"2\")",
9395            "rsa_size_increment, values(\"512\",\"32\")",
9396            "rsa_memory_size_bytes, values(\"512\",\"384\")",
9397            "sleep_ext1_version, values(\"1\",\"2\",\"3\")",
9398            "sleep_pin_wakeup_version, values(\"1\",\"2\",\"3\")",
9399            "spi_master_dma_engine, values(\"SPI_DMA\",\"AHB_GDMA\",\"AXI_GDMA\")",
9400            "spi_slave_dma_engine, values(\"SPI_DMA\",\"AHB_GDMA\",\"AXI_GDMA\")",
9401            "i2s_dma_engine, values(\"I2S_DMA\",\"AHB_GDMA\")",
9402            "interrupts_status_registers, values(\"3\",\"2\",\"5\",\"4\",\"6\")",
9403            "interrupt_controller, values(\"xtensa\",\"riscv_basic\",\"clic\",\"plic\")",
9404            "mmu_page_size, values(\"65536\")",
9405            "mmu_entry_num, values(\"256\",\"64\",\"128\",\"512\",\"384\",\"1024\")",
9406            "psram_extmem_origin, \
9407             values(\"1065353216\",\"1107296256\",\"1207959552\",\"1062207488\",\"1006632960\",\"\
9408             1342177280\")",
9409            "soc_cpu_mcause_mask, values(\"0\",\"31\",\"63\")",
9410            "dedicated_gpio_version, values(\"riscv_v1\",\"riscv_v2\",\"esp32s2\",\"esp32s3\")",
9411            "dma_gdma_version, values(\"1\",\"2\",\"3\")",
9412            "sha_dma_engine, values(\"AHB_GDMA\",\"AXI_GDMA\",\"CRYPTO_DMA\")",
9413            "dma_max_priority, values(\"9\",\"5\",\"15\")",
9414            "phy_backed_up_digital_register_count, values(\"21\")",
9415            "aes_dma_engine, values(\"AHB_GDMA\",\"AXI_GDMA\",\"CRYPTO_DMA\")",
9416            "uhci_dma_engine, values(\"AHB_GDMA\")",
9417            "lp_i2c_master_version, values(\"lp_i2c\",\"rtc_i2c\")",
9418            "lp_i2c_master_fifo_size, values(\"16\")",
9419            "parl_io_version, values(\"2\",\"1\")",
9420            "parl_io_dma_engine, values(\"AHB_GDMA\")",
9421            "soc_cpu_csr_prv_mode, values(\"2064\",\"3088\")",
9422            "lp_uart_ram_size, values(\"32\")",
9423            "sdmmc_delay_phase_num, values(\"8\",\"4\")",
9424            "usb_otg_fifo_depth_words, values(\"200\",\"256\")",
9425            "usb_otg_hs_fifo_depth_words, values(\"896\")",
9426            "mipi_dsi_dma_engine, values(\"VDMA\")",
9427            "rmt_dma_engine, values(\"AHB_GDMA\")",
9428            "lcd_cam_dma_engine, values(\"AHB_GDMA\")",
9429        ]
9430    }
9431}
9432/// Information about a memory region.
9433pub struct MemoryRegion {
9434    address_range: Range<u32>,
9435}
9436impl MemoryRegion {
9437    /// Returns the address range of the memory region.
9438    pub fn range(&self) -> Range<u32> {
9439        self.address_range.clone()
9440    }
9441    /// Returns the size of the memory region in bytes.
9442    pub fn size(&self) -> u32 {
9443        self.address_range.end - self.address_range.start
9444    }
9445}
9446/// Information about the memory layout of a chip.
9447pub struct MemoryLayout {
9448    regions: &'static [(&'static str, MemoryRegion)],
9449}
9450impl MemoryLayout {
9451    /// Returns the memory region with the given name.
9452    pub fn region(&self, name: &str) -> Option<&'static MemoryRegion> {
9453        self.regions
9454            .iter()
9455            .find_map(|(n, r)| if *n == name { Some(r) } else { None })
9456    }
9457}
9458/// Information about a specific pin.
9459#[non_exhaustive]
9460pub struct PinInfo {
9461    /// The pin number.
9462    pub pin: usize,
9463    /// The list of possible restriction categories for this pin.
9464    ///
9465    /// This can include "strapping", "spi_psram", etc.
9466    pub limitations: &'static [&'static str],
9467}
9468struct Config {
9469    architecture: &'static str,
9470    target: &'static str,
9471    symbols: &'static [&'static str],
9472    cfgs: &'static [&'static str],
9473    memory_layout: &'static MemoryLayout,
9474    pins: &'static [PinInfo],
9475}
9476impl Config {
9477    fn define_cfgs(&self) {
9478        emit_check_cfg_directives();
9479        for cfg in self.cfgs {
9480            println!("{cfg}");
9481        }
9482    }
9483}
9484/// Prints `cargo:rustc-check-cfg` lines.
9485pub fn emit_check_cfg_directives() {
9486    println!("cargo:rustc-check-cfg=cfg(not_really_docsrs)");
9487    println!("cargo:rustc-check-cfg=cfg(semver_checks)");
9488    for cfg in Chip::all_possible_symbols() {
9489        println!("cargo:rustc-check-cfg=cfg({cfg})");
9490    }
9491}