[BSP] Remove some board information.
This commit is contained in:
parent
02e161bee7
commit
9fa72925a2
@ -8,8 +8,8 @@ config $BSP_DIR
|
|||||||
config $RTT_DIR
|
config $RTT_DIR
|
||||||
string
|
string
|
||||||
option env="RTT_ROOT"
|
option env="RTT_ROOT"
|
||||||
default "E:/rt-thread"
|
default "../.."
|
||||||
|
|
||||||
# you can change the RTT_ROOT default "../.." to your rtthread_root,
|
# you can change the RTT_ROOT default "../.." to your rtthread_root,
|
||||||
# example : default "F:/git_repositories/rt-thread"
|
# example : default "F:/git_repositories/rt-thread"
|
||||||
|
|
||||||
@ -21,4 +21,3 @@ config $PKGS_DIR
|
|||||||
source "$RTT_DIR/KConfig"
|
source "$RTT_DIR/KConfig"
|
||||||
source "$PKGS_DIR/KConfig"
|
source "$PKGS_DIR/KConfig"
|
||||||
source "$BSP_DIR/drivers/Kconfig"
|
source "$BSP_DIR/drivers/Kconfig"
|
||||||
|
|
||||||
|
@ -1,27 +1,24 @@
|
|||||||
choice
|
choice
|
||||||
prompt "Choice bsp board"
|
prompt "Board Type"
|
||||||
default BOARD_HALLEY2_REALBOARD_V2
|
default BOARD_HALLEY2_REALBOARD_V2
|
||||||
|
|
||||||
config BOARD_HALLEY2
|
|
||||||
bool "Using haller2 board"
|
|
||||||
|
|
||||||
config BOARD_PHOENIX
|
config BOARD_PHOENIX
|
||||||
bool "Using phoenix board"
|
bool "Phoenix board"
|
||||||
|
|
||||||
|
config BOARD_HALLEY2
|
||||||
|
bool "Halley2 board"
|
||||||
|
|
||||||
config BOARD_CANNA
|
config BOARD_CANNA
|
||||||
bool "Using canna board"
|
bool "CANNA board"
|
||||||
|
|
||||||
config BOARD_HALLEY2_FIR
|
config BOARD_HALLEY2_FIR
|
||||||
bool "Using haller2 fir board"
|
bool "Fir board"
|
||||||
|
|
||||||
config BOARD_HALLEY2_REALBOARD
|
config BOARD_HALLEY2_REALBOARD
|
||||||
bool "Using haller2 realboard board"
|
bool "RealBoard board"
|
||||||
|
|
||||||
config BOARD_HALLEY2_REALBOARD_V2
|
config BOARD_HALLEY2_REALBOARD_V2
|
||||||
bool "Using haller2 realboard v2 board"
|
bool "RealBoard v2 board"
|
||||||
|
|
||||||
config BOARD_HALLEY2_IDELAN
|
|
||||||
bool "Using haller2 idelan board"
|
|
||||||
endchoice
|
endchoice
|
||||||
|
|
||||||
if RT_USING_SERIAL
|
if RT_USING_SERIAL
|
||||||
@ -31,8 +28,8 @@ if RT_USING_SERIAL
|
|||||||
|
|
||||||
config RT_USING_UART1
|
config RT_USING_UART1
|
||||||
bool "Using UART1"
|
bool "Using UART1"
|
||||||
default n
|
default n
|
||||||
|
|
||||||
config RT_USING_UART2
|
config RT_USING_UART2
|
||||||
bool "Using UART2"
|
bool "Using UART2"
|
||||||
default y
|
default y
|
||||||
@ -40,39 +37,39 @@ endif
|
|||||||
|
|
||||||
if RT_USING_SDIO
|
if RT_USING_SDIO
|
||||||
config RT_USING_MSC0
|
config RT_USING_MSC0
|
||||||
bool "Using MSC0 for sd card"
|
bool "Using MMC/SD 0"
|
||||||
default y
|
default y
|
||||||
|
|
||||||
config RT_USING_MSC1
|
config RT_USING_MSC1
|
||||||
bool "Using MSC1 for wifi"
|
bool "Using MMC/SD 1"
|
||||||
default y
|
default y
|
||||||
|
|
||||||
config RT_MMCSD_STACK_SIZE
|
config RT_MMCSD_STACK_SIZE
|
||||||
int "Set mmc thread stack size"
|
int "Set MMC/SD thread stack size"
|
||||||
default 2048
|
default 2048
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if RT_USING_GUIENGINE
|
if RT_USING_GUIENGINE
|
||||||
config RT_USING_SLCD
|
config RT_USING_SLCD
|
||||||
bool "Using lcd display"
|
bool "Using LCD display"
|
||||||
default y
|
default y
|
||||||
|
|
||||||
if RT_USING_SLCD
|
if RT_USING_SLCD
|
||||||
choice
|
choice
|
||||||
prompt "Choice LCD controller"
|
prompt "Choice LCD controller"
|
||||||
default RT_USING_ILI9488
|
default RT_USING_ILI9488
|
||||||
|
|
||||||
config RT_USING_ILI9488
|
config RT_USING_ILI9488
|
||||||
bool "Using ILI9488 controller"
|
bool "Using ILI9488 controller"
|
||||||
|
|
||||||
config RT_USING_ILI9341
|
config RT_USING_ILI9341
|
||||||
bool "Using ILI9341 controller"
|
bool "Using ILI9341 controller"
|
||||||
|
|
||||||
config RT_USING_OTM4802
|
config RT_USING_OTM4802
|
||||||
bool "Using OTM4802 controller"
|
bool "Using OTM4802 controller"
|
||||||
|
|
||||||
config RT_USING_TRULY_TFT240240
|
config RT_USING_TRULY_TFT240240
|
||||||
bool "Using TFT240240 controller"
|
bool "Using TFT240240 controller"
|
||||||
endchoice
|
endchoice
|
||||||
endif
|
endif
|
||||||
|
|
||||||
@ -80,19 +77,19 @@ if RT_USING_GUIENGINE
|
|||||||
config RT_USING_TOUCH
|
config RT_USING_TOUCH
|
||||||
bool "Using touch"
|
bool "Using touch"
|
||||||
default y
|
default y
|
||||||
|
|
||||||
if RT_USING_TOUCH
|
if RT_USING_TOUCH
|
||||||
choice
|
choice
|
||||||
prompt "Choice touch controller"
|
prompt "Choice touch controller"
|
||||||
default RT_USING_GT9XX
|
default RT_USING_GT9XX
|
||||||
|
|
||||||
config RT_USING_GT9XX
|
config RT_USING_GT9XX
|
||||||
bool "Using GT9XX controller"
|
bool "Using GT9XX controller"
|
||||||
|
|
||||||
config RT_USING_FT6x06
|
config RT_USING_FT6x06
|
||||||
bool "Using FT6x06 controller"
|
bool "Using FT6x06 controller"
|
||||||
endchoice
|
endchoice
|
||||||
|
|
||||||
config RT_TOUCH_THREAD_PRIORITY
|
config RT_TOUCH_THREAD_PRIORITY
|
||||||
int "Set touch thread priority"
|
int "Set touch thread priority"
|
||||||
range 2 32
|
range 2 32
|
||||||
@ -105,7 +102,7 @@ if RT_USING_I2C
|
|||||||
config RT_USING_I2C0
|
config RT_USING_I2C0
|
||||||
bool "Using iic0 bus"
|
bool "Using iic0 bus"
|
||||||
default y
|
default y
|
||||||
|
|
||||||
config RT_USING_I2C1
|
config RT_USING_I2C1
|
||||||
bool "Using iic1 bus"
|
bool "Using iic1 bus"
|
||||||
default n
|
default n
|
||||||
@ -115,17 +112,14 @@ if RT_USING_I2C
|
|||||||
default n
|
default n
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
config RT_USING_ICODEC
|
||||||
|
default n
|
||||||
|
|
||||||
config RT_USING_AUDIO
|
config RT_USING_AUDIO
|
||||||
bool "Using audio"
|
bool "Using audio"
|
||||||
|
select RT_USING_ICODEC
|
||||||
default n
|
default n
|
||||||
if RT_USING_AUDIO
|
|
||||||
config RT_USING_ICODEC
|
|
||||||
bool "Using icodec"
|
|
||||||
default n
|
|
||||||
endif
|
|
||||||
|
|
||||||
config RT_USING_CPU_FFS
|
config RT_USING_CPU_FFS
|
||||||
bool "Using CPU FFS"
|
bool "Using CPU FFS"
|
||||||
default y
|
default y
|
||||||
|
|
||||||
|
|
||||||
|
@ -44,10 +44,6 @@
|
|||||||
#include "board/halley2_realboard_v2/board_halley2_readboard_v2.h"
|
#include "board/halley2_realboard_v2/board_halley2_readboard_v2.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef BOARD_HALLEY2_IDELAN
|
|
||||||
#include "board/halley2_idelan/board_halley2_idelan.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef BOARD_HALLEY2
|
#ifdef BOARD_HALLEY2
|
||||||
#include "board/halley2/board_halley2.h"
|
#include "board/halley2/board_halley2.h"
|
||||||
#endif
|
#endif
|
||||||
|
Binary file not shown.
Binary file not shown.
@ -1,6 +0,0 @@
|
|||||||
2016/08/29发布
|
|
||||||
已知的硬件错误:
|
|
||||||
-I2S 信号分配错误 I2SDI I2SDO反了 核心板的DO是输出 Codec的DO也是输出,核心板的DO需要接到Codec的SDI0上
|
|
||||||
-X1 12.288晶振不焊接,R13 需要焊接,核心板提供时钟(layout的时候,晶振保留)
|
|
||||||
-
|
|
||||||
-layout问题,整个板子GND走线 很多实连接,手工焊接质量不保证
|
|
@ -1,5 +0,0 @@
|
|||||||
#ifndef BOARD_HALLEY2_IDELAN_H__
|
|
||||||
#define BOARD_HALLEY2_IDELAN_H__
|
|
||||||
|
|
||||||
|
|
||||||
#endif
|
|
@ -109,35 +109,6 @@ int io_phoenix(void)
|
|||||||
INIT_DEVICE_EXPORT(io_phoenix);
|
INIT_DEVICE_EXPORT(io_phoenix);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(BOARD_OX)
|
|
||||||
int io_ox(void)
|
|
||||||
{
|
|
||||||
/* PB6 for Audio Shutdown IO */
|
|
||||||
gpio_set_func(GPIO_PORT_B, GPIO_Pin_6, GPIO_FUNC_1);
|
|
||||||
gpio_direction_output(GPIO_PORT_B,GPIO_Pin_6, 0);
|
|
||||||
gpio_set_value(GPIO_PORT_B,GPIO_Pin_6, 0);
|
|
||||||
|
|
||||||
gpio_direction_output(GPIO_PORT_C, GPIO_Pin_25, GPIO_OUTPUT0);
|
|
||||||
rt_thread_delay(rt_tick_from_millisecond(100));
|
|
||||||
gpio_direction_output(GPIO_PORT_C, GPIO_Pin_25, GPIO_OUTPUT1);
|
|
||||||
|
|
||||||
/* PB19 for LCD black light */
|
|
||||||
gpio_direction_output(GPIO_PORT_B,GPIO_Pin_19, GPIO_OUTPUT1);
|
|
||||||
|
|
||||||
#ifdef RT_USING_EMAC
|
|
||||||
/* PC23 for MAC_RST_N */
|
|
||||||
// gpio_set_func(GPIO_PORT_C, GPIO_Pin_23, GPIO_FUNC_0);
|
|
||||||
gpio_direction_output(GPIO_PORT_C, GPIO_Pin_23, 0);
|
|
||||||
rt_thread_delay(1);
|
|
||||||
gpio_direction_output(GPIO_PORT_C, GPIO_Pin_23, 1);
|
|
||||||
rt_thread_delay(1);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
INIT_DEVICE_EXPORT(io_ox);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef BOARD_HALLEY2_REALBOARD
|
#ifdef BOARD_HALLEY2_REALBOARD
|
||||||
int io_realboard(void)
|
int io_realboard(void)
|
||||||
{
|
{
|
||||||
@ -194,7 +165,6 @@ int io_realboard_v2(void)
|
|||||||
INIT_BOARD_EXPORT(io_realboard_v2);
|
INIT_BOARD_EXPORT(io_realboard_v2);
|
||||||
#endif /* BOARD_HALLEY2_REALBOARD_V2 */
|
#endif /* BOARD_HALLEY2_REALBOARD_V2 */
|
||||||
|
|
||||||
|
|
||||||
#ifdef BOARD_HALLEY2_FIR
|
#ifdef BOARD_HALLEY2_FIR
|
||||||
int io_halley2_fir(void)
|
int io_halley2_fir(void)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user