esp32h2: renaming esp32h2 to esp32h4

This commit is contained in:
laokaiyao
2022-10-19 15:57:24 +08:00
parent 895d97d765
commit 8677216576
539 changed files with 1679 additions and 2126 deletions

View File

@@ -631,13 +631,13 @@ class ESP32C6DUT(IDFDUT):
return targets.ESP32C6BETAROM
class ESP32H2DUT(IDFDUT):
TARGET = 'esp32h2'
class ESP32H4DUT(IDFDUT):
TARGET = 'esp32h4'
TOOLCHAIN_PREFIX = 'riscv32-esp-elf-'
@classmethod
def get_rom(cls):
return targets.ESP32H2ROM
return targets.ESP32H4ROM
class ESP8266DUT(IDFDUT):
@@ -650,7 +650,7 @@ class ESP8266DUT(IDFDUT):
def get_target_by_rom_class(cls):
for c in [ESP32DUT, ESP32S2DUT, ESP32S3DUT, ESP32C2DUT, ESP32C3DUT, ESP32C6DUT, ESP32H2DUT, ESP8266DUT, IDFQEMUDUT]:
for c in [ESP32DUT, ESP32S2DUT, ESP32S3DUT, ESP32C2DUT, ESP32C3DUT, ESP32C6DUT, ESP32H4DUT, ESP8266DUT, IDFQEMUDUT]:
if c.get_rom() == cls:
return c.TARGET
return None