2022-02-21 16:09:24 -05:00
|
|
|
/*
|
|
|
|
* SPDX-FileCopyrightText: 2016-2022 Espressif Systems (Shanghai) CO LTD
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
2018-05-22 04:47:30 -04:00
|
|
|
#pragma once
|
2019-06-19 03:31:47 -04:00
|
|
|
#define CONFIG_IDF_TARGET_ESP32 1
|
2018-05-22 04:47:30 -04:00
|
|
|
#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
|
2018-06-21 04:51:44 -04:00
|
|
|
|
2018-05-26 02:58:01 -04:00
|
|
|
#define CONFIG_WL_SECTOR_SIZE 4096
|
2021-05-25 03:07:38 -04:00
|
|
|
|
|
|
|
// for log component with linux target
|
2018-06-21 04:51:44 -04:00
|
|
|
#define CONFIG_LOG_DEFAULT_LEVEL 3
|
2021-05-25 03:07:38 -04:00
|
|
|
#define CONFIG_LOG_MAXIMUM_LEVEL 3
|
|
|
|
#define CONFIG_LOG_TIMESTAMP_SOURCE_RTOS 1
|
|
|
|
|
2018-06-21 04:51:44 -04:00
|
|
|
#define CONFIG_PARTITION_TABLE_OFFSET 0x8000
|
|
|
|
|
|
|
|
#define CONFIG_ESPTOOLPY_FLASHSIZE "8MB"
|
2019-01-08 05:29:25 -05:00
|
|
|
//currently use the legacy implementation, since the stubs for new HAL are not done yet
|
2019-06-19 09:24:51 -04:00
|
|
|
#define CONFIG_SPI_FLASH_USE_LEGACY_IMPL 1
|
2022-05-31 22:14:48 -04:00
|
|
|
#define CONFIG_MMU_PAGE_SIZE 0X10000 // 64KB
|
2021-05-25 03:07:38 -04:00
|
|
|
|
|
|
|
#undef _Static_assert
|
|
|
|
#define _Static_assert(cond, message)
|