mothercup/mcm-ddc-ble/inc/app_version.h
evan.liu 3d6567819a CLI 新增 pinset 管脚高低电平命令 (Boot V1.00.07 / APP V1.00.31)
- pinset <pxN> [0|1]: 设置 GPIO 输出高低 / 读当前电平 (pa0-6/pb0-13)
- Boot/src/boot_cli.c + mcm-ddc-ble/src/cli_core.c 各加一份同名命令
- 对 SWD(PA4/PA5) / 控制台(PB6/PB7) 重配前打印 warning
- Boot V1.00.06 -> V1.00.07; APP V1.00.30 -> V1.00.31 (0x0001001F)
- docs/开发日志.md: 新增 §59
2026-09-12 09:58:55 +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.31"
#endif
/* Numeric form used by the BLE info query / OTA records: 0x00MMmmpp */
#ifndef APP_FW_VERSION_NUM
#define APP_FW_VERSION_NUM 0x0001001Fu
#endif
#endif /* __APP_VERSION_H__ */