parser 분리
- 파서 인프라/커맨드 핸들러로 분리 - 커맨드 핸들러는 기기 제어/기기 정보/센서/Piezo로 분리
This commit is contained in:
@@ -111,6 +111,7 @@
|
||||
/* ── 암호화/명령 파서/디버그 ── */
|
||||
#include "nrf_crypto.h" /* nRF 암호화 라이브러리 (AES 등) */
|
||||
#include "parser.h" /* 새 바이너리 명령 파서 (dr_cmd_parser) */
|
||||
#include "cmd_table.h" /* 명령 테이블 등록 (cmd_table_init) */
|
||||
#include "debug_print.h" /* 디버그 출력 매크로 (DBG_PRINTF) */
|
||||
#include "fstorage.h" /* Flash Storage 래퍼 (FDS 초기화/저장/로드) */
|
||||
#include "dr_piezo.h" /* 피에조 초음파 드라이버 */
|
||||
@@ -1840,6 +1841,7 @@ int main(void)
|
||||
g_plat.tx_bin = dr_binary_tx_safe;
|
||||
g_plat.crc_check = true;
|
||||
g_log_enable = true;
|
||||
cmd_table_init(); /* 명령 테이블을 파서에 주입 */
|
||||
dr_piezo_init();
|
||||
DBG_PRINTF(" parser/piezo OK\r\n");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user