diff --git a/bsp/Infineon/psoc6-cy8ckit-062-WIFI-BT/board/SConscript b/bsp/Infineon/psoc6-cy8ckit-062-WIFI-BT/board/SConscript index 5baf6c454f..103d32610c 100644 --- a/bsp/Infineon/psoc6-cy8ckit-062-WIFI-BT/board/SConscript +++ b/bsp/Infineon/psoc6-cy8ckit-062-WIFI-BT/board/SConscript @@ -33,7 +33,7 @@ if rtconfig.PLATFORM in ['gcc']: elif rtconfig.PLATFORM in ['armclang']: src += [startup_path_prefix + '/IFX_PSOC6_HAL/mtb-pdl-cat1/drivers/source/TOOLCHAIN_ARM/cy_syslib_mdk.S'] - + CPPDEFINES = ['CY8C6247BZI_D54', 'CY_USING_HAL', 'COMPONENT_CAT1A', 'COMPONENT_CAT1', 'COMPONENT_BSP_DESIGN_MODUS'] group = DefineGroup('Drivers', src, depend=[''], CPPPATH=path, CPPDEFINES=CPPDEFINES) diff --git a/bsp/apm32/apm32f030r8-miniboard/board/Kconfig b/bsp/apm32/apm32f030r8-miniboard/board/Kconfig index 3472aea7d9..7d0f93b3e4 100644 --- a/bsp/apm32/apm32f030r8-miniboard/board/Kconfig +++ b/bsp/apm32/apm32f030r8-miniboard/board/Kconfig @@ -145,7 +145,7 @@ menu "On-chip Peripheral Drivers" config BSP_USING_TMR15 bool "Enable TMR15" default n - + config BSP_USING_TMR16 bool "Enable TMR16" default n diff --git a/bsp/at32/at32f403a-start/board/Kconfig b/bsp/at32/at32f403a-start/board/Kconfig index fb1868c10b..b81065c9a6 100644 --- a/bsp/at32/at32f403a-start/board/Kconfig +++ b/bsp/at32/at32f403a-start/board/Kconfig @@ -26,7 +26,7 @@ menu "On-chip Peripheral Drivers" config BSP_USING_ON_CHIP_FLASH bool "Enable on-chip FLASH" - default n + default n config BSP_USING_USBD bool "Enable USB BUS" diff --git a/bsp/at32/at32f413-start/board/Kconfig b/bsp/at32/at32f413-start/board/Kconfig index f991f7c915..43f9fb3761 100644 --- a/bsp/at32/at32f413-start/board/Kconfig +++ b/bsp/at32/at32f413-start/board/Kconfig @@ -26,7 +26,7 @@ menu "On-chip Peripheral Drivers" config BSP_USING_ON_CHIP_FLASH bool "Enable on-chip FLASH" - default n + default n config BSP_USING_USBD bool "Enable USB BUS" diff --git a/bsp/at32/at32f415-start/board/Kconfig b/bsp/at32/at32f415-start/board/Kconfig index db26d9c74c..463ded5529 100644 --- a/bsp/at32/at32f415-start/board/Kconfig +++ b/bsp/at32/at32f415-start/board/Kconfig @@ -26,7 +26,7 @@ menu "On-chip Peripheral Drivers" config BSP_USING_ON_CHIP_FLASH bool "Enable on-chip FLASH" - default n + default n menuconfig BSP_USING_USBFS bool "Enable USB BUS" diff --git a/bsp/at32/at32f425-start/board/Kconfig b/bsp/at32/at32f425-start/board/Kconfig index 97f33b9419..f791cf28a9 100644 --- a/bsp/at32/at32f425-start/board/Kconfig +++ b/bsp/at32/at32f425-start/board/Kconfig @@ -26,7 +26,7 @@ menu "On-chip Peripheral Drivers" config BSP_USING_ON_CHIP_FLASH bool "Enable on-chip FLASH" - default n + default n menuconfig BSP_USING_USBFS bool "Enable USB BUS" diff --git a/bsp/at32/at32f435-start/board/Kconfig b/bsp/at32/at32f435-start/board/Kconfig index 798ba0eb5a..562c87cd1b 100644 --- a/bsp/at32/at32f435-start/board/Kconfig +++ b/bsp/at32/at32f435-start/board/Kconfig @@ -30,7 +30,7 @@ menu "On-chip Peripheral Drivers" config BSP_USING_ON_CHIP_FLASH bool "Enable on-chip FLASH" - default n + default n menuconfig BSP_USING_USBFS bool "Enable USB BUS" diff --git a/bsp/at32/libraries/usbd_library/SConscript b/bsp/at32/libraries/usbd_library/SConscript index bf07a30a9e..23dee4679d 100644 --- a/bsp/at32/libraries/usbd_library/SConscript +++ b/bsp/at32/libraries/usbd_library/SConscript @@ -10,7 +10,7 @@ src = Split(""" # The set of source files associated with this SConscript file. if GetDepend('RT_USING_USB_DEVICE'): - src += ['src/usbd_core.c', 'src/usbd_int.c', 'src/usbd_sdr.c'] + src += ['src/usbd_core.c', 'src/usbd_int.c', 'src/usbd_sdr.c'] CPPPATH = [cwd + '/inc'] diff --git a/bsp/at32/libraries/usbfs_library/SConscript b/bsp/at32/libraries/usbfs_library/SConscript index d22ed3f0b1..354faf87e4 100644 --- a/bsp/at32/libraries/usbfs_library/SConscript +++ b/bsp/at32/libraries/usbfs_library/SConscript @@ -15,10 +15,10 @@ if GetDepend('BSP_USING_USBFS'): src += ['src/usb_core.c'] if GetDepend('RT_USING_USB_DEVICE'): - src += ['src/usbd_core.c', 'src/usbd_int.c', 'src/usbd_sdr.c'] + src += ['src/usbd_core.c', 'src/usbd_int.c', 'src/usbd_sdr.c'] if GetDepend('RT_USING_USB_HOST'): - src += ['src/usbh_core.c', 'src/usbh_int.c', 'src/usbh_ctrl.c'] + src += ['src/usbh_core.c', 'src/usbh_int.c', 'src/usbh_ctrl.c'] CPPPATH = [cwd + '/inc'] diff --git a/bsp/imxrt/imxrt1060-nxp-evk/board/Kconfig b/bsp/imxrt/imxrt1060-nxp-evk/board/Kconfig index f644a8fb2a..6dbbb2f124 100644 --- a/bsp/imxrt/imxrt1060-nxp-evk/board/Kconfig +++ b/bsp/imxrt/imxrt1060-nxp-evk/board/Kconfig @@ -184,15 +184,15 @@ menu "On-chip Peripheral Drivers" config CODE_STORED_ON_SDCARD bool "Enable Code STORED On SDCARD" default n - help - "SD CARD work as boot devive" + help + "SD CARD work as boot devive" endif config BSP_USING_USB bool "Enable USB" select RT_USING_USB_HOST default n - + if BSP_USING_USB config BSP_USB0_HOST bool "Enable USB0" @@ -200,7 +200,7 @@ menu "On-chip Peripheral Drivers" config BSP_USB1_HOST bool "Enable USB1" - default n + default n endif menuconfig BSP_USING_I2C diff --git a/bsp/imxrt/imxrt1060-nxp-evk/board/SConscript b/bsp/imxrt/imxrt1060-nxp-evk/board/SConscript index 8c84a67d74..628a013806 100644 --- a/bsp/imxrt/imxrt1060-nxp-evk/board/SConscript +++ b/bsp/imxrt/imxrt1060-nxp-evk/board/SConscript @@ -17,11 +17,11 @@ if GetDepend(['BSP_USING_TOUCHPAD']): CPPPATH = [cwd,cwd + '/MCUX_Config',cwd + '/ports'] -# CPPDEFINES = ['CPU_MIMXRT1062DVL6A', 'SKIP_SYSCLK_INIT', 'EVK_MCIMXRM', 'FSL_SDK_ENABLE_DRIVER_CACHE_CONTROL=1', +# CPPDEFINES = ['CPU_MIMXRT1062DVL6A', 'SKIP_SYSCLK_INIT', 'EVK_MCIMXRM', 'FSL_SDK_ENABLE_DRIVER_CACHE_CONTROL=1', # 'FSL_SDK_DRIVER_QUICK_ACCESS_ENABLE=1','DATA_SECTION_IS_CACHEABLE=1'] -CPPDEFINES = ['CPU_MIMXRT1062DVL6A', 'SKIP_SYSCLK_INIT', 'EVK_MCIMXRM', 'FSL_SDK_ENABLE_DRIVER_CACHE_CONTROL=1', +CPPDEFINES = ['CPU_MIMXRT1062DVL6A', 'SKIP_SYSCLK_INIT', 'EVK_MCIMXRM', 'FSL_SDK_ENABLE_DRIVER_CACHE_CONTROL=1', 'FSL_SDK_DRIVER_QUICK_ACCESS_ENABLE=1','DATA_SECTION_IS_CACHEABLE=0', 'XIP_EXTERNAL_FLASH=1', 'XIP_BOOT_HEADER_ENABLE=1'] if rtconfig.PLATFORM in ['armcc', 'armclang']: diff --git a/bsp/lpc55sxx/lpc55s69_nxp_evk/board/Kconfig b/bsp/lpc55sxx/lpc55s69_nxp_evk/board/Kconfig index aff50947c0..ea54edc664 100644 --- a/bsp/lpc55sxx/lpc55s69_nxp_evk/board/Kconfig +++ b/bsp/lpc55sxx/lpc55s69_nxp_evk/board/Kconfig @@ -152,7 +152,7 @@ menu "On-chip Peripheral Drivers" bool "Enable ADC0 Channel8" default n - + config BSP_USING_ADC0_CH13 bool "Enable ADC0 Channel13" default n diff --git a/bsp/nuvoton/libraries/ma35/libcpu/arm/cortex-m4/SConscript b/bsp/nuvoton/libraries/ma35/libcpu/arm/cortex-m4/SConscript index 7a64613acb..d2804d9826 100644 --- a/bsp/nuvoton/libraries/ma35/libcpu/arm/cortex-m4/SConscript +++ b/bsp/nuvoton/libraries/ma35/libcpu/arm/cortex-m4/SConscript @@ -11,4 +11,4 @@ group = [] # USB driver constrain group = DefineGroup('CPU', src, depend = [''], CPPPATH = CPPPATH) -Return('group') \ No newline at end of file +Return('group') diff --git a/bsp/nuvoton/numaker-hmi-ma35d1/preload/SConscript b/bsp/nuvoton/numaker-hmi-ma35d1/preload/SConscript index 8ac4232770..045da83d70 100644 --- a/bsp/nuvoton/numaker-hmi-ma35d1/preload/SConscript +++ b/bsp/nuvoton/numaker-hmi-ma35d1/preload/SConscript @@ -10,4 +10,4 @@ src = Glob('*.c') + Glob('*.cpp') + Glob('*.S') CPPPATH = [ cwd ] group = DefineGroup('board', src, depend = [''], CPPPATH = CPPPATH) -Return('group') \ No newline at end of file +Return('group') diff --git a/bsp/nuvoton/numaker-iot-m467/board/SConscript b/bsp/nuvoton/numaker-iot-m467/board/SConscript index 4d4f82f0a5..cfcb68114a 100644 --- a/bsp/nuvoton/numaker-iot-m467/board/SConscript +++ b/bsp/nuvoton/numaker-iot-m467/board/SConscript @@ -16,4 +16,4 @@ CPPPATH = [cwd, cwd + '/NuPinConfig'] group = DefineGroup('Drivers', src, depend = [''], CPPPATH = CPPPATH) -Return('group') \ No newline at end of file +Return('group') diff --git a/bsp/nuvoton/numaker-iot-ma35d1/preload/SConscript b/bsp/nuvoton/numaker-iot-ma35d1/preload/SConscript index 8ac4232770..045da83d70 100644 --- a/bsp/nuvoton/numaker-iot-ma35d1/preload/SConscript +++ b/bsp/nuvoton/numaker-iot-ma35d1/preload/SConscript @@ -10,4 +10,4 @@ src = Glob('*.c') + Glob('*.cpp') + Glob('*.S') CPPPATH = [ cwd ] group = DefineGroup('board', src, depend = [''], CPPPATH = CPPPATH) -Return('group') \ No newline at end of file +Return('group') diff --git a/bsp/renesas/ra6m3-ek/board/Kconfig b/bsp/renesas/ra6m3-ek/board/Kconfig index 5bb91bc7f3..2f4d29bb9d 100644 --- a/bsp/renesas/ra6m3-ek/board/Kconfig +++ b/bsp/renesas/ra6m3-ek/board/Kconfig @@ -54,11 +54,11 @@ menu "Hardware Drivers Config" bool "Enable SPI BUS" default n select RT_USING_SPI - if BSP_USING_SPI + if BSP_USING_SPI config BSP_USING_SPI0 bool "Enable SPI0 BUS" default n - + config BSP_USING_SPI1 bool "Enable SPI1 BUS" default n @@ -68,7 +68,7 @@ menu "Hardware Drivers Config" bool "Enable File System" select RT_USING_DFS default n - + if BSP_USING_FS config BSP_USING_SDCARD_FATFS bool "Enable SDCARD (FATFS)" @@ -105,7 +105,7 @@ menu "Hardware Drivers Config" bool "Enable LVGL for LCD" select PKG_USING_LVGL default n - if BSP_USING_LVGL + if BSP_USING_LVGL config BSP_USING_LCD_ILI9431 bool "Enable LVGL for LCD_ILI9431" select BSP_USING_SPI_LCD diff --git a/bsp/renesas/ra6m4-cpk/board/Kconfig b/bsp/renesas/ra6m4-cpk/board/Kconfig index 32ef3cdb9d..50359fa430 100644 --- a/bsp/renesas/ra6m4-cpk/board/Kconfig +++ b/bsp/renesas/ra6m4-cpk/board/Kconfig @@ -459,7 +459,7 @@ menu "Hardware Drivers Config" bool "Enable LVGL for LCD" select PKG_USING_LVGL default n - if BSP_USING_LVGL + if BSP_USING_LVGL config BSP_USING_LCD_ILI9431 bool "Enable LVGL for LCD_ILI9431" select BSP_USING_SPI_LCD diff --git a/bsp/stm32/stm32f401-weact-blackpill/Kconfig b/bsp/stm32/stm32f401-weact-blackpill/Kconfig index 8cbc7b71a8..79b160b856 100644 --- a/bsp/stm32/stm32f401-weact-blackpill/Kconfig +++ b/bsp/stm32/stm32f401-weact-blackpill/Kconfig @@ -14,7 +14,7 @@ config PKGS_DIR string option env="PKGS_ROOT" default "packages" - + source "$RTT_DIR/Kconfig" source "$PKGS_DIR/Kconfig" source "../libraries/Kconfig" diff --git a/bsp/stm32/stm32f401-weact-blackpill/board/Kconfig b/bsp/stm32/stm32f401-weact-blackpill/board/Kconfig index 7e68493d4c..22aca5d84d 100644 --- a/bsp/stm32/stm32f401-weact-blackpill/board/Kconfig +++ b/bsp/stm32/stm32f401-weact-blackpill/board/Kconfig @@ -32,13 +32,13 @@ menu "On-chip Peripheral Drivers" depends on BSP_USING_UART1 && RT_SERIAL_USING_DMA default n endif - - source "../libraries/HAL_Drivers/Kconfig" - + + source "../libraries/HAL_Drivers/Kconfig" + endmenu menu "Board extended module Drivers" endmenu - + endmenu diff --git a/bsp/wch/risc-v/ch32v208w-r0/SConstruct b/bsp/wch/risc-v/ch32v208w-r0/SConstruct index cc619ab0c2..487eb28892 100644 --- a/bsp/wch/risc-v/ch32v208w-r0/SConstruct +++ b/bsp/wch/risc-v/ch32v208w-r0/SConstruct @@ -24,7 +24,7 @@ env = Environment(tools = ['mingw'], AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS, CC = rtconfig.CC, CFLAGS = rtconfig.CFLAGS, AR = rtconfig.AR, ARFLAGS = '-rc', - CXX = rtconfig.CXX, + CXX = rtconfig.CXX, LINK = rtconfig.LINK, LINKFLAGS = rtconfig.LFLAGS) env.PrependENVPath('PATH', rtconfig.EXEC_PATH)