Add ble,gps,imu and others in threadx,need test

This commit is contained in:
2025-06-25 14:25:28 +08:00
parent 64f668fc5f
commit 957d1df05f
41 changed files with 3469 additions and 3025 deletions

View File

@@ -1,2 +1,22 @@
#include "IMU.h"
#ifdef TEST
void imu_thread_entry(ULONG thread_input)
{
while (1)
{
// float imu_angle = GetIMUAngle();
float imu_angle = 96.0f; //<2F><>Ϊ<EFBFBD><CEAA><EFBFBD><EFBFBD>ֵ
current_location.angle = imu_angle;
tx_event_flags_set(&system_events, EVENT_IMU_DATA_READY, TX_OR);
tx_thread_sleep(100);
}
}
#endif