mirror of
https://github.com/saymrwulf/pulp-runtime.git
synced 2026-07-01 03:45:08 +00:00
Merge pull request #22 from pulp-platform/fix-cpulp-flags
Fix control-pulp compilation flags
This commit is contained in:
commit
0512c8c478
1 changed files with 3 additions and 3 deletions
|
|
@ -5,9 +5,9 @@ endif
|
|||
# we need at least pulp-gcc v2.1.2
|
||||
PULP_LDFLAGS +=
|
||||
PULP_CFLAGS += -D__riscv__
|
||||
PULP_ARCH_CFLAGS ?= -march=rv32imcxcorev -mno-pulp-hwloop
|
||||
PULP_ARCH_LDFLAGS ?= -march=rv32imcxcorev -mno-pulp-hwloop
|
||||
PULP_ARCH_OBJDFLAGS ?= -Mmarch=rv32imcxcorev -mno-pulp-hwloop
|
||||
PULP_ARCH_CFLAGS ?= -march=rv32imcxgap9 -mnohwloop
|
||||
PULP_ARCH_LDFLAGS ?= -march=rv32imcxgap9 -mnohwloop
|
||||
PULP_ARCH_OBJDFLAGS ?= -Mmarch=rv32imcxgap9 -mnohwloop
|
||||
|
||||
PULP_CFLAGS += -fdata-sections -ffunction-sections \
|
||||
-include chips/pulp/config.h -I$(PULPRT_HOME)/include/chips/control-pulp
|
||||
|
|
|
|||
Loading…
Reference in a new issue