mirror of
https://github.com/saymrwulf/pulp-runtime.git
synced 2026-07-30 20:18:12 +00:00
Merge commit 'e20aa040e59ac8796257f2bb25239b6e86aecae5' into zfinx
This commit is contained in:
commit
57d9714142
2 changed files with 10 additions and 11 deletions
|
|
@ -132,14 +132,12 @@
|
|||
#define ARCHI_UDMA_UART_ID(id) 0
|
||||
#define ARCHI_UDMA_SPIM_ID(id) (1 + (id))
|
||||
#define ARCHI_UDMA_I2C_ID(id) (9 + (id))
|
||||
#define ARCHI_UDMA_SDIO_ID(id) (20 + (id))
|
||||
#define ARCHI_UDMA_I2S_ID(id) 21
|
||||
#define ARCHI_UDMA_CAM_ID(id) 22
|
||||
#define ARCHI_UDMA_FILTER_ID(id) (23 + (id))
|
||||
#define ARCHI_UDMA_TRACER_ID(id) 24
|
||||
#define ARCHI_UDMA_TGEN_ID(id) 25
|
||||
#define ARCHI_UDMA_SDIO_ID(id) (21 + (id))
|
||||
#define ARCHI_UDMA_FILTER_ID(id) (22 + (id))
|
||||
#define ARCHI_UDMA_TRACER_ID(id) 23
|
||||
#define ARCHI_UDMA_TGEN_ID(id) 24
|
||||
|
||||
#define ARCHI_NB_PERIPH 26
|
||||
#define ARCHI_NB_PERIPH 25
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -2,12 +2,13 @@ ifdef USE_IBEX
|
|||
$(error IBEX is not supported in control-pulp)
|
||||
endif
|
||||
|
||||
# we need at least pulp-gcc v2.1.2
|
||||
# we need at least pulp-gcc v2.4.0
|
||||
PULP_LDFLAGS +=
|
||||
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_ARCH_CFLAGS ?= -march=rv32imc_zfinx_xcorev -mabi=ilp32 -mno-pulp-hwloop
|
||||
PULP_ARCH_LDFLAGS ?= -march=rv32imc_zfinx_xcorev -mabi=ilp32 -mno-pulp-hwloop
|
||||
# uses elf attributes to disassemble so no need to set it manually
|
||||
PULP_ARCH_OBJDFLAGS ?=
|
||||
|
||||
PULP_CFLAGS += -fdata-sections -ffunction-sections \
|
||||
-include chips/pulp/config.h -I$(PULPRT_HOME)/include/chips/control-pulp
|
||||
|
|
|
|||
Loading…
Reference in a new issue