format Kconfig and sconscript

This commit is contained in:
Meco Man
2023-01-08 21:14:23 -05:00
committed by Man, Jianting (Meco)
parent f4b285dc9c
commit 9bc68d26a4
885 changed files with 3941 additions and 3919 deletions

View File

@@ -20,7 +20,7 @@ source "$PKGS_DIR/Kconfig"
source "drivers/Kconfig"
config SOC_MM32L373
bool
bool
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
default y

View File

@@ -1,7 +1,7 @@
from building import *
import rtconfig
cwd = GetCurrentDir()
src = ['MM32L3xx/Source/system_MM32L3xx.c']
src = ['MM32L3xx/Source/system_MM32L3xx.c']
CPPPATH = [cwd + '/CMSIS/KEIL_CORE', cwd + '/MM32L3xx/Include', cwd + '/MM32L3xx/Source', cwd + '/MM32L3xx/HAL_lib/inc']
src += Glob('MM32L3xx/HAL_lib/src/*.c')

View File

@@ -19,10 +19,10 @@ TARGET = 'rtthread.' + rtconfig.TARGET_EXT
DefaultEnvironment(tools=[])
env = Environment(tools = ['mingw'],
AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS,
CC = rtconfig.CC, CFLAGS = rtconfig.CFLAGS,
AR = rtconfig.AR, ARFLAGS = '-rc',
LINK = rtconfig.LINK, LINKFLAGS = rtconfig.LFLAGS)
AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS,
CC = rtconfig.CC, CFLAGS = rtconfig.CFLAGS,
AR = rtconfig.AR, ARFLAGS = '-rc',
LINK = rtconfig.LINK, LINKFLAGS = rtconfig.LFLAGS)
env.PrependENVPath('PATH', rtconfig.EXEC_PATH)
if rtconfig.PLATFORM in ['iccarm']:

View File

@@ -6,18 +6,18 @@ menu "Hardware Drivers Config"
bool "Enable GPIO"
select RT_USING_PIN
default n
endmenu
endmenu
menu "UART Drivers"
config BSP_USING_UART1
bool "Enable UART1 PA9/10(T/R)"
select RT_USING_SERIAL
default n
config BSP_USING_UART2
bool "Enable UART2 PA2/3(T/R)"
select RT_USING_SERIAL
default y
endmenu
endmenu
endmenu
endmenu