更新modbus,更新rtthread

This commit is contained in:
2023-12-15 01:08:04 +08:00
parent d14d2c5c95
commit a9be43d98e
6611 changed files with 2112557 additions and 262317 deletions

View File

@@ -40,6 +40,10 @@
#include "string.h"
#include "usart.h"
#include "tim.h"
#include <rtthread.h>
#define bsp_malloc(x) malloc(x)
#define comcase(str,buff) if((strcmp(#str,(char*)(buff))==0))
//////////////////////////////////////////////////////////////////////////////////////////////////////
//----------------------------------------------------------------------------------------------------
@@ -61,6 +65,8 @@ class bsp_IDLEUART:public bsp_PrintArt_STM32{
u8* buff;
u8* buffhead;
u32 len;
u32 lenmax;
private:
u8 temp;
};
//////////////////////////////////////////////////////////////////////////////////////////////////////