fupdate_config.h.in 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. /* Copyright (C) 2018 RDA Technologies Limited and/or its affiliates("RDA").
  2. * All rights reserved.
  3. *
  4. * This software is supplied "AS IS" without any warranties.
  5. * RDA assumes no responsibility or liability for the use of the software,
  6. * conveys no license or title under any patent, copyright, or mask work
  7. * right to the product. RDA reserves the right to make changes in the
  8. * software without notification. RDA also make no representation or
  9. * warranty that such application will be suitable for the specified use
  10. * without further testing or modification.
  11. */
  12. #ifndef _FUPDATE_CONFIG_H_
  13. #define _FUPDATE_CONFIG_H_
  14. #include "hal_config.h"
  15. // @AUTO_GENERATION_NOTICE@
  16. #cmakedefine CONFIG_FUPDATE_PACK_FILE_NAME "@CONFIG_FUPDATE_PACK_FILE_NAME@"
  17. #cmakedefine CONFIG_FUPDATE_STAGE_FILE_NAME "@CONFIG_FUPDATE_STAGE_FILE_NAME@"
  18. #cmakedefine CONFIG_FUPDATE_TEMP_FILE_NAME "@CONFIG_FUPDATE_TEMP_FILE_NAME@"
  19. #cmakedefine CONFIG_FUPDATE_SIGN_FILE_NAME "@CONFIG_FUPDATE_SIGN_FILE_NAME@"
  20. #cmakedefine CONFIG_FUPDATE_SUPPORT_FLASH_PATCH
  21. #cmakedefine CONFIG_FUPDATE_SUPPORT_FS_PATCH
  22. #cmakedefine CONFIG_FUPDATE_SUPPORT_BLOCKED_FILE
  23. #cmakedefine CONFIG_FUPDATE_SUPPORT_SIGNATURE_CHECK
  24. #cmakedefine CONFIG_FUPDATE_SUPPORT_VERSION_CHECK
  25. #cmakedefine CONFIG_FUPDATE_SUPPORT_CHECK_TMP_SPACE
  26. #define FUPDATE_PACK_FILE_NAME CONFIG_FS_FOTA_DATA_DIR "/" CONFIG_FUPDATE_PACK_FILE_NAME
  27. #define FUPDATE_STAGE_FILE_NAME CONFIG_FS_FOTA_DATA_DIR "/" CONFIG_FUPDATE_STAGE_FILE_NAME
  28. #define FUPDATE_TEMP_FILE_NAME CONFIG_FS_FOTA_DATA_DIR "/" CONFIG_FUPDATE_TEMP_FILE_NAME
  29. #define LOG_TAG_FUPDATE OSI_MAKE_LOG_TAG('F', 'U', 'P', 'D')
  30. #define FUPDATE_SIGN_FILE_NAME CONFIG_FS_FOTA_DATA_DIR "/" CONFIG_FUPDATE_SIGN_FILE_NAME
  31. #endif