mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-14 22:16:46 +00:00
esp32h2(ci): enable target test
This commit is contained in:
@@ -631,6 +631,15 @@ class ESP32C6DUT(IDFDUT):
|
||||
return targets.ESP32C6ROM
|
||||
|
||||
|
||||
class ESP32H2DUT(IDFDUT):
|
||||
TARGET = 'esp32h2'
|
||||
TOOLCHAIN_PREFIX = 'riscv32-esp-elf-'
|
||||
|
||||
@classmethod
|
||||
def get_rom(cls):
|
||||
return targets.ESP32H2ROM
|
||||
|
||||
|
||||
class ESP32H4DUT(IDFDUT):
|
||||
TARGET = 'esp32h4'
|
||||
TOOLCHAIN_PREFIX = 'riscv32-esp-elf-'
|
||||
@@ -650,7 +659,7 @@ class ESP8266DUT(IDFDUT):
|
||||
|
||||
|
||||
def get_target_by_rom_class(cls):
|
||||
for c in [ESP32DUT, ESP32S2DUT, ESP32S3DUT, ESP32C2DUT, ESP32C3DUT, ESP32C6DUT, ESP32H4DUT, ESP8266DUT, IDFQEMUDUT]:
|
||||
for c in [ESP32DUT, ESP32S2DUT, ESP32S3DUT, ESP32C2DUT, ESP32C3DUT, ESP32C6DUT, ESP32H2DUT, ESP32H4DUT, ESP8266DUT, IDFQEMUDUT]:
|
||||
if c.get_rom() == cls:
|
||||
return c.TARGET
|
||||
return None
|
||||
|
Reference in New Issue
Block a user