diff --git a/mlonmcu/target/riscv/etiss.py b/mlonmcu/target/riscv/etiss.py index e9878581..89cf7299 100644 --- a/mlonmcu/target/riscv/etiss.py +++ b/mlonmcu/target/riscv/etiss.py @@ -611,6 +611,7 @@ def get_target_system(self): def get_platform_defs(self, platform): assert platform == "mlif" + assert self.is_bare, "ETISS Target needs baremetal toolchain (riscv[32|64]-unknown-elf)" ret = super().get_platform_defs(platform) ret["MEM_ROM_ORIGIN"] = self.rom_start ret["MEM_ROM_LENGTH"] = self.rom_size