Go to the documentation of this file.
41 #ifndef RTLIB_CONFIG_STM32F407_DEV_H_
42 #define RTLIB_CONFIG_STM32F407_DEV_H_
44 #if !defined(STM32F407VET6)
45 #error "This configuration is designed for a STM32F407VET6 device. (Did you set DEVICE in CMakeLists.txt correctly?)"
46 #endif // !defined(STM32F407VET6)
49 #define LIB_LED0_PINOUT {GPIOA, GPIO6}
50 #define LIB_LED1_PINOUT {GPIOA, GPIO7}
52 #define LIB_USE_BUTTON 3
53 #define LIB_BUTTON0_PINOUT {GPIOA, GPIO0}
54 #define LIB_BUTTON1_PINOUT {GPIOE, GPIO4}
55 #define LIB_BUTTON2_PINOUT {GPIOE, GPIO3}
57 #endif // RTLIB_CONFIG_STM32F407_DEV_H_