ql_nor_block_device.h 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. /** @file
  2. ql_nor_block_device.h
  3. @brief
  4. This file is used to define log interface for different Quectel Project.
  5. */
  6. /*================================================================
  7. Copyright (c) 2020 Quectel Wireless Solution, Co., Ltd. All Rights Reserved.
  8. Quectel Wireless Solution Proprietary and Confidential.
  9. =================================================================*/
  10. /*=================================================================
  11. EDIT HISTORY FOR MODULE
  12. This section contains comments describing changes made to the module.
  13. Notice that changes are listed in reverse chronological order.
  14. WHEN WHO WHAT, WHERE, WHY
  15. ------------ ------- -------------------------------------------------------------------------------
  16. =================================================================*/
  17. #ifndef QL_NOR_BLOCK_DEVICE_H
  18. #define QL_NOR_BLOCK_DEVICE_H
  19. #ifdef __cplusplus
  20. extern "C" {
  21. #endif
  22. #include "block_device.h"
  23. /*========================================================================
  24. * Variable Definition
  25. *========================================================================*/
  26. #define CONFIG_FS_NOR_FLASH_MOUNT_POINT "/exnor"
  27. /*========================================================================
  28. * function Definition
  29. *========================================================================*/
  30. void ql_fs_umount_nor_flash();
  31. bool ql_fs_mount_nor_flash();
  32. blockDevice_t *ql_nor_block_create(uint32_t name);
  33. #ifdef __cplusplus
  34. } /*"C" */
  35. #endif
  36. #endif /* QL_NOR_BLOCK_DEVICE_H */