Add Linux support for find_apps and build_apps

pull/6365/head
Fu Hanxi 2020-11-27 18:06:36 +08:00
rodzic 00819a3022
commit fcabbe5f33
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -289,12 +289,13 @@ class BuildSystem:
Objects of these classes aren't instantiated, instead the class (type object) is used.
"""
NAME = "undefined"
SUPPORTED_TARGETS_REGEX = re.compile(r'Supported [Tt]argets((?:[\s|]+(?:ESP[0-9A-Z\-]+))+)')
SUPPORTED_TARGETS_REGEX = re.compile(r'Supported [Tt]argets((?:[ |]+(?:[0-9a-zA-Z\-]+))+)')
FORMAL_TO_USUAL = {
'ESP32': 'esp32',
'ESP32-S2': 'esp32s2',
'ESP32-S3': 'esp32s3',
'Linux': 'linux',
}
@classmethod