e180f32020
This commit adds option for Teensy 4.x board to initialize CAN3 as can0. The reason of this is the CAN FD capability of CAN3. This commit also disables tickless mode support for pikron-bb configuration as this option started causing hard faults which are yet to be solved. Signed-off-by: Michal Lenc <michallenc@seznam.cz>
34 lines
654 B
Plaintext
34 lines
654 B
Plaintext
#
|
|
# 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.
|
|
|
|
endif
|