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

@ -10,7 +10,7 @@ src = Split("""
CME_M7/system_cmem7.c
""")
# add for startup script
# add for startup script
if rtconfig.PLATFORM in ['gcc']:
src += ['CME_M7/startup/gcc/startup_CME_M7.c']
elif rtconfig.PLATFORM in ['armcc', 'armclang']:

View File

@ -22,7 +22,7 @@ source "$RTT_DIR/Kconfig"
source "$PKGS_DIR/Kconfig"
config SOC_CME_M7
bool
bool
select ARCH_ARM_CORTEX_M3
select RT_USING_COMPONENTS_INIT
default y

View File

@ -10,16 +10,16 @@ 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']:
env.Replace(CCCOM = ['$CC $CFLAGS $CPPFLAGS $_CPPDEFFLAGS $_CPPINCFLAGS -o $TARGET $SOURCES'])
env.Replace(ARFLAGS = [''])
env.Replace(LINKCOM = ['$LINK $SOURCES $LINKFLAGS -o $TARGET --map project.map'])
env.Replace(CCCOM = ['$CC $CFLAGS $CPPFLAGS $_CPPDEFFLAGS $_CPPINCFLAGS -o $TARGET $SOURCES'])
env.Replace(ARFLAGS = [''])
env.Replace(LINKCOM = ['$LINK $SOURCES $LINKFLAGS -o $TARGET --map project.map'])
Export('RTT_ROOT')
Export('rtconfig')

View File

@ -4,10 +4,10 @@ from building import *
cwd = os.path.join(str(Dir('#')), 'drivers')
src = ['board.c']
src = ['board.c']
# add uart driver.
src += ['uart.c']
src += ['uart.c']
# add EMAC driver for Lwip.
if GetDepend('RT_USING_LWIP') == True:

View File

@ -1,6 +1,6 @@
config SOC_ESPRESSIF
bool
bool
config SOC_ESP32_C3
bool
@ -24,7 +24,7 @@ choice
bool "LUATOS ESP32C3 board"
config BSP_BOARD_HX_EXP32C3
bool "HONGXU ESP32C3 board"
bool "HONGXU ESP32C3 board"
endchoice
menu "Onboard Peripheral Drivers"
@ -57,9 +57,9 @@ menu "On-chip Peripheral Drivers"
bool "Enable GPIO"
select RT_USING_PIN
default y
config BSP_USING_UART
bool "Enable UART"
bool "Enable UART"
select RT_USING_SERIAL
select RT_USING_SERIAL_V1
default y

View File

@ -2,7 +2,7 @@ import os
from building import *
cwd = GetCurrentDir()
src = Glob('*.c')
src = Glob('*.c')
CPPPATH = [cwd]

View File

@ -2,7 +2,7 @@ import os
from building import *
cwd = GetCurrentDir()
src = Glob('*.c')
src = Glob('*.c')
CPPPATH = []

View File

@ -49,12 +49,12 @@ if GetDepend('BSP_USING_ON_CHIP_FLASH'):
if GetDepend(['RT_USING_WDT']):
src += ['drv_wdt.c']
if GetDepend(['RT_USING_DAC']):
src += ['drv_dac.c']
src += ['drv_dac.c']
if GetDepend(['BSP_USING_TIM']):
src += ['drv_hwtimer.c']
src += ['drv_hwtimer.c']
path = [cwd]
path += [cwd + '/config']

View File

@ -19,7 +19,7 @@ src = Split('''
mtb-hal-cat1/source/cyhal_utils_psoc.c
mtb-hal-cat1/source/cyhal_utils.c
mtb-hal-cat1/source/cyhal_lptimer.c
mtb-hal-cat1/source/cyhal_irq_psoc.c
mtb-hal-cat1/source/cyhal_irq_psoc.c
mtb-hal-cat1/COMPONENT_CAT1A/source/triggers/cyhal_triggers_psoc6_02.c
mtb-hal-cat1/COMPONENT_CAT1A/source/pin_packages/cyhal_psoc6_02_124_bga.c
mtb-pdl-cat1/devices/COMPONENT_CAT1A/source/cy_device.c
@ -36,7 +36,7 @@ src = Split('''
mtb-pdl-cat1/drivers/source/cy_ipc_sema.c
mtb-pdl-cat1/drivers/source/cy_ipc_drv.c
mtb-pdl-cat1/drivers/source/cy_trigmux.c
mtb-pdl-cat1/drivers/source/cy_prot.c
mtb-pdl-cat1/drivers/source/cy_prot.c
TARGET_CY8CKIT-062S2-43012/cybsp.c
TARGET_CY8CKIT-062S2-43012/COMPONENT_CM4/system_psoc6_cm4.c
TARGET_CY8CKIT-062S2-43012/COMPONENT_BSP_DESIGN_MODUS/GeneratedSource/cycfg.c
@ -44,7 +44,7 @@ src = Split('''
TARGET_CY8CKIT-062S2-43012/COMPONENT_BSP_DESIGN_MODUS/GeneratedSource/cycfg_system.c
TARGET_CY8CKIT-062S2-43012/COMPONENT_BSP_DESIGN_MODUS/GeneratedSource/cycfg_clocks.c
TARGET_CY8CKIT-062S2-43012/COMPONENT_BSP_DESIGN_MODUS/GeneratedSource/cycfg_routing.c
TARGET_CY8CKIT-062S2-43012/COMPONENT_BSP_DESIGN_MODUS/GeneratedSource/cycfg_peripherals.c
TARGET_CY8CKIT-062S2-43012/COMPONENT_BSP_DESIGN_MODUS/GeneratedSource/cycfg_peripherals.c
lib/cy_capsense.lib
''')
@ -130,10 +130,10 @@ if GetDepend(['RT_USING_WDT']):
src += ['mtb-hal-cat1/source/cyhal_wdt.c']
if GetDepend(['RT_USING_DAC']):
src += ['mtb_shared/csdidac/cy_csdidac.c']
src += ['mtb_shared/csdidac/cy_csdidac.c']
if GetDepend(['RT_USING_HWTIMER']):
src += ['mtb-hal-cat1/source/cyhal_timer.c']
src += ['mtb-hal-cat1/source/cyhal_timer.c']
path = [cwd + '/capsense',
cwd + '/psoc6cm0p',

View File

@ -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"

View File

@ -13,4 +13,4 @@ for item in list:
if os.path.isfile(os.path.join(cwd, item, 'SConscript')):
group = group + SConscript(os.path.join(item, 'SConscript'))
Return('group')
Return('group')

View File

@ -45,7 +45,7 @@ menu "On-chip Peripheral Drivers"
default n
config BSP_USING_UART5
bool "Enable UART5"
default y
default y
endif
menuconfig BSP_USING_PWM
@ -112,7 +112,7 @@ menu "On-chip Peripheral Drivers"
if BSP_USING_SPI3
config BSP_USING_SPI3_SAMPLE
bool "Enable SPI3 BUS Sample"
default n
default n
endif
endif
@ -178,7 +178,7 @@ menu "On-chip Peripheral Drivers"
int "i2c6 SDA pin number"
range 1 113
default 105
endif
endif
endif
menuconfig BSP_USING_I2C
@ -234,7 +234,7 @@ menu "On-chip Peripheral Drivers"
bool "Enable Watchdog Timer"
select RT_USING_WDT
default n
menuconfig BSP_USING_DAC
bool "Enable DAC"
default n
@ -278,7 +278,7 @@ menu "Board extended module Drivers"
select PKG_USING_RW007
select BSP_USING_SPI
select RW007_NOT_USE_EXAMPLE_DRIVERS
if BSP_USING_RW007
comment "Notice: P5_7 --> 47; P6_2 -->50; P6_5 --> 53; P12_0 --> 96"
config IFX_RW007_SPI_BUS_NAME

View File

@ -41,4 +41,4 @@ elif rtconfig.PLATFORM in ['armcc', 'armclang']:
CPPDEFINES = ['CY8C624ABZI_S2D44', 'IFX_PSOC6_43012', 'CY_USING_HAL', 'COMPONENT_CAT1A', 'COMPONENT_CAT1', 'COMPONENT_BSP_DESIGN_MODUS']
group = DefineGroup('Drivers', src, depend=[''], CPPPATH=path, CPPDEFINES=CPPDEFINES)
Return('group')
Return('group')

View File

@ -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"

View File

@ -13,4 +13,4 @@ for item in list:
if os.path.isfile(os.path.join(cwd, item, 'SConscript')):
group = group + SConscript(os.path.join(item, 'SConscript'))
Return('group')
Return('group')

View File

@ -45,7 +45,7 @@ menu "On-chip Peripheral Drivers"
default n
config BSP_USING_UART5
bool "Enable UART5"
default y
default y
endif
menuconfig BSP_USING_PWM
@ -112,7 +112,7 @@ menu "On-chip Peripheral Drivers"
if BSP_USING_SPI3
config BSP_USING_SPI3_SAMPLE
bool "Enable SPI3 BUS Sample"
default n
default n
endif
endif
@ -178,7 +178,7 @@ menu "On-chip Peripheral Drivers"
int "i2c6 SDA pin number"
range 1 113
default 105
endif
endif
endif
menuconfig BSP_USING_I2C
@ -234,7 +234,7 @@ menu "On-chip Peripheral Drivers"
bool "Enable Watchdog Timer"
select RT_USING_WDT
default n
menuconfig BSP_USING_DAC
bool "Enable DAC"
default n
@ -278,7 +278,7 @@ menu "Board extended module Drivers"
select PKG_USING_RW007
select BSP_USING_SPI
select RW007_NOT_USE_EXAMPLE_DRIVERS
if BSP_USING_RW007
comment "Notice: P5_7 --> 47; P6_2 -->50; P6_5 --> 53; P12_0 --> 96"
config IFX_RW007_SPI_BUS_NAME

View File

@ -41,4 +41,4 @@ elif rtconfig.PLATFORM in ['armcc', 'armclang']:
CPPDEFINES = ['CY8C624ABZI_S2D44', 'IFX_PSOC6_43012', 'CY_USING_HAL', 'COMPONENT_CAT1A', 'COMPONENT_CAT1', 'COMPONENT_BSP_DESIGN_MODUS']
group = DefineGroup('Drivers', src, depend=[''], CPPPATH=path, CPPDEFINES=CPPDEFINES)
Return('group')
Return('group')

View File

@ -9,7 +9,7 @@ config RTT_DIR
string
option env="RTT_ROOT"
default "../../.."
# you can change the RTT_ROOT default: "rt-thread"
# example : default "F:/git_repositories/rt-thread"

View File

@ -9,7 +9,7 @@ config RTT_DIR
string
option env="RTT_ROOT"
default "../../.."
# you can change the RTT_ROOT default: "rt-thread"
# example : default "F:/git_repositories/rt-thread"

View File

@ -13,16 +13,16 @@ from building import *
TARGET = 'rtthread_acm32f4xx.' + rtconfig.TARGET_EXT
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']:
env.Replace(CCCOM = ['$CC $CFLAGS $CPPFLAGS $_CPPDEFFLAGS $_CPPINCFLAGS -o $TARGET $SOURCES'])
env.Replace(ARFLAGS = [''])
env.Replace(LINKCOM = ['$LINK $SOURCES $LINKFLAGS -o $TARGET --map project.map'])
env.Replace(CCCOM = ['$CC $CFLAGS $CPPFLAGS $_CPPDEFFLAGS $_CPPINCFLAGS -o $TARGET $SOURCES'])
env.Replace(ARFLAGS = [''])
env.Replace(LINKCOM = ['$LINK $SOURCES $LINKFLAGS -o $TARGET --map project.map'])
Export('RTT_ROOT')
Export('rtconfig')

View File

@ -14,7 +14,7 @@ config PKGS_DIR
string
option env="PKGS_ROOT"
default "packages"
source "$RTT_DIR/Kconfig"
source "$PKGS_DIR/Kconfig"
source "board/Kconfig"

View File

@ -35,9 +35,9 @@ menu "Onboard Peripheral Drivers"
config WIZ_SPI_BUS
string "WIZ SPI bus name"
default "spi2"
config WIZ_SPI_CS
config WIZ_SPI_CS
int "WIZ SPI bus cs pin"
default 19
default 19
endif
endmenu
@ -129,7 +129,7 @@ menu "On-chip Peripheral Drivers"
if BSP_USING_I2C
config I2C_BUS_NAME
string "HW I2C bus name"
default "i2c"
default "i2c"
endif
menuconfig BSP_USING_SPI
@ -151,8 +151,8 @@ menu "On-chip Peripheral Drivers"
config BSP_USING_SPI2
bool "Enable SPI2 BUS"
default n
default n
config BSP_USING_SPI0S
bool "Enable SPI0S BUS"
default n
@ -162,7 +162,7 @@ menu "On-chip Peripheral Drivers"
bool "Enable HW onchip rtc"
select RT_USING_ONCHIP_RTC
default n
config BSP_USING_WDT
bool "Enable Watchdog Timer"
select RT_USING_WDT

View File

@ -14,7 +14,7 @@ config PKGS_DIR
string
option env="PKGS_ROOT"
default "packages"
source "$RTT_DIR/Kconfig"
source "$PKGS_DIR/Kconfig"
source "board/Kconfig"

View File

@ -82,8 +82,8 @@ menu "On-chip Peripheral Drivers"
config BSP_USING_SPI2
bool "Enable SPI2 BUS"
default n
default n
config BSP_USING_SPI3
bool "Enable SPI3 BUS"
default n
@ -122,7 +122,7 @@ menu "On-chip Peripheral Drivers"
config BSP_USING_ON_CHIP_FLASH
bool "Enable on-chip FLASH"
default n
default n
config BSP_USING_WDT
bool "Enable Watchdog Timer"

View File

@ -1,7 +1,7 @@
from building import *
cwd = GetCurrentDir()
src = Glob('*.c') + Glob('*.cpp')
src = Glob('*.c') + Glob('*.cpp')
CPPPATH = [cwd]
group = DefineGroup('Applications', src, depend = [''], CPPPATH = CPPPATH)

View File

@ -1,7 +1,7 @@
from building import *
cwd = GetCurrentDir()
src = Glob('*.c') + Glob('*.cpp')
src = Glob('*.c') + Glob('*.cpp')
CPPPATH = [cwd]
group = DefineGroup('Applications', src, depend = [''], CPPPATH = CPPPATH)

View File

@ -14,5 +14,5 @@ if RT_USING_SUNXI_HAL
source "$BSP_DIR/../libraries/sunxi-hal/hal/source/g2d_rcq/Kconfig"
source "$BSP_DIR/../libraries/sunxi-hal/hal/source/usb/Kconfig"
source "$BSP_DIR/../libraries/sunxi-hal/hal/source/ce/Kconfig"
source "$BSP_DIR/../libraries/sunxi-hal/hal/source/efuse/Kconfig"
source "$BSP_DIR/../libraries/sunxi-hal/hal/source/efuse/Kconfig"
endif

View File

@ -279,5 +279,5 @@ menu "Board extended module Drivers"
select BSP_USING_SPI
select BSP_USING_SPI0
endmenu
endmenu

View File

@ -6,22 +6,22 @@ config DRIVERS_CCMU
config DRIVERS_SUNXI_CLK
bool "enable sunxi ccmu driver"
depends on DRIVERS_CCMU
depends on DRIVERS_CCMU
default y
config DRIVERS_SUNXI_CCU
bool "enable sunxi-ng ccmu driver"
depends on DRIVERS_CCMU
depends on DRIVERS_CCMU
default n
config HAL_TEST_CLK
bool "enable sunxi ccmu hal APIs test command"
depends on DRIVERS_SUNXI_CLK
depends on DRIVERS_SUNXI_CLK
default n
config HAL_TEST_CCU
bool "enable sunxi-ng ccmu hal APIs test command"
depends on DRIVERS_SUNXI_CCU
depends on DRIVERS_SUNXI_CCU
default n
endmenu

View File

@ -6,7 +6,7 @@ config DRIVERS_CE
config HAL_TEST_CE
bool "enable ce hal APIs test command"
depends on DRIVERS_CE
depends on DRIVERS_CE
default n

View File

@ -1,25 +1,25 @@
menu "CIR Devices"
config DRIVERS_CIR
bool "enable CIR driver"
bool "enable CIR driver"
default y
menu "CIR option features"
config DRIVERS_CIR_DEBUG
bool "support CIR debug"
select DRIVERS_CIR
default n
bool "support CIR debug"
select DRIVERS_CIR
default n
config DRIVERS_CIR_TEST
bool "CIR test case"
select DRIVERS_CIR
default n
bool "CIR test case"
select DRIVERS_CIR
default n
config HAL_TEST_CIR
bool "CIR TEST CASE"
depends on DRIVERS_CIR
default n
bool "CIR TEST CASE"
depends on DRIVERS_CIR
default n
endmenu

View File

@ -2,6 +2,6 @@ menu "Common Option"
config DRVIER_SYSCONFIG
bool "enable sysconfig"
default y
default y
endmenu

View File

@ -5,61 +5,61 @@
menu "Video support for sunxi"
config DISP2_SUNXI
tristate "DISP Driver Support(sunxi-disp2)"
default n
---help---
Display driver for sunxi based boards.
tristate "DISP Driver Support(sunxi-disp2)"
default n
---help---
Display driver for sunxi based boards.
choice
prompt "DISP2 Framebuffer rotation support"
default SUNXI_DISP2_FB_DISABLE_ROTATE
default SUNXI_DISP2_FB_DISABLE_ROTATE
config SUNXI_DISP2_FB_DISABLE_ROTATE
bool "Disable rotation"
depends on (DISP2_SUNXI)
---help---
Do not use framebuffer rotation
bool "Disable rotation"
depends on (DISP2_SUNXI)
---help---
Do not use framebuffer rotation
config SUNXI_DISP2_FB_ROTATION_SUPPORT
bool "Software rotation support"
depends on (DISP2_SUNXI)
---help---
Framebuffer software rotation on the top of disp2.
bool "Software rotation support"
depends on (DISP2_SUNXI)
---help---
Framebuffer software rotation on the top of disp2.
config SUNXI_DISP2_FB_HW_ROTATION_SUPPORT
bool "Hardware(G2D) rotation support"
depends on (DISP2_SUNXI && SUNXI_G2D)
---help---
Framebuffer hardware(G2D) rotation on the top of disp2.
bool "Hardware(G2D) rotation support"
depends on (DISP2_SUNXI && SUNXI_G2D)
---help---
Framebuffer hardware(G2D) rotation on the top of disp2.
endchoice
config HAL_TEST_DISP
bool "DISP2 hal APIs test"
depends on (DISP2_SUNXI)
default n
---help---
Enable disp2 hal test command.
bool "DISP2 hal APIs test"
depends on (DISP2_SUNXI)
default n
---help---
Enable disp2 hal test command.
config FPGA_V7_PLATFORM
bool "FPGA"
depends on (DISP2_SUNXI)
default n
---help---
Enable fpga
bool "FPGA"
depends on (DISP2_SUNXI)
default n
---help---
Enable fpga
config SUNXI_DISP2_FB_DECOMPRESS_LZMA
bool "Framebuffer show bootlogo from lzma file"
depends on (DISP2_SUNXI)
default n
select DECOMPRESS_LZMA
---help---
Show bootlogo from lzma file.
bool "Framebuffer show bootlogo from lzma file"
depends on (DISP2_SUNXI)
default n
select DECOMPRESS_LZMA
---help---
Show bootlogo from lzma file.
config HDMI_DISP2_SUNXI
tristate "HDMI Driver Support(sunxi-disp2)"
depends on (DISP2_SUNXI)
default n
---help---
Hdmi driver for sunxi based boards.
tristate "HDMI Driver Support(sunxi-disp2)"
depends on (DISP2_SUNXI)
default n
---help---
Hdmi driver for sunxi based boards.
menuconfig HDMI2_DISP2_SUNXI
tristate "HDMI2.0 Driver Support(sunxi-disp2)"
@ -72,11 +72,11 @@ menuconfig HDMI2_DISP2_SUNXI
HDR,4k@60Hz. If unsure, say N.
config HDMI_EP952_DISP2_SUNXI
tristate "HDMI EP952 Driver Support(sunxi-disp2)"
depends on (DISP2_SUNXI)
default n
---help---
Hdmi ep952 driver for sunxi based boards.
tristate "HDMI EP952 Driver Support(sunxi-disp2)"
depends on (DISP2_SUNXI)
default n
---help---
Hdmi ep952 driver for sunxi based boards.
menuconfig HDMI2_HDCP_SUNXI
tristate "HDMI2.0 HDCP"
depends on (HDMI2_DISP2_SUNXI)
@ -114,28 +114,28 @@ config HDMI2_CEC_USER
If unsure, say N.
config TV_DISP2_SUNXI
tristate "TV Driver Support(sunxi-disp2)"
depends on (DISP2_SUNXI)
default n
---help---
TV driver for sunxi based boards.
tristate "TV Driver Support(sunxi-disp2)"
depends on (DISP2_SUNXI)
default n
---help---
TV driver for sunxi based boards.
config VDPO_DISP2_SUNXI
tristate "VDPO Driver Support(sunxi-disp2)"
depends on (DISP2_SUNXI)
default n
---help---
VDPO driver for sunxi based boards.
tristate "VDPO Driver Support(sunxi-disp2)"
depends on (DISP2_SUNXI)
default n
---help---
VDPO driver for sunxi based boards.
config DISP2_TV_GM7121
tristate "GM7121 TV module Support(sunxi-disp2)"
depends on (DISP2_SUNXI && TV_DISP2_SUNXI)
default n
---help---
tristate "GM7121 TV module Support(sunxi-disp2)"
depends on (DISP2_SUNXI && TV_DISP2_SUNXI)
default n
---help---
config EDP_DISP2_SUNXI
tristate "EDP Driver Support(sunxi-disp2)"
depends on (DISP2_SUNXI)
default n
---help---
tristate "EDP Driver Support(sunxi-disp2)"
depends on (DISP2_SUNXI)
default n
---help---
EDP 1.2 driver for sunxi. Embedded Display Port is
a high speed display interface for embedded device.
DisplayPort can be used to transmit audio and video
@ -143,46 +143,46 @@ config EDP_DISP2_SUNXI
transmitted without the other.
config DISP2_TV_AC200
tristate "AC200 TV module Support(sunxi-disp2)"
depends on (DISP2_SUNXI && MFD_ACX00)
default n
---help---
tristate "AC200 TV module Support(sunxi-disp2)"
depends on (DISP2_SUNXI && MFD_ACX00)
default n
---help---
config EINK_PANEL_USED
bool "Eink panel used"
depends on (DISP2_SUNXI && (ARCH_SUN8IW10 || ARCH_SUN8IW15))
default n
---help---
bool "Eink panel used"
depends on (DISP2_SUNXI && (ARCH_SUN8IW10 || ARCH_SUN8IW15))
default n
---help---
config EINK200_SUNXI
bool "Eink Driver Version 2.0 Support"
depends on (DISP2_SUNXI && ARCH_SUN50IW10)
default n
---help---
bool "Eink Driver Version 2.0 Support"
depends on (DISP2_SUNXI && ARCH_SUN50IW10)
default n
---help---
config DISP2_SUNXI_BOOT_COLORBAR
bool "boot colorbar Support for disp driver(sunxi-disp2)"
depends on DISP2_SUNXI
default n
---help---
If true, the framebuffer will be filled by specified data
to display vertical colorbar.
bool "boot colorbar Support for disp driver(sunxi-disp2)"
depends on DISP2_SUNXI
default n
---help---
If true, the framebuffer will be filled by specified data
to display vertical colorbar.
menu "LCD panels select"
depends on DISP2_SUNXI
depends on DISP2_SUNXI
source "$BSP_DIR/../libraries/sunxi-hal/hal/source/disp2/disp/lcd/Kconfig"
endmenu
menu "Display engine feature select"
depends on DISP2_SUNXI
depends on DISP2_SUNXI
source "$BSP_DIR/../libraries/sunxi-hal/hal/source/disp2/disp/Kconfig"
endmenu
menu "Soc and board select"
depends on DISP2_SUNXI
depends on DISP2_SUNXI
source "$BSP_DIR/../libraries/sunxi-hal/hal/source/disp2/soc/Kconfig"
endmenu

View File

@ -1,11 +1,11 @@
config DISP2_SUNXI_SUPPORT_SMBL
bool "Support smart backlight"
default n
---help---
If you want to support smart backlight, select it.
bool "Support smart backlight"
default n
---help---
If you want to support smart backlight, select it.
config DISP2_SUNXI_SUPPORT_ENAHNCE
bool "Support Video Enhance Process"
default y
---help---
If you want to support video enhance process, select it.
bool "Support Video Enhance Process"
default y
---help---
If you want to support video enhance process, select it.

View File

@ -1,181 +1,181 @@
config LCD_SUPPORT_GG1P4062UTSW
bool "LCD support cpu_gg1p4062utsw panel"
default n
---help---
If you want to support cpu_gg1p4062utsw panel for display driver, select it.
bool "LCD support cpu_gg1p4062utsw panel"
default n
---help---
If you want to support cpu_gg1p4062utsw panel for display driver, select it.
config LCD_SUPPORT_DX0960BE40A1
bool "LCD support dx0960be40a1 panel"
default n
---help---
If you want to support dx0960be40a1 panel for display driver, select it.
bool "LCD support dx0960be40a1 panel"
default n
---help---
If you want to support dx0960be40a1 panel for display driver, select it.
config LCD_SUPPORT_TFT720X1280
bool "LCD support dx0960be40a1 panel"
default n
---help---
If you want to support dx0960be40a1 panel for display driver, select it.
bool "LCD support dx0960be40a1 panel"
default n
---help---
If you want to support dx0960be40a1 panel for display driver, select it.
config LCD_SUPPORT_FD055HD003S
bool "LCD support fd055hd003s panel"
default n
---help---
If you want to support fd055hd003s panel for display driver, select it.
bool "LCD support fd055hd003s panel"
default n
---help---
If you want to support fd055hd003s panel for display driver, select it.
config LCD_SUPPORT_HE0801A068
bool "LCD support he0801a068 panel"
default y
---help---
If you want to support he0801a068 panel for display driver, select it.
bool "LCD support he0801a068 panel"
default y
---help---
If you want to support he0801a068 panel for display driver, select it.
config LCD_SUPPORT_ILI9341
bool "LCD support ili9341 panel"
default n
---help---
If you want to support ili9341 panel for display driver, select it.
bool "LCD support ili9341 panel"
default n
---help---
If you want to support ili9341 panel for display driver, select it.
config LCD_SUPPORT_LH219WQ1
bool "LCD support LH219WQ1 panel"
default n
---help---
If you want to support LH219WQ1 panel for display driver, select it.
bool "LCD support LH219WQ1 panel"
default n
---help---
If you want to support LH219WQ1 panel for display driver, select it.
config LCD_SUPPORT_LS029B3SX02
bool "LCD support ls029b3sx02 panel"
default n
---help---
If you want to support ls029b3sx02 panel for display driver, select it.
bool "LCD support ls029b3sx02 panel"
default n
---help---
If you want to support ls029b3sx02 panel for display driver, select it.
config LCD_SUPPORT_LT070ME05000
bool "LCD support lt070me05000 panel"
default n
---help---
If you want to support lt070me05000 panel for display driver, select it.
bool "LCD support lt070me05000 panel"
default n
---help---
If you want to support lt070me05000 panel for display driver, select it.
config LCD_SUPPORT_S6D7AA0X01
bool "LCD support S6D7AA0X01 panel"
default n
---help---
If you want to support S6D7AA0X01 panel for display driver, select it.
bool "LCD support S6D7AA0X01 panel"
default n
---help---
If you want to support S6D7AA0X01 panel for display driver, select it.
config LCD_SUPPORT_T27P06
bool "LCD support t27p06 panel"
default n
---help---
If you want to support t27p06 panel for display driver, select it.
bool "LCD support t27p06 panel"
default n
---help---
If you want to support t27p06 panel for display driver, select it.
config LCD_SUPPORT_TFT720_1280
bool "LCD support tft720_1280 panel"
default n
---help---
If you want to support tft720_1280 panel for display driver, select it.
bool "LCD support tft720_1280 panel"
default n
---help---
If you want to support tft720_1280 panel for display driver, select it.
config LCD_SUPPORT_TFT08006
bool "LCD support tft08006 panel"
default n
---help---
If you want to support tft08006 panel for display driver, select it.
bool "LCD support tft08006 panel"
default n
---help---
If you want to support tft08006 panel for display driver, select it.
config LCD_SUPPORT_TFTRGB
bool "LCD support tft-RGB panel"
default n
---help---
If you want to support tft-rgb panel for display driver, select it.
bool "LCD support tft-RGB panel"
default n
---help---
If you want to support tft-rgb panel for display driver, select it.
config LCD_SUPPORT_WTQ05027D01
bool "LCD support wtq05027d01 panel"
default n
---help---
If you want to support wtq05027d01 panel for display driver, select it.
bool "LCD support wtq05027d01 panel"
default n
---help---
If you want to support wtq05027d01 panel for display driver, select it.
config LCD_SUPPORT_H245QBN02
bool "LCD support H245QBN02 panel"
default n
---help---
If you want to support H245QBN02 panel for display driver, select it.
bool "LCD support H245QBN02 panel"
default n
---help---
If you want to support H245QBN02 panel for display driver, select it.
config LCD_SUPPORT_ST7789V
bool "LCD support ST7789V panel"
default n
---help---
If you want to support ST7789V panel for display driver, select it.
bool "LCD support ST7789V panel"
default n
---help---
If you want to support ST7789V panel for display driver, select it.
config LCD_SUPPORT_ST7796S
bool "LCD support ST7796S panel"
default n
---help---
If you want to support ST7796S panel for display driver, select it.
bool "LCD support ST7796S panel"
default n
---help---
If you want to support ST7796S panel for display driver, select it.
config LCD_SUPPORT_ST7701S
bool "LCD support ST7701S panel"
default n
---help---
If you want to support ST7701S panel for display driver, select it.
bool "LCD support ST7701S panel"
default n
---help---
If you want to support ST7701S panel for display driver, select it.
config LCD_SUPPORT_T30P106
bool "LCD support T30P106 panel"
default n
---help---
If you want to support T30P106 panel for display driver, select it.
bool "LCD support T30P106 panel"
default n
---help---
If you want to support T30P106 panel for display driver, select it.
config LCD_SUPPORT_TO20T20000
bool "LCD support TO20T20000 panel"
default n
---help---
If you want to support TO20T20000 panel for display driver, select it.
bool "LCD support TO20T20000 panel"
default n
---help---
If you want to support TO20T20000 panel for display driver, select it.
config LCD_SUPPORT_FRD450H40014
bool "LCD support FRD450H40014 panel"
default n
---help---
If you want to support FRD450H40014 panel for display driver, select it.
bool "LCD support FRD450H40014 panel"
default n
---help---
If you want to support FRD450H40014 panel for display driver, select it.
config LCD_SUPPORT_S2003T46G
bool "LCD support S2003T46G panel"
default n
---help---
If you want to support S2003T46G panel for display driver, select it.
bool "LCD support S2003T46G panel"
default n
---help---
If you want to support S2003T46G panel for display driver, select it.
config LCD_SUPPORT_WILLIAMLCD
bool "LCD support WilliamLcd panel"
default y
---help---
If you want to support WilliamLcd panel for display driver, select it.
bool "LCD support WilliamLcd panel"
default y
---help---
If you want to support WilliamLcd panel for display driver, select it.
config LCD_SUPPORT_LQ101R1SX03
bool "LCD support lq101r1sx03 panel"
default y
---help---
If you want to support lq101r1sx03 panel for display driver, select it.
bool "LCD support lq101r1sx03 panel"
default y
---help---
If you want to support lq101r1sx03 panel for display driver, select it.
config LCD_SUPPORT_INET_DSI_PANEL
bool "LCD support inet_dsi_panel panel"
default y
---help---
If you want to support inet_dsi_panel panel for display driver, select it.
bool "LCD support inet_dsi_panel panel"
default y
---help---
If you want to support inet_dsi_panel panel for display driver, select it.
config LCD_SUPPORT_WTL096601G03
bool "LCD support WTL096601G03 panel"
default n
---help---
If you want to support WTL096601G03 panel for display driver, select it.
bool "LCD support WTL096601G03 panel"
default n
---help---
If you want to support WTL096601G03 panel for display driver, select it.
config LCD_SUPPORT_RT13QV005D
bool "LCD support rt13qv005d panel"
default n
---help---
If you want to support rt13qv005d panel for display driver, select it.
bool "LCD support rt13qv005d panel"
default n
---help---
If you want to support rt13qv005d panel for display driver, select it.
config LCD_SUPPORT_ST7789V_CPU
bool "LCD support st7789v_cpu panel"
default n
---help---
If you want to support st7789v_cpu panel for display driver, select it.
bool "LCD support st7789v_cpu panel"
default n
---help---
If you want to support st7789v_cpu panel for display driver, select it.
config LCD_SUPPORT_VVX07H005A10
bool "LCD support VVX07H005A10 panel"
default n
---help---
If you want to support VVX07H005A10 panel for display driver, select it.
bool "LCD support VVX07H005A10 panel"
default n
---help---
If you want to support VVX07H005A10 panel for display driver, select it.

View File

@ -3,59 +3,59 @@
menu "Board Select"
config V459_PERF1
bool "board v459 perf1"
default n
---help---
board v459 perf1
bool "board v459 perf1"
default n
---help---
board v459 perf1
config F133_FPGA
bool "board fpga f133"
default n
---help---
board f133 fpga
bool "board fpga f133"
default n
---help---
board f133 fpga
config VVX07H005A10_MIPI
bool "board, disp with VVX07H005A10_mipi"
default n
---help---
board, disp with VVX07H005A10_mipi
bool "board, disp with VVX07H005A10_mipi"
default n
---help---
board, disp with VVX07H005A10_mipi
config TFT08006_MIPI
bool "board, disp with TFT08006_mipi"
default n
---help---
board, disp with TFT08006_mipi
bool "board, disp with TFT08006_mipi"
default n
---help---
board, disp with TFT08006_mipi
config TFT_RGB
bool "board, disp with TFT RGB"
default n
---help---
board, disp with TFT RGB
bool "board, disp with TFT RGB"
default n
---help---
board, disp with TFT RGB
config HE0801A068_MIPI
bool "EVB board, disp with HE0801A068_MIPI"
default n
---help---
EVB board, disp with HE0801A068_MIPI
bool "EVB board, disp with HE0801A068_MIPI"
default n
---help---
EVB board, disp with HE0801A068_MIPI
config DEFAULT_LVDS
bool "board, disp with lvds"
default n
---help---
board, disp with lvds
bool "board, disp with lvds"
default n
---help---
board, disp with lvds
endmenu
menu "Soc Select"
config ARCH_SUN8IW19
bool "soc sun8iw19 "
default n
---help---
soc sun8iw19
bool "soc sun8iw19 "
default n
---help---
soc sun8iw19
config ARCH_SUN20IW1
bool "soc sun20iw1 "
default n
---help---
soc sun20iw1
bool "soc sun20iw1 "
default n
---help---
soc sun20iw1
endmenu

View File

@ -6,7 +6,7 @@ config DRIVERS_DMA
config HAL_TEST_DMA
bool "enable dma hal APIs test command"
depends on DRIVERS_DMA
depends on DRIVERS_DMA
default n
endmenu

View File

@ -6,7 +6,7 @@ config DRIVERS_EFUSE
config HAL_TEST_EFUSE
bool "enable efuse hal APIs test command"
depends on DRIVERS_EFUSE
depends on DRIVERS_EFUSE
default n
endmenu

View File

@ -6,7 +6,7 @@ config DRIVERS_G2D
config HAL_TEST_G2D
bool "enable g2d hal APIs test command"
depends on DRIVERS_G2D
depends on DRIVERS_G2D
default n
endmenu

View File

@ -6,7 +6,7 @@ config DRIVERS_GPIO
config HAL_TEST_GPIO
bool "enable gpio hal APIs test command"
depends on DRIVERS_GPIO
depends on DRIVERS_GPIO
default n
endmenu

View File

@ -1,15 +1,15 @@
menu "INTC driver"
config DRIVERS_INTC
bool "enable INTC driver"
default n
bool "enable INTC driver"
default n
menu "INTC option features"
config DRIVERS_INTC_FEATURE_1
bool "INTC feature 1"
select DRIVERS_INTC
default n
bool "INTC feature 1"
select DRIVERS_INTC
default n
endmenu

View File

@ -5,39 +5,39 @@ config DRIVERS_MBUS
default y
if DRIVERS_MBUS
config DRIVERS_MBUS_GPU_BW
bool "mbus gpu bandwidth"
default n
config DRIVERS_MBUS_RV_SYS_BW
bool "mbus riscv sys bandwidth"
default n
config DRIVERS_MBUS_MAHB_BW
bool "mbus mahb bandwidth"
default n
config DRIVERS_MBUS_DMA_BW
bool "mbus dma bandwidth"
default n
config DRIVERS_MBUS_CE_BW
bool "mbus ce bandwidth"
default n
config DRIVERS_MBUS_TVD_BW
bool "mbus tvd bandwidth"
default n
config DRIVERS_MBUS_CSI_BW
bool "mbus csi bandwidth"
default n
config DRIVERS_MBUS_DSP_SYS_BW
bool "mbus dsp sys bandwidth"
default n
config DRIVERS_MBUS_G2D_BW
bool "mbus g2d bandwidth"
default n
config DRIVERS_MBUS_DI_BW
bool "mbus di bandwidth"
default n
config DRIVERS_MBUS_IOMMU_BW
bool "mbus iommu bandwidth"
default n
config DRIVERS_MBUS_GPU_BW
bool "mbus gpu bandwidth"
default n
config DRIVERS_MBUS_RV_SYS_BW
bool "mbus riscv sys bandwidth"
default n
config DRIVERS_MBUS_MAHB_BW
bool "mbus mahb bandwidth"
default n
config DRIVERS_MBUS_DMA_BW
bool "mbus dma bandwidth"
default n
config DRIVERS_MBUS_CE_BW
bool "mbus ce bandwidth"
default n
config DRIVERS_MBUS_TVD_BW
bool "mbus tvd bandwidth"
default n
config DRIVERS_MBUS_CSI_BW
bool "mbus csi bandwidth"
default n
config DRIVERS_MBUS_DSP_SYS_BW
bool "mbus dsp sys bandwidth"
default n
config DRIVERS_MBUS_G2D_BW
bool "mbus g2d bandwidth"
default n
config DRIVERS_MBUS_DI_BW
bool "mbus di bandwidth"
default n
config DRIVERS_MBUS_IOMMU_BW
bool "mbus iommu bandwidth"
default n
endif
config HAL_TEST_MBUS

View File

@ -6,12 +6,12 @@ config DRIVERS_MSGBOX
config DRIVERS_MSGBOX_SX
bool "enable Message Box(SX) driver"
depends on DRIVERS_MSGBOX
depends on DRIVERS_MSGBOX
default n
config DRIVERS_MSGBOX_AMP
bool "enable Message Box(amp) driver"
depends on DRIVERS_MSGBOX
depends on DRIVERS_MSGBOX
default n
endmenu

View File

@ -6,7 +6,7 @@ config DRIVERS_PRCM
config HAL_TEST_PRCM
bool "enable prcm hal APIs test command"
depends on DRIVERS_PRCM
depends on DRIVERS_PRCM
default n
endmenu

View File

@ -7,42 +7,42 @@ config DRIVERS_SDMMC
if DRIVERS_SDMMC
config USE_SD
bool "enable SD"
default y
bool "enable SD"
default y
config USE_SDIO
bool "enable SDIO"
default y
bool "enable SDIO"
default y
config USE_MMC
bool "enable mmc"
default n
bool "enable mmc"
default n
config DETECT_CARD
bool "enable detect card"
default y
config SDC_DMA_USED
bool "enable dma transmission"
default y
bool "enable dma transmission"
default y
config SDIO_IRQ_SUPPORT
bool "enable sdio irq"
default y
bool "enable sdio irq"
default y
config SD_TEST
select USE_SD
bool "enable SD Card test case."
default y
select USE_SD
bool "enable SD Card test case."
default y
config SDC_DMA_BUF_SIZE
int "SD Card Align DMA Buffer Size(Kbyte)."
depends on SDC_DMA_USED
default 64
int "SD Card Align DMA Buffer Size(Kbyte)."
depends on SDC_DMA_USED
default 64
config DRIVERS_SDC_CDPIN_PRESENT_VAL
int "sdc card detect pin present value"
default 0
default 0
endif
endmenu

View File

@ -1,6 +1,6 @@
menuconfig DRIVERS_SOUND
bool "Sound card support"
default y
bool "Sound card support"
default y
if DRIVERS_SOUND
source "drivers/hal/source/sound/codecs/Kconfig"

View File

@ -1,42 +1,42 @@
menu "AllWinner CODEC drivers"
config SND_CODEC_SUNXI_RWFUNC
bool
default n
bool
default n
config SND_CODEC_SUN8IW18_AUDIOCODEC
bool "Allwinner AudioCodec support"
default n
select SND_PLATFORM_SUNXI_CPUDAI
select SND_PLATFORM_SUNXI_PCM
select SND_CODEC_SUNXI_RWFUNC
depends on (ARCH_SUN8IW18P1 || ARCH_SUN8IW18)
help
Select Y to add support the Codec embedded in the Allwinner
sun8iw18 and affiliated SoCs.
bool "Allwinner AudioCodec support"
default n
select SND_PLATFORM_SUNXI_CPUDAI
select SND_PLATFORM_SUNXI_PCM
select SND_CODEC_SUNXI_RWFUNC
depends on (ARCH_SUN8IW18P1 || ARCH_SUN8IW18)
help
Select Y to add support the Codec embedded in the Allwinner
sun8iw18 and affiliated SoCs.
config SND_CODEC_SUN8IW19_AUDIOCODEC
bool "Allwinner AudioCodec support"
default n
select SND_PLATFORM_SUNXI_CPUDAI
select SND_PLATFORM_SUNXI_PCM
depends on (ARCH_SUN8IW19P1 || ARCH_SUN8IW19)
help
Select Y to add support the Codec embedded in the Allwinner
sun8iw19 and affiliated SoCs.
bool "Allwinner AudioCodec support"
default n
select SND_PLATFORM_SUNXI_CPUDAI
select SND_PLATFORM_SUNXI_PCM
depends on (ARCH_SUN8IW19P1 || ARCH_SUN8IW19)
help
Select Y to add support the Codec embedded in the Allwinner
sun8iw19 and affiliated SoCs.
config SND_CODEC_SUN8IW20_AUDIOCODEC
bool "Allwinner AudioCodec support"
default n
select SND_PLATFORM_SUNXI_CPUDAI
select SND_PLATFORM_SUNXI_PCM
depends on SOC_SUN20IW1P1
help
Select Y to add support the Codec embedded in the Allwinner
sun8iw20 and affiliated SoCs.
bool "Allwinner AudioCodec support"
default n
select SND_PLATFORM_SUNXI_CPUDAI
select SND_PLATFORM_SUNXI_PCM
depends on SOC_SUN20IW1P1
help
Select Y to add support the Codec embedded in the Allwinner
sun8iw20 and affiliated SoCs.
config SND_CODEC_AC108
bool "Sunxi AC108 codec"
default n
bool "Sunxi AC108 codec"
default n
endmenu

View File

@ -1,24 +1,24 @@
menu "AW Sound Compenents"
config COMPONENTS_AW_ALSA_LIB
bool "Allwinner alsa library"
depends on DRIVERS_SOUND
default n
help
This is library package for aw-alsa, only used for Allwinner FreeRTOS.
bool "Allwinner alsa library"
depends on DRIVERS_SOUND
default n
help
This is library package for aw-alsa, only used for Allwinner FreeRTOS.
config COMPONENTS_AW_ALSA_UTILS
bool "Allwinner alsa utilities"
depends on COMPONENTS_AW_ALSA_LIB
default n
help
This is package for aw-alsa-lib utilities, only used for Allwinner Tina RTOS.
bool "Allwinner alsa utilities"
depends on COMPONENTS_AW_ALSA_LIB
default n
help
This is package for aw-alsa-lib utilities, only used for Allwinner Tina RTOS.
config BUILTIN_WAV_FILE
bool "builtin wav file"
depends on COMPONENTS_AW_ALSA_UTILS
default y
help
Say Y to use builtin wav file.
bool "builtin wav file"
depends on COMPONENTS_AW_ALSA_UTILS
default y
help
Say Y to use builtin wav file.
endmenu

View File

@ -1,82 +1,82 @@
menu "Platform(Audio Interface) drivers"
config SND_PLATFORM_SUNXI_PCM
bool
default n
bool
default n
config SND_PLATFORM_SUNXI_CPUDAI
bool "Allwinner internal cpudai"
select SND_PLATFORM_SUNXI_PCM
default n
help
Only support for the Codec embedded in the Allwinner SoCs.
bool "Allwinner internal cpudai"
select SND_PLATFORM_SUNXI_PCM
default n
help
Only support for the Codec embedded in the Allwinner SoCs.
config SND_PLATFORM_SUNXI_DAUDIO
bool "Allwinner Digital Audio Support"
select SND_PLATFORM_SUNXI_PCM
depends on (!ARCH_SUN8IW19)
default n
help
Select Y to add support for I2S/PCM/TDM module in Allwinner SoCs.
bool "Allwinner Digital Audio Support"
select SND_PLATFORM_SUNXI_PCM
depends on (!ARCH_SUN8IW19)
default n
help
Select Y to add support for I2S/PCM/TDM module in Allwinner SoCs.
config SND_PLATFORM_SUN8IW19_DAUDIO
bool "Allwinner Digital Audio Support"
select SND_PLATFORM_SUNXI_PCM
depends on (ARCH_SUN8IW19P1 || ARCH_SUN8IW19)
default n
help
Select Y to add support for I2S/PCM/TDM module in Allwinner SoCs.
bool "Allwinner Digital Audio Support"
select SND_PLATFORM_SUNXI_PCM
depends on (ARCH_SUN8IW19P1 || ARCH_SUN8IW19)
default n
help
Select Y to add support for I2S/PCM/TDM module in Allwinner SoCs.
if SND_PLATFORM_SUNXI_DAUDIO || SND_PLATFORM_SUN8IW19_DAUDIO
menu "Allwinner Digital Audio Choose"
config SND_PLATFORM_SUNXI_DAUDIO0
bool "Allwinner Daudio0 Support"
default n
help
Select Y to add support for Daudio0.
bool "Allwinner Daudio0 Support"
default n
help
Select Y to add support for Daudio0.
config SND_PLATFORM_SUNXI_DAUDIO1
bool "Allwinner Daudio1 Support"
default n
help
Select Y to add support for Daudio1.
bool "Allwinner Daudio1 Support"
default n
help
Select Y to add support for Daudio1.
config SND_PLATFORM_SUNXI_DAUDIO2
bool "Allwinner Daudio2 Support"
depends on (!SND_PLATFORM_SUN8IW19_DAUDIO)
default n
help
Select Y to add support for Daudio2.
bool "Allwinner Daudio2 Support"
depends on (!SND_PLATFORM_SUN8IW19_DAUDIO)
default n
help
Select Y to add support for Daudio2.
config SND_PLATFORM_SUNXI_DAUDIO3
bool "Allwinner Daudio3 Support"
depends on (!SND_PLATFORM_SUN8IW19_DAUDIO)
default n
help
Select Y to add support for Daudio3.
bool "Allwinner Daudio3 Support"
depends on (!SND_PLATFORM_SUN8IW19_DAUDIO)
default n
help
Select Y to add support for Daudio3.
endmenu
endif
config SND_PLATFORM_SUNXI_DMIC
bool "Allwinner DMIC Support"
select SND_PLATFORM_SUNXI_PCM
select SND_CODEC_DUMMY
default n
help
Select Y to add support for DMIC module in Allwinner SoCs.
bool "Allwinner DMIC Support"
select SND_PLATFORM_SUNXI_PCM
select SND_CODEC_DUMMY
default n
help
Select Y to add support for DMIC module in Allwinner SoCs.
config SND_PLATFORM_SUNXI_SPDIF
bool "Allwinner SPDIF Support"
select SND_PLATFORM_SUNXI_PCM
select SND_CODEC_DUMMY
default n
help
Select Y to add support for SPDIF module in Allwinner SoCs.
bool "Allwinner SPDIF Support"
select SND_PLATFORM_SUNXI_PCM
select SND_CODEC_DUMMY
default n
help
Select Y to add support for SPDIF module in Allwinner SoCs.
config SND_SUNXI_DEBUG
bool "Allwinner Audio Debug Support"
default n
help
Select Y to add support for audio debug in Allwinner SoCs.
bool "Allwinner Audio Debug Support"
default n
help
Select Y to add support for audio debug in Allwinner SoCs.
endmenu

View File

@ -7,7 +7,7 @@ config DRIVERS_THERMAL
config HAL_TEST_THERMAL
bool "enable thermal hal APIs test command"
depends on DRIVERS_THERMAL
depends on DRIVERS_THERMAL
default n

View File

@ -6,32 +6,32 @@ config DRIVERS_UART
config HAL_TEST_UART
bool "enable uart hal APIs test command"
depends on DRIVERS_UART
depends on DRIVERS_UART
default n
config SUNXI_UART_SUPPORT_POLL
bool "support poll APIs"
depends on DRIVERS_UART
depends on DRIVERS_UART
default n
config SUNXI_UART_REGISTER_UART0
bool "support uart0 device"
depends on DRIVERS_UART
depends on DRIVERS_UART
default n
config SUNXI_UART_REGISTER_UART1
bool "support uart1 device"
depends on DRIVERS_UART
depends on DRIVERS_UART
default n
config SUNXI_UART_REGISTER_UART2
bool "support uart2 device"
depends on DRIVERS_UART
depends on DRIVERS_UART
default n
config SUNXI_UART_REGISTER_UART3
bool "support uart3 device"
depends on DRIVERS_UART
depends on DRIVERS_UART
default n
endmenu

View File

@ -1,6 +1,6 @@
menuconfig DRIVERS_USB
bool "USB Drivers"
default y
bool "USB Drivers"
default y
if DRIVERS_USB
menu "USB HOST"
@ -10,24 +10,24 @@ config USB_HOST
default n
config HAL_TEST_HCI
bool "enable HCI hal APIs test command"
depends on USB_HOST
default n
bool "enable HCI hal APIs test command"
depends on USB_HOST
default n
config USB_STORAGE
bool "USB Mass Storage support"
depends on USB_HOST
default n
bool "USB Mass Storage support"
depends on USB_HOST
default n
config USB_CAMERA
bool "UVC support"
depends on USB_HOST
default n
bool "UVC support"
depends on USB_HOST
default n
config USB_HID
bool "USB HID support"
depends on USB_HOST
default n
bool "USB HID support"
depends on USB_HOST
default n
endmenu
menu "USB DEVICE"
@ -37,13 +37,13 @@ config USB_DEVICE
default y
config HAL_TEST_UDC
bool "enable udc hal APIs test command"
depends on USB_DEVICE
default y
bool "enable udc hal APIs test command"
depends on USB_DEVICE
default y
endmenu
config USB_MANAGER
bool "USB Manager support"
default n
bool "USB Manager support"
default n
endif

View File

@ -22,7 +22,7 @@ source "$RTT_DIR/Kconfig"
source "$PKGS_DIR/Kconfig"
config SOC_TINA
bool
bool
select ARCH_ARM_ARM9
select RT_USING_CACHE
select RT_USING_COMPONENTS_INIT

View File

@ -9,7 +9,7 @@ config RTT_DIR
string
option env="RTT_ROOT"
default "../.."
# you can change the RTT_ROOT default "../.." to your rtthread_root,
# example : default "F:/git_repositories/rt-thread"
@ -17,7 +17,7 @@ config PKGS_DIR
string
option env="PKGS_ROOT"
default "packages"
config ENV_DIR
string
option env="ENV_ROOT"

View File

@ -30,7 +30,7 @@ menu "On-chip Peripheral Drivers"
bool "Enable UART2"
default n
endif
menuconfig BSP_USING_ADC
bool "Enable ADC"
default n
@ -40,7 +40,7 @@ menu "On-chip Peripheral Drivers"
bool "Enable ADC1"
default n
endif
menuconfig BSP_USING_DAC
bool "Enable DAC"
default n
@ -50,7 +50,7 @@ menu "On-chip Peripheral Drivers"
bool "Enable DAC1"
default n
endif
menuconfig BSP_USING_ONCHIP_RTC
bool "Enable RTC"
select RT_USING_RTC
@ -67,7 +67,7 @@ menu "On-chip Peripheral Drivers"
bool "RTC USING LSI"
endchoice
endif
menuconfig BSP_USING_I2C
bool "Enable I2C BUS (software simulation)"
default n
@ -115,7 +115,7 @@ menu "On-chip Peripheral Drivers"
default 41
endif
endif
menuconfig BSP_USING_SPI
bool "Enable SPI"
default n
@ -129,7 +129,7 @@ menu "On-chip Peripheral Drivers"
bool "Enable SPI2"
default n
endif
menuconfig BSP_USING_TMR
bool "Enable Timer"
default n
@ -158,20 +158,20 @@ menu "On-chip Peripheral Drivers"
config BSP_USING_TMR14
bool "Enable TMR14"
default n
config BSP_USING_TMR15
bool "Enable TMR15"
default n
config BSP_USING_TMR16
bool "Enable TMR16"
default n
config BSP_USING_TMR17
bool "Enable TMR17"
default n
endif
menuconfig BSP_USING_PWM
bool "Enable PWM"
default n
@ -198,12 +198,12 @@ menu "On-chip Peripheral Drivers"
default n
endif
endif
config BSP_USING_WDT
bool "Enable Watchdog Timer"
select RT_USING_WDT
default n
endmenu
menu "Board extended module Drivers"

View File

@ -31,15 +31,15 @@ if GetDepend(['RT_USING_SPI']):
if GetDepend(['RT_USING_HWTIMER']) or GetDepend(['RT_USING_PWM']):
src += ['APM32F0xx_StdPeriphDriver/src/apm32f0xx_tmr.c']
if GetDepend(['RT_USING_WDT']):
src += ['APM32F0xx_StdPeriphDriver/src/apm32f0xx_wwdt.c']
src += ['APM32F0xx_StdPeriphDriver/src/apm32f0xx_iwdt.c']
if GetDepend(['RT_USING_CAN']):
src += ['APM32F0xx_StdPeriphDriver/src/apm32f0xx_can.c']
path = [cwd + '/Device/Geehy/APM32F0xx/Include',
path = [cwd + '/Device/Geehy/APM32F0xx/Include',
cwd + '/APM32F0xx_StdPeriphDriver/inc',
cwd + '/CMSIS/Include']

View File

@ -30,15 +30,15 @@ if GetDepend(['RT_USING_SPI']):
if GetDepend(['RT_USING_HWTIMER']) or GetDepend(['RT_USING_PWM']):
src += ['APM32F10x_StdPeriphDriver/src/apm32f10x_tmr.c']
if GetDepend(['RT_USING_WDT']):
src += ['APM32F10x_StdPeriphDriver/src/apm32f10x_wwdt.c']
src += ['APM32F10x_StdPeriphDriver/src/apm32f10x_iwdt.c']
if GetDepend(['BSP_USING_ETH']):
src += ['APM32F10x_ETH_Driver/src/apm32f10x_eth.c']
path = [cwd + '/Device/Geehy/APM32F10x/Include',
path = [cwd + '/Device/Geehy/APM32F10x/Include',
cwd + '/APM32F10x_StdPeriphDriver/inc',
cwd + '/CMSIS/Include',
cwd + '/APM32F10x_ETH_Driver/inc']

View File

@ -31,15 +31,15 @@ if GetDepend(['RT_USING_SPI']):
if GetDepend(['RT_USING_HWTIMER']) or GetDepend(['RT_USING_PWM']):
src += ['APM32F4xx_StdPeriphDriver/src/apm32f4xx_tmr.c']
if GetDepend(['RT_USING_WDT']):
src += ['APM32F4xx_StdPeriphDriver/src/apm32f4xx_wwdt.c']
src += ['APM32F4xx_StdPeriphDriver/src/apm32f4xx_iwdt.c']
if GetDepend(['BSP_USING_ETH']):
src += ['APM32F4xx_ETH_Driver/src/apm32f4xx_eth.c']
path = [cwd + '/Device/Geehy/APM32F4xx/Include',
path = [cwd + '/Device/Geehy/APM32F4xx/Include',
cwd + '/APM32F4xx_StdPeriphDriver/inc',
cwd + '/CMSIS/Include',
cwd + '/APM32F4xx_ETH_Driver/inc']

View File

@ -25,7 +25,7 @@ if GetDepend(['RT_USING_DAC']):
if GetDepend('BSP_USING_ONCHIP_RTC'):
src += ['drv_rtc.c']
if GetDepend(['RT_USING_I2C']):
if GetDepend('BSP_USING_I2C1') or GetDepend('BSP_USING_I2C2') or GetDepend('BSP_USING_I2C3') or GetDepend('BSP_USING_I2C4'):
src += ['drv_soft_i2c.c']

View File

@ -14,4 +14,4 @@ config SOC_SERIES_APM32F1
config SOC_SERIES_APM32F4
bool
select ARCH_ARM_CORTEX_M4
select SOC_FAMILY_APM32
select SOC_FAMILY_APM32

View File

@ -9,7 +9,7 @@ config RTT_DIR
string
option env="RTT_ROOT"
default "../.."
# you can change the RTT_ROOT default "../.." to your rtthread_root,
# example : default "F:/git_repositories/rt-thread"
@ -17,7 +17,7 @@ config PKGS_DIR
string
option env="PKGS_ROOT"
default "packages"
config ENV_DIR
string
option env="ENV_ROOT"
@ -27,7 +27,7 @@ source "$RTT_DIR/Kconfig"
source "$PKGS_DIR/Kconfig"
config SOC_APOLLO2
bool
bool
select ARCH_ARM_CORTEX_M4
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN

View File

@ -14,16 +14,16 @@ TARGET = 'rtthread_apollo2.' + 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']:
env.Replace(CCCOM = ['$CC $CFLAGS $CPPFLAGS $_CPPDEFFLAGS $_CPPINCFLAGS -o $TARGET $SOURCES'])
env.Replace(ARFLAGS = [''])
env.Replace(LINKCOM = ['$LINK $SOURCES $LINKFLAGS -o $TARGET --map project.map'])
env.Replace(CCCOM = ['$CC $CFLAGS $CPPFLAGS $_CPPDEFFLAGS $_CPPINCFLAGS -o $TARGET $SOURCES'])
env.Replace(ARFLAGS = [''])
env.Replace(LINKCOM = ['$LINK $SOURCES $LINKFLAGS -o $TARGET --map project.map'])
Export('RTT_ROOT')
Export('rtconfig')

View File

@ -11,4 +11,4 @@ CPPPATH = [cwd]
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = CPPPATH)
Return('group')
Return('group')

View File

@ -9,7 +9,7 @@ src = Split("""
""")
# add for startup script
# add for startup script
if rtconfig.PLATFORM in ['gcc']:
src = src + ['gcc/' + 'startup_gcc.c']
elif rtconfig.PLATFORM in ['armcc', 'armclang']:

View File

@ -27,18 +27,18 @@ config SOC_AT91SAM926
config RT_USING_UART0
bool "Using RT_USING_UART0"
default n
default n
config RT_USING_UART3
bool "Using RT_USING_UART3"
default y
default y
config RT_USING_UART4
bool "Using RT_USING_UART4"
default n
default n
config RT_USING_LED
bool "Using RT_USING_LED"
default y
help
led blink demo
bool "Using RT_USING_LED"
default y
help
led blink demo

View File

@ -14,10 +14,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)
Export('RTT_ROOT')

View File

@ -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_RTC
bool "Enable RTC"

View File

@ -23,7 +23,7 @@ elif rtconfig.PLATFORM in ['armcc', 'armclang']:
src += [startup_path_prefix + '/AT32F403A_407_Firmware_Library/cmsis/cm4/device_support/startup/mdk/startup_at32f403a_407.s']
elif rtconfig.PLATFORM in ['iccarm']:
src += [startup_path_prefix + '/AT32F403A_407_Firmware_Library/cmsis/cm4/device_support/startup/iar/startup_at32f403a_407.s']
CPPDEFINES = ['AT32F403AVGT7']
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path, CPPDEFINES = CPPDEFINES)
Return('group')

View File

@ -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_EMAC
bool "Enable Ethernet"

View File

@ -23,7 +23,7 @@ elif rtconfig.PLATFORM in ['armcc', 'armclang']:
src += [startup_path_prefix + '/AT32F403A_407_Firmware_Library/cmsis/cm4/device_support/startup/mdk/startup_at32f403a_407.s']
elif rtconfig.PLATFORM in ['iccarm']:
src += [startup_path_prefix + '/AT32F403A_407_Firmware_Library/cmsis/cm4/device_support/startup/iar/startup_at32f403a_407.s']
CPPDEFINES = ['AT32F407VGT7']
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path, CPPDEFINES = CPPDEFINES)
Return('group')

View File

@ -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_RTC
bool "Enable RTC"

View File

@ -23,7 +23,7 @@ elif rtconfig.PLATFORM in ['armcc', 'armclang']:
src += [startup_path_prefix + '/AT32F413_Firmware_Library/cmsis/cm4/device_support/startup/mdk/startup_at32f413.s']
elif rtconfig.PLATFORM in ['iccarm']:
src += [startup_path_prefix + '/AT32F413_Firmware_Library/cmsis/cm4/device_support/startup/iar/startup_at32f413.s']
CPPDEFINES = ['AT32F413RCT7']
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path, CPPDEFINES = CPPDEFINES)
Return('group')

View File

@ -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_RTC
bool "Enable RTC"

View File

@ -23,7 +23,7 @@ elif rtconfig.PLATFORM in ['armcc', 'armclang']:
src += [startup_path_prefix + '/AT32F415_Firmware_Library/cmsis/cm4/device_support/startup/mdk/startup_at32f415.s']
elif rtconfig.PLATFORM in ['iccarm']:
src += [startup_path_prefix + '/AT32F415_Firmware_Library/cmsis/cm4/device_support/startup/iar/startup_at32f415.s']
CPPDEFINES = ['AT32F415RCT7']
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path, CPPDEFINES = CPPDEFINES)
Return('group')

View File

@ -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_QSPI
bool "Enable QSPI BUS"

View File

@ -23,7 +23,7 @@ elif rtconfig.PLATFORM in ['armcc', 'armclang']:
src += [startup_path_prefix + '/AT32F435_437_Firmware_Library/cmsis/cm4/device_support/startup/mdk/startup_at32f435_437.s']
elif rtconfig.PLATFORM in ['iccarm']:
src += [startup_path_prefix + '/AT32F435_437_Firmware_Library/cmsis/cm4/device_support/startup/iar/startup_at32f435_437.s']
CPPDEFINES = ['AT32F435ZMT7']
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path, CPPDEFINES = CPPDEFINES)
Return('group')

View File

@ -30,7 +30,7 @@ menu "On-chip Peripheral Drivers"
config BSP_USING_ON_CHIP_FLASH
bool "Enable on-chip FLASH"
default n
default n
config BSP_USING_EMAC
bool "Enable Ethernet"

View File

@ -23,7 +23,7 @@ elif rtconfig.PLATFORM in ['armcc', 'armclang']:
src += [startup_path_prefix + '/AT32F435_437_Firmware_Library/cmsis/cm4/device_support/startup/mdk/startup_at32f435_437.s']
elif rtconfig.PLATFORM in ['iccarm']:
src += [startup_path_prefix + '/AT32F435_437_Firmware_Library/cmsis/cm4/device_support/startup/iar/startup_at32f435_437.s']
CPPDEFINES = ['AT32F437ZMT7']
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path, CPPDEFINES = CPPDEFINES)
Return('group')

View File

@ -19,35 +19,35 @@ source "$RTT_DIR/Kconfig"
source "$PKGS_DIR/Kconfig"
config SOC_AT91SAM926
bool
bool
select RT_USING_CACHE
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
default y
default y
config RT_USING_DBGU
bool "Using RT_USING_DBGU"
default y
default y
config RT_USING_UART0
bool "Using RT_USING_UART0"
default n
default n
config RT_USING_UART1
bool "Using RT_USING_UART1"
default n
default n
config RT_USING_UART2
bool "Using RT_USING_UART2"
default n
default n
config RT_USING_UART3
bool "Using RT_USING_UART3"
default n
default n
config RT_USING_LED
bool "Using RT_USING_LED"
default y
help
led blink demo
bool "Using RT_USING_LED"
default y
help
led blink demo

View File

@ -14,10 +14,10 @@ TARGET = 'rtthread-at91sam9260.' + 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)
Export('RTT_ROOT')

View File

@ -12,20 +12,20 @@ usart.c
# add Ethernet drvers.
if GetDepend('RT_USING_LED'):
src += ['led.c']
src += ['led.c']
if GetDepend('RT_USING_SDIO'):
src += ['at91_mci.c']
src += ['at91_mci.c']
if GetDepend('RT_USING_LWIP'):
src += ['macb.c']
src += ['macb.c']
if GetDepend('RT_USING_I2C') and GetDepend('RT_USING_I2C_BITOPS'):
src += ['at91_i2c_gpio.c']
src += ['at91_i2c_gpio.c']
if GetDepend('RT_USING_MTD_NAND'):
src += ['at91_nand.c']
CPPPATH = [cwd]
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = CPPPATH)

View File

@ -7,16 +7,16 @@ CPPPATH = [cwd]
# The set of source files associated with this SConscript file.
if rtconfig.PLATFORM in ['armcc', 'armclang']:
src = Glob('*.c') + Glob('*_rvds.S')
src = Glob('*.c') + Glob('*_rvds.S')
if rtconfig.PLATFORM in ['gcc']:
src = Glob('*.c') + Glob('*_gcc.S') + Glob('*_init.S')
src = Glob('*.c') + Glob('*_gcc.S') + Glob('*_init.S')
if rtconfig.PLATFORM in ['iccarm']:
src = Glob('*.c') + Glob('*_iar.S')
src = Glob('*.c') + Glob('*_iar.S')
if rtconfig.PLATFORM in ['cl', 'mingw']:
src = Glob('*.c')
src = Glob('*.c')
group = DefineGroup('Platform', src, depend = [''], CPPPATH = CPPPATH)

View File

@ -9,7 +9,7 @@ config RTT_DIR
string
option env="RTT_ROOT"
default "../../.."
# you can change the RTT_ROOT default "../../.." to your rtthread_root,
# example : default "F:/git_repositories/rt-thread"
@ -17,7 +17,7 @@ config PKGS_DIR
string
option env="PKGS_ROOT"
default "packages"
config ENV_DIR
string
option env="ENV_ROOT"
@ -27,7 +27,7 @@ source "$RTT_DIR/Kconfig"
source "$PKGS_DIR/Kconfig"
config SOC_AT91SAM9G45
bool
bool
select ARCH_ARM_ARM9
select RT_USING_CACHE
select RT_USING_COMPONENTS_INIT

View File

@ -14,11 +14,11 @@ TARGET = 'rtthread-at91sam9g45.' + rtconfig.TARGET_EXT
DefaultEnvironment(tools=[])
env = Environment(tools = ['mingw'],
AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS,
CC = rtconfig.CC, CFLAGS = rtconfig.CFLAGS,
CXX = rtconfig.CXX, CXXFLAGS = 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,
CXX = rtconfig.CXX, CXXFLAGS = rtconfig.CFLAGS,
AR = rtconfig.AR, ARFLAGS = '-rc',
LINK = rtconfig.LINK, LINKFLAGS = rtconfig.LFLAGS)
env.PrependENVPath('PATH', rtconfig.EXEC_PATH)
Export('RTT_ROOT')

View File

@ -12,18 +12,18 @@ usart.c
# add Ethernet drvers.
if GetDepend('RT_USING_LED'):
src += ['led.c']
src += ['led.c']
if GetDepend('RT_USING_SDIO'):
src += ['at91_mci.c']
src += ['at91_mci.c']
if GetDepend('RT_USING_LWIP'):
src += ['macb.c']
src += ['macb.c']
if GetDepend('RT_USING_I2C') and GetDepend('RT_USING_I2C_BITOPS'):
src += ['at91_i2c_gpio.c']
src += ['at91_i2c_gpio.c']
CPPPATH = [cwd]
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = CPPPATH)

View File

@ -7,16 +7,16 @@ CPPPATH = [cwd]
# The set of source files associated with this SConscript file.
if rtconfig.PLATFORM in ['armcc', 'armclang']:
src = Glob('*.c') + Glob('*_rvds.S')
src = Glob('*.c') + Glob('*_rvds.S')
if rtconfig.PLATFORM in ['gcc']:
src = Glob('*.c') + Glob('*_gcc.S') + Glob('*_init.S')
src = Glob('*.c') + Glob('*_gcc.S') + Glob('*_init.S')
if rtconfig.PLATFORM in ['iccarm']:
src = Glob('*.c') + Glob('*_iar.S')
src = Glob('*.c') + Glob('*_iar.S')
if rtconfig.PLATFORM in ['cl', 'mingw']:
src = Glob('*.c')
src = Glob('*.c')
group = DefineGroup('Platform', src, depend = [''], CPPPATH = CPPPATH)

View File

@ -9,7 +9,7 @@ config RTT_DIR
string
option env="RTT_ROOT"
default "../.."
# you can change the RTT_ROOT default "../.." to your rtthread_root,
# example : default "F:/git_repositories/rt-thread"
@ -17,7 +17,7 @@ config PKGS_DIR
string
option env="PKGS_ROOT"
default "packages"
config ENV_DIR
string
option env="ENV_ROOT"

View File

@ -4,7 +4,7 @@ from building import *
src_bsp = ['application.c', 'startup.c', 'board.c']
src = File(src_bsp)
src = File(src_bsp)
CPPPATH = [RTT_ROOT + '/bsp/avr32uc3b0']
group = DefineGroup('Startup', src, depend = [''], CPPPATH = CPPPATH)

View File

@ -1,7 +1,7 @@
import os
import sys
import rtconfig
if os.getenv('RTT_ROOT'):
RTT_ROOT = os.getenv('RTT_ROOT')
else:
@ -9,9 +9,9 @@ else:
sys.path = sys.path + [os.path.join(RTT_ROOT, 'tools')]
from building import *
TARGET = 'rtthread-' + rtconfig.ARCH + '.' + rtconfig.TARGET_EXT
DefaultEnvironment(tools=[])
env = Environment(tools = ['mingw'],
AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS,
@ -19,15 +19,15 @@ env = Environment(tools = ['mingw'],
AR = rtconfig.AR, ARFLAGS = '-rc',
LINK = rtconfig.LINK, LINKFLAGS = rtconfig.LFLAGS)
env.PrependENVPath('PATH', rtconfig.EXEC_PATH)
Export('RTT_ROOT')
Export('rtconfig')
# prepare building environment
objs = PrepareBuilding(env, RTT_ROOT)
# AVR32 software framework building script
objs = objs + SConscript(RTT_ROOT + '/bsp/avr32uc3b0/SOFTWARE_FRAMEWORK/SConscript', variant_dir='bsp/SOFTWARE_FRAMEWORK', duplicate=0)
# make a building
DoBuilding(TARGET, objs)

View File

@ -9,7 +9,7 @@ config RTT_DIR
string
option env="RTT_ROOT"
default "../.."
# you can change the RTT_ROOT default "../.." to your rtthread_root,
# example: default "F:/git_repositories/rt-thread"
@ -17,7 +17,7 @@ config PKGS_DIR
string
option env="PKGS_ROOT"
default "packages"
config ENV_DIR
string
option env="ENV_ROOT"
@ -27,7 +27,7 @@ source "$RTT_DIR/Kconfig"
source "$PKGS_DIR/Kconfig"
config SOC_AM335X
bool
bool
select RT_USING_CACHE
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN

View File

@ -14,11 +14,11 @@ TARGET = 'rtthread-beaglebone.' + rtconfig.TARGET_EXT
DefaultEnvironment(tools=[])
env = Environment(tools = ['mingw'],
AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS,
CC = rtconfig.CC, CFLAGS = rtconfig.CFLAGS,
CXX= rtconfig.CXX, CXXFLAGS = 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,
CXX= rtconfig.CXX, CXXFLAGS = rtconfig.CFLAGS,
AR = rtconfig.AR, ARFLAGS = '-rc',
LINK = rtconfig.LINK, LINKFLAGS = rtconfig.LFLAGS)
env.PrependENVPath('PATH', rtconfig.EXEC_PATH)
Export('RTT_ROOT')

View File

@ -4,7 +4,7 @@ Import('rtconfig')
from building import *
cwd = GetCurrentDir()
src = Glob('*.c')
src = Glob('*.c')
# remove no need file.
if GetDepend('RT_USING_LWIP') == False:

View File

@ -1,6 +1,6 @@
menu "BL808_M0 Hardware Drivers Config"
config SOC_BL808
bool
bool
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
select ARCH_RISCV_FPU_S

View File

@ -14,7 +14,7 @@ if GetDepend(['RT_USING_SERIAL']):
src += ['drv_uart_v2.c']
else:
src += ['drv_uart.c']
# if GetDepend('RT_USING_PIN'):
# src += ['drv_gpio.c']

View File

@ -5,89 +5,89 @@ cwd = GetCurrentDir()
# add general drivers
src = Split('''
platform/soc/bl808/startup_bl808/evb/src/startup_interrupt.c
platform/soc/bl808/startup_bl808/evb/src/startup_bl606p.c
platform/soc/bl808/startup_bl808/evb/src/debug.c
platform/soc/bl808/startup_bl808/evb/src/boot/gcc/start_load.c
platform/soc/bl808/startup_bl808/evb/src/boot/gcc/startup.S
platform/soc/bl808/startup_bl808/evb/src/startup_interrupt.c
platform/soc/bl808/startup_bl808/evb/src/startup_bl606p.c
platform/soc/bl808/startup_bl808/evb/src/debug.c
platform/soc/bl808/startup_bl808/evb/src/boot/gcc/start_load.c
platform/soc/bl808/startup_bl808/evb/src/boot/gcc/startup.S
''')
path = [cwd,
cwd + r'/platform/soc/bl808/bl808_e907_std/bl808_bsp_driver/regs',
path = [cwd,
cwd + r'/platform/soc/bl808/bl808_e907_std/bl808_bsp_driver/regs',
cwd + r'/platform/soc/bl808/bl808_e907_std/bl808_bsp_driver/startup/m0/source',
cwd + r'/platform/soc/bl808/bl808_e907_std/bl808_bsp_driver/std_drv/inc',
cwd + r'/platform/soc/bl808/bl808_e907_std/bl808_bsp_driver/risc-v/Core/Include',
cwd + r'/platform/soc/bl808/bl808_e907_std/bl808_bsp_driver/hal_drv/default_config',
cwd + r'/platform/soc/bl808/bl808_e907_std/common/misc',
cwd + r'/platform/soc/bl808/bl808_e907_std/common/soft_crc']
cwd + r'/platform/soc/bl808/bl808_e907_std/bl808_bsp_driver/std_drv/inc',
cwd + r'/platform/soc/bl808/bl808_e907_std/bl808_bsp_driver/risc-v/Core/Include',
cwd + r'/platform/soc/bl808/bl808_e907_std/bl808_bsp_driver/hal_drv/default_config',
cwd + r'/platform/soc/bl808/bl808_e907_std/common/misc',
cwd + r'/platform/soc/bl808/bl808_e907_std/common/soft_crc']
src += Split("""
stage/blog/blog.c
utils/src/utils_log.c
stage/blfdt/src/fdt.c
stage/blfdt/src/fdt_ro.c
stage/blfdt/src/fdt_wip.c
stage/blfdt/src/fdt_sw.c
stage/blfdt/src/fdt_rw.c
stage/blfdt/src/fdt_strerror.c
stage/blfdt/src/fdt_empty_tree.c
stage/blfdt/src/fdt_addresses.c
stage/blfdt/src/fdt_overlay.c
stage/blog/blog.c
utils/src/utils_log.c
stage/blfdt/src/fdt.c
stage/blfdt/src/fdt_ro.c
stage/blfdt/src/fdt_wip.c
stage/blfdt/src/fdt_sw.c
stage/blfdt/src/fdt_rw.c
stage/blfdt/src/fdt_strerror.c
stage/blfdt/src/fdt_empty_tree.c
stage/blfdt/src/fdt_addresses.c
stage/blfdt/src/fdt_overlay.c
""")
path += [cwd + r'/stage/blog',
cwd + r'/stage/blfdt/inc',
cwd + r'/utils/include'
cwd + r'/stage/blfdt/inc',
cwd + r'/utils/include'
]
# platform/hosal/bl808_e907_hal/bl_pm.c
# platform/hosal/bl808_e907_hal/bl_sec.c
# platform/hosal/bl808_e907_hal/bl_timer.c
# platform/hosal/bl808_e907_hal/hal_board.c
# platform/hosal/bl808_e907_hal/hal_sdh.c
# platform/hosal/bl808_e907_hal/hosal_adc.c
# platform/hosal/bl808_e907_hal/hosal_dma.c
# platform/hosal/bl808_e907_hal/hosal_pwm.c
# platform/hosal/bl808_e907_hal/hosal_spi.c
# platform/hosal/bl808_e907_hal/hosal_uart.c
# platform/hosal/bl808_e907_hal/hal_sdh.c
# platform/hosal/bl808_e907_hal/bl_pm.c
# platform/hosal/bl808_e907_hal/bl_sec.c
# platform/hosal/bl808_e907_hal/bl_timer.c
# platform/hosal/bl808_e907_hal/hal_board.c
# platform/hosal/bl808_e907_hal/hal_sdh.c
# platform/hosal/bl808_e907_hal/hosal_adc.c
# platform/hosal/bl808_e907_hal/hosal_dma.c
# platform/hosal/bl808_e907_hal/hosal_pwm.c
# platform/hosal/bl808_e907_hal/hosal_spi.c
# platform/hosal/bl808_e907_hal/hosal_uart.c
# platform/hosal/bl808_e907_hal/hal_sdh.c
src += Split("""
platform/hosal/bl808_e907_hal/bl_uart.c
platform/hosal/bl808_e907_hal/bl_irq.c
platform/hosal/bl808_e907_hal/bl_chip.c
platform/hosal/bl808_e907_hal/bl_flash.c
platform/hosal/bl808_e907_hal/bl_wifi.c
platform/hosal/bl808_e907_hal/bl_efuse.c
platform/hosal/bl808_e907_hal/bl_sys.c
platform/hosal/bl808_e907_hal/bl_boot2.c
platform/hosal/bl808_e907_hal/bl_ipc.c
platform/hosal/bl808_e907_hal/bl_cam.c
platform/hosal/bl808_e907_hal/bl_audio.c
platform/hosal/bl808_e907_hal/bl_sdh.c
platform/hosal/bl808_e907_hal/bl_irq.c
platform/hosal/bl808_e907_hal/bl_chip.c
platform/hosal/bl808_e907_hal/bl_flash.c
platform/hosal/bl808_e907_hal/bl_wifi.c
platform/hosal/bl808_e907_hal/bl_efuse.c
platform/hosal/bl808_e907_hal/bl_sys.c
platform/hosal/bl808_e907_hal/bl_boot2.c
platform/hosal/bl808_e907_hal/bl_ipc.c
platform/hosal/bl808_e907_hal/bl_cam.c
platform/hosal/bl808_e907_hal/bl_audio.c
platform/hosal/bl808_e907_hal/bl_sdh.c
platform/hosal/bl808_e907_hal/hal_boot2.c
platform/hosal/bl808_e907_hal/hal_sys.c
platform/hosal/bl808_e907_hal/bl_psram.c
platform/hosal/bl808_e907_hal/bl_mm_clock.c
platform/hosal/bl808_e907_hal/hal_board.c
platform/soc/bl808/bl808_e907_std/common/misc/misc.c
platform/soc/bl808/bl808_e907_std/common/soft_crc/softcrc.c
platform/hosal/bl808_e907_hal/hal_sys.c
platform/hosal/bl808_e907_hal/bl_psram.c
platform/hosal/bl808_e907_hal/bl_mm_clock.c
platform/hosal/bl808_e907_hal/hal_board.c
platform/soc/bl808/bl808_e907_std/common/misc/misc.c
platform/soc/bl808/bl808_e907_std/common/soft_crc/softcrc.c
""")
src += Split("""
platform/soc/bl808/bl808_e907_std/bl808_bsp_driver/std_drv/src/bl808_common.c
platform/soc/bl808/bl808_e907_std/bl808_bsp_driver/std_drv/src/bl808_clock.c
platform/soc/bl808/bl808_e907_std/bl808_bsp_driver/std_drv/src/bl808_uart.c
platform/soc/bl808/bl808_e907_std/bl808_bsp_driver/std_drv/src/bl808_glb.c
platform/soc/bl808/bl808_e907_std/bl808_bsp_driver/std_drv/src/bl808_glb_gpio.c
platform/soc/bl808/bl808_e907_std/bl808_bsp_driver/std_drv/src/bl808_pds.c
platform/soc/bl808/bl808_e907_std/bl808_bsp_driver/std_drv/src/bl808_hbn.c
platform/soc/bl808/bl808_e907_std/bl808_bsp_driver/std_drv/src/bl808_sflash.c
platform/soc/bl808/bl808_e907_std/bl808_bsp_driver/std_drv/src/bl808_xip_sflash.c
platform/soc/bl808/bl808_e907_std/bl808_bsp_driver/std_drv/src/bl808_sf_cfg.c
platform/soc/bl808/bl808_e907_std/bl808_bsp_driver/std_drv/src/bl808_ef_ctrl.c
platform/soc/bl808/bl808_e907_std/bl808_bsp_driver/std_drv/src/bl808_sf_ctrl.c
platform/soc/bl808/bl808_e907_std/bl808_bsp_driver/std_drv/src/bl808_common.c
platform/soc/bl808/bl808_e907_std/bl808_bsp_driver/std_drv/src/bl808_clock.c
platform/soc/bl808/bl808_e907_std/bl808_bsp_driver/std_drv/src/bl808_uart.c
platform/soc/bl808/bl808_e907_std/bl808_bsp_driver/std_drv/src/bl808_glb.c
platform/soc/bl808/bl808_e907_std/bl808_bsp_driver/std_drv/src/bl808_glb_gpio.c
platform/soc/bl808/bl808_e907_std/bl808_bsp_driver/std_drv/src/bl808_pds.c
platform/soc/bl808/bl808_e907_std/bl808_bsp_driver/std_drv/src/bl808_hbn.c
platform/soc/bl808/bl808_e907_std/bl808_bsp_driver/std_drv/src/bl808_sflash.c
platform/soc/bl808/bl808_e907_std/bl808_bsp_driver/std_drv/src/bl808_xip_sflash.c
platform/soc/bl808/bl808_e907_std/bl808_bsp_driver/std_drv/src/bl808_sf_cfg.c
platform/soc/bl808/bl808_e907_std/bl808_bsp_driver/std_drv/src/bl808_ef_ctrl.c
platform/soc/bl808/bl808_e907_std/bl808_bsp_driver/std_drv/src/bl808_sf_ctrl.c
""")
path += [cwd + r'/platform/hosal/bl808_e907_hal']

View File

@ -195,7 +195,7 @@ menu "On-chip Peripheral Drivers"
config BSP_USING_TIM4
bool "Enable TIM4"
default n
config BSP_USING_TIM5
bool "Enable TIM5"
default n

View File

@ -1,7 +1,7 @@
#-*- encoding: utf-8 -*-
import os
from building import *
from building import *
Import('RTT_ROOT')
Import('rtconfig')
@ -13,24 +13,24 @@ VERSION = "v1.0.0"
DEPENDS = [""]
#---------------------------------------------------------------------------------
# Compile the configuration
# Compile the configuration
#
# SOURCES: Need to compile c and c++ source, auto search when SOURCES is empty
#
#
# LOCAL_CPPPATH: Local file path (.h/.c/.cpp)
# LOCAL_CFLAGS: Local c compilation parameter
# LOCAL_CCFLAGS: Local c/c++ compilation parameter
# LOCAL_CXXFLAGS: Local c++ compilation parameter
# LOCAL_CCFLAGS: Local c/c++ compilation parameter
# LOCAL_CXXFLAGS: Local c++ compilation parameter
# LOCAL_ASFLAGS: Local assembly parameters
#
# CPPPATH: Global file path (.h/.c/.cpp), auto search when LOCAL_CPPPATH/CPPPATH
#
# CPPPATH: Global file path (.h/.c/.cpp), auto search when LOCAL_CPPPATH/CPPPATH
# is empty # no pass!!!
# CFLAGS : Global compilation parameter
# CFLAGS : Global compilation parameter
# ASFLAGS: Global assembly parameters
#
# CPPDEFINES: Global macro definition
# LOCAL_CPPDEFINES: Local macro definition
#
# LOCAL_CPPDEFINES: Local macro definition
#
# LIBS: Specify the static library that need to be linked
# LIBPATH: Specify the search directory for the library file (.lib/.a)
#
@ -45,7 +45,7 @@ LOCAL_CCFLAGS = ""
LOCAL_CXXFLAGS = ""
LOCAL_ASFLAGS = ""
CPPPATH = [GetCurrentDir(), os.path.join(GetCurrentDir(), 'include')]
CPPPATH = [GetCurrentDir(), os.path.join(GetCurrentDir(), 'include')]
CFLAGS = ""
CCFLAGS = ""
CXXFLAGS = ""
@ -54,10 +54,10 @@ ASFLAGS = ""
CPPDEFINES = []
LOCAL_CPPDEFINES = []
LIBS = []
LIBS = []
LIBPATH = []
LINKFLAGS = ""
LINKFLAGS = ""
SOURCES_IGNORE = []
CPPPATH_IGNORE = []
@ -65,24 +65,24 @@ CPPPATH_IGNORE = []
#---------------------------------------------------------------------------------
# Main target
#---------------------------------------------------------------------------------
objs = DefineGroup(name = PKGNAME, src = SOURCES, depend = DEPENDS,
CPPPATH = CPPPATH,
CFLAGS = CFLAGS,
CCFLAGS = CCFLAGS,
CXXFLAGS = CXXFLAGS,
ASFLAGS = ASFLAGS,
LOCAL_CPPPATH = LOCAL_CPPPATH,
LOCAL_CFLAGS = LOCAL_CFLAGS,
LOCAL_CCFLAGS = LOCAL_CCFLAGS,
LOCAL_CXXFLAGS = LOCAL_CXXFLAGS,
LOCAL_ASFLAGS = LOCAL_ASFLAGS,
CPPDEFINES = CPPDEFINES,
LOCAL_CPPDEFINES = LOCAL_CPPDEFINES,
LIBS = LIBS,
objs = DefineGroup(name = PKGNAME, src = SOURCES, depend = DEPENDS,
CPPPATH = CPPPATH,
CFLAGS = CFLAGS,
CCFLAGS = CCFLAGS,
CXXFLAGS = CXXFLAGS,
ASFLAGS = ASFLAGS,
LOCAL_CPPPATH = LOCAL_CPPPATH,
LOCAL_CFLAGS = LOCAL_CFLAGS,
LOCAL_CCFLAGS = LOCAL_CCFLAGS,
LOCAL_CXXFLAGS = LOCAL_CXXFLAGS,
LOCAL_ASFLAGS = LOCAL_ASFLAGS,
CPPDEFINES = CPPDEFINES,
LOCAL_CPPDEFINES = LOCAL_CPPDEFINES,
LIBS = LIBS,
LIBPATH = LIBPATH,
LINKFLAGS = LINKFLAGS)
LINKFLAGS = LINKFLAGS)
Return("objs")
Return("objs")
#---------------------------------------------------------------------------------
# End
#---------------------------------------------------------------------------------

View File

@ -1,7 +1,7 @@
#-*- encoding: utf-8 -*-
import os
from building import *
from building import *
Import('RTT_ROOT')
Import('rtconfig')
@ -14,24 +14,24 @@ DEPENDS = [""]
#DEPENDS = ["PKG_USING_RW007"]
#---------------------------------------------------------------------------------
# Compile the configuration
# Compile the configuration
#
# SOURCES: Need to compile c and c++ source, auto search when SOURCES is empty
#
#
# LOCAL_CPPPATH: Local file path (.h/.c/.cpp)
# LOCAL_CFLAGS: Local c compilation parameter
# LOCAL_CCFLAGS: Local c/c++ compilation parameter
# LOCAL_CXXFLAGS: Local c++ compilation parameter
# LOCAL_CCFLAGS: Local c/c++ compilation parameter
# LOCAL_CXXFLAGS: Local c++ compilation parameter
# LOCAL_ASFLAGS: Local assembly parameters
#
# CPPPATH: Global file path (.h/.c/.cpp), auto search when LOCAL_CPPPATH/CPPPATH
#
# CPPPATH: Global file path (.h/.c/.cpp), auto search when LOCAL_CPPPATH/CPPPATH
# is empty # no pass!!!
# CFLAGS : Global compilation parameter
# CFLAGS : Global compilation parameter
# ASFLAGS: Global assembly parameters
#
# CPPDEFINES: Global macro definition
# LOCAL_CPPDEFINES: Local macro definition
#
# LOCAL_CPPDEFINES: Local macro definition
#
# LIBS: Specify the static library that need to be linked
# LIBPATH: Specify the search directory for the library file (.lib/.a)
#
@ -46,7 +46,7 @@ LOCAL_CCFLAGS = ""
LOCAL_CXXFLAGS = ""
LOCAL_ASFLAGS = ""
CPPPATH = [GetCurrentDir(), os.path.join(GetCurrentDir(), 'include')]
CPPPATH = [GetCurrentDir(), os.path.join(GetCurrentDir(), 'include')]
CFLAGS = ""
CCFLAGS = ""
CXXFLAGS = ""
@ -55,10 +55,10 @@ ASFLAGS = ""
CPPDEFINES = []
LOCAL_CPPDEFINES = []
LIBS = []
LIBS = []
LIBPATH = []
LINKFLAGS = ""
LINKFLAGS = ""
SOURCES_IGNORE = []
CPPPATH_IGNORE = []
@ -66,24 +66,24 @@ CPPPATH_IGNORE = []
#---------------------------------------------------------------------------------
# Main target
#---------------------------------------------------------------------------------
objs = DefineGroup(name = PKGNAME, src = SOURCES, depend = DEPENDS,
CPPPATH = CPPPATH,
CFLAGS = CFLAGS,
CCFLAGS = CCFLAGS,
CXXFLAGS = CXXFLAGS,
ASFLAGS = ASFLAGS,
LOCAL_CPPPATH = LOCAL_CPPPATH,
LOCAL_CFLAGS = LOCAL_CFLAGS,
LOCAL_CCFLAGS = LOCAL_CCFLAGS,
LOCAL_CXXFLAGS = LOCAL_CXXFLAGS,
LOCAL_ASFLAGS = LOCAL_ASFLAGS,
CPPDEFINES = CPPDEFINES,
LOCAL_CPPDEFINES = LOCAL_CPPDEFINES,
LIBS = LIBS,
objs = DefineGroup(name = PKGNAME, src = SOURCES, depend = DEPENDS,
CPPPATH = CPPPATH,
CFLAGS = CFLAGS,
CCFLAGS = CCFLAGS,
CXXFLAGS = CXXFLAGS,
ASFLAGS = ASFLAGS,
LOCAL_CPPPATH = LOCAL_CPPPATH,
LOCAL_CFLAGS = LOCAL_CFLAGS,
LOCAL_CCFLAGS = LOCAL_CCFLAGS,
LOCAL_CXXFLAGS = LOCAL_CXXFLAGS,
LOCAL_ASFLAGS = LOCAL_ASFLAGS,
CPPDEFINES = CPPDEFINES,
LOCAL_CPPDEFINES = LOCAL_CPPDEFINES,
LIBS = LIBS,
LIBPATH = LIBPATH,
LINKFLAGS = LINKFLAGS)
LINKFLAGS = LINKFLAGS)
Return("objs")
Return("objs")
#---------------------------------------------------------------------------------
# End
#---------------------------------------------------------------------------------

View File

@ -9,7 +9,7 @@ config RTT_DIR
string
option env="RTT_ROOT"
default "../.."
# you can change the RTT_ROOT default "../.." to your rtthread_root,
# example: default "F:/git_repositories/rt-thread"
@ -17,7 +17,7 @@ config PKGS_DIR
string
option env="PKGS_ROOT"
default "packages"
config ENV_DIR
string
option env="ENV_ROOT"

View File

@ -14,11 +14,11 @@ TARGET = 'rtthread-bm3803.' + rtconfig.TARGET_EXT
DefaultEnvironment(tools=[])
env = Environment(tools = ['mingw'],
AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS,
CC = rtconfig.CC, CFLAGS = rtconfig.CFLAGS,
CXX= rtconfig.CXX, CXXFLAGS = 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,
CXX= rtconfig.CXX, CXXFLAGS = rtconfig.CFLAGS,
AR = rtconfig.AR, ARFLAGS = '-rc',
LINK = rtconfig.LINK, LINKFLAGS = rtconfig.LFLAGS)
env.PrependENVPath('PATH', rtconfig.EXEC_PATH)
Export('RTT_ROOT')

Some files were not shown because too many files have changed in this diff Show More