diff --git a/boards/arm/stm32f7/stm32f777zit6-meadow/scripts/Make.defs b/boards/arm/stm32f7/stm32f777zit6-meadow/scripts/Make.defs index 898b4bcc8d..1fe237a79d 100644 --- a/boards/arm/stm32f7/stm32f777zit6-meadow/scripts/Make.defs +++ b/boards/arm/stm32f7/stm32f777zit6-meadow/scripts/Make.defs @@ -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 diff --git a/boards/arm/stm32f7/stm32f777zit6-meadow/scripts/flash.ld b/boards/arm/stm32f7/stm32f777zit6-meadow/scripts/ld.script similarity index 100% rename from boards/arm/stm32f7/stm32f777zit6-meadow/scripts/flash.ld rename to boards/arm/stm32f7/stm32f777zit6-meadow/scripts/ld.script diff --git a/boards/arm/stm32f7/stm32f777zit6-meadow/src/Makefile b/boards/arm/stm32f7/stm32f777zit6-meadow/src/Make.defs similarity index 95% rename from boards/arm/stm32f7/stm32f777zit6-meadow/src/Makefile rename to boards/arm/stm32f7/stm32f777zit6-meadow/src/Make.defs index b1667cfe6e..9aceb95284 100644 --- a/boards/arm/stm32f7/stm32f777zit6-meadow/src/Makefile +++ b/boards/arm/stm32f7/stm32f777zit6-meadow/src/Make.defs @@ -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