mothercup/mcm-ddc-ble/inc/app_version.h
evan.liu a93d2919a0 CLI 新增 disp 数码管显示值命令 (APP V1.00.32)
- disp <value> [f] [hex]: 设置 7 段数码管显示数值
  - 默认十进制 1 位小数 °C; f 点亮 °F 指示段; hex 按十六进制整数显示
- 手写 cli_parse_float/cli_parse_hex (不依赖 MicroLIB atof/strtod)
- 背景: 数码管 display_task 之前无任何任务调用 display_set(), 一直显示静态 0
- 仅 APP 改动, Boot 不动 (仍 V1.00.07)
- docs/开发日志.md: 新增 §60
2026-09-12 10:14:58 +08:00

21 lines
589 B
C

/**
* @file app_version.h
* @brief Firmware version string.
* Both macros may be overridden per Keil target (-DAPP_FW_VERSION=...):
* the "APP2" target builds the same sources one version up, linked at
* the APP2 bank base (see tools/make_dual_package.bat).
*/
#ifndef __APP_VERSION_H__
#define __APP_VERSION_H__
#ifndef APP_FW_VERSION
#define APP_FW_VERSION "V1.00.32"
#endif
/* Numeric form used by the BLE info query / OTA records: 0x00MMmmpp */
#ifndef APP_FW_VERSION_NUM
#define APP_FW_VERSION_NUM 0x00010020u
#endif
#endif /* __APP_VERSION_H__ */