22 lines
730 B
C
22 lines
730 B
C
#pragma once
|
|
#define CONFIG_IDF_TARGET_ESP32 1
|
|
#define CONFIG_SPIFFS_USE_MAGIC_LENGTH 1
|
|
#define CONFIG_SPIFFS_MAX_PARTITIONS 3
|
|
#define CONFIG_SPIFFS_OBJ_NAME_LEN 32
|
|
#define CONFIG_SPIFFS_PAGE_SIZE 256
|
|
#define CONFIG_SPIFFS_GC_MAX_RUNS 10
|
|
#define CONFIG_SPIFFS_CACHE_WR 1
|
|
#define CONFIG_SPIFFS_CACHE 1
|
|
#define CONFIG_SPIFFS_META_LENGTH 4
|
|
#define CONFIG_SPIFFS_USE_MAGIC 1
|
|
#define CONFIG_SPIFFS_PAGE_CHECK 1
|
|
#define CONFIG_SPIFFS_USE_MTIME 1
|
|
|
|
#define CONFIG_WL_SECTOR_SIZE 4096
|
|
#define CONFIG_LOG_DEFAULT_LEVEL 3
|
|
#define CONFIG_PARTITION_TABLE_OFFSET 0x8000
|
|
|
|
#define CONFIG_ESPTOOLPY_FLASHSIZE "8MB"
|
|
//currently use the legacy implementation, since the stubs for new HAL are not done yet
|
|
#define CONFIG_SPI_FLASH_USE_LEGACY_IMPL 1
|
|
|