48f208b2e6
2. 试着测试了一下LVGL_GIF渲染+音乐播放+语音识别的组合简单优化后,
发现lvgl渲染略显卡顿,语音识别有缓冲区空警告,不过无伤大雅,还需要进一步深度优化。
32 lines
518 B
C++
32 lines
518 B
C++
//
|
|
// Created by misaki on 2025/9/2.
|
|
//
|
|
#pragma once
|
|
#include <string>
|
|
/**
|
|
* 本模块提供各种杂项工具类,基本都来源于对底层驱动的封装
|
|
*
|
|
*
|
|
*/
|
|
class ToolsClass {
|
|
public:
|
|
/**
|
|
* 获取当前时间
|
|
* @return
|
|
*/
|
|
static std::string getCurrentTime();
|
|
|
|
/**
|
|
* 获取esp32s3的芯片序列号
|
|
* @return
|
|
*/
|
|
static std::string getChipSerialNumber();
|
|
|
|
/**
|
|
* 获取esp32s3的MAC地址
|
|
* @return
|
|
*/
|
|
static std::string getChipMAC();
|
|
};
|
|
|