Skip to content

Commit 11d9142

Browse files
committed
更新配置
1 parent d5d63a5 commit 11d9142

3 files changed

Lines changed: 21 additions & 3 deletions

File tree

bsp/novosns/ns800/ns800rt7p65-nssinepad/board/Kconfig

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,23 @@
11
menu "On-chip Peripheral Drivers"
2+
menuconfig BOARD_CLK_CONF
3+
bool "Clock Configuration"
4+
default y
5+
if BOARD_CLK_CONF
6+
config SYSCLK_USE_PLL
7+
bool "Use PLL as system clock source"
8+
default y
9+
10+
config SYSCLK_SOURCE_USE_HXTL
11+
bool "Use High-Speed Crystal Oscillator (HXTL) as system clock source"
12+
default y
13+
depends on SYSCLK_USE_PLL
214

15+
config PLLCLK_SOURCE_USE_HXTL
16+
bool "Use High-Speed Crystal Oscillator (HXTL) as PLL clock source"
17+
default y
18+
depends on SYSCLK_USE_PLL
19+
endif
20+
321
menuconfig BSP_USING_GPIO
422
bool "Enable GPIO"
523
select RT_USING_PIN

bsp/novosns/ns800/ns800rt7p65-nssinepad/board/board.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ void Switch_init (void)
138138
void Device_init(void)
139139
{
140140
System_setClock();
141-
#if (DUAL_CORE_ENABLE == 0)
141+
#ifndef RT_USING_SMP
142142
Device_enableAllPeripheralsInCpu1();
143143
#endif
144144
Device_enableAllPeripherals();

bsp/novosns/ns800/ns800rt7p65-nssinepad/rtconfig.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@
4848
OBJDUMP = PREFIX + 'objdump'
4949
OBJCPY = PREFIX + 'objcopy'
5050

51-
DEVICE = ' -mcpu=cortex-m7 -mthumb -mfpu=fpv5-d16 -mfloat-abi=hard -ffunction-sections -fdata-sections'
51+
DEVICE = ' -mcpu=cortex-m7 -mfpu=fpv5-d16 -mfloat-abi=hard -ffunction-sections -fdata-sections'
5252
CFLAGS = DEVICE + ' -Dgcc' + ' -DNS800RT7P65X'
53-
AFLAGS = ' -c' + DEVICE + ' -x assembler-with-cpp -Wa,-mimplicit-it=thumb '
53+
AFLAGS = ' -c' + DEVICE + ' -x assembler-with-cpp'
5454
LFLAGS = DEVICE + ' -Wl,--gc-sections,-Map=rtthread.map,-cref,-u,Reset_Handler -T board/linker_scripts/link.lds'
5555

5656
CPATH = ''

0 commit comments

Comments
 (0)