123456789101112131415161718192021 |
- /*
- * Copyright (c) 2006-2021, Bluetrum Development Team
- *
- * SPDX-License-Identifier: Apache-2.0
- *
- * Change Logs:
- * Date Author Notes
- * 2021-11-16 greedyhao first version
- */
- #include <rtthread.h>
- #include "fal.h"
- #if defined(BSP_USING_ON_CHIP_FLASH)
- static int rt_hw_on_chip_flash_init(void)
- {
- fal_init();
- return RT_EOK;
- }
- INIT_COMPONENT_EXPORT(rt_hw_on_chip_flash_init);
- #endif
|