# # For a description of the syntax of this configuration file, # see the file kconfig-language.txt in the NuttX tools repository. # comment "Using Nucleo-144-F7 Board." choice prompt "Select Clock Source." default INDIUM_CLOCK_MCO ---help--- Select the final clock source. MCO - Clock provided by the ST-LINK HSI - Internal High Speed Oscillator. config INDIUM_CLOCK_MCO bool "MCO 8-MHz" config INDIUM_CLOCK_HSI bool "HSI 16-MHz" endchoice # "Select Clock Source." choice prompt "Select Console wiring." default INDIUM_CONSOLE_MORPHO_UART4 ---help--- Select where you will connect the console. Virtual COM Port: Advantage: Use the ST-Link as a console. No Extra wiring neded. Disdvantage: Not the best choice for initanl bring up. ARDUINO Connector: Advantage: You have a shield so it is easy. Disdvantage: You loose the use of the other functions on PC6, PC7 STM32F7 ARDUIONO FUNCTION GPIO -- ----- --------- ---- DO RX USART6_RX PG9 D1 TX USART6_TX PG14 -- ----- --------- --- OR Morpho Connector: STM32F7 MORPHO FUNCTION GPIO -------- --------- ----- CN12-64 UART8_RX PE0 CN11-61 UART8_TX PE1 -------- --------- ----- OR Morpho Connector UART4: STM32F7 MORPHO FUNCTION GPIO -------- --------- ----- CN11-30 UART4_RX PA0 CN11-28 UART4_TX PA1 -------- --------- ----- Note: SB13 must be removed to disable Ethernet. config INDIUM_CONSOLE_ARDUINO bool "Arduino Connector" select STM32F7_USART6 select USART6_SERIALDRIVER select USART6_SERIAL_CONSOLE config INDIUM_CONSOLE_VIRTUAL bool "Virtual Comport" select STM32F7_USART3 select USART3_SERIALDRIVER select USART3_SERIAL_CONSOLE config INDIUM_CONSOLE_MORPHO bool "Morpho Connector" select STM32F7_UART8 select UART8_SERIALDRIVER select UART8_SERIAL_CONSOLE config INDIUM_CONSOLE_MORPHO_UART4 bool "Morpho Connector UART4" select STM32F7_UART4 select UART4_SERIALDRIVER select UART4_SERIAL_CONSOLE config INDIUM_CONSOLE_NONE bool "No Console" endchoice # "Select Console wiring" config NUCLEO_SPI_TEST bool "Enable SPI test" default n ---help--- Enable Spi test - initalize and configure SPI to send NUCLEO_SPI_TEST_MESSAGE text. The text is sent on the selected SPI Buses with the configured parameters. Note the CS lines will not be asserted. if NUCLEO_SPI_TEST config NUCLEO_SPI_TEST_MESSAGE string "Text to Send on SPI Bus(es)" default "Hello World" depends on NUCLEO_SPI_TEST ---help--- Text to sent on SPI bus(es) config NUCLEO_SPI1_TEST bool "Test SPI bus 1" default n depends on NUCLEO_SPI_TEST ---help--- Enable Spi test - on SPI BUS 1 if NUCLEO_SPI1_TEST config NUCLEO_SPI1_TEST_FREQ int "SPI 1 Clock Freq in Hz" default 1000000 depends on NUCLEO_SPI1_TEST ---help--- Sets SPI 1 Clock Freq config NUCLEO_SPI1_TEST_BITS int "SPI 1 number of bits" default 8 depends on NUCLEO_SPI1_TEST ---help--- Sets SPI 1 bit length choice prompt "SPI BUS 1 Clock Mode" default INDIUM_SPI1_TEST_MODE3 ---help--- Sets SPI 1 clock mode config INDIUM_SPI1_TEST_MODE0 bool "CPOL=0 CHPHA=0" config INDIUM_SPI1_TEST_MODE1 bool "CPOL=0 CHPHA=1" config INDIUM_SPI1_TEST_MODE2 bool "CPOL=1 CHPHA=0" config INDIUM_SPI1_TEST_MODE3 bool "CPOL=1 CHPHA=1" endchoice # "SPI BUS 1 Clock Mode" endif # INDIUM_SPI1_TEST config NUCLEO_SPI2_TEST bool "Test SPI bus 2" default n depends on NUCLEO_SPI_TEST ---help--- Enable Spi test - on SPI BUS 2 if INDIUM_SPI2_TEST config NUCLEO_SPI2_TEST_FREQ int "SPI 2 Clock Freq in Hz" default 12000000 depends on NUCLEO_SPI2_TEST ---help--- Sets SPI 2 Clock Freq config NUCLEO_SPI2_TEST_BITS int "SPI 2 number of bits" default 8 depends on NUCLEO_SPI2_TEST ---help--- Sets SPI 2 bit length choice prompt "SPI BUS 2 Clock Mode" default INDIUM_SPI2_TEST_MODE3 ---help--- Sets SPI 2 clock mode config INDIUM_SPI2_TEST_MODE0 bool "CPOL=0 CHPHA=0" config INDIUM_SPI2_TEST_MODE1 bool "CPOL=0 CHPHA=1" config INDIUM_SPI2_TEST_MODE2 bool "CPOL=1 CHPHA=0" config INDIUM_SPI2_TEST_MODE3 bool "CPOL=1 CHPHA=1" endchoice # "SPI BUS 2 Clock Mode" endif # NUCLEO_SPI2_TEST endif # NUCLEO_SPI_TEST