mirror of
https://github.com/Ai-Thinker-Open/Ai-Thinker-Open_RTL8710BX_ALIOS_SDK.git
synced 2025-02-06 04:15:24 +00:00
24 lines
604 B
C
24 lines
604 B
C
/*
|
|
* Copyright (C) 2015-2017 Alibaba Group Holding Limited
|
|
*/
|
|
|
|
#include "hal/soc/soc.h"
|
|
#include <aos/kernel.h>
|
|
#include <aos/aos.h>
|
|
|
|
/* Logic partition on flash devices */
|
|
hal_logic_partition_t hal_partitions[HAL_PARTITION_MAX] =
|
|
{
|
|
[HAL_PARTITION_PARAMETER_2] =
|
|
{
|
|
.partition_owner = HAL_FLASH_EMBEDDED,
|
|
.partition_description = "PARAMETER2",
|
|
.partition_start_addr = 0x8015000,
|
|
.partition_length = 0x2000, // 8k bytes
|
|
.partition_options = PAR_OPT_READ_EN | PAR_OPT_WRITE_EN,
|
|
},
|
|
};
|
|
|
|
void board_init(void)
|
|
{
|
|
}
|