TMP235 온도 측정 경로 정리

- mst? 온도 응답을 IMU register direct read로 대체
- go_temp/TMP235 legacy 경로 및 빌드 대상 제거
- info_temp 전역 정의를 IMU 모듈로 이동
- TMP235 드라이버는 deprecated reference로 표시
This commit is contained in:
2026-06-15 12:24:06 +09:00
parent 29989054c0
commit 4cd5931e2a
10 changed files with 168 additions and 229 deletions
@@ -46,7 +46,6 @@ extern uint8_t resetCount;
*----------------------------------------------------------------------------*/
extern void battery_level_meas(void);
extern void pressure_all_level_meas(void);
extern void tmp235_voltage_level_meas(void);
extern int imu_read_direct(void);
extern int imu_read_temperature_x100(uint16_t *temp_x100, float *temp_c);
extern int imu_fifo_capture_start(void);
@@ -66,7 +65,6 @@ extern bool motion_raw_data_enabled;
extern volatile uint16_t info_batt;
extern volatile uint16_t info_temp;
extern volatile uint16_t info_imu[6];
extern volatile bool tmp235_saadc_done;
extern volatile bool battery_saadc_done;
/*------------------------------------------------------------------------------
@@ -7,7 +7,7 @@
#include "parser.h"
int Cmd_msn(const ParsedCmd *cmd); /* msn? -> rsn: battery ADC measurement */
int Cmd_mst(const ParsedCmd *cmd); /* mst? -> rso: TMP235 with piezo power cycle */
int Cmd_mst(const ParsedCmd *cmd); /* mst? -> rso: IMU die temperature */
int Cmd_msp(const ParsedCmd *cmd); /* msp? -> rsp: IMU 6-axis single read */
/* Helper for the mbb? handler: sequentially measures battery / IMU / temperature, then emits a single rbb: response.
* Called from Cmd_mbb() in cmd_piezo.c. */