@@ -2977,6 +2977,7 @@ impl Chip {
29772977 "soc_has_ecdsa" ,
29782978 "soc_has_efuse" ,
29792979 "soc_has_etm" ,
2980+ "soc_has_gpio" ,
29802981 "soc_has_hp_apm" ,
29812982 "soc_has_hp_sys" ,
29822983 "soc_has_i2c_ana_mst" ,
@@ -3021,13 +3022,20 @@ impl Chip {
30213022 "rom_crc_le" ,
30223023 "rom_crc_be" ,
30233024 "rom_md5_bsd" ,
3025+ "gpio_driver_supported" ,
30243026 "interrupts_driver_supported" ,
30253027 "rng_driver_supported" ,
30263028 "soc_driver_supported" ,
30273029 "systimer_driver_supported" ,
30283030 "timergroup_driver_supported" ,
30293031 "timergroup_timg0" ,
30303032 "timergroup_timg1" ,
3033+ "gpio_gpio_function=\" 1\" " ,
3034+ "gpio_constant_0_input=\" 96\" " ,
3035+ "gpio_constant_1_input=\" 64\" " ,
3036+ "gpio_func_in_sel_offset=\" 0\" " ,
3037+ "gpio_input_signal_max=\" 100\" " ,
3038+ "gpio_output_signal_max=\" 256\" " ,
30313039 "interrupts_status_registers=\" 3\" " ,
30323040 "interrupt_controller=\" clic\" " ,
30333041 "rng_apb_cycle_wait_num=\" 16\" " ,
@@ -3074,6 +3082,7 @@ impl Chip {
30743082 "cargo:rustc-cfg=soc_has_ecdsa" ,
30753083 "cargo:rustc-cfg=soc_has_efuse" ,
30763084 "cargo:rustc-cfg=soc_has_etm" ,
3085+ "cargo:rustc-cfg=soc_has_gpio" ,
30773086 "cargo:rustc-cfg=soc_has_hp_apm" ,
30783087 "cargo:rustc-cfg=soc_has_hp_sys" ,
30793088 "cargo:rustc-cfg=soc_has_i2c_ana_mst" ,
@@ -3118,13 +3127,20 @@ impl Chip {
31183127 "cargo:rustc-cfg=rom_crc_le" ,
31193128 "cargo:rustc-cfg=rom_crc_be" ,
31203129 "cargo:rustc-cfg=rom_md5_bsd" ,
3130+ "cargo:rustc-cfg=gpio_driver_supported" ,
31213131 "cargo:rustc-cfg=interrupts_driver_supported" ,
31223132 "cargo:rustc-cfg=rng_driver_supported" ,
31233133 "cargo:rustc-cfg=soc_driver_supported" ,
31243134 "cargo:rustc-cfg=systimer_driver_supported" ,
31253135 "cargo:rustc-cfg=timergroup_driver_supported" ,
31263136 "cargo:rustc-cfg=timergroup_timg0" ,
31273137 "cargo:rustc-cfg=timergroup_timg1" ,
3138+ "cargo:rustc-cfg=gpio_gpio_function=\" 1\" " ,
3139+ "cargo:rustc-cfg=gpio_constant_0_input=\" 96\" " ,
3140+ "cargo:rustc-cfg=gpio_constant_1_input=\" 64\" " ,
3141+ "cargo:rustc-cfg=gpio_func_in_sel_offset=\" 0\" " ,
3142+ "cargo:rustc-cfg=gpio_input_signal_max=\" 100\" " ,
3143+ "cargo:rustc-cfg=gpio_output_signal_max=\" 256\" " ,
31283144 "cargo:rustc-cfg=interrupts_status_registers=\" 3\" " ,
31293145 "cargo:rustc-cfg=interrupt_controller=\" clic\" " ,
31303146 "cargo:rustc-cfg=rng_apb_cycle_wait_num=\" 16\" " ,
@@ -3176,7 +3192,128 @@ impl Chip {
31763192 ) ,
31773193 ] ,
31783194 } ,
3179- pins : & [ ] ,
3195+ pins : & [
3196+ PinInfo {
3197+ pin : 0 ,
3198+ limitations : & [ ] ,
3199+ } ,
3200+ PinInfo {
3201+ pin : 1 ,
3202+ limitations : & [ ] ,
3203+ } ,
3204+ PinInfo {
3205+ pin : 2 ,
3206+ limitations : & [ ] ,
3207+ } ,
3208+ PinInfo {
3209+ pin : 3 ,
3210+ limitations : & [ "strapping" , "jtag" ] ,
3211+ } ,
3212+ PinInfo {
3213+ pin : 4 ,
3214+ limitations : & [ "strapping" , "jtag" ] ,
3215+ } ,
3216+ PinInfo {
3217+ pin : 5 ,
3218+ limitations : & [ "jtag" ] ,
3219+ } ,
3220+ PinInfo {
3221+ pin : 6 ,
3222+ limitations : & [ "jtag" ] ,
3223+ } ,
3224+ PinInfo {
3225+ pin : 7 ,
3226+ limitations : & [ "strapping" ] ,
3227+ } ,
3228+ PinInfo {
3229+ pin : 8 ,
3230+ limitations : & [ "strapping" ] ,
3231+ } ,
3232+ PinInfo {
3233+ pin : 9 ,
3234+ limitations : & [ "strapping" ] ,
3235+ } ,
3236+ PinInfo {
3237+ pin : 10 ,
3238+ limitations : & [ "bootloader_uart" ] ,
3239+ } ,
3240+ PinInfo {
3241+ pin : 11 ,
3242+ limitations : & [ "bootloader_uart" ] ,
3243+ } ,
3244+ PinInfo {
3245+ pin : 12 ,
3246+ limitations : & [ "usb_jtag" ] ,
3247+ } ,
3248+ PinInfo {
3249+ pin : 13 ,
3250+ limitations : & [ "usb_jtag" ] ,
3251+ } ,
3252+ PinInfo {
3253+ pin : 14 ,
3254+ limitations : & [ "spi_flash" ] ,
3255+ } ,
3256+ PinInfo {
3257+ pin : 15 ,
3258+ limitations : & [ "spi_flash" ] ,
3259+ } ,
3260+ PinInfo {
3261+ pin : 16 ,
3262+ limitations : & [ "spi_flash" ] ,
3263+ } ,
3264+ PinInfo {
3265+ pin : 17 ,
3266+ limitations : & [ "spi_flash" ] ,
3267+ } ,
3268+ PinInfo {
3269+ pin : 18 ,
3270+ limitations : & [ "spi_flash" ] ,
3271+ } ,
3272+ PinInfo {
3273+ pin : 19 ,
3274+ limitations : & [ "spi_flash" ] ,
3275+ } ,
3276+ PinInfo {
3277+ pin : 20 ,
3278+ limitations : & [ "spi_flash" ] ,
3279+ } ,
3280+ PinInfo {
3281+ pin : 21 ,
3282+ limitations : & [ "spi_flash" ] ,
3283+ } ,
3284+ PinInfo {
3285+ pin : 22 ,
3286+ limitations : & [ ] ,
3287+ } ,
3288+ PinInfo {
3289+ pin : 23 ,
3290+ limitations : & [ ] ,
3291+ } ,
3292+ PinInfo {
3293+ pin : 24 ,
3294+ limitations : & [ ] ,
3295+ } ,
3296+ PinInfo {
3297+ pin : 25 ,
3298+ limitations : & [ ] ,
3299+ } ,
3300+ PinInfo {
3301+ pin : 26 ,
3302+ limitations : & [ ] ,
3303+ } ,
3304+ PinInfo {
3305+ pin : 27 ,
3306+ limitations : & [ ] ,
3307+ } ,
3308+ PinInfo {
3309+ pin : 28 ,
3310+ limitations : & [ ] ,
3311+ } ,
3312+ PinInfo {
3313+ pin : 29 ,
3314+ limitations : & [ ] ,
3315+ } ,
3316+ ] ,
31803317 } ,
31813318 Self :: Esp32h2 => Config {
31823319 architecture : "riscv" ,
0 commit comments