Merge pull request #1262 from developandplay/demo-fix-bp

Fix demo.bin compilation for BlackParrot
This commit is contained in:
enjoy-digital 2022-04-04 08:42:08 +02:00 committed by GitHub
commit df1cb4eea1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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"):