提交 d913068c 编写于 作者: B bernard

[BSP] Remove CANNA board information.

上级 9fa72925
......@@ -8,9 +8,6 @@ choice
config BOARD_HALLEY2
bool "Halley2 board"
config BOARD_CANNA
bool "CANNA board"
config BOARD_HALLEY2_FIR
bool "Fir board"
......
......@@ -52,10 +52,6 @@
#include "board/phoenix/board_phoenix.h"
#endif
#ifdef BOARD_CANNA
#include "board/canna/board_canna.h"
#endif
/*
* Clock setting
*/
......
#ifndef BOARD_CANNA_H__
#define BOARD_CANNA_H__
#endif
#connect to the JDI gdb server
target remote 169.28.23.51:2823
#set remote write size
set remotewritesize fixed
set remotewritesize 8192
#load the debug image
load
#debug begin
......@@ -52,31 +52,18 @@ INIT_DEVICE_EXPORT(io_AP6212);
*/
int io_AP6212_bt(void)
{
rtc32k_enable();
rtc32k_enable();
return 0;
}
INIT_DEVICE_EXPORT(io_AP6212_bt);
#endif
#if defined(BOARD_CANNA)
int io_canna(void)
{
/* PC25(1) for Audio Shutdown IO */
gpio_set_func(GPIO_PORT_C, GPIO_Pin_25, GPIO_FUNC_1);
gpio_direction_output(GPIO_PORT_C,GPIO_Pin_25, 0);
gpio_set_value(GPIO_PORT_C,GPIO_Pin_25, 0);
return 0;
}
INIT_DEVICE_EXPORT(io_canna);
#endif
#if defined(BOARD_HALLEY2)
int io_halley2(void)
{
#ifdef RT_USING_EMAC
/* PC23 for MAC_RST_N */
/* 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);
......@@ -133,7 +120,7 @@ int io_realboard(void)
gpio_direction_output(GPIO_PORT_C, GPIO_Pin_23, 1);
_delay_ms(100);
#endif
return 0;
return 0;
}
INIT_BOARD_EXPORT(io_realboard);
#endif /* BOARD_HALLEY2_REALBOARD_X1000 */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册