#
# For a description of the syntax of this configuration file,
# see the file kconfig-language.txt in the NuttX tools repository.
#
config ESP32_QEMU_IMAGE
	bool "ESP32 binary image for QEMU"
	default n
	---help---
		Create a binary flash image used for QEMU.

choice ESP32_SPIFLASH_FS
	prompt "SPIFLASH File System"
	default ESP32_SPIFLASH_SMARTFS
	depends on ESP32_SPIFLASH

	config ESP32_SPIFLASH_SMARTFS
		bool "SmartFS"
		depends on FS_SMARTFS

	config ESP32_SPIFLASH_NXFFS
		bool "NXFFS"
		depends on FS_NXFFS

	config ESP32_SPIFLASH_SPIFFS
		bool "SPIFFS"
		depends on FS_SPIFFS

	config ESP32_SPIFLASH_LITTLEFS
		bool "LittleFS"
		depends on FS_LITTLEFS

endchoice

config ESP32_SPIFLASH_ENCRYPTION_TEST
	bool "SPI Flash encryption test"
	default n
	depends on ESP32_SPIFLASH
	select DEBUG_ASSERTIONS
	---help---
		Enable SPI Flash encryption test. This option will also select
		DEBUG_ASSERTIONS to enable kernel assert macro.

config ESP32_SPIFLASH_TEST_ADDRESS
	hex "SPI Flash test address"
	default 0x180000
	depends on ESP32_SPIFLASH_ENCRYPTION_TEST
	---help---
		SPI Flash encryption test read/write address.

config ESP32_LCD_OVERCLOCK
	bool "Run LCD at higher clock speed than allowed"
	default n
	depends on LCD_ILI9341
	---help---
		The ILI9341 and ST7789 specify that the maximum clock speed for the
		SPI interface is 10MHz. However, in practice the driver chips work
		fine with a higher clock rate, and using that gives a better
		framerate. Select this to try using the out-of-spec clock rate.
