feat: establish OTA-ready fs640 factory baseline

This commit is contained in:
chenjintao
2026-09-27 17:45:49 +08:00
parent 6fad31c37a
commit b726fe192a
9 changed files with 458 additions and 6 deletions
@@ -0,0 +1,21 @@
#ifndef BANBAN_OTA_BASELINE_H
#define BANBAN_OTA_BASELINE_H
#include <stdint.h>
#include "build_macro.h"
#define BANBAN_OTA_EXPECTED_LAYOUT_ID "eg800akcn_11lg-fs640-app2c2000"
#define BANBAN_OTA_LAYOUT_ID CUSTOM_APP_OTA_LAYOUT_ID
#define BANBAN_OTA_BUILD_PROFILE CUSTOM_APP_OTA_BUILD_PROFILE
#define BANBAN_OTA_APP_PHYSICAL_ADDRESS UINT32_C(0x002C2000)
#define BANBAN_OTA_APP_XIP_ADDRESS UINT32_C(0x802C2000)
#define BANBAN_OTA_APP_PARTITION_SIZE UINT32_C(0x00073000)
#define BANBAN_OTA_FS_PHYSICAL_ADDRESS UINT32_C(0x00335000)
#define BANBAN_OTA_FS_PARTITION_SIZE UINT32_C(0x000A0000)
#define BANBAN_OTA_STAGING_RESERVE_BYTES UINT32_C(0x00010000)
#if !defined(CUSTOM_APP_OTA_LAYOUT_ID) || !defined(CUSTOM_APP_OTA_BUILD_PROFILE)
#error "Use build_rel.bat to build the OTA-ready production baseline"
#endif
#endif