ESP32: fix the issue when setting target esp32h2 (#22786)
ESP32: fix the issue when setting target esp32h2 (#22786)

Co-authored-by: Andrei Litvin <9d79b0490e4c24cedf2ec58f868d0fa26aa47ba8@gmail.com>
project-chip/connectedhomeip,project-chip/connectedhomeip,project-chip/connectedhomeip,project-chip/connectedhomeip,project-chip/connectedhomeip,project-chip/connectedhomeip