A59项目初版工程 1.电压+光感adc采样优化 2.串口逻辑优化

This commit is contained in:
2024-08-27 10:54:23 +08:00
commit 16b6433a98
14081 changed files with 6865556 additions and 0 deletions

16
os_adapt.c Normal file
View File

@ -0,0 +1,16 @@
#include "os_adapt.h"
void *malloc(size_t size)
{
return pvPortMalloc(size);
}
void free(void *ptr)
{
vPortFree(ptr);
}
void *realloc(void *ptr, size_t size)
{
return pvPortRealloc(ptr, size);
}