From 868a80fdcda27ce76e575aa25c566b40235f620d Mon Sep 17 00:00:00 2001 From: bluew Date: Fri, 30 Jul 2021 16:53:47 +0200 Subject: [PATCH 1/3] hal/control-pulp: Remove unnecessary camera include We don't have a camera interface in control-pulp. --- include/hal/chips/control-pulp/pulp.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/hal/chips/control-pulp/pulp.h b/include/hal/chips/control-pulp/pulp.h index 70e564e..dda1d45 100644 --- a/include/hal/chips/control-pulp/pulp.h +++ b/include/hal/chips/control-pulp/pulp.h @@ -33,7 +33,6 @@ #include "hal/rom/rom_v2.h" #include "hal/udma/udma_v3.h" -#include "hal/udma/cpi/udma_cpi_v1.h" #include "hal/udma/i2c/udma_i2c_v2.h" #include "hal/udma/spim/udma_spim_v3.h" #include "hal/udma/uart/udma_uart_v1.h" From 48e1bfb305e930095ca6aa7658764789a7c4dc31 Mon Sep 17 00:00:00 2001 From: bluew Date: Fri, 30 Jul 2021 16:54:19 +0200 Subject: [PATCH 2/3] rules/control-pulp: Fix wrong include and file paths --- rules/pulpos/targets/control-pulp.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rules/pulpos/targets/control-pulp.mk b/rules/pulpos/targets/control-pulp.mk index 4ef042b..d5f27d8 100644 --- a/rules/pulpos/targets/control-pulp.mk +++ b/rules/pulpos/targets/control-pulp.mk @@ -11,7 +11,7 @@ PULP_ARCH_LDFLAGS ?= -march=rv32imc_zfinx_xcorev -mabi=ilp32 -mno-pulp-hwloop PULP_ARCH_OBJDFLAGS ?= PULP_CFLAGS += -fdata-sections -ffunction-sections \ - -include chips/pulp/config.h -I$(PULPRT_HOME)/include/chips/control-pulp + -include chips/control-pulp/config.h -I$(PULPRT_HOME)/include/chips/control-pulp PULP_OMP_CFLAGS += -fopenmp -mnativeomp PULP_LDFLAGS += -nostartfiles -nostdlib -Wl,--gc-sections \ -L$(PULPRT_HOME)/kernel -Tchips/control-pulp/link.ld -lgcc @@ -46,7 +46,7 @@ soc_eu/version=2 # FLL PULP_SRCS += kernel/fll-v$(fll/version).c PULP_SRCS += kernel/freq-domains.c -PULP_SRCS += kernel/chips/pulp/soc.c +PULP_SRCS += kernel/chips/control-pulp/soc.c include $(PULPRT_HOME)/rules/pulpos/configs/default.mk From 879eb13dbd5f689b7eb0d7b3e1391edc44bf5b4e Mon Sep 17 00:00:00 2001 From: bluew Date: Tue, 10 Aug 2021 16:00:56 +0200 Subject: [PATCH 3/3] hal: Add missing return value --- include/hal/cv32e40p/cv32e40p.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/hal/cv32e40p/cv32e40p.h b/include/hal/cv32e40p/cv32e40p.h index a65a136..9319f5c 100644 --- a/include/hal/cv32e40p/cv32e40p.h +++ b/include/hal/cv32e40p/cv32e40p.h @@ -367,6 +367,7 @@ static inline unsigned int cpu_perf_get(const unsigned int counterId) { } static inline const char *cpu_perf_name(int event) { + return 0; }