Merge pull request #2640 from openmv/update_ae3_board

boards/OPENMV_AE3: Fix romfs partitions numbers.
This commit is contained in:
Ibrahim Abdelkader 2025-03-30 16:43:25 +02:00 committed by GitHub
commit 79cd6f913a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 24 additions and 24 deletions

View File

@ -109,7 +109,7 @@ static const partition_t OMV_BOOT_DFU_PARTITIONS[] = {
{ .type = PTYPE_REC_FLASH, .region=-1, .rdonly = 0, .start = 0x00000000, .limit = 0x00001000, .attr = 0 }, { .type = PTYPE_REC_FLASH, .region=-1, .rdonly = 0, .start = 0x00000000, .limit = 0x00001000, .attr = 0 },
}; };
#define OMV_BOOT_DFU_PARTITIONS_COUNT 8 // Must be a literal #define OMV_BOOT_DFU_PARTITIONS_COUNT 8 // Must be a literal
#define OMV_BOOT_DFU_PARTITIONS_STR "BOOT", "HP", "HE", "ROMFS0", "TOC", "RWFS", "ROMFS1", "RECOVERY" #define OMV_BOOT_DFU_PARTITIONS_STR "BOOT", "HP", "HE", "ROMFS1", "TOC", "RWFS", "ROMFS0", "RECOVERY"
// Protects MRAM before jump to main firmware // Protects MRAM before jump to main firmware
static const partition_t OMV_BOOT_XIP_PARTITIONS[] = { static const partition_t OMV_BOOT_XIP_PARTITIONS[] = {

View File

@ -1,27 +1,5 @@
{ {
"0": { "0": {
"size": "0x100000",
"entries": [
{
"type": "tflite",
"path": "{TOP}/lib/tflm/models/micro_speech.tflite",
"alignment": 16,
"optimize": "Performance"
},
{
"type": "tflite",
"path": "{TOP}/lib/tflm/models/audio_preprocessor.tflite",
"optimize": "Performance"
},
{
"type": "tflite",
"path": "{TOP}/lib/tflm/models/force_int_quant.tflite",
"alignment": 16,
"optimize": "Performance"
}
]
},
"1": {
"size": "0x1000000", "size": "0x1000000",
"entries": [ "entries": [
{ {
@ -76,5 +54,27 @@
"stages": 0 "stages": 0
} }
] ]
},
"1": {
"size": "0x100000",
"entries": [
{
"type": "tflite",
"path": "{TOP}/lib/tflm/models/micro_speech.tflite",
"alignment": 16,
"optimize": "Performance"
},
{
"type": "tflite",
"path": "{TOP}/lib/tflm/models/audio_preprocessor.tflite",
"optimize": "Performance"
},
{
"type": "tflite",
"path": "{TOP}/lib/tflm/models/force_int_quant.tflite",
"alignment": 16,
"optimize": "Performance"
}
]
} }
} }

View File

@ -38,7 +38,7 @@ CORE_M55_HP := $(if $(filter M55_HP,$(MCU_CORE)),1,0)
CMSIS_MCU_H := '<system_utils.h>' CMSIS_MCU_H := '<system_utils.h>'
ROMFS_CONFIG := $(OMV_BOARD_CONFIG_DIR)/romfs.json ROMFS_CONFIG := $(OMV_BOARD_CONFIG_DIR)/romfs.json
ROMFS_PART := $(if $(filter M55_HE,$(MCU_CORE)),0,1) ROMFS_PART := $(if $(filter M55_HP,$(MCU_CORE)),0,1)
ROMFS_IMAGE := $(FW_DIR)/romfs$(ROMFS_PART).stamp ROMFS_IMAGE := $(FW_DIR)/romfs$(ROMFS_PART).stamp
# Compiler Flags # Compiler Flags