/** * @file efifeatures.h * * @brief In this header we can configure which firmware modules are used. * * STM32F7 config is inherited from STM32F4. This file contains only differences between F4 and F7. * This is more consistent way to maintain these config 'branches' and add new features. * * @date Aug 29, 2013 * @author Andrey Belomutskiy, (c) 2012-2020 */ #include "../stm32f4ems/efifeatures.h" #pragma once #undef EFI_POTENTIOMETER #define EFI_POTENTIOMETER FALSE #undef EFI_MAX_31855 #define EFI_MAX_31855 FALSE #undef EFI_MCP_3208 #define EFI_MCP_3208 FALSE #undef EFI_MC33816 #define EFI_MC33816 FALSE #undef EFI_HD44780_LCD #define EFI_HD44780_LCD FALSE #undef EFI_LCD #define EFI_LCD FALSE // todo: our "DMA-half" ChibiOS patch not implemented for USARTv2/STM32F7/STM32H7 #undef EFI_USE_UART_DMA #define EFI_USE_UART_DMA FALSE #undef TS_PRIMARY_UART #undef TS_SECONDARY_UART #undef TS_PRIMARY_SERIAL #undef TS_SECONDARY_SERIAL #define AUX_SERIAL_DEVICE (&SD6) // todo: start using consoleSerialTxPin? Not sure #undef EFI_CONSOLE_TX_BRAIN_PIN #define EFI_CONSOLE_TX_BRAIN_PIN GPIOD_8 // todo: start using consoleSerialRxPin? Not sure #undef EFI_CONSOLE_RX_BRAIN_PIN #define EFI_CONSOLE_RX_BRAIN_PIN GPIOD_9 #define EFI_USE_COMPRESSED_INI_MSD #undef ENABLE_PERF_TRACE #define ENABLE_PERF_TRACE TRUE