Skip to content

Commit

Permalink
update:780EPM的luatos分区更改过
Browse files Browse the repository at this point in the history
  • Loading branch information
allewalker committed Dec 20, 2024
1 parent 4bfad94 commit 4a96fe4
Showing 1 changed file with 21 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,26 @@ flash xip address(from both ap/cp view): 0x00800000---0x00c00000
#include __USER_MAP_CONF_FILE__
#else

#ifdef __LUATOS__
#if defined (FEATURE_AMR_CP_ENABLE) || defined (FEATURE_VEM_CP_ENABLE)
#ifndef AP_FLASH_LOAD_SIZE
#define AP_FLASH_LOAD_SIZE (0x219000)
#endif
#else
#ifndef AP_FLASH_LOAD_SIZE
#define AP_FLASH_LOAD_SIZE (0x255000)
#endif
#endif
#ifndef FULL_OTA_SAVE_ADDR
#define FULL_OTA_SAVE_ADDR (0x0)
#endif
#define AP_FLASH_LOAD_UNZIP_SIZE (AP_FLASH_LOAD_SIZE + 0x20000)

//fs addr and size
#define FLASH_FOTA_REGION_START (0x2D7000)
#define FLASH_FOTA_REGION_LEN (0xE0000)//896KB
#define FLASH_FOTA_REGION_END (0x3b7000)
#else
//ap image addr and size
#if defined (FEATURE_AMR_CP_ENABLE) || defined (FEATURE_VEM_CP_ENABLE)
#ifndef AP_FLASH_LOAD_SIZE
Expand All @@ -86,7 +106,7 @@ flash xip address(from both ap/cp view): 0x00800000---0x00c00000
#define FLASH_FOTA_REGION_START (0x347000)
#define FLASH_FOTA_REGION_LEN (0x70000)//448KB
#define FLASH_FOTA_REGION_END (0x3b7000)

#endif
#define FLASH_FS_REGION_START (0x3b7000)
#define FLASH_FS_REGION_END (0x3e1000)
#define FLASH_FS_REGION_SIZE (FLASH_FS_REGION_END-FLASH_FS_REGION_START) //168KB
Expand Down

0 comments on commit 4a96fe4

Please sign in to comment.