Ver código fonte

[BSP] Remove CANNA board information.

bernard 7 anos atrás
pai
commit
d913068c73

+ 0 - 3
bsp/x1000/drivers/Kconfig

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

+ 0 - 4
bsp/x1000/drivers/board.h

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

BIN
bsp/x1000/drivers/board/canna/PD_X1000_CANNA_BASEBOARD_V2.1.pdf


BIN
bsp/x1000/drivers/board/canna/PD_X1000_CANNA_COREBOARD_V1.0.pdf


+ 0 - 6
bsp/x1000/drivers/board/canna/board_canna.h

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

BIN
bsp/x1000/drivers/board/phoenix/Ingenic Studio User Guide.docx


BIN
bsp/x1000/drivers/board/phoenix/JDI User Guide.docx


+ 0 - 11
bsp/x1000/drivers/board/phoenix/jz-x1000.gdbinit

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

+ 3 - 16
bsp/x1000/drivers/board_io.c

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