- LED1 改 PB1(运行心跳闪灯, 半周期=led1_blink_ms), LED2 改 PB2(蓝牙连接亮灯) - main.c 新增 led_task 心跳 + 启动 LedInit/LedOff(LED2) - app_ble.c connected/disconnected 控制 LED2 亮灭 - 仅 APP 改动, Boot 不动 (仍 V1.00.07) - docs/开发日志.md: 新增 §71
21 lines
589 B
C
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.42"
|
|
#endif
|
|
|
|
/* Numeric form used by the BLE info query / OTA records: 0x00MMmmpp */
|
|
#ifndef APP_FW_VERSION_NUM
|
|
#define APP_FW_VERSION_NUM 0x0001002Au
|
|
#endif
|
|
|
|
#endif /* __APP_VERSION_H__ */
|