sdkconfig.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. /*
  2. * SPDX-FileCopyrightText: 2016-2022 Espressif Systems (Shanghai) CO LTD
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. */
  6. #pragma once
  7. #define CONFIG_IDF_TARGET_ESP32 1
  8. #define CONFIG_SPIFFS_USE_MAGIC_LENGTH 1
  9. #define CONFIG_SPIFFS_MAX_PARTITIONS 3
  10. #define CONFIG_SPIFFS_OBJ_NAME_LEN 32
  11. #define CONFIG_SPIFFS_PAGE_SIZE 256
  12. #define CONFIG_SPIFFS_GC_MAX_RUNS 10
  13. #define CONFIG_SPIFFS_CACHE_WR 1
  14. #define CONFIG_SPIFFS_CACHE 1
  15. #define CONFIG_SPIFFS_META_LENGTH 4
  16. #define CONFIG_SPIFFS_USE_MAGIC 1
  17. #define CONFIG_SPIFFS_PAGE_CHECK 1
  18. #define CONFIG_SPIFFS_USE_MTIME 1
  19. #define CONFIG_WL_SECTOR_SIZE 4096
  20. // for log component with linux target
  21. #define CONFIG_LOG_DEFAULT_LEVEL 3
  22. #define CONFIG_LOG_MAXIMUM_LEVEL 3
  23. #define CONFIG_LOG_TIMESTAMP_SOURCE_RTOS 1
  24. #define CONFIG_PARTITION_TABLE_OFFSET 0x8000
  25. #define CONFIG_ESPTOOLPY_FLASHSIZE "8MB"
  26. //currently use the legacy implementation, since the stubs for new HAL are not done yet
  27. #define CONFIG_SPI_FLASH_USE_LEGACY_IMPL 1
  28. #define CONFIG_MMU_PAGE_SIZE 0X10000 // 64KB
  29. #undef _Static_assert
  30. #define _Static_assert(cond, message)