feat(lib/flash): 添加C++支持,定义了FLASH设备表格式

 feat(lib/font): 增加中文字体数据结构,扩展字形数组大小
 chore(.gitignore): 添加构建目录到忽略列表
 chore(CMakeLists): 优化CMake配置,修复库链接顺序
 feat(sim/key): 实现模拟按键功能,包括上下左右及确认、设置、重置键
 fix(main): 移除未使用的SDL实例,调整任务和OLED测试的执行顺序
This commit is contained in:
JiXieShi
2024-12-14 23:33:32 +08:00
parent d93df1d303
commit 7dd4268210
6 changed files with 181 additions and 63 deletions

View File

@@ -5,6 +5,10 @@
#ifndef HW_LIB_FLASH_CFG_H
#define HW_LIB_FLASH_CFG_H
#ifdef __cplusplus
extern "C" {
#endif
#define FLASH_DEBUG_MODE
#define FLASH_USING_SFDP
@@ -19,9 +23,12 @@ enum {
#define FLASH_FLASH_DEVICE_TABLE \
{ \
[FLASH_XXXX_DEVICE_INDEX] = {.name = "XXXX", .spi.name = "SPIX"}, \
[FLASH_XXXX_DEVICE_INDEX] = {.name = "XXXX", .spi={.name = "SPIX"}, }, \
}
#define FLASH_USING_QSPI
#ifdef __cplusplus
}
#endif
#endif //HW_LIB_FLASH_CFG_H