ql_fs_demo.h 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. /**
  2. @file
  3. osi_demo.h
  4. @brief
  5. This file provides the definitions for nw demo, and declares the
  6. API functions.
  7. */
  8. /*============================================================================
  9. Copyright (c) 2020 Quectel Wireless Solution, Co., Ltd. All Rights Reserved.
  10. Quectel Wireless Solution Proprietary and Confidential.
  11. =============================================================================*/
  12. /*===========================================================================
  13. EDIT HISTORY FOR MODULE
  14. This section contains comments describing changes made to the module.
  15. Notice that changes are listed in reverse chronological order.
  16. WHEN WHO WHAT, WHERE, WHY
  17. ---------- ------------ ----------------------------------------------------
  18. =============================================================================*/
  19. #ifndef _QL_FS_DEMO_H_
  20. #define _QL_FS_DEMO_H_
  21. #ifdef __cplusplus
  22. extern "C" {
  23. #endif
  24. /*========================================================================
  25. * function Definition
  26. *========================================================================*/
  27. #define QL_FS_TASK_PRIO APP_PRIORITY_NORMAL
  28. #define QL_FS_TASK_STACK_SIZE 4*1024
  29. #define QL_FS_TASK_EVENT_CNT 1
  30. #define TEST_STR "0123456789ABCDEFG"
  31. //DISK info:
  32. //"UFS:" for internal nor flash
  33. //"SD:" for SD card
  34. //"EXNAND:" for external nand flash
  35. #define TEST_DISK "UFS:"
  36. #define TEST_DIR "test_dir"
  37. #define FILE_NAME "test_file.txt"
  38. #define DEST_FILE_NAME "dest_file.txt"
  39. #define DIR_PATH ""TEST_DISK"/"TEST_DIR""
  40. #define FILE_PATH ""DIR_PATH"/"FILE_NAME""
  41. #define DEST_FILE_PATH ""DIR_PATH"/"DEST_FILE_NAME""
  42. #define TEST_NVM "my_test.config"
  43. int ql_fs_demo_init(void);
  44. #ifdef __cplusplus
  45. }/*"C" */
  46. #endif
  47. #endif