Files
banban/ql-application/threadx/interface/custom_app/inc/ota_baseline.h
T

22 lines
892 B
C

#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