1 /*
2  * Copyright (C) 2015-2020 Alibaba Group Holding Limited
3  */
4 
5 #include <stdio.h>
6 
7 #include "aos_hal_flash.h"
8 
aos_hal_flash_info_get(hal_partition_t in_partition,hal_logic_partition_t ** partition)9 int32_t aos_hal_flash_info_get(hal_partition_t in_partition, hal_logic_partition_t **partition)
10 {
11     return 0;
12 }
13 
aos_hal_flash_read(hal_partition_t id,uint32_t * offset,void * buffer,uint32_t buffer_len)14 int32_t aos_hal_flash_read(hal_partition_t id, uint32_t *offset, void *buffer, uint32_t buffer_len)
15 {
16     return 0;
17 }
18 
aos_hal_flash_write(hal_partition_t id,uint32_t * offset,const void * buffer,uint32_t buffer_len)19 int32_t aos_hal_flash_write(hal_partition_t id, uint32_t *offset, const void *buffer, uint32_t buffer_len)
20 {
21     return 0;
22 }
23 
aos_hal_flash_erase(hal_partition_t id,uint32_t offset,uint32_t size)24 int32_t aos_hal_flash_erase(hal_partition_t id, uint32_t offset, uint32_t size)
25 {
26     return 0;
27 }
28