From 1106da4e351f65d17c036315d97e6426dc2ea281 Mon Sep 17 00:00:00 2001 From: developandplay <34752929+developandplay@users.noreply.github.com> Date: Sat, 2 Apr 2022 00:17:35 +0200 Subject: [PATCH] Fix demo bin compilation for BlackParrot Same issue as: https://github.com/enjoy-digital/litex/pull/1245 --- litex/soc/cores/cpu/blackparrot/core.py | 1 + 1 file changed, 1 insertion(+) diff --git a/litex/soc/cores/cpu/blackparrot/core.py b/litex/soc/cores/cpu/blackparrot/core.py index 0f9d3df2e..d17f5e38f 100644 --- a/litex/soc/cores/cpu/blackparrot/core.py +++ b/litex/soc/cores/cpu/blackparrot/core.py @@ -83,6 +83,7 @@ class BlackParrot(CPU): flags = "-mno-save-restore " flags += GCC_FLAGS[self.variant] flags += "-D__blackparrot__ " + flags += "-mcmodel=medany" return flags def __init__(self, platform, variant="standard"):