7fa73d6183
2. 新增了优雅的C语言错误处理
34 lines
402 B
C
34 lines
402 B
C
#include <stdio.h>
|
|
|
|
|
|
#include <esp_log.h>
|
|
|
|
#include "err_handle.h"
|
|
|
|
#include "drivers_test.h"
|
|
|
|
|
|
|
|
void app_main(void)
|
|
{
|
|
// imu_test(); // imu测试
|
|
|
|
// battery_test();
|
|
|
|
// wireless_test();
|
|
|
|
// sd_card_module_test();
|
|
|
|
// pcf85063_test();
|
|
|
|
// exio_text();
|
|
|
|
// audio_test();
|
|
|
|
lcd_touch_lvgl_test();
|
|
|
|
ESP_GOTO(err);
|
|
err:
|
|
ESP_LOGI("app_main", "app_main error");
|
|
}
|