mirror of
https://github.com/oopuuu/zTC1.git
synced 2025-12-14 22:18:14 +08:00
修复代码错误
This commit is contained in:
0
mico-os/board/MK3239/flash_prog.elf
Normal file → Executable file
0
mico-os/board/MK3239/flash_prog.elf
Normal file → Executable file
@@ -32,8 +32,6 @@ APP_BIN_FILE :=$(BIN_OUTPUT_FILE)
|
||||
APP_OFFSET:= 0x8000
|
||||
|
||||
#ate firmware
|
||||
ATE_BIN_FILE := $(MICO_OS_PATH)/resources/ate_firmware/3165/ate.bin
|
||||
ATE_OFFSET:= 0x100000
|
||||
|
||||
#wifi firmware
|
||||
|
||||
@@ -47,4 +45,4 @@ gen_standard_images: build_done
|
||||
$(QUIET)$(RM) $(MOC_ALL_BIN_OUTPUT_FILE)
|
||||
$(PYTHON) $(GEN_COMMON_BIN_OUTPUT_FILE_SCRIPT) -o $(MOC_ALL_BIN_OUTPUT_FILE) -f $(BOOT_OFFSET) $(BOOT_BIN_FILE)
|
||||
$(PYTHON) $(GEN_COMMON_BIN_OUTPUT_FILE_SCRIPT) -o $(MOC_ALL_BIN_OUTPUT_FILE) -f $(APP_OFFSET) $(APP_BIN_FILE)
|
||||
$(PYTHON) $(GEN_COMMON_BIN_OUTPUT_FILE_SCRIPT) -o $(MOC_ALL_BIN_OUTPUT_FILE) -f $(ATE_OFFSET) $(ATE_BIN_FILE)
|
||||
|
||||
|
||||
@@ -315,22 +315,22 @@ const mico_logic_partition_t mico_partitions[] =
|
||||
.partition_length = 0x60000, //384k bytes
|
||||
.partition_options = PAR_OPT_READ_EN | PAR_OPT_WRITE_DIS,
|
||||
},
|
||||
// [MICO_PARTITION_PARAMETER_1] =
|
||||
// {
|
||||
// .partition_owner = MICO_FLASH_QSPI,
|
||||
// .partition_description = "PARAMETER1",
|
||||
// .partition_start_addr = 0x0,
|
||||
// .partition_length = 0x1000, // 4k bytes
|
||||
// .partition_options = PAR_OPT_READ_EN | PAR_OPT_WRITE_EN,
|
||||
// },
|
||||
// [MICO_PARTITION_PARAMETER_2] =
|
||||
// {
|
||||
// .partition_owner = MICO_FLASH_QSPI,
|
||||
// .partition_description = "PARAMETER2",
|
||||
// .partition_start_addr = 0x1000,
|
||||
// .partition_length = 0x1000, //4k bytes
|
||||
// .partition_options = PAR_OPT_READ_EN | PAR_OPT_WRITE_EN,
|
||||
// },
|
||||
[MICO_PARTITION_PARAMETER_1] =
|
||||
{
|
||||
.partition_owner = MICO_FLASH_QSPI,
|
||||
.partition_description = "PARAMETER1",
|
||||
.partition_start_addr = 0x0,
|
||||
.partition_length = 0x1000, // 4k bytes
|
||||
.partition_options = PAR_OPT_READ_EN | PAR_OPT_WRITE_EN,
|
||||
},
|
||||
[MICO_PARTITION_PARAMETER_2] =
|
||||
{
|
||||
.partition_owner = MICO_FLASH_QSPI,
|
||||
.partition_description = "PARAMETER2",
|
||||
.partition_start_addr = 0x1000,
|
||||
.partition_length = 0x1000, //4k bytes
|
||||
.partition_options = PAR_OPT_READ_EN | PAR_OPT_WRITE_EN,
|
||||
},
|
||||
[MICO_PARTITION_RF_FIRMWARE] =
|
||||
{
|
||||
.partition_owner = MICO_FLASH_QSPI,
|
||||
@@ -352,25 +352,9 @@ const mico_logic_partition_t mico_partitions[] =
|
||||
.partition_owner = MICO_FLASH_QSPI,
|
||||
.partition_description = "FILESYS",
|
||||
.partition_start_addr = 0x118000,
|
||||
.partition_length = 0x0E0000, //896k bytes
|
||||
.partition_length = 0x0E8000, //928k bytes
|
||||
.partition_options = PAR_OPT_READ_EN | PAR_OPT_WRITE_EN,
|
||||
},
|
||||
[MICO_PARTITION_PARAMETER_1] =
|
||||
{
|
||||
.partition_owner = MICO_FLASH_QSPI,
|
||||
.partition_description = "PARAMETER1",
|
||||
.partition_start_addr = 0x1F8000,
|
||||
.partition_length = 0x4000, // 16k bytes
|
||||
.partition_options = PAR_OPT_READ_EN | PAR_OPT_WRITE_EN,
|
||||
},
|
||||
[MICO_PARTITION_PARAMETER_2] =
|
||||
{
|
||||
.partition_owner = MICO_FLASH_QSPI,
|
||||
.partition_description = "PARAMETER2",
|
||||
.partition_start_addr = 0x1FC000,
|
||||
.partition_length = 0x4000, //16k bytes
|
||||
.partition_options = PAR_OPT_READ_EN | PAR_OPT_WRITE_EN,
|
||||
},
|
||||
}
|
||||
};
|
||||
|
||||
#if defined ( USE_MICO_SPI_FLASH )
|
||||
|
||||
@@ -257,12 +257,6 @@ typedef enum
|
||||
MICO_I2C_NONE,
|
||||
} mico_i2c_t;
|
||||
|
||||
typedef enum
|
||||
{
|
||||
MICO_IIS_MAX, /* Denotes the total number of IIS port aliases. Not a valid IIS alias */
|
||||
MICO_IIS_NONE,
|
||||
} mico_iis_t;
|
||||
|
||||
typedef enum
|
||||
{
|
||||
MICO_PWM_MAX, /* Denotes the total number of PWM port aliases. Not a valid PWM alias */
|
||||
|
||||
Reference in New Issue
Block a user