第一次提交

This commit is contained in:
2025-11-14 19:29:44 +08:00
parent 846bd3bbda
commit bb55e6618f
20 changed files with 2666 additions and 1466 deletions

View File

@@ -31,6 +31,8 @@
#include <app/app_light.h>
#include "app/app_request.h"
#include "app/app_ultrasonic.h"
#include "app/app_turntable.h"
void testAppInit(void);
@@ -112,8 +114,7 @@ int main(void)
CAN_Send_Msg(&can_handle_6,OTA_CANTxID, FLEXCAN_STANDARD_FRAME, FLEXCAN_FrameTypeData, BOOT_Arr,2, TX_MB_INDEX);//app 帧
printf("CAN_Send_Msg can_handle_6 OK %d\n",getCurrentTime());
//打印版本号
printf("version: V1.75 \n");
// 初始化框架 放在最前面解决电机can发送信号累积不处理的问题。
@@ -121,16 +122,16 @@ int main(void)
testAppInit();
paramAppInit();
diffAppInit();
brakeAppInit();
// brakeAppInit();
powerAppInit(); //电源管理
tempAppInit(); //温度
// tempAppInit(); //温度
lightAppInit(); //灯光
ethernetInterfaceInit(); //以太网先初始化
requestAppInit();
canInterfaceInit();
bootInterfaceInit();
// ultrasonicAppInit();
turnableInit();
printf("All init OK ------ %d\n",getCurrentTime());
for (;;)