1. 进一步拓展了语音识别,目前可以从sd卡导入模型,避免了model文件占用flash分区大小

2. 进一步修改了语音识别,关闭了关键词唤醒功能,只保留了指令识别功能
3. 构建了业务层的基本框架(增加了底层驱动对于的C++兼容),业务代码采用C++编写,启用了RTTI(运行时类型识别)
This commit is contained in:
Misaki
2025-09-03 00:19:14 +08:00
parent ce0998c1c6
commit 5d79f88918
42 changed files with 822 additions and 100 deletions
+10 -1
View File
@@ -4,6 +4,11 @@
#pragma once
#ifdef __cplusplus
extern "C" {
#endif
#include <stdint.h>
#include "esp_err.h"
@@ -19,4 +24,8 @@
* @return ESP_OK 全部测试通过
* ESP_FAIL 任一测试失败
*/
esp_err_t EXIO_Test(void);
esp_err_t EXIO_Test(void);
#ifdef __cplusplus
}
#endif
+9 -1
View File
@@ -3,4 +3,12 @@
//
#pragma once
void run_audio_test(void);
#ifdef __cplusplus
extern "C" {
#endif
void run_audio_test(void);
#ifdef __cplusplus
}
#endif
+9 -4
View File
@@ -2,8 +2,12 @@
// Created by misaki on 2025/8/23.
//
#ifndef BIONIC_SPHERE_DRIVERS_TEST_H
#define BIONIC_SPHERE_DRIVERS_TEST_H
#pragma once
#ifdef __cplusplus
extern "C" {
#endif
// imu测试
void imu_test(void);
@@ -41,5 +45,6 @@ void mic_speech_test(void);
// 语音识别+GIF+音乐测试
void mic_speech_and_gif_and_music_test(void);
#endif //BIONIC_SPHERE_DRIVERS_TEST_H
#ifdef __cplusplus
}
#endif
+7 -3
View File
@@ -2,12 +2,16 @@
// Created by misaki on 2025/8/25.
//
#ifndef BIONIC_SPHERE_GIF_TEST_H
#define BIONIC_SPHERE_GIF_TEST_H
#pragma once
#ifdef __cplusplus
extern "C" {
#endif
void gif_display_test(void);
void gif_display_test_1(void);
#endif //BIONIC_SPHERE_GIF_TEST_H
#ifdef __cplusplus
}
#endif