Skip to content

Commit 95f4c7d

Browse files
author
Karl Zhang
committed
PKG_USING_TFM: Use TFM package macro instead
RT_USING_TFM was duplicate macro. Remove it. Change-Id: I626c63fe661202e63074f0db82ba99c06d12bc03 Signed-off-by: Karl Zhang <[email protected]>
1 parent bd92732 commit 95f4c7d

File tree

1 file changed

+3
-3
lines changed
  • bsp/lpc55sxx/lpc55s69_nxp_evk/board

1 file changed

+3
-3
lines changed

bsp/lpc55sxx/lpc55s69_nxp_evk/board/board.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* 2010-05-02 Aozima update CMSIS to 130
1212
* 2017-08-02 XiaoYang porting to LPC54608 bsp
1313
* 2019-08-05 Magicoe porting to LPC55S69-EVK bsp
14-
* 2020-01-01 Karl Add RT_USING_TFM support
14+
* 2020-01-01 Karl Add PKG_USING_TFM support
1515
*/
1616

1717
#include <rthw.h>
@@ -59,7 +59,7 @@ void rt_hw_board_init()
5959
SCB->VTOR = (0x10000000 & NVIC_VTOR_MASK);
6060
#else /* VECT_TAB_FLASH */
6161

62-
#ifdef RT_USING_TFM
62+
#ifdef PKG_USING_TFM
6363
/* Set the Vector Table base location at 0x00020000 when RTT with TF-M*/
6464
SCB->VTOR = (0x00020000 & NVIC_VTOR_MASK);
6565
#else
@@ -68,7 +68,7 @@ void rt_hw_board_init()
6868
#endif
6969
#endif
7070

71-
#ifndef RT_USING_TFM
71+
#ifndef PKG_USING_TFM
7272
/* This init has finished in secure side of TF-M */
7373
BOARD_BootClockPLL150M();
7474
#endif

0 commit comments

Comments
 (0)