mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
Merge pull request #2640 from openmv/update_ae3_board
boards/OPENMV_AE3: Fix romfs partitions numbers.
This commit is contained in:
commit
79cd6f913a
@ -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 },
|
||||
};
|
||||
#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
|
||||
static const partition_t OMV_BOOT_XIP_PARTITIONS[] = {
|
||||
|
||||
@ -1,27 +1,5 @@
|
||||
{
|
||||
"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",
|
||||
"entries": [
|
||||
{
|
||||
@ -76,5 +54,27 @@
|
||||
"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"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@ -38,7 +38,7 @@ CORE_M55_HP := $(if $(filter M55_HP,$(MCU_CORE)),1,0)
|
||||
CMSIS_MCU_H := '<system_utils.h>'
|
||||
|
||||
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
|
||||
|
||||
# Compiler Flags
|
||||
|
||||
Loading…
Reference in New Issue
Block a user