Stair56E UART project

This commit is contained in:
2026-08-05 19:07:52 +08:00
parent 7ca1af130d
commit f5654b70cc
2500 changed files with 619007 additions and 282610 deletions
+39 -39
View File
@@ -1,39 +1,39 @@
#ifndef __PLATFORM_H
#define __PLATFORM_H
/*
*********************************************************************************************************
* HARDWARE PLATFORM
*********************************************************************************************************
*/
#include "stdio.h"
/*
*********************************************************************************************************
* PLATFORM DEFINES
*********************************************************************************************************
*/
#define CORE_CLK 32000000ul /* Set Processor frequency */
#define TICKS_PER_SEC 100ul /* Set the number of ticks in one second */
/*
*********************************************************************************************************
* GLOBAL FUNCTION
*********************************************************************************************************
*/
#define AT_USE_UART 1
#define AT_BUFF_LEN 100
#define PIN_32_16
#define __ASSERT(a) while(!(a))
void delay_us(uint32_t nus);
void delay_ms(uint32_t nms);
#endif
#ifndef __PLATFORM_H
#define __PLATFORM_H
/*
*********************************************************************************************************
* HARDWARE PLATFORM
*********************************************************************************************************
*/
#include "stdio.h"
/*
*********************************************************************************************************
* PLATFORM DEFINES
*********************************************************************************************************
*/
#define CORE_CLK 32000000ul /* Set Processor frequency */
#define TICKS_PER_SEC 100ul /* Set the number of ticks in one second */
/*
*********************************************************************************************************
* GLOBAL FUNCTION
*********************************************************************************************************
*/
#define AT_USE_UART 1
#define AT_BUFF_LEN 100
#define PIN_32_16
#define __ASSERT(a) while(!(a))
void delay_us(uint32_t nus);
void delay_ms(uint32_t nms);
#endif