- firmware BSP_USART_BAUDRATE 460800 (divider error +0.03%); uartrst/ uartinfo follow the macro - RX DMA ring 2KB -> 3KB: at 460800 2KB only covers 44ms, less than the ~45ms flash-erase interrupt-off window; stack top now 0x2000BDE8 (guard warns <1KB from the 0x2000C000 cliff, by design) - tools: ble_ota_update.py UartTransport and uart_cap.py default baud - Verified: stream OTA 55832B in 2.6s @23kB/s (one lost frame recovered by go-back-N), PASS after reboot; text CLI fine at 460800 - docs: ble_protocol.md, design spec, AGENTS.md, dev log section 48
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.26"
|
|
#endif
|
|
|
|
/* Numeric form used by the BLE info query / OTA records: 0x00MMmmpp */
|
|
#ifndef APP_FW_VERSION_NUM
|
|
#define APP_FW_VERSION_NUM 0x0001001Au
|
|
#endif
|
|
|
|
#endif /* __APP_VERSION_H__ */
|