summaryrefslogtreecommitdiff
path: root/nuttx/configs/olimex-stm32-p107
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-01-21 10:01:51 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-01-21 10:01:51 -0600
commit9fc3ffdbbe02c3f9bf128527aee96a52b5657fcb (patch)
treec41a47e06776155b873b54a024fa920ca35a35d0 /nuttx/configs/olimex-stm32-p107
parentdc943a35d15f571d596369c0f516a206ade0c643 (diff)
downloadpx4-nuttx-9fc3ffdbbe02c3f9bf128527aee96a52b5657fcb.tar.gz
px4-nuttx-9fc3ffdbbe02c3f9bf128527aee96a52b5657fcb.tar.bz2
px4-nuttx-9fc3ffdbbe02c3f9bf128527aee96a52b5657fcb.zip
configs/olimex-stm32-p107: Failes to build is SPI3 for UEXT is not remapped
Diffstat (limited to 'nuttx/configs/olimex-stm32-p107')
-rw-r--r--nuttx/configs/olimex-stm32-p107/src/up_encx24j600.c4
1 files changed, 4 insertions, 0 deletions
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 */