build(gitignore): 保留 CMSIS-DSP 预编译库,不再被 *.lib 忽略
两个子工程的 .gitignore 来自通用 C 模板,其中的 *.lib 规则会把 Middlewares/ST/ARM/DSP/Lib 下的 arm_cortexM4lf_math.lib(CMSIS-DSP 预编译 库)一并排除。该文件是源码依赖而非构建产物,是工程链接 DSP 依赖时必须 的输入,一旦不入库,新克隆的仓库无法构建。故移除 *.lib 忽略规则。
This commit is contained in:
@@ -1,18 +0,0 @@
|
||||
#ifndef BSP_UART_H
|
||||
#define BSP_UART_H
|
||||
#include "stm32f4xx_hal.h"
|
||||
#include "usart.h"
|
||||
|
||||
typedef UART_HandleTypeDef huart_t;
|
||||
#define UART1 huart6 //(3pin)与板上的标识相对应
|
||||
#define UART2 huart1 //(4pin)与板上的标识相对应
|
||||
|
||||
typedef enum __UartSendState {
|
||||
UART_SEND_FAIL = 0,
|
||||
UART_SEND_OK,
|
||||
} UartSendState_e;
|
||||
|
||||
extern UartSendState_e UartSendTxMessage(
|
||||
UART_HandleTypeDef * huart, uint8_t * pData, uint16_t Size, uint32_t Timeout);
|
||||
|
||||
#endif // BSP_UART_H
|
||||
Reference in New Issue
Block a user