Skip to content

Commit ea968f6

Browse files
authored
Merge pull request #3372 from karl-zh/lpc55_add_ns_scons
Lpc55 add ns scons project
2 parents 3e8c03e + 95f4c7d commit ea968f6

File tree

12 files changed

+3125
-3
lines changed

12 files changed

+3125
-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)