#
# For a description of the syntax of this configuration file,
# see the file kconfig-language.txt in the NuttX tools repository.
#

if ARCH_BOARD_TEENSY_4X
choice
	prompt "Boot Flash"
	default TEENSY4_QSPI_FLASH

config TEENSY4_QSPI_FLASH
	bool "QSPI Flash"

endchoice # Boot Flash

choice
	prompt "Board configuration"

config TEENSY_40
	bool "Teensy 4.0"

config TEENSY_41
	bool "Teensy 4.1"

endchoice # Board configuration

config IMXRT_FLEXCAN3_AS_CAN0
	bool "Initialize CAN3 bus as can0"
	---help---
		This configuration option ensures that if more that one CAN bus is set on
		that CAN 3 (with FD capability) will be initialized as can0.

config NET_USE_OTP_ETHERNET_MAC
	bool "Use Ethernet MAC address stored in OCOTP_MAC0 and OCOTP_MAC1"
	---help---
		The teensy 4.1 board has an "official" unique MAC address stored in OCOTP (One-Time-Programmable) memory.
		When enabling this option, it is read and used when the ethernet peripheral is initialized.
		If so, the 'ifconfig eth0' HWaddr should start with 04:e9:e5:...
		(the vendor ID of 'PJRC.COM, LLC') when this feature is enabled.
		It may also be used with other boards that have the OCOTP programmed with a valid MAC.

if TEENSY_41

config TEENSY_41_PIKRON_BB
	bool "Base board for Teensy 4.1 configuration"
	---help---
		Configuration pikron-bb contains setup for open hardware based board for Teensy 4.1. This option
		sets up HW pinout as ADC channels for example.

endif

endif
