stm32f777zit6-meadow: Modify to support common board drivers

This commit is contained in:
Alan Carvalho de Assis 2023-08-27 19:02:09 -03:00 committed by Petro Karashchenko
parent 0e914506da
commit fd10727f13
3 changed files with 9 additions and 3 deletions

View File

@ -22,7 +22,7 @@ include $(TOPDIR)/.config
include $(TOPDIR)/tools/Config.mk
include $(TOPDIR)/arch/arm/src/armv7-m/Toolchain.defs
LDSCRIPT = flash.ld
LDSCRIPT = ld.script
ARCHSCRIPT += $(BOARD_DIR)$(DELIM)scripts$(DELIM)$(LDSCRIPT)
ARCHPICFLAGS = -fpic -msingle-pic-base -mpic-register=r10

View File

@ -1,5 +1,5 @@
############################################################################
# boards/arm/stm32f7/stm32f777zit6-meadow/src/Makefile
# boards/arm/stm32f7/stm32f777zit6-meadow/src/Make.defs
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
@ -181,4 +181,10 @@ CSRCS += $(MEADOW_OS_DIR)/meadow_os/meadow_os_config.c
endif
endif # MEADOW_OS
include $(TOPDIR)/boards/Board.mk
ifeq ($(CONFIG_BOARD_MEADOW_PROJECTLAB),y)
CSRCS += board_projlab.c
endif
DEPPATH += --dep-path board
VPATH += :board
CFLAGS += ${INCDIR_PREFIX}$(TOPDIR)$(DELIM)arch$(DELIM)$(CONFIG_ARCH)$(DELIM)src$(DELIM)board$(DELIM)board