第一版代码,为了在EEPROM保存参数的时候走STM32的CRC,让Codex修改了一下,现在的效果是无法存储,codex表示原因是CRC方法不同,修改到一半今天的额度使用完了,有待后续解决CRC的bug

This commit is contained in:
2026-02-28 17:36:05 +08:00
commit b2fedd58b2
212 changed files with 208290 additions and 0 deletions

16
Common/Com_debug.c Normal file
View File

@@ -0,0 +1,16 @@
#include "Com_debug.h"
/**
* @brief 日志输出初始化
*
*/
void Com_debug_init(void)
{
// MX_USART1_UART_Init();
}
int fputc(int ch, FILE *f)
{
HAL_UART_Transmit(&huart5, (uint8_t *)&ch, 1, 0xFFFF);
return ch;
}