[BSP] Remove CANNA board information.

This commit is contained in:
bernard 2017-11-13 15:24:23 +08:00
parent 9fa72925a2
commit d913068c73
9 changed files with 3 additions and 40 deletions

View File

@ -8,9 +8,6 @@ choice
config BOARD_HALLEY2
bool "Halley2 board"
config BOARD_CANNA
bool "CANNA board"
config BOARD_HALLEY2_FIR
bool "Fir board"

View File

@ -52,10 +52,6 @@
#include "board/phoenix/board_phoenix.h"
#endif
#ifdef BOARD_CANNA
#include "board/canna/board_canna.h"
#endif
/*
* Clock setting
*/

View File

@ -1,6 +0,0 @@
#ifndef BOARD_CANNA_H__
#define BOARD_CANNA_H__
#endif

View File

@ -1,11 +0,0 @@
#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

View File

@ -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 */