123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- /*
- * BSD 2-Clause License
- * Copyright (c) 2022, LiteEMF
- * All rights reserved.
- * This software component is licensed by LiteEMF under BSD 2-Clause license,
- * the "License"; You may not use this file except in compliance with the
- * License. You may obtain a copy of the License at:
- * opensource.org/licenses/BSD-2-Clause
- *
- */
- /************************************************************************************************************
- ** Description:
- ************************************************************************************************************/
- #include "api/api_flash.h"
- /******************************************************************************************************
- ** Defined
- *******************************************************************************************************/
- /*****************************************************************************************************
- ** Function
- ******************************************************************************************************/
- /*******************************************************************
- ** Parameters:
- ** Returns:
- ** Description:
- *******************************************************************/
- //hal
- bool hal_flash_write(uint16_t offset,uint8_t *buf,uint16_t len)
- {
- UNUSED_PARAMETER(offset);
- UNUSED_PARAMETER(buf);
- UNUSED_PARAMETER(len);
- return false;
- }
- bool hal_flash_read(uint16_t offset,uint8_t *buf,uint16_t len)
- {
- UNUSED_PARAMETER(offset);
- UNUSED_PARAMETER(buf);
- UNUSED_PARAMETER(len);
- return false;
- }
- bool hal_flash_erase(uint16_t offset)
- {
- UNUSED_PARAMETER(offset);
- return false;
- }
- bool hal_flash_init(void)
- {
- return false;
- }
|