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
@@ -29,6 +29,7 @@
#include "ql_log.h"
#include "hal_api.h"
#include "nfc.h"
#include "ota_baseline.h"
#define APP_ENABLE_SLEEP
@@ -146,6 +147,17 @@ static void custom_app_task(void * argv)
hal_os_get_build_time(tempbuf);
printf("BUILD TIME:%s\r\n",tempbuf);
printf("[OTA-BASELINE] layout=%s profile=%s app_phys=0x%08lX app_xip=0x%08lX app_size=%lu fs_size=%lu slot=single\r\n",
BANBAN_OTA_LAYOUT_ID,
BANBAN_OTA_BUILD_PROFILE,
(unsigned long)BANBAN_OTA_APP_PHYSICAL_ADDRESS,
(unsigned long)BANBAN_OTA_APP_XIP_ADDRESS,
(unsigned long)BANBAN_OTA_APP_PARTITION_SIZE,
(unsigned long)BANBAN_OTA_FS_PARTITION_SIZE);
printf("[OTA-BASELINE] U: total=%d free=%d fota2_reserve=%lu\r\n",
ql_fs_size('U'),
ql_fs_free_size('U'),
(unsigned long)BANBAN_OTA_STAGING_RESERVE_BYTES);
//app_uartsh_init();