clean shit

This commit is contained in:
2024-12-29 22:59:07 +08:00
parent 444804efe4
commit 0ebe9c5d16
15 changed files with 104 additions and 131 deletions

View File

@@ -8,25 +8,11 @@
#include "gd32e23x_it.h"
#include "gd32e23x.h"
#include "systick.h"
#include <stdbool.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
#include "i2c.h"
#include "ldc1612.h"
#include "tmp112.h"
/******************************************************************************/
#define RS485_RCU RCU_USART0
#define RS485_GPIO_RCU RCU_GPIOA
#define RS485_GPIO_PORT GPIOA
#define RS485_TX_PIN GPIO_PIN_2
#define RS485_RX_PIN GPIO_PIN_3
#define RS485_PHY USART0
#define RS485_BAUDRATE 115200U
#define RS485_EN_PIN GPIO_PIN_1
#include "fwdgt.h"
#include "board_config.h"
/******************************************************************************/