format Kconfig and sconscript
This commit is contained in:
parent
f4b285dc9c
commit
9bc68d26a4
|
@ -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')
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -59,7 +59,7 @@ menu "On-chip Peripheral Drivers"
|
|||
default y
|
||||
|
||||
config BSP_USING_UART
|
||||
bool "Enable UART"
|
||||
bool "Enable UART"
|
||||
select RT_USING_SERIAL
|
||||
select RT_USING_SERIAL_V1
|
||||
default y
|
||||
|
|
|
@ -2,7 +2,7 @@ import os
|
|||
from building import *
|
||||
|
||||
cwd = GetCurrentDir()
|
||||
src = Glob('*.c')
|
||||
src = Glob('*.c')
|
||||
|
||||
CPPPATH = [cwd]
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@ import os
|
|||
from building import *
|
||||
|
||||
cwd = GetCurrentDir()
|
||||
src = Glob('*.c')
|
||||
src = Glob('*.c')
|
||||
|
||||
CPPPATH = []
|
||||
|
||||
|
|
|
@ -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')
|
||||
|
|
|
@ -35,7 +35,7 @@ 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
|
||||
endif
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -2,6 +2,6 @@ menu "Common Option"
|
|||
|
||||
config DRVIER_SYSCONFIG
|
||||
bool "enable sysconfig"
|
||||
default y
|
||||
default y
|
||||
|
||||
endmenu
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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')
|
||||
|
|
|
@ -38,7 +38,7 @@ config RT_USING_UART4
|
|||
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
|
||||
|
|
|
@ -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')
|
||||
|
|
|
@ -46,8 +46,8 @@ config RT_USING_UART3
|
|||
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
|
||||
|
||||
|
|
|
@ -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')
|
||||
|
|
|
@ -12,16 +12,16 @@ 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']
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
|
@ -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')
|
||||
|
|
|
@ -12,16 +12,16 @@ 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]
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
|
@ -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')
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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',
|
||||
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']
|
||||
|
|
|
@ -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')
|
||||
|
|
|
@ -4,7 +4,7 @@ Import('rtconfig')
|
|||
from building import *
|
||||
|
||||
cwd = GetCurrentDir()
|
||||
src = Glob('*.c')
|
||||
src = Glob('*.c')
|
||||
CPPPATH = [cwd]
|
||||
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = CPPPATH)
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ if GetDepend('SOC_RISCV_FAMILY_Core_V'):
|
|||
src += ['source/drv_usart.c']
|
||||
|
||||
path = [
|
||||
cwd + '/include']
|
||||
cwd + '/include']
|
||||
|
||||
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path)
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@ core_v_udma_driver/source/udma_sdio_driver.c
|
|||
""")
|
||||
|
||||
path = [
|
||||
cwd + '/bmsis/core-v-mcu/include',
|
||||
cwd + '/bmsis/core-v-mcu/include',
|
||||
cwd + '/core_v_hal/include',
|
||||
cwd + '/core_v_udma_driver/include']
|
||||
|
||||
|
|
|
@ -14,10 +14,10 @@ TARGET = 'rtthread-dm365.' + 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')
|
||||
|
|
|
@ -12,19 +12,19 @@ davinci_serial.c
|
|||
""")
|
||||
|
||||
if GetDepend('RT_USING_GPIO_DEVICE'):
|
||||
src += ['gpio.c']
|
||||
src += ['gpio.c']
|
||||
|
||||
if GetDepend('RT_USING_I2C_CONTROL'):
|
||||
src += ['i2c-davinci.c']
|
||||
src += ['i2c-davinci.c']
|
||||
|
||||
if GetDepend('RT_USING_SDIO_CONTROL'):
|
||||
src += ['mmcsd.c']
|
||||
src += ['mmcsd.c']
|
||||
|
||||
if GetDepend('RT_USING_SPI_CONTROL'):
|
||||
src += ['spi-davinci.c']
|
||||
src += ['spi-davinci.c']
|
||||
|
||||
if GetDepend('RT_USING_EMAC'):
|
||||
src += ['davinci_emac.c']
|
||||
src += ['davinci_emac.c']
|
||||
|
||||
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path)
|
||||
|
||||
|
|
|
@ -14,10 +14,10 @@ TARGET = 'rtthread-efm32.' + 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')
|
||||
|
|
|
@ -14,16 +14,16 @@ TARGET = 'rtthread-k64f.' + 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')
|
||||
|
|
|
@ -14,11 +14,11 @@ TARGET = 'ft2004.' + 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)
|
||||
env['ASCOM'] = env['ASPPCOM']
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@ Import('rtconfig')
|
|||
from building import *
|
||||
|
||||
cwd = GetCurrentDir()
|
||||
src = Glob('*.c')
|
||||
src = Glob('*.c')
|
||||
CPPPATH = [cwd]
|
||||
|
||||
group = DefineGroup('Applications', src, depend = [''], CPPPATH = CPPPATH)
|
||||
|
|
|
@ -3,7 +3,7 @@ from building import *
|
|||
|
||||
cwd = GetCurrentDir()
|
||||
src = Glob('*.S')
|
||||
src += Glob('*.c')
|
||||
src += Glob('*.c')
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
'''
|
||||
: Copyright (c) 2020 Phytium Information Technology, Inc.
|
||||
|
||||
: Copyright (c) 2020 Phytium Information Technology, Inc.
|
||||
|
||||
SPDX-License-Identifier: Apache-2.0.
|
||||
|
||||
Date: 2021-05-24 14:30:13
|
||||
LastEditTime: 2021-05-26 14:58:34
|
||||
Description: This files is for
|
||||
Description: This files is for
|
||||
|
||||
Modify History:
|
||||
Ver Who Date Changes
|
||||
|
|
|
@ -6,7 +6,7 @@ src_bsp = ['application.c', 'startup.c', 'board.c', 'led.c', 'cpuusage.c']
|
|||
src_drv = ['adc.c', 'lcd.c', 'key.c']
|
||||
|
||||
if GetDepend('RT_USING_RTGUI'):
|
||||
src_drv += ['info.c']
|
||||
src_drv += ['info.c']
|
||||
|
||||
src = src_bsp + src_drv
|
||||
CPPPATH = [GetCurrentDir()]
|
||||
|
|
|
@ -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)
|
||||
|
||||
if rtconfig.PLATFORM in ['iccarm']:
|
||||
|
|
|
@ -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)
|
||||
|
||||
if rtconfig.PLATFORM in ['iccarm']:
|
||||
|
|
|
@ -14,17 +14,17 @@ TARGET = 'rtthread-fm4.' + 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.CXXFLAGS,
|
||||
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.CXXFLAGS,
|
||||
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')
|
||||
|
|
|
@ -3,7 +3,7 @@ Import('rtconfig')
|
|||
from building import *
|
||||
|
||||
cwd = os.path.join(str(Dir('#')), 'drivers')
|
||||
src = Glob('*.c')
|
||||
src = Glob('*.c')
|
||||
CPPPATH = [cwd]
|
||||
|
||||
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = CPPPATH)
|
||||
|
|
|
@ -9,11 +9,11 @@ CPPPATH = [cwd + '/Include', cwd + '/DeviceSupport/fujitsu/mb9bf61x/']
|
|||
|
||||
# add for startup script
|
||||
if rtconfig.PLATFORM in ['gcc']:
|
||||
src += ['DeviceSupport/fujitsu/mb9bf61x/startup/gcc/startup_mb9bf61x.c']
|
||||
src += ['DeviceSupport/fujitsu/mb9bf61x/startup/gcc/startup_mb9bf61x.c']
|
||||
elif rtconfig.PLATFORM in ['armcc', 'armclang']:
|
||||
src += ['DeviceSupport/fujitsu/mb9bf61x/startup/arm/startup_mb9bf61x.S']
|
||||
src += ['DeviceSupport/fujitsu/mb9bf61x/startup/arm/startup_mb9bf61x.S']
|
||||
elif rtconfig.PLATFORM in ['iccarm']:
|
||||
src += ['DeviceSupport/fujitsu/mb9bf61x/startup/iar/startup_mb9bf61x.S']
|
||||
src += ['DeviceSupport/fujitsu/mb9bf61x/startup/iar/startup_mb9bf61x.S']
|
||||
|
||||
CPPDEFINES = [rtconfig.FM3_TYPE]
|
||||
group = DefineGroup('CMSIS', src, depend = [''], CPPPATH = CPPPATH, CPPDEFINES = CPPDEFINES)
|
||||
|
|
|
@ -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)
|
||||
|
||||
if rtconfig.PLATFORM in ['iccarm']:
|
||||
|
|
|
@ -3,7 +3,7 @@ Import('rtconfig')
|
|||
from building import *
|
||||
|
||||
cwd = os.path.join(str(Dir('#')), 'drivers')
|
||||
src = Glob('*.c')
|
||||
src = Glob('*.c')
|
||||
CPPPATH = [cwd]
|
||||
|
||||
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = CPPPATH)
|
||||
|
|
|
@ -78,7 +78,7 @@ menu "On-chip Peripheral Drivers"
|
|||
default n
|
||||
endif
|
||||
|
||||
menuconfig BSP_USING_ADC
|
||||
menuconfig BSP_USING_ADC
|
||||
bool "Enable ADC"
|
||||
default n
|
||||
select RT_USING_ADC
|
||||
|
@ -99,10 +99,10 @@ menu "On-chip Peripheral Drivers"
|
|||
config BSP_USING_SPI0
|
||||
bool "Enable SPI0 BUS"
|
||||
default n
|
||||
config BSP_USING_SPI1
|
||||
config BSP_USING_SPI1
|
||||
bool "Enable SPI1 BUS"
|
||||
default n
|
||||
config BSP_USING_SPI2
|
||||
config BSP_USING_SPI2
|
||||
bool "Enable SPI2 BUS"
|
||||
default n
|
||||
endif
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
from building import *
|
||||
|
||||
cwd = GetCurrentDir()
|
||||
src = Glob('*.c')
|
||||
src = Glob('*.c')
|
||||
CPPPATH = [cwd]
|
||||
|
||||
group = DefineGroup('Applications', src, depend = [''], CPPPATH = CPPPATH)
|
||||
|
|
|
@ -22,16 +22,16 @@ TARGET = 'hc32L136.' + 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 = env["LINKCOM"] + ' --map project.map')
|
||||
env.Replace(CCCOM = ['$CC $CFLAGS $CPPFLAGS $_CPPDEFFLAGS $_CPPINCFLAGS -o $TARGET $SOURCES'])
|
||||
env.Replace(ARFLAGS = [''])
|
||||
env.Replace(LINKCOM = env["LINKCOM"] + ' --map project.map')
|
||||
|
||||
Export('RTT_ROOT')
|
||||
Export('rtconfig')
|
||||
|
|
|
@ -21,17 +21,17 @@ TARGET = 'rt-thread.' + 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',
|
||||
CXX = rtconfig.CXX, CXXFLAGS = rtconfig.CXXFLAGS,
|
||||
LINK = rtconfig.LINK, LINKFLAGS = rtconfig.LFLAGS)
|
||||
AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS,
|
||||
CC = rtconfig.CC, CFLAGS = rtconfig.CFLAGS,
|
||||
AR = rtconfig.AR, ARFLAGS = '-rc',
|
||||
CXX = rtconfig.CXX, CXXFLAGS = rtconfig.CXXFLAGS,
|
||||
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 = env["LINKCOM"] + ' --map rt-thread.map')
|
||||
env.Replace(CCCOM = ['$CC $CFLAGS $CPPFLAGS $_CPPDEFFLAGS $_CPPINCFLAGS -o $TARGET $SOURCES'])
|
||||
env.Replace(ARFLAGS = [''])
|
||||
env.Replace(LINKCOM = env["LINKCOM"] + ' --map rt-thread.map')
|
||||
|
||||
Export('RTT_ROOT')
|
||||
Export('rtconfig')
|
||||
|
|
|
@ -22,7 +22,7 @@ menu "On-chip Peripheral Drivers"
|
|||
default y
|
||||
select RT_USING_SERIAL
|
||||
if BSP_USING_UART
|
||||
config BSP_USING_UART0
|
||||
config BSP_USING_UART0
|
||||
bool "Enable UART0"
|
||||
default y
|
||||
|
||||
|
|
|
@ -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)
|
||||
env['ASCOM'] = env['ASPPCOM']
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@ from building import *
|
|||
cwd = GetCurrentDir()
|
||||
src = [ 'bsp/drivers/plic/plic_driver.c',
|
||||
'bsp/env/start.S',
|
||||
'bsp/env/freedom-e300-hifive1/init.c']
|
||||
'bsp/env/freedom-e300-hifive1/init.c']
|
||||
|
||||
CPPPATH = [ cwd + '/bsp/drivers', cwd + '/bsp/drivers/fe300prci', cwd + '/bsp/drivers/plic',
|
||||
cwd + '/bsp/env', cwd + '/bsp/env/freedom-e300-hifive1',
|
||||
|
|
|
@ -201,14 +201,14 @@ menu "On-chip Peripheral Drivers"
|
|||
|
||||
select RT_USING_ETH
|
||||
if BSP_USING_ETH
|
||||
choice
|
||||
prompt "ETH"
|
||||
config BSP_USING_ETH0
|
||||
bool "Enable ETH0"
|
||||
choice
|
||||
prompt "ETH"
|
||||
config BSP_USING_ETH0
|
||||
bool "Enable ETH0"
|
||||
|
||||
config BSP_USING_ETH1
|
||||
bool "Enable ETH1"
|
||||
endchoice
|
||||
config BSP_USING_ETH1
|
||||
bool "Enable ETH1"
|
||||
endchoice
|
||||
endif
|
||||
|
||||
menuconfig BSP_USING_SDXC
|
||||
|
@ -239,8 +239,8 @@ menu "On-chip Peripheral Drivers"
|
|||
endif
|
||||
|
||||
menuconfig BSP_USING_LCD
|
||||
bool "Enable LCD"
|
||||
default n
|
||||
bool "Enable LCD"
|
||||
default n
|
||||
|
||||
menuconfig BSP_USING_LVGL
|
||||
bool "Enable LVGL"
|
||||
|
@ -248,31 +248,31 @@ menu "On-chip Peripheral Drivers"
|
|||
select PKG_USING_LVGL if BSP_USING_LVGL
|
||||
|
||||
menuconfig BSP_USING_GPTMR
|
||||
bool "Enable GPTMR"
|
||||
default n
|
||||
select RT_USING_HWTIMER if BSP_USING_GPTMR
|
||||
if BSP_USING_GPTMR
|
||||
config BSP_USING_GPTMR1
|
||||
bool "Enable GPTMR1"
|
||||
default n
|
||||
config BSP_USING_GPTMR2
|
||||
bool "Enable GPTMR2"
|
||||
default n
|
||||
config BSP_USING_GPTMR3
|
||||
bool "Enable GPTMR3"
|
||||
default n
|
||||
config BSP_USING_GPTMR4
|
||||
bool "Enable GPTMR4"
|
||||
default n
|
||||
config BSP_USING_GPTMR5
|
||||
bool "Enable GPTMR5"
|
||||
default n
|
||||
config BSP_USING_GPTMR6
|
||||
bool "Enable GPTMR6"
|
||||
default n
|
||||
config BSP_USING_GPTMR7
|
||||
bool "Enable GPTMR7"
|
||||
default n
|
||||
bool "Enable GPTMR"
|
||||
default n
|
||||
select RT_USING_HWTIMER if BSP_USING_GPTMR
|
||||
if BSP_USING_GPTMR
|
||||
config BSP_USING_GPTMR1
|
||||
bool "Enable GPTMR1"
|
||||
default n
|
||||
config BSP_USING_GPTMR2
|
||||
bool "Enable GPTMR2"
|
||||
default n
|
||||
config BSP_USING_GPTMR3
|
||||
bool "Enable GPTMR3"
|
||||
default n
|
||||
config BSP_USING_GPTMR4
|
||||
bool "Enable GPTMR4"
|
||||
default n
|
||||
config BSP_USING_GPTMR5
|
||||
bool "Enable GPTMR5"
|
||||
default n
|
||||
config BSP_USING_GPTMR6
|
||||
bool "Enable GPTMR6"
|
||||
default n
|
||||
config BSP_USING_GPTMR7
|
||||
bool "Enable GPTMR7"
|
||||
default n
|
||||
endif
|
||||
|
||||
menuconfig BSP_USING_I2C
|
||||
|
@ -294,13 +294,13 @@ menu "On-chip Peripheral Drivers"
|
|||
|
||||
|
||||
menuconfig BSP_USING_XPI_FLASH
|
||||
bool "Enable XPI FLASH"
|
||||
default n
|
||||
select PKG_USING_FAL if BSP_USING_XPI_FLASH
|
||||
bool "Enable XPI FLASH"
|
||||
default n
|
||||
select PKG_USING_FAL if BSP_USING_XPI_FLASH
|
||||
|
||||
menuconfig BSP_USING_PWM
|
||||
bool "Enable PWM"
|
||||
default n
|
||||
default n
|
||||
|
||||
menuconfig BSP_USING_DAO
|
||||
bool "Enable Audio DAO play"
|
||||
|
@ -326,7 +326,7 @@ menu "On-chip Peripheral Drivers"
|
|||
bool "Enable USB"
|
||||
default n
|
||||
if BSP_USING_USB
|
||||
config BSP_USING_USB_DEVICE
|
||||
config BSP_USING_USB_DEVICE
|
||||
bool "Enable USB Device"
|
||||
default n
|
||||
config BSP_USING_USB_HOST
|
||||
|
@ -336,41 +336,41 @@ menu "On-chip Peripheral Drivers"
|
|||
|
||||
|
||||
menuconfig BSP_USING_WDG
|
||||
bool "Enable Watchdog"
|
||||
default n
|
||||
select RT_USING_WDT if BSP_USING_WDG
|
||||
if BSP_USING_WDG
|
||||
config BSP_USING_WDG0
|
||||
bool "Enable WDG0"
|
||||
default n
|
||||
config BSP_USING_WDG1
|
||||
bool "Enable WDG1"
|
||||
default n
|
||||
config BSP_USING_WDG2
|
||||
bool "Enable WDG2"
|
||||
default n
|
||||
config BSP_USING_WDG3
|
||||
bool "Enable WDG3"
|
||||
default n
|
||||
endif
|
||||
bool "Enable Watchdog"
|
||||
default n
|
||||
select RT_USING_WDT if BSP_USING_WDG
|
||||
if BSP_USING_WDG
|
||||
config BSP_USING_WDG0
|
||||
bool "Enable WDG0"
|
||||
default n
|
||||
config BSP_USING_WDG1
|
||||
bool "Enable WDG1"
|
||||
default n
|
||||
config BSP_USING_WDG2
|
||||
bool "Enable WDG2"
|
||||
default n
|
||||
config BSP_USING_WDG3
|
||||
bool "Enable WDG3"
|
||||
default n
|
||||
endif
|
||||
|
||||
menuconfig BSP_USING_CAN
|
||||
bool "Enable CAN"
|
||||
default n
|
||||
select RT_USING_CAN if BSP_USING_CAN
|
||||
if BSP_USING_CAN
|
||||
config BSP_USING_CAN0
|
||||
bool "Enable CAN0"
|
||||
default n
|
||||
config BSP_USING_CAN1
|
||||
bool "Enable CAN1"
|
||||
default n
|
||||
config BSP_USING_CAN2
|
||||
bool "Enable CAN2"
|
||||
default n
|
||||
config BSP_USING_CAN3
|
||||
bool "Enable CAN3"
|
||||
default n
|
||||
bool "Enable CAN"
|
||||
default n
|
||||
select RT_USING_CAN if BSP_USING_CAN
|
||||
if BSP_USING_CAN
|
||||
config BSP_USING_CAN0
|
||||
bool "Enable CAN0"
|
||||
default n
|
||||
config BSP_USING_CAN1
|
||||
bool "Enable CAN1"
|
||||
default n
|
||||
config BSP_USING_CAN2
|
||||
bool "Enable CAN2"
|
||||
default n
|
||||
config BSP_USING_CAN3
|
||||
bool "Enable CAN3"
|
||||
default n
|
||||
endif
|
||||
endmenu
|
||||
|
||||
|
|
|
@ -14,15 +14,15 @@ menu "On-chip Peripheral Drivers"
|
|||
default n
|
||||
|
||||
config RW007_USING_BLE
|
||||
bool "Enable RW007 BLE"
|
||||
default n
|
||||
select RT_USING_SPI if RW007_USING_BLE
|
||||
select BSP_USING_SPI1 if RW007_USING_BLE
|
||||
bool "Enable RW007 BLE"
|
||||
default n
|
||||
select RT_USING_SPI if RW007_USING_BLE
|
||||
select BSP_USING_SPI1 if RW007_USING_BLE
|
||||
|
||||
config RW007_USING_WIFI
|
||||
bool "Enable RW007 WIFI"
|
||||
select RT_USING_SPI if RW007_USING_BLE
|
||||
select BSP_USING_SPI1 if RW007_USING_BLE
|
||||
bool "Enable RW007 WIFI"
|
||||
select RT_USING_SPI if RW007_USING_BLE
|
||||
select BSP_USING_SPI1 if RW007_USING_BLE
|
||||
|
||||
menuconfig BSP_USING_UART
|
||||
bool "Enable UART"
|
||||
|
@ -244,8 +244,8 @@ menu "On-chip Peripheral Drivers"
|
|||
endif
|
||||
|
||||
menuconfig BSP_USING_LCD
|
||||
bool "Enable LCD"
|
||||
default n
|
||||
bool "Enable LCD"
|
||||
default n
|
||||
|
||||
menuconfig BSP_USING_LVGL
|
||||
bool "Enable LVGL"
|
||||
|
@ -253,31 +253,31 @@ menu "On-chip Peripheral Drivers"
|
|||
select PKG_USING_LVGL if BSP_USING_LVGL
|
||||
|
||||
menuconfig BSP_USING_GPTMR
|
||||
bool "Enable GPTMR"
|
||||
default n
|
||||
select RT_USING_HWTIMER if BSP_USING_GPTMR
|
||||
if BSP_USING_GPTMR
|
||||
config BSP_USING_GPTMR1
|
||||
bool "Enable GPTMR1"
|
||||
default n
|
||||
config BSP_USING_GPTMR2
|
||||
bool "Enable GPTMR2"
|
||||
default n
|
||||
config BSP_USING_GPTMR3
|
||||
bool "Enable GPTMR3"
|
||||
default n
|
||||
config BSP_USING_GPTMR4
|
||||
bool "Enable GPTMR4"
|
||||
default n
|
||||
config BSP_USING_GPTMR5
|
||||
bool "Enable GPTMR5"
|
||||
default n
|
||||
config BSP_USING_GPTMR6
|
||||
bool "Enable GPTMR6"
|
||||
default n
|
||||
config BSP_USING_GPTMR7
|
||||
bool "Enable GPTMR7"
|
||||
default n
|
||||
bool "Enable GPTMR"
|
||||
default n
|
||||
select RT_USING_HWTIMER if BSP_USING_GPTMR
|
||||
if BSP_USING_GPTMR
|
||||
config BSP_USING_GPTMR1
|
||||
bool "Enable GPTMR1"
|
||||
default n
|
||||
config BSP_USING_GPTMR2
|
||||
bool "Enable GPTMR2"
|
||||
default n
|
||||
config BSP_USING_GPTMR3
|
||||
bool "Enable GPTMR3"
|
||||
default n
|
||||
config BSP_USING_GPTMR4
|
||||
bool "Enable GPTMR4"
|
||||
default n
|
||||
config BSP_USING_GPTMR5
|
||||
bool "Enable GPTMR5"
|
||||
default n
|
||||
config BSP_USING_GPTMR6
|
||||
bool "Enable GPTMR6"
|
||||
default n
|
||||
config BSP_USING_GPTMR7
|
||||
bool "Enable GPTMR7"
|
||||
default n
|
||||
endif
|
||||
menuconfig BSP_USING_I2C
|
||||
bool "Enable I2C"
|
||||
|
@ -301,13 +301,13 @@ menu "On-chip Peripheral Drivers"
|
|||
|
||||
|
||||
menuconfig BSP_USING_XPI_FLASH
|
||||
bool "Enable XPI FLASH"
|
||||
default n
|
||||
select PKG_USING_FAL if BSP_USING_XPI_FLASH
|
||||
bool "Enable XPI FLASH"
|
||||
default n
|
||||
select PKG_USING_FAL if BSP_USING_XPI_FLASH
|
||||
|
||||
menuconfig BSP_USING_PWM
|
||||
bool "Enable PWM"
|
||||
default n
|
||||
default n
|
||||
|
||||
menuconfig BSP_USING_DAO
|
||||
bool "Enable Audio DAO play"
|
||||
|
@ -333,7 +333,7 @@ menu "On-chip Peripheral Drivers"
|
|||
bool "Enable USB"
|
||||
default n
|
||||
if BSP_USING_USB
|
||||
config BSP_USING_USB_DEVICE
|
||||
config BSP_USING_USB_DEVICE
|
||||
bool "Enable USB Device"
|
||||
default n
|
||||
config BSP_USING_USB_HOST
|
||||
|
@ -343,72 +343,72 @@ menu "On-chip Peripheral Drivers"
|
|||
|
||||
|
||||
menuconfig BSP_USING_WDG
|
||||
bool "Enable Watchdog"
|
||||
default n
|
||||
select RT_USING_WDT if BSP_USING_WDG
|
||||
if BSP_USING_WDG
|
||||
config BSP_USING_WDG0
|
||||
bool "Enable WDG0"
|
||||
default n
|
||||
config BSP_USING_WDG1
|
||||
bool "Enable WDG1"
|
||||
default n
|
||||
config BSP_USING_WDG2
|
||||
bool "Enable WDG2"
|
||||
default n
|
||||
config BSP_USING_WDG3
|
||||
bool "Enable WDG3"
|
||||
default n
|
||||
endif
|
||||
bool "Enable Watchdog"
|
||||
default n
|
||||
select RT_USING_WDT if BSP_USING_WDG
|
||||
if BSP_USING_WDG
|
||||
config BSP_USING_WDG0
|
||||
bool "Enable WDG0"
|
||||
default n
|
||||
config BSP_USING_WDG1
|
||||
bool "Enable WDG1"
|
||||
default n
|
||||
config BSP_USING_WDG2
|
||||
bool "Enable WDG2"
|
||||
default n
|
||||
config BSP_USING_WDG3
|
||||
bool "Enable WDG3"
|
||||
default n
|
||||
endif
|
||||
|
||||
menuconfig BSP_USING_CAN
|
||||
bool "Enable CAN"
|
||||
default n
|
||||
select RT_USING_CAN if BSP_USING_CAN
|
||||
if BSP_USING_CAN
|
||||
config BSP_USING_CAN0
|
||||
bool "Enable CAN0"
|
||||
default n
|
||||
config BSP_USING_CAN1
|
||||
bool "Enable CAN1"
|
||||
default n
|
||||
config BSP_USING_CAN2
|
||||
bool "Enable CAN2"
|
||||
default n
|
||||
config BSP_USING_CAN3
|
||||
bool "Enable CAN3"
|
||||
default n
|
||||
endif
|
||||
bool "Enable CAN"
|
||||
default n
|
||||
select RT_USING_CAN if BSP_USING_CAN
|
||||
if BSP_USING_CAN
|
||||
config BSP_USING_CAN0
|
||||
bool "Enable CAN0"
|
||||
default n
|
||||
config BSP_USING_CAN1
|
||||
bool "Enable CAN1"
|
||||
default n
|
||||
config BSP_USING_CAN2
|
||||
bool "Enable CAN2"
|
||||
default n
|
||||
config BSP_USING_CAN3
|
||||
bool "Enable CAN3"
|
||||
default n
|
||||
endif
|
||||
|
||||
menuconfig BSP_USING_ADC
|
||||
bool "Enable ADC"
|
||||
default n
|
||||
select RT_USING_ADC if BSP_USING_ADC
|
||||
if BSP_USING_ADC
|
||||
menuconfig BSP_USING_ADC12
|
||||
bool "Enable ADC12"
|
||||
default n
|
||||
if BSP_USING_ADC12
|
||||
config BSP_USING_ADC0
|
||||
bool "Enable ADC0"
|
||||
default n
|
||||
config BSP_USING_ADC1
|
||||
bool "Enable ADC1"
|
||||
default n
|
||||
config BSP_USING_ADC2
|
||||
bool "Enable ADC2"
|
||||
default n
|
||||
endif
|
||||
if !BSP_USING_ADC12
|
||||
menuconfig BSP_USING_ADC16
|
||||
bool "Enable ADC16"
|
||||
default n
|
||||
if BSP_USING_ADC16
|
||||
config BSP_USING_ADC3
|
||||
bool "Enable ADC3"
|
||||
default n
|
||||
endif
|
||||
endif
|
||||
bool "Enable ADC"
|
||||
default n
|
||||
select RT_USING_ADC if BSP_USING_ADC
|
||||
if BSP_USING_ADC
|
||||
menuconfig BSP_USING_ADC12
|
||||
bool "Enable ADC12"
|
||||
default n
|
||||
if BSP_USING_ADC12
|
||||
config BSP_USING_ADC0
|
||||
bool "Enable ADC0"
|
||||
default n
|
||||
config BSP_USING_ADC1
|
||||
bool "Enable ADC1"
|
||||
default n
|
||||
config BSP_USING_ADC2
|
||||
bool "Enable ADC2"
|
||||
default n
|
||||
endif
|
||||
if !BSP_USING_ADC12
|
||||
menuconfig BSP_USING_ADC16
|
||||
bool "Enable ADC16"
|
||||
default n
|
||||
if BSP_USING_ADC16
|
||||
config BSP_USING_ADC3
|
||||
bool "Enable ADC3"
|
||||
default n
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
endmenu
|
||||
|
||||
|
|
|
@ -35,10 +35,10 @@ if GetDepend(['BSP_USING_WDG']):
|
|||
src += ['drivers/src/hpm_wdg_drv.c']
|
||||
|
||||
if GetDepend(['BSP_USING_ADC']):
|
||||
if GetDepend(['BSP_USING_ADC12']):
|
||||
src += ['drivers/src/hpm_adc12_drv.c']
|
||||
if GetDepend(['BSP_USING_ADC16']):
|
||||
src += ['drivers/src/hpm_adc16_drv.c']
|
||||
if GetDepend(['BSP_USING_ADC12']):
|
||||
src += ['drivers/src/hpm_adc12_drv.c']
|
||||
if GetDepend(['BSP_USING_ADC16']):
|
||||
src += ['drivers/src/hpm_adc16_drv.c']
|
||||
|
||||
if GetDepend(['BSP_USING_CAN']):
|
||||
src += ['drivers/src/hpm_can_drv.c']
|
||||
|
|
|
@ -16,21 +16,21 @@ src = []
|
|||
src += [ os.path.join(cwd, 'debug_console', 'hpm_debug_console.c') ]
|
||||
src += [ os.path.join(cwd, 'dma_manager', 'hpm_dma_manager.c') ]
|
||||
if GetDepend(['BSP_USING_TOUCH_GT911']):
|
||||
src += [os.path.join(cwd, 'touch', 'gt911', 'hpm_touch_gt911.c') ]
|
||||
src += [os.path.join(cwd, 'touch', 'gt911', 'hpm_gt911.c') ]
|
||||
path += [ os.path.join(cwd, 'touch', 'gt911') ]
|
||||
CPPDEFINES = ['CONFIG_TOUCH_GT911=1']
|
||||
src += [os.path.join(cwd, 'touch', 'gt911', 'hpm_touch_gt911.c') ]
|
||||
src += [os.path.join(cwd, 'touch', 'gt911', 'hpm_gt911.c') ]
|
||||
path += [ os.path.join(cwd, 'touch', 'gt911') ]
|
||||
CPPDEFINES = ['CONFIG_TOUCH_GT911=1']
|
||||
if GetDepend(['BSP_USING_TOUCH_FT5406']):
|
||||
src += [ os.path.join(cwd, 'touch', 'ft5406', 'hpm_touch_ft5406.c') ]
|
||||
src += [ os.path.join(cwd, 'touch', 'ft5406', 'hpm_ft5406.c') ]
|
||||
path += [ os.path.join(cwd, 'touch', 'ft5406') ]
|
||||
CPPDEFINES = ['CONFIG_TOUCH_FT5406=1']
|
||||
src += [ os.path.join(cwd, 'touch', 'ft5406', 'hpm_touch_ft5406.c') ]
|
||||
src += [ os.path.join(cwd, 'touch', 'ft5406', 'hpm_ft5406.c') ]
|
||||
path += [ os.path.join(cwd, 'touch', 'ft5406') ]
|
||||
CPPDEFINES = ['CONFIG_TOUCH_FT5406=1']
|
||||
if GetDepend(['BSP_USING_USB_DEVICE']):
|
||||
src += [ os.path.join(cwd, 'usb', 'device', 'hpm_usb_device.c') ]
|
||||
path += [ os.path.join(cwd, 'usb', 'device') ]
|
||||
src += [ os.path.join(cwd, 'usb', 'device', 'hpm_usb_device.c') ]
|
||||
path += [ os.path.join(cwd, 'usb', 'device') ]
|
||||
if GetDepend(['BSP_USING_USB_HOST']):
|
||||
src += [ os.path.join(cwd, 'usb', 'host', 'hpm_usb_host.c') ]
|
||||
path += [ os.path.join(cwd, 'usb', 'host') ]
|
||||
src += [ os.path.join(cwd, 'usb', 'host', 'hpm_usb_host.c') ]
|
||||
path += [ os.path.join(cwd, 'usb', 'host') ]
|
||||
|
||||
group = DefineGroup('Libraries', src, depend = [''], CPPPATH = path, CPPDEFINES=CPPDEFINES)
|
||||
|
||||
|
|
|
@ -14,11 +14,11 @@ TARGET = 'rtthread-imx6.' + rtconfig.TARGET_EXT
|
|||
|
||||
DefaultEnvironment(tools=[])
|
||||
env = Environment(tools = ['mingw'],
|
||||
AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS,
|
||||
CC = rtconfig.CC, CFLAGS = rtconfig.CFLAGS,
|
||||
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)
|
||||
AR = rtconfig.AR, ARFLAGS = '-rc',
|
||||
LINK = rtconfig.LINK, LINKFLAGS = rtconfig.LFLAGS)
|
||||
env.PrependENVPath('PATH', rtconfig.EXEC_PATH)
|
||||
|
||||
Export('RTT_ROOT')
|
||||
|
|
|
@ -4,7 +4,7 @@ Import('rtconfig')
|
|||
from building import *
|
||||
|
||||
cwd = GetCurrentDir()
|
||||
src = Glob('*.c')
|
||||
src = Glob('*.c')
|
||||
|
||||
CPPPATH = [cwd]
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@ Import('rtconfig')
|
|||
from building import *
|
||||
|
||||
cwd = GetCurrentDir()
|
||||
src = Glob('*.c')
|
||||
src = Glob('*.c')
|
||||
CPPPATH = [cwd]
|
||||
|
||||
if rtconfig.PLATFORM in ['iccarm']:
|
||||
|
|
|
@ -4,7 +4,7 @@ Import('rtconfig')
|
|||
from building import *
|
||||
|
||||
cwd = GetCurrentDir()
|
||||
src = Glob('*.c')
|
||||
src = Glob('*.c')
|
||||
|
||||
CPPPATH = [cwd]
|
||||
|
||||
|
|
|
@ -14,11 +14,11 @@ TARGET = 'rtthread.' + rtconfig.TARGET_EXT
|
|||
|
||||
DefaultEnvironment(tools=[])
|
||||
env = Environment(tools = ['mingw'],
|
||||
AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS,
|
||||
CC = rtconfig.CC, CFLAGS = rtconfig.CFLAGS,
|
||||
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)
|
||||
AR = rtconfig.AR, ARFLAGS = '-rc',
|
||||
LINK = rtconfig.LINK, LINKFLAGS = rtconfig.LFLAGS)
|
||||
env.PrependENVPath('PATH', rtconfig.EXEC_PATH)
|
||||
env['ASCOM'] = env['ASPPCOM']
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
from building import *
|
||||
|
||||
cwd = GetCurrentDir()
|
||||
src = Glob('*.c') + Glob('iomux/*.c')
|
||||
src = Glob('*.c') + Glob('iomux/*.c')
|
||||
|
||||
CPPPATH = [cwd, cwd + '/iomux']
|
||||
|
||||
|
|
|
@ -34,13 +34,13 @@ menu "On-chip Peripheral Drivers"
|
|||
default n
|
||||
|
||||
if BSP_USING_USB
|
||||
config BSP_USB0_HOST
|
||||
bool "Enable USB0"
|
||||
default n
|
||||
config BSP_USB0_HOST
|
||||
bool "Enable USB0"
|
||||
default n
|
||||
|
||||
config BSP_USB1_HOST
|
||||
bool "Enable USB1"
|
||||
default n
|
||||
config BSP_USB1_HOST
|
||||
bool "Enable USB1"
|
||||
default n
|
||||
endif
|
||||
|
||||
config BSP_USING_SDIO
|
||||
|
@ -67,17 +67,17 @@ menu "On-chip Peripheral Drivers"
|
|||
bool "Enable LPUART1"
|
||||
default y
|
||||
|
||||
config BSP_LPUART1_RX_USING_DMA
|
||||
bool "Enable LPUART1 RX DMA"
|
||||
depends on BSP_USING_LPUART1
|
||||
select BSP_USING_DMA
|
||||
select RT_SERIAL_USING_DMA
|
||||
default n
|
||||
config BSP_LPUART1_RX_USING_DMA
|
||||
bool "Enable LPUART1 RX DMA"
|
||||
depends on BSP_USING_LPUART1
|
||||
select BSP_USING_DMA
|
||||
select RT_SERIAL_USING_DMA
|
||||
default n
|
||||
|
||||
config BSP_LPUART1_RX_DMA_CHANNEL
|
||||
depends on BSP_LPUART1_RX_USING_DMA
|
||||
int "Set LPUART1 RX DMA channel (0-32)"
|
||||
default 0
|
||||
config BSP_LPUART1_RX_DMA_CHANNEL
|
||||
depends on BSP_LPUART1_RX_USING_DMA
|
||||
int "Set LPUART1 RX DMA channel (0-32)"
|
||||
default 0
|
||||
|
||||
config BSP_LPUART1_TX_USING_DMA
|
||||
bool "Enable LPUART1 TX DMA"
|
||||
|
@ -120,27 +120,27 @@ menu "On-chip Peripheral Drivers"
|
|||
default 1
|
||||
endif
|
||||
|
||||
menuconfig BSP_USING_CAN
|
||||
bool "Enable CAN"
|
||||
select RT_USING_CAN
|
||||
default n
|
||||
if BSP_USING_CAN
|
||||
config BSP_USING_CAN3
|
||||
bool "Enable FLEXCAN3"
|
||||
default n
|
||||
endif
|
||||
menuconfig BSP_USING_CAN
|
||||
bool "Enable CAN"
|
||||
select RT_USING_CAN
|
||||
default n
|
||||
if BSP_USING_CAN
|
||||
config BSP_USING_CAN3
|
||||
bool "Enable FLEXCAN3"
|
||||
default n
|
||||
endif
|
||||
|
||||
menuconfig BSP_USING_FLEXSPI
|
||||
bool "Enable FLEXSPI"
|
||||
default n
|
||||
if BSP_USING_FLEXSPI
|
||||
config BSP_USING_FLEXSPI1
|
||||
bool "Enable FLEXSPI1"
|
||||
default n
|
||||
bool "Enable FLEXSPI"
|
||||
default n
|
||||
if BSP_USING_FLEXSPI
|
||||
config BSP_USING_FLEXSPI1
|
||||
bool "Enable FLEXSPI1"
|
||||
default n
|
||||
config BSP_USING_FLEXSPI2
|
||||
bool "Enable FLEXSPI2"
|
||||
default n
|
||||
endif
|
||||
bool "Enable FLEXSPI2"
|
||||
default n
|
||||
endif
|
||||
endmenu
|
||||
|
||||
menu "Onboard Peripheral Drivers"
|
||||
|
|
|
@ -8,15 +8,15 @@ src = Glob('driverlib/*.c')
|
|||
|
||||
# cortex-m3 no FPU.
|
||||
if rtconfig.PART_TYPE.startswith('PART_LM4F') != True:
|
||||
SrcRemove(src, 'fpu.c')
|
||||
SrcRemove(src, 'fpu.c')
|
||||
|
||||
# add for startup script
|
||||
if rtconfig.PLATFORM in ['gcc']:
|
||||
src += ['startup/gcc/start_gcc.S']
|
||||
src += ['startup/gcc/start_gcc.S']
|
||||
elif rtconfig.PLATFORM in ['armcc', 'armclang']:
|
||||
src += ['startup/arm/start_rvds.S']
|
||||
src += ['startup/arm/start_rvds.S']
|
||||
elif rtconfig.PLATFORM in ['iccarm']:
|
||||
src += ['startup/iar/start_iar.S']
|
||||
src += ['startup/iar/start_iar.S']
|
||||
|
||||
CPPPATH = [cwd]
|
||||
CPPDEFINES = [rtconfig.PART_TYPE]
|
||||
|
|
|
@ -14,10 +14,10 @@ TARGET = 'rtthread-lm3s.' + 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')
|
||||
|
|
|
@ -4,7 +4,7 @@ from building import *
|
|||
import copy
|
||||
|
||||
cwd = os.path.join(str(Dir('#')), 'drivers')
|
||||
src = Glob('*.c')
|
||||
src = Glob('*.c')
|
||||
CPPPATH = [cwd]
|
||||
|
||||
# remove no need file.
|
||||
|
|
|
@ -8,15 +8,15 @@ src = Glob('driverlib/*.c')
|
|||
|
||||
# cortex-m3 no FPU.
|
||||
if rtconfig.PART_TYPE.startswith('PART_LM4F') != True:
|
||||
SrcRemove(src, 'fpu.c')
|
||||
SrcRemove(src, 'fpu.c')
|
||||
|
||||
# add for startup script
|
||||
if rtconfig.PLATFORM in ['gcc']:
|
||||
src += ['startup/gcc/start_gcc.S']
|
||||
src += ['startup/gcc/start_gcc.S']
|
||||
elif rtconfig.PLATFORM in ['armcc', 'armclang']:
|
||||
src += ['startup/arm/start_rvds.S']
|
||||
src += ['startup/arm/start_rvds.S']
|
||||
elif rtconfig.PLATFORM in ['iccarm']:
|
||||
src += ['startup/iar/start_iar.S']
|
||||
src += ['startup/iar/start_iar.S']
|
||||
|
||||
CPPPATH = [cwd]
|
||||
|
||||
|
|
|
@ -14,10 +14,10 @@ TARGET = 'rtthread-lm3s.' + 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')
|
||||
|
|
|
@ -4,7 +4,7 @@ from building import *
|
|||
import copy
|
||||
|
||||
cwd = os.path.join(str(Dir('#')), 'drivers')
|
||||
src = Glob('*.c')
|
||||
src = Glob('*.c')
|
||||
CPPPATH = [cwd]
|
||||
|
||||
# remove no need file.
|
||||
|
|
|
@ -8,21 +8,21 @@ src = Glob('driverlib/*.c')
|
|||
|
||||
# cortex-m3 no FPU.
|
||||
if rtconfig.PART_TYPE.startswith('PART_LM4F') != True:
|
||||
SrcRemove(src, 'fpu.c')
|
||||
SrcRemove(src, 'fpu.c')
|
||||
|
||||
# add for startup script
|
||||
if rtconfig.PLATFORM in ['gcc']:
|
||||
src += ['startup/gcc/start_gcc.c']
|
||||
src += ['startup/gcc/start_gcc.c']
|
||||
elif rtconfig.PLATFORM in ['armcc', 'armclang']:
|
||||
src += ['startup/arm/start_rvds.S']
|
||||
src += ['startup/arm/start_rvds.S']
|
||||
elif rtconfig.PLATFORM in ['iccarm']:
|
||||
src += ['startup/iar/start_iar.S']
|
||||
src += ['startup/iar/start_iar.S']
|
||||
|
||||
CPPPATH = [cwd]
|
||||
|
||||
CPPDEFINES = [rtconfig.PART_TYPE]
|
||||
if rtconfig.PLATFORM in ['gcc']:
|
||||
CPPDEFINES += ['gcc'];
|
||||
CPPDEFINES += ['gcc'];
|
||||
|
||||
group = DefineGroup('Libraries', src, depend = [''], CPPPATH = CPPPATH, CPPDEFINES = CPPDEFINES)
|
||||
|
||||
|
|
|
@ -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')
|
||||
|
|
|
@ -4,7 +4,7 @@ from building import *
|
|||
import copy
|
||||
|
||||
cwd = os.path.join(str(Dir('#')), 'drivers')
|
||||
src = Glob('*.c')
|
||||
src = Glob('*.c')
|
||||
CPPPATH = [cwd]
|
||||
|
||||
# remove no need file.
|
||||
|
|
|
@ -66,12 +66,12 @@ config RT_USING_GMAC_INT_MODE
|
|||
|
||||
config RT_USING_SPI0
|
||||
bool "Enable SPI0"
|
||||
select RT_USING_SPI
|
||||
select RT_USING_SPI
|
||||
default y
|
||||
|
||||
config RT_USING_SPI1
|
||||
bool "Enable SPI1"
|
||||
select RT_USING_SPI
|
||||
select RT_USING_SPI
|
||||
default y
|
||||
|
||||
if RT_USING_I2C
|
||||
|
@ -87,18 +87,18 @@ endif
|
|||
|
||||
config USING_BXCAN0
|
||||
bool "Enable CAN0"
|
||||
select RT_USING_CAN
|
||||
select RT_USING_CAN
|
||||
default y
|
||||
|
||||
config USING_BXCAN1
|
||||
bool "Enable CAN1"
|
||||
select RT_USING_CAN
|
||||
select RT_USING_CAN
|
||||
default y
|
||||
|
||||
if RT_USING_CAN
|
||||
config RT_CAN_USING_HDR
|
||||
bool "Using RT_CAN_USING_HDR"
|
||||
select RT_USING_CAN
|
||||
select RT_USING_CAN
|
||||
default y
|
||||
endif
|
||||
|
||||
|
|
|
@ -6,10 +6,10 @@ src = Glob('*.c')
|
|||
CPPPATH = [cwd]
|
||||
|
||||
if GetDepend('RT_USING_LWIP') == False:
|
||||
SrcRemove(src, 'mii.c')
|
||||
SrcRemove(src, 'synopGMAC.c')
|
||||
SrcRemove(src, 'synopGMAC_Dev.c')
|
||||
SrcRemove(src, 'synopGMAC_plat.c')
|
||||
SrcRemove(src, 'mii.c')
|
||||
SrcRemove(src, 'synopGMAC.c')
|
||||
SrcRemove(src, 'synopGMAC_Dev.c')
|
||||
SrcRemove(src, 'synopGMAC_plat.c')
|
||||
|
||||
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = CPPPATH)
|
||||
|
||||
|
|
|
@ -11,11 +11,11 @@ TARGET = 'rtthread.' + 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.CXXFLAGS,
|
||||
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.CXXFLAGS,
|
||||
AR = rtconfig.AR, ARFLAGS = '-rc',
|
||||
LINK = rtconfig.LINK, LINKFLAGS = rtconfig.LFLAGS)
|
||||
env.PrependENVPath('PATH', rtconfig.EXEC_PATH)
|
||||
env['ASCOM'] = env['ASPPCOM']
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
from building import *
|
||||
|
||||
cwd = GetCurrentDir()
|
||||
src = Glob('*.c')
|
||||
src = Glob('*.c')
|
||||
|
||||
group = DefineGroup('Applications', src, depend = [''])
|
||||
|
||||
|
|
|
@ -13,15 +13,15 @@ TARGET = 'rtthread-lpc17xx.' + 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)
|
||||
|
||||
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')
|
||||
|
|
|
@ -3,17 +3,17 @@ Import('rtconfig')
|
|||
from building import *
|
||||
|
||||
cwd = GetCurrentDir()
|
||||
src = Glob('*.c')
|
||||
src = Glob('*.c')
|
||||
src = ['CM3/CoreSupport/core_cm3.c', 'CM3/DeviceSupport/NXP/LPC177x_8x/system_LPC177x_8x.c']
|
||||
CPPPATH = [cwd + '/CM3/CoreSupport', cwd + '/CM3/DeviceSupport/NXP/LPC177x_8x/']
|
||||
|
||||
# add for startup script
|
||||
if rtconfig.PLATFORM in ['gcc']:
|
||||
src += ['CM3/DeviceSupport/NXP/LPC177x_8x/startup/gcc/startup_LPC177x_8x.s']
|
||||
src += ['CM3/DeviceSupport/NXP/LPC177x_8x/startup/gcc/startup_LPC177x_8x.s']
|
||||
elif rtconfig.PLATFORM in ['armcc', 'armclang']:
|
||||
src += ['CM3/DeviceSupport/NXP/LPC177x_8x/startup/arm/startup_LPC177x_8x.s']
|
||||
src += ['CM3/DeviceSupport/NXP/LPC177x_8x/startup/arm/startup_LPC177x_8x.s']
|
||||
elif rtconfig.PLATFORM in ['iccarm']:
|
||||
src += ['CM3/DeviceSupport/NXP/LPC177x_8x/startup/iar/startup_LPC177x_8x.s']
|
||||
src += ['CM3/DeviceSupport/NXP/LPC177x_8x/startup/iar/startup_LPC177x_8x.s']
|
||||
|
||||
group = DefineGroup('CMSIS', src, depend = [''], CPPPATH = CPPPATH)
|
||||
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue