diff --git a/rules/pulpos/targets/control-pulp.mk b/rules/pulpos/targets/control-pulp.mk index c45efbd..fd1dedb 100644 --- a/rules/pulpos/targets/control-pulp.mk +++ b/rules/pulpos/targets/control-pulp.mk @@ -4,10 +4,10 @@ endif # we need at least pulp-gcc v2.1.2 PULP_LDFLAGS += -PULP_CFLAGS += -D__riscv__ -PULP_ARCH_CFLAGS ?= -march=rv32imcxgap9 -mnohwloop -PULP_ARCH_LDFLAGS ?= -march=rv32imcxgap9 -mnohwloop -PULP_ARCH_OBJDFLAGS ?= -Mmarch=rv32imcxgap9 -mnohwloop +PULP_CFLAGS += -D__cv32e40p__ -D__riscv__ +PULP_ARCH_CFLAGS ?= -march=rv32imfc_xcorev -mno-pulp-hwloop +PULP_ARCH_LDFLAGS ?= -march=rv32imfc_xcorev -mno-pulp-hwloop +PULP_ARCH_OBJDFLAGS ?= -Mmarch=rv32imfc_xcorev -mno-pulp-hwloop PULP_CFLAGS += -fdata-sections -ffunction-sections \ -include chips/pulp/config.h -I$(PULPRT_HOME)/include/chips/control-pulp