From dbd9172e5714f412e3d866ee6ecf8f4d5d42d0ef Mon Sep 17 00:00:00 2001 From: David Sidrane Date: Wed, 16 Jan 2019 18:08:24 -0600 Subject: [PATCH] arch/arm/src/imxrt/Make.defs: Include up_systemreset and up_stackcheck.c --- arch/arm/src/imxrt/Make.defs | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/arch/arm/src/imxrt/Make.defs b/arch/arm/src/imxrt/Make.defs index 8dea2154803..bf134f9d987 100644 --- a/arch/arm/src/imxrt/Make.defs +++ b/arch/arm/src/imxrt/Make.defs @@ -1,8 +1,9 @@ ############################################################################ # arch/arm/src/imxrt/Make.defs # -# Copyright (C) 2018 Gregory Nutt. All rights reserved. -# Author: Gregory Nutt +# Copyright (C) 2018-2019 Gregory Nutt. All rights reserved. +# Authors: Gregory Nutt +# David Sidrane # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions @@ -47,7 +48,11 @@ CMN_CSRCS += up_memfault.c up_modifyreg8.c up_modifyreg16.c up_modifyreg32.c CMN_CSRCS += up_releasepending.c up_releasestack.c up_reprioritizertr.c CMN_CSRCS += up_schedulesigaction.c up_sigdeliver.c up_stackframe.c CMN_CSRCS += up_unblocktask.c up_usestack.c up_doirq.c up_hardfault.c -CMN_CSRCS += up_svcall.c up_vfork.c up_trigger_irq.c +CMN_CSRCS += up_svcall.c up_vfork.c up_trigger_irq.c up_systemreset.c + +ifeq ($(CONFIG_ARMV7M_STACKCHECK),y) +CMN_CSRCS += up_stackcheck.c +endif # Configuration-dependent common files