Skip to content

Commit

Permalink
Merge pull request #26 from pulp-platform/fix-control-pulp
Browse files Browse the repository at this point in the history
Fix control pulp
  • Loading branch information
bluewww authored Jul 30, 2021
2 parents 3214d69 + 48e1bfb commit 2ecc920
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion include/hal/chips/control-pulp/pulp.h
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions rules/pulpos/targets/control-pulp.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 2ecc920

Please sign in to comment.