Skip to content

Commit

Permalink
add assertion if etiss target is used with linux toolchain
Browse files Browse the repository at this point in the history
  • Loading branch information
Philipp v. K committed Jul 27, 2024
1 parent fd3d353 commit 23e2b27
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mlonmcu/target/riscv/etiss.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 23e2b27

Please sign in to comment.