From 9fc3ffdbbe02c3f9bf128527aee96a52b5657fcb Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Tue, 21 Jan 2014 10:01:51 -0600 Subject: configs/olimex-stm32-p107: Failes to build is SPI3 for UEXT is not remapped --- nuttx/ChangeLog | 2 ++ nuttx/configs/olimex-stm32-p107/src/up_encx24j600.c | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/nuttx/ChangeLog b/nuttx/ChangeLog index 51378242f..c6e19b7ac 100644 --- a/nuttx/ChangeLog +++ b/nuttx/ChangeLog @@ -6487,4 +6487,6 @@ * include/ctype.h: Typo in macro name: iscntrol, not iscontrol (2104-1-17) * libc/unistd/lib_getopt.c: If there are no arguments (argc == 1), then getopt() make like the optind variable in an undefined state (2014-1-20). + * configs/olimex-stm32-p107: Failes to build is SPI3 for UEXT is not + remapped. From Max Holtzberg (2014-1-21). diff --git a/nuttx/configs/olimex-stm32-p107/src/up_encx24j600.c b/nuttx/configs/olimex-stm32-p107/src/up_encx24j600.c index d8af313e3..bb0fd54ca 100644 --- a/nuttx/configs/olimex-stm32-p107/src/up_encx24j600.c +++ b/nuttx/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 */ -- cgit v1.2.3