From 95f4c7d3745dc3db04922d9a260ef2e6357a273c Mon Sep 17 00:00:00 2001 From: Karl Zhang Date: Sat, 15 Feb 2020 19:26:35 +0800 Subject: [PATCH] PKG_USING_TFM: Use TFM package macro instead RT_USING_TFM was duplicate macro. Remove it. Change-Id: I626c63fe661202e63074f0db82ba99c06d12bc03 Signed-off-by: Karl Zhang --- bsp/lpc55sxx/lpc55s69_nxp_evk/board/board.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bsp/lpc55sxx/lpc55s69_nxp_evk/board/board.c b/bsp/lpc55sxx/lpc55s69_nxp_evk/board/board.c index 22e663b1f4..b81bc8e616 100644 --- a/bsp/lpc55sxx/lpc55s69_nxp_evk/board/board.c +++ b/bsp/lpc55sxx/lpc55s69_nxp_evk/board/board.c @@ -11,7 +11,7 @@ * 2010-05-02 Aozima update CMSIS to 130 * 2017-08-02 XiaoYang porting to LPC54608 bsp * 2019-08-05 Magicoe porting to LPC55S69-EVK bsp - * 2020-01-01 Karl Add RT_USING_TFM support + * 2020-01-01 Karl Add PKG_USING_TFM support */ #include @@ -59,7 +59,7 @@ void rt_hw_board_init() SCB->VTOR = (0x10000000 & NVIC_VTOR_MASK); #else /* VECT_TAB_FLASH */ -#ifdef RT_USING_TFM +#ifdef PKG_USING_TFM /* Set the Vector Table base location at 0x00020000 when RTT with TF-M*/ SCB->VTOR = (0x00020000 & NVIC_VTOR_MASK); #else @@ -68,7 +68,7 @@ void rt_hw_board_init() #endif #endif -#ifndef RT_USING_TFM +#ifndef PKG_USING_TFM /* This init has finished in secure side of TF-M */ BOARD_BootClockPLL150M(); #endif -- GitLab