From 2fa97a056df27d93f0d8e2c5c9675754bbdab945 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Tue, 21 Jan 2014 10:01:51 -0600 Subject: [PATCH] configs/olimex-stm32-p107: Failes to build is SPI3 for UEXT is not remapped --- configs/olimex-stm32-p107/src/up_encx24j600.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configs/olimex-stm32-p107/src/up_encx24j600.c b/configs/olimex-stm32-p107/src/up_encx24j600.c index d8af313e339..bb0fd54ca5f 100644 --- a/configs/olimex-stm32-p107/src/up_encx24j600.c +++ b/configs/olimex-stm32-p107/src/up_encx24j600.c @@ -79,6 +79,10 @@ # error "Need CONFIG_STM32_SPI3 in the configuration" #endif +#ifndef CONFIG_STM32_SPI3_REMAP +# error "SPI should be remapped for UEXT use" +#endif + /* SPI Assumptions **********************************************************/ #define ENCX24J600_SPI_PORTNO 3 /* On SPI1 */