重构项目配置并添加对 SBDEMO 的支持

更新多个 ESP32 芯片(C2、C3、S3)
的版本配置为 SBDEMO
产品添加新的配置文件实现板卡和应用程序配置模块添加 CRC 实用函数修改系统日志以支持动态日志控制更新 Kconfig 和 sdkconfig 的默认设置以适应新产品
This commit is contained in:
LokLiang
2025-02-21 10:30:22 +08:00
parent 73df531ac3
commit e9b5e42ef2
28 changed files with 1561 additions and 48 deletions

View File

@@ -10,23 +10,21 @@
#define BOARD_CONFIG_DATA_VER 0x0101 /* 对应 cfg_board_t::version */
#define APP_CONFIG_DATA_VER 0 /* 对应 cfg_app_t::version */
#define LEDSTRIP_CONFIG_DATA_VER 0x00000001 /* 对应 cfg_led_strip_t ::version */
#define FW_VERSION_MAIN 0
#define FW_VERSION_MAIN 1
#define FW_VERSION_MINOR 0
#define FW_VERSION_BUILD 1
#define FW_VERSION_BUILD 0
#elif (CONFIG_PRODUCT_ID_SBLED1)
#elif (CONFIG_PRODUCT_ID_SBDEMO)
#define PRODUCT_ID "SBLED1"
#define PRODUCT_ID "SBDEMO"
#define BOARD_CONFIG_DATA_VER 0x0101 /* 对应 cfg_board_t::version */
#define APP_CONFIG_DATA_VER 0 /* 对应 cfg_app_t::version */
#define LEDSTRIP_CONFIG_DATA_VER 0x00000001 /* 对应 cfg_led_strip_t ::version */
#define FW_VERSION_MAIN 6
#define FW_VERSION_MINOR 1
#define FW_VERSION_BUILD 2
#define FW_VERSION_MAIN 1
#define FW_VERSION_MINOR 0
#define FW_VERSION_BUILD 0
#else
#error 未定义配置