构建测试
This commit is contained in:
18
Src/main.c
18
Src/main.c
@@ -36,7 +36,6 @@
|
||||
#include "rs485.h"
|
||||
#include "net_socket.h"
|
||||
#include "net_select.h"
|
||||
#include "ch395f_test.h"
|
||||
#include "app_main.h"
|
||||
#include "sys_clock.h"
|
||||
/* USER CODE END Includes */
|
||||
@@ -182,22 +181,7 @@ int main(void)
|
||||
/* 启动第一次转换(CubeMX 已配置 BUSY EXTI 中断) */
|
||||
tpafe5160_start_conv_irq();
|
||||
|
||||
/* CH395F 驱动测试 — 各阶段独立运行,注释 define 可跳过 */
|
||||
#ifdef ENABLE_PHASE1_TESTS
|
||||
ch395f_phase1_tests();
|
||||
#endif
|
||||
#ifdef ENABLE_PHASE3_TESTS
|
||||
ch395f_phase3_tests();
|
||||
#endif
|
||||
#ifdef ENABLE_PHASE2_TESTS
|
||||
ch395f_phase2_tests();
|
||||
#endif
|
||||
#ifdef ENABLE_PHASE5_TESTS
|
||||
ch395f_phase5_init();
|
||||
#endif
|
||||
#ifdef ENABLE_PHASE6_TESTS
|
||||
ch395f_phase6_tests();
|
||||
#endif
|
||||
/* CH395F 测试已全部移至 ch395fTestTask */
|
||||
/* USER CODE END 2 */
|
||||
|
||||
/* Init scheduler */
|
||||
|
||||
Reference in New Issue
Block a user