forked from xuos/xiuos
commit
48decbe80f
|
@ -18,10 +18,10 @@
|
||||||
* @date: 2022/1/7
|
* @date: 2022/1/7
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef ADD_XIZI_FETURES
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <transform.h>
|
#include <transform.h>
|
||||||
|
#ifdef ADD_XIZI_FETURES
|
||||||
|
|
||||||
void TestAdc(void)
|
void TestAdc(void)
|
||||||
{
|
{
|
||||||
|
|
|
@ -18,11 +18,10 @@
|
||||||
* @date: 2022/12/7
|
* @date: 2022/12/7
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef ADD_XIZI_FETURES
|
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <transform.h>
|
#include <transform.h>
|
||||||
|
#ifdef ADD_XIZI_FETURES
|
||||||
|
|
||||||
static uint16_t image_buff[384000];
|
static uint16_t image_buff[384000];
|
||||||
|
|
||||||
|
|
|
@ -17,10 +17,10 @@
|
||||||
* @author: AIIT XUOS Lab
|
* @author: AIIT XUOS Lab
|
||||||
* @date: 2023/2/17
|
* @date: 2023/2/17
|
||||||
*/
|
*/
|
||||||
#ifdef ADD_XIZI_FETURES
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <transform.h>
|
#include <transform.h>
|
||||||
|
#ifdef ADD_XIZI_FETURES
|
||||||
|
|
||||||
|
|
||||||
void TestCAN(void)
|
void TestCAN(void)
|
||||||
|
|
|
@ -17,10 +17,10 @@
|
||||||
* @author: AIIT XUOS Lab
|
* @author: AIIT XUOS Lab
|
||||||
* @date: 2022/1/11
|
* @date: 2022/1/11
|
||||||
*/
|
*/
|
||||||
#ifdef ADD_XIZI_FETURES
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <transform.h>
|
#include <transform.h>
|
||||||
|
#ifdef ADD_XIZI_FETURES
|
||||||
|
|
||||||
void TestDac(void)
|
void TestDac(void)
|
||||||
{
|
{
|
||||||
|
|
|
@ -17,10 +17,10 @@
|
||||||
* @author: AIIT XUOS Lab
|
* @author: AIIT XUOS Lab
|
||||||
* @date: 2022/12/17
|
* @date: 2022/12/17
|
||||||
*/
|
*/
|
||||||
#ifdef ADD_XIZI_FETURES
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <transform.h>
|
#include <transform.h>
|
||||||
|
#ifdef ADD_XIZI_FETURES
|
||||||
|
|
||||||
#include <socket.h>
|
#include <socket.h>
|
||||||
|
|
||||||
|
|
|
@ -17,10 +17,10 @@
|
||||||
* @author: AIIT XUOS Lab
|
* @author: AIIT XUOS Lab
|
||||||
* @date: 2022/12/17
|
* @date: 2022/12/17
|
||||||
*/
|
*/
|
||||||
#ifdef ADD_XIZI_FETURES
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <transform.h>
|
#include <transform.h>
|
||||||
|
#ifdef ADD_XIZI_FETURES
|
||||||
|
|
||||||
void TestFlash(void)
|
void TestFlash(void)
|
||||||
{
|
{
|
||||||
|
|
|
@ -17,10 +17,10 @@
|
||||||
* @author: AIIT XUOS Lab
|
* @author: AIIT XUOS Lab
|
||||||
* @date: 2022/11/17
|
* @date: 2022/11/17
|
||||||
*/
|
*/
|
||||||
#ifdef ADD_XIZI_FETURES
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <transform.h>
|
#include <transform.h>
|
||||||
|
#ifdef ADD_XIZI_FETURES
|
||||||
|
|
||||||
#define MAX_READ_LENGTH 1000
|
#define MAX_READ_LENGTH 1000
|
||||||
|
|
||||||
|
|
|
@ -17,13 +17,18 @@
|
||||||
* @author: AIIT XUOS Lab
|
* @author: AIIT XUOS Lab
|
||||||
* @date: 2022/12/17
|
* @date: 2022/12/17
|
||||||
*/
|
*/
|
||||||
#ifdef ADD_XIZI_FETURES
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <transform.h>
|
#include <transform.h>
|
||||||
|
#ifdef ADD_XIZI_FETURES
|
||||||
|
|
||||||
|
#ifdef BOARD_EDU_RISCV64_EVB
|
||||||
#define BSP_LED_PIN 29
|
#define BSP_LED_PIN 29
|
||||||
#define BSP_KEY_PIN 31
|
#define BSP_KEY_PIN 31
|
||||||
|
#elif defined BOARD_HC32F4A0_EVB
|
||||||
|
#define BSP_LED_PIN 134
|
||||||
|
#define BSP_KEY_PIN 176
|
||||||
|
#endif
|
||||||
#define NULL_PARAMETER 0
|
#define NULL_PARAMETER 0
|
||||||
|
|
||||||
void TestGpio(void)
|
void TestGpio(void)
|
||||||
|
@ -86,7 +91,6 @@ void TestGpio(void)
|
||||||
PrivClose(pin_fd);
|
PrivClose(pin_fd);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -17,10 +17,10 @@
|
||||||
* @author: AIIT XUOS Lab
|
* @author: AIIT XUOS Lab
|
||||||
* @date: 2022/12/17
|
* @date: 2022/12/17
|
||||||
*/
|
*/
|
||||||
#ifdef ADD_XIZI_FETURES
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <transform.h>
|
#include <transform.h>
|
||||||
|
#ifdef ADD_XIZI_FETURES
|
||||||
|
|
||||||
#define BSP_LED_PIN 134
|
#define BSP_LED_PIN 134
|
||||||
#define NULL_PARAMETER 0
|
#define NULL_PARAMETER 0
|
||||||
|
|
|
@ -17,10 +17,10 @@
|
||||||
* @author: AIIT XUOS Lab
|
* @author: AIIT XUOS Lab
|
||||||
* @date: 2022/12/17
|
* @date: 2022/12/17
|
||||||
*/
|
*/
|
||||||
#ifdef ADD_XIZI_FETURES
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <transform.h>
|
#include <transform.h>
|
||||||
|
#ifdef ADD_XIZI_FETURES
|
||||||
|
|
||||||
#define I2C_SLAVE_ADDRESS 0x0012U
|
#define I2C_SLAVE_ADDRESS 0x0012U
|
||||||
|
|
||||||
|
|
|
@ -17,10 +17,10 @@
|
||||||
* @author: AIIT XUOS Lab
|
* @author: AIIT XUOS Lab
|
||||||
* @date: 2022/12/17
|
* @date: 2022/12/17
|
||||||
*/
|
*/
|
||||||
#ifdef ADD_XIZI_FETURES
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <transform.h>
|
#include <transform.h>
|
||||||
|
#ifdef ADD_XIZI_FETURES
|
||||||
|
|
||||||
#define GRAPHIC_CTRL_RECT_UPDATE 0x00
|
#define GRAPHIC_CTRL_RECT_UPDATE 0x00
|
||||||
#define LCD_STRING_TYPE 0
|
#define LCD_STRING_TYPE 0
|
||||||
|
|
|
@ -17,10 +17,10 @@
|
||||||
* @author: AIIT XUOS Lab
|
* @author: AIIT XUOS Lab
|
||||||
* @date: 2022/12/17
|
* @date: 2022/12/17
|
||||||
*/
|
*/
|
||||||
#ifdef ADD_XIZI_FETURES
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <transform.h>
|
#include <transform.h>
|
||||||
|
#ifdef ADD_XIZI_FETURES
|
||||||
|
|
||||||
#define NULL_PARAMETER 0
|
#define NULL_PARAMETER 0
|
||||||
#define E220_CFG_LENGTH
|
#define E220_CFG_LENGTH
|
||||||
|
|
|
@ -17,10 +17,10 @@
|
||||||
* @author: AIIT XUOS Lab
|
* @author: AIIT XUOS Lab
|
||||||
* @date: 2022/12/17
|
* @date: 2022/12/17
|
||||||
*/
|
*/
|
||||||
#ifdef ADD_XIZI_FETURES
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <transform.h>
|
#include <transform.h>
|
||||||
|
#ifdef ADD_XIZI_FETURES
|
||||||
|
|
||||||
#define BSP_485_DIR_PIN 24
|
#define BSP_485_DIR_PIN 24
|
||||||
|
|
||||||
|
|
|
@ -17,10 +17,10 @@
|
||||||
* @author: AIIT XUOS Lab
|
* @author: AIIT XUOS Lab
|
||||||
* @date: 2022/12/17
|
* @date: 2022/12/17
|
||||||
*/
|
*/
|
||||||
#ifdef ADD_XIZI_FETURES
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <transform.h>
|
#include <transform.h>
|
||||||
|
#ifdef ADD_XIZI_FETURES
|
||||||
|
|
||||||
void TestRTC(int argc,char *argv[])
|
void TestRTC(int argc,char *argv[])
|
||||||
{
|
{
|
||||||
|
|
|
@ -48,7 +48,7 @@ void TestTouch(void)
|
||||||
#define LCD_DOT_TYPE 1
|
#define LCD_DOT_TYPE 1
|
||||||
#define LCD_SIZE 320
|
#define LCD_SIZE 320
|
||||||
|
|
||||||
#elif ADD_XIZI_FETURES
|
#elif defined ADD_XIZI_FETURES
|
||||||
|
|
||||||
void TestTouch(void)
|
void TestTouch(void)
|
||||||
{
|
{
|
||||||
|
|
|
@ -17,10 +17,10 @@
|
||||||
* @author: AIIT XUOS Lab
|
* @author: AIIT XUOS Lab
|
||||||
* @date: 2022/12/17
|
* @date: 2022/12/17
|
||||||
*/
|
*/
|
||||||
#ifdef ADD_XIZI_FETURES
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <transform.h>
|
#include <transform.h>
|
||||||
|
#ifdef ADD_XIZI_FETURES
|
||||||
|
|
||||||
void TestWDT(int argc, char *agrv[])
|
void TestWDT(int argc, char *agrv[])
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue