From d9151232b5fd50024aa34f8d690129759438812c Mon Sep 17 00:00:00 2001 From: JiaLing Zhang Date: Fri, 5 Jan 2024 09:23:15 +0800 Subject: [PATCH] Add LoongArch64 support Signed-off-by: JiaLing Zhang --- share/plug-ins/memory_usage_providers/ld.py | 2 +- share/support/core/toolchains.py | 2 ++ share/support/ui/board_support.py | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/share/plug-ins/memory_usage_providers/ld.py b/share/plug-ins/memory_usage_providers/ld.py index 42afacd1f0..a9700caee5 100644 --- a/share/plug-ins/memory_usage_providers/ld.py +++ b/share/plug-ins/memory_usage_providers/ld.py @@ -21,7 +21,7 @@ class LD(core.MemoryUsageProvider): _cache = {} # The list of supported targets - _supported_targets = ["arm-eabi", "leon3-elf", "m68020-elf", + _supported_targets = ["arm-eabi", "leon3-elf", "loongarch64-elf", "m68020-elf", "powerpc-elf", "powerpc-eabispe", "riscv32-elf", "riscv64-elf", "aarch64-elf", "x86_64-elf"] diff --git a/share/support/core/toolchains.py b/share/support/core/toolchains.py index 18d2ed1a06..b6df623445 100644 --- a/share/support/core/toolchains.py +++ b/share/support/core/toolchains.py @@ -275,6 +275,8 @@ + + diff --git a/share/support/ui/board_support.py b/share/support/ui/board_support.py index 6cb6c9ec79..e4b6adcd95 100644 --- a/share/support/ui/board_support.py +++ b/share/support/ui/board_support.py @@ -101,7 +101,7 @@ class BoardLoader(Module): __is_busy = False # The list of supported targets - __supported_targets = ["arm-eabi", "leon3-elf", "m68020-elf", + __supported_targets = ["arm-eabi", "leon3-elf", "loongarch64-elf", "m68020-elf", "powerpc-elf", "powerpc-eabispe", "riscv32-elf", "riscv64-elf", "aarch64-elf", "x86_64-elf"]