Skip to content
Permalink
Browse files

boards: Set pinmux.c compilation under switch CONFIG_PINMUX

Fix compilation issue for STM32 boards with CONFIG_PINMUX=n
Fixes #16177

Signed-off-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
  • Loading branch information...
ABOSTM authored and carlescufi committed Jun 6, 2019
1 parent 194893d commit e1de4cf6b549318d7c09d37a84e17c17e2d628ab
Showing with 106 additions and 0 deletions.
  1. +2 −0 boards/arm/96b_argonkey/CMakeLists.txt
  2. +2 −0 boards/arm/96b_carbon/CMakeLists.txt
  3. +2 −0 boards/arm/96b_neonkey/CMakeLists.txt
  4. +2 −0 boards/arm/96b_stm32_sensor_mez/CMakeLists.txt
  5. +2 −0 boards/arm/96b_wistrio/CMakeLists.txt
  6. +2 −0 boards/arm/b_l072z_lrwan1/CMakeLists.txt
  7. +2 −0 boards/arm/disco_l475_iot1/CMakeLists.txt
  8. +2 −0 boards/arm/dragino_lsn50/CMakeLists.txt
  9. +2 −0 boards/arm/mikroe_mini_m4_for_stm32/CMakeLists.txt
  10. +2 −0 boards/arm/nucleo_f030r8/CMakeLists.txt
  11. +2 −0 boards/arm/nucleo_f070rb/CMakeLists.txt
  12. +2 −0 boards/arm/nucleo_f091rc/CMakeLists.txt
  13. +2 −0 boards/arm/nucleo_f103rb/CMakeLists.txt
  14. +2 −0 boards/arm/nucleo_f207zg/CMakeLists.txt
  15. +2 −0 boards/arm/nucleo_f302r8/CMakeLists.txt
  16. +2 −0 boards/arm/nucleo_f334r8/CMakeLists.txt
  17. +2 −0 boards/arm/nucleo_f401re/CMakeLists.txt
  18. +2 −0 boards/arm/nucleo_f411re/CMakeLists.txt
  19. +2 −0 boards/arm/nucleo_f412zg/CMakeLists.txt
  20. +2 −0 boards/arm/nucleo_f413zh/CMakeLists.txt
  21. +2 −0 boards/arm/nucleo_f429zi/CMakeLists.txt
  22. +2 −0 boards/arm/nucleo_f446re/CMakeLists.txt
  23. +2 −0 boards/arm/nucleo_f746zg/CMakeLists.txt
  24. +2 −0 boards/arm/nucleo_f756zg/CMakeLists.txt
  25. +2 −0 boards/arm/nucleo_l053r8/CMakeLists.txt
  26. +2 −0 boards/arm/nucleo_l073rz/CMakeLists.txt
  27. +2 −0 boards/arm/nucleo_l432kc/CMakeLists.txt
  28. +2 −0 boards/arm/nucleo_l476rg/CMakeLists.txt
  29. +2 −0 boards/arm/nucleo_l496zg/CMakeLists.txt
  30. +2 −0 boards/arm/nucleo_l4r5zi/CMakeLists.txt
  31. +2 −0 boards/arm/nucleo_wb55rg/CMakeLists.txt
  32. +2 −0 boards/arm/olimex_stm32_e407/CMakeLists.txt
  33. +2 −0 boards/arm/olimex_stm32_h407/CMakeLists.txt
  34. +2 −0 boards/arm/olimex_stm32_p405/CMakeLists.txt
  35. +2 −0 boards/arm/olimexino_stm32/CMakeLists.txt
  36. +2 −0 boards/arm/stm3210c_eval/CMakeLists.txt
  37. +2 −0 boards/arm/stm32373c_eval/CMakeLists.txt
  38. +2 −0 boards/arm/stm32_min_dev/CMakeLists.txt
  39. +2 −0 boards/arm/stm32f072_eval/CMakeLists.txt
  40. +2 −0 boards/arm/stm32f072b_disco/CMakeLists.txt
  41. +2 −0 boards/arm/stm32f0_disco/CMakeLists.txt
  42. +2 −0 boards/arm/stm32f3_disco/CMakeLists.txt
  43. +2 −0 boards/arm/stm32f411e_disco/CMakeLists.txt
  44. +2 −0 boards/arm/stm32f412g_disco/CMakeLists.txt
  45. +2 −0 boards/arm/stm32f429i_disc1/CMakeLists.txt
  46. +2 −0 boards/arm/stm32f469i_disco/CMakeLists.txt
  47. +2 −0 boards/arm/stm32f4_disco/CMakeLists.txt
  48. +2 −0 boards/arm/stm32f723e_disco/CMakeLists.txt
  49. +2 −0 boards/arm/stm32f746g_disco/CMakeLists.txt
  50. +2 −0 boards/arm/stm32f769i_disco/CMakeLists.txt
  51. +2 −0 boards/arm/stm32l476g_disco/CMakeLists.txt
  52. +2 −0 boards/arm/stm32l496g_disco/CMakeLists.txt
  53. +2 −0 boards/arm/stm32mp157c_dk2/CMakeLists.txt
@@ -1,5 +1,7 @@
# SPDX-License-Identifier: Apache-2.0

if(CONFIG_PINMUX)
zephyr_library()
zephyr_library_sources(pinmux.c)
zephyr_library_include_directories(${ZEPHYR_BASE}/drivers)
endif()
@@ -1,5 +1,7 @@
# SPDX-License-Identifier: Apache-2.0

if(CONFIG_PINMUX)
zephyr_library()
zephyr_library_sources(pinmux.c)
zephyr_library_include_directories(${ZEPHYR_BASE}/drivers)
endif()
@@ -1,5 +1,7 @@
# SPDX-License-Identifier: Apache-2.0

if(CONFIG_PINMUX)
zephyr_library()
zephyr_library_sources(pinmux.c)
zephyr_library_include_directories(${ZEPHYR_BASE}/drivers)
endif()
@@ -1,5 +1,7 @@
# SPDX-License-Identifier: Apache-2.0

if(CONFIG_PINMUX)
zephyr_library()
zephyr_library_sources(pinmux.c)
zephyr_library_include_directories(${ZEPHYR_BASE}/drivers)
endif()
@@ -1,3 +1,5 @@
if(CONFIG_PINMUX)
zephyr_library()
zephyr_library_sources(pinmux.c)
zephyr_library_include_directories(${ZEPHYR_BASE}/drivers)
endif()
@@ -1,5 +1,7 @@
# SPDX-License-Identifier: Apache-2.0

if(CONFIG_PINMUX)
zephyr_library()
zephyr_library_sources(pinmux.c)
zephyr_library_include_directories(${ZEPHYR_BASE}/drivers)
endif()
@@ -1,5 +1,7 @@
# SPDX-License-Identifier: Apache-2.0

if(CONFIG_PINMUX)
zephyr_library()
zephyr_library_sources(pinmux.c)
zephyr_library_include_directories(${ZEPHYR_BASE}/drivers)
endif()
@@ -1,5 +1,7 @@
# SPDX-License-Identifier: Apache-2.0

if(CONFIG_PINMUX)
zephyr_library()
zephyr_library_sources(pinmux.c)
zephyr_library_include_directories(${ZEPHYR_BASE}/drivers)
endif()
@@ -2,6 +2,8 @@
#
# SPDX-License-Identifier: Apache-2.0
#
if(CONFIG_PINMUX)
zephyr_library()
zephyr_library_sources(pinmux.c)
zephyr_library_include_directories(${ZEPHYR_BASE}/drivers)
endif()
@@ -1,5 +1,7 @@
# SPDX-License-Identifier: Apache-2.0

if(CONFIG_PINMUX)
zephyr_library()
zephyr_library_sources(pinmux.c)
zephyr_library_include_directories(${ZEPHYR_BASE}/drivers)
endif()
@@ -1,5 +1,7 @@
# SPDX-License-Identifier: Apache-2.0

if(CONFIG_PINMUX)
zephyr_library()
zephyr_library_sources(pinmux.c)
zephyr_library_include_directories(${ZEPHYR_BASE}/drivers)
endif()
@@ -1,5 +1,7 @@
# SPDX-License-Identifier: Apache-2.0

if(CONFIG_PINMUX)
zephyr_library()
zephyr_library_sources(pinmux.c)
zephyr_library_include_directories(${ZEPHYR_BASE}/drivers)
endif()
@@ -1,5 +1,7 @@
# SPDX-License-Identifier: Apache-2.0

if(CONFIG_PINMUX)
zephyr_library()
zephyr_library_sources(pinmux.c)
zephyr_library_include_directories(${ZEPHYR_BASE}/drivers)
endif()
@@ -1,5 +1,7 @@
# SPDX-License-Identifier: Apache-2.0

if(CONFIG_PINMUX)
zephyr_library()
zephyr_library_sources(pinmux.c)
zephyr_library_include_directories(${PROJECT_SOURCE_DIR}/drivers)
endif()
@@ -1,5 +1,7 @@
# SPDX-License-Identifier: Apache-2.0

if(CONFIG_PINMUX)
zephyr_library()
zephyr_library_sources(pinmux.c)
zephyr_library_include_directories(${ZEPHYR_BASE}/drivers)
endif()
@@ -1,5 +1,7 @@
# SPDX-License-Identifier: Apache-2.0

if(CONFIG_PINMUX)
zephyr_library()
zephyr_library_sources(pinmux.c)
zephyr_library_include_directories(${ZEPHYR_BASE}/drivers)
endif()
@@ -1,5 +1,7 @@
# SPDX-License-Identifier: Apache-2.0

if(CONFIG_PINMUX)
zephyr_library()
zephyr_library_sources(pinmux.c)
zephyr_library_include_directories(${ZEPHYR_BASE}/drivers)
endif()
@@ -1,5 +1,7 @@
# SPDX-License-Identifier: Apache-2.0

if(CONFIG_PINMUX)
zephyr_library()
zephyr_library_sources(pinmux.c)
zephyr_library_include_directories(${ZEPHYR_BASE}/drivers)
endif()
@@ -1,5 +1,7 @@
# SPDX-License-Identifier: Apache-2.0

if(CONFIG_PINMUX)
zephyr_library()
zephyr_library_sources(pinmux.c)
zephyr_library_include_directories(${ZEPHYR_BASE}/drivers)
endif()
@@ -1,5 +1,7 @@
# SPDX-License-Identifier: Apache-2.0

if(CONFIG_PINMUX)
zephyr_library()
zephyr_library_sources(pinmux.c)
zephyr_library_include_directories(${ZEPHYR_BASE}/drivers)
endif()
@@ -1,5 +1,7 @@
# SPDX-License-Identifier: Apache-2.0

if(CONFIG_PINMUX)
zephyr_library()
zephyr_library_sources(pinmux.c)
zephyr_library_include_directories(${ZEPHYR_BASE}/drivers)
endif()
@@ -1,5 +1,7 @@
# SPDX-License-Identifier: Apache-2.0

if(CONFIG_PINMUX)
zephyr_library()
zephyr_library_sources(pinmux.c)
zephyr_library_include_directories(${ZEPHYR_BASE}/drivers)
endif()
@@ -1,5 +1,7 @@
# SPDX-License-Identifier: Apache-2.0

if(CONFIG_PINMUX)
zephyr_library()
zephyr_library_sources(pinmux.c)
zephyr_library_include_directories(${ZEPHYR_BASE}/drivers)
endif()
@@ -1,5 +1,7 @@
# SPDX-License-Identifier: Apache-2.0

if(CONFIG_PINMUX)
zephyr_library()
zephyr_library_sources(pinmux.c)
zephyr_library_include_directories(${ZEPHYR_BASE}/drivers)
endif()
@@ -1,5 +1,7 @@
# SPDX-License-Identifier: Apache-2.0

if(CONFIG_PINMUX)
zephyr_library()
zephyr_library_sources(pinmux.c)
zephyr_library_include_directories(${ZEPHYR_BASE}/drivers)
endif()
@@ -1,5 +1,7 @@
# SPDX-License-Identifier: Apache-2.0

if(CONFIG_PINMUX)
zephyr_library()
zephyr_library_sources(pinmux.c)
zephyr_library_include_directories(${ZEPHYR_BASE}/drivers)
endif()
@@ -1,5 +1,7 @@
# SPDX-License-Identifier: Apache-2.0

if(CONFIG_PINMUX)
zephyr_library()
zephyr_library_sources(pinmux.c)
zephyr_library_include_directories(${ZEPHYR_BASE}/drivers)
endif()
@@ -1,5 +1,7 @@
# SPDX-License-Identifier: Apache-2.0

if(CONFIG_PINMUX)
zephyr_library()
zephyr_library_sources(pinmux.c)
zephyr_library_include_directories(${ZEPHYR_BASE}/drivers)
endif()
@@ -1,5 +1,7 @@
# SPDX-License-Identifier: Apache-2.0

if(CONFIG_PINMUX)
zephyr_library()
zephyr_library_sources(pinmux.c)
zephyr_library_include_directories(${ZEPHYR_BASE}/drivers)
endif()
@@ -1,5 +1,7 @@
# SPDX-License-Identifier: Apache-2.0

if(CONFIG_PINMUX)
zephyr_library()
zephyr_library_sources(pinmux.c)
zephyr_library_include_directories(${PROJECT_SOURCE_DIR}/drivers)
endif()
@@ -1,3 +1,5 @@
if(CONFIG_PINMUX)
zephyr_library()
zephyr_library_sources(pinmux.c)
zephyr_library_include_directories(${PROJECT_SOURCE_DIR}/drivers)
endif()
@@ -1,5 +1,7 @@
# SPDX-License-Identifier: Apache-2.0

if(CONFIG_PINMUX)
zephyr_library()
zephyr_library_sources(pinmux.c)
zephyr_library_include_directories(${ZEPHYR_BASE}/drivers)
endif()
@@ -1,5 +1,7 @@
# SPDX-License-Identifier: Apache-2.0

if(CONFIG_PINMUX)
zephyr_library()
zephyr_library_sources(pinmux.c)
zephyr_library_include_directories(${ZEPHYR_BASE}/drivers)
endif()
@@ -1,5 +1,7 @@
# SPDX-License-Identifier: Apache-2.0

if(CONFIG_PINMUX)
zephyr_library()
zephyr_library_sources(pinmux.c)
zephyr_library_include_directories(${ZEPHYR_BASE}/drivers)
endif()
@@ -1,5 +1,7 @@
# SPDX-License-Identifier: Apache-2.0

if(CONFIG_PINMUX)
zephyr_library()
zephyr_library_sources(pinmux.c)
zephyr_library_include_directories(${ZEPHYR_BASE}/drivers)
endif()
@@ -1,5 +1,7 @@
# SPDX-License-Identifier: Apache-2.0

if(CONFIG_PINMUX)
zephyr_library()
zephyr_library_sources(pinmux.c)
zephyr_library_include_directories(${ZEPHYR_BASE}/drivers)
endif()
@@ -1,5 +1,7 @@
# SPDX-License-Identifier: Apache-2.0

if(CONFIG_PINMUX)
zephyr_library()
zephyr_library_sources(pinmux.c)
zephyr_library_include_directories(${ZEPHYR_BASE}/drivers)
endif()
@@ -1,5 +1,7 @@
# SPDX-License-Identifier: Apache-2.0

if(CONFIG_PINMUX)
zephyr_library()
zephyr_library_sources(pinmux.c)
zephyr_library_include_directories(${ZEPHYR_BASE}/drivers)
endif()
@@ -1,5 +1,7 @@
# SPDX-License-Identifier: Apache-2.0

if(CONFIG_PINMUX)
zephyr_library()
zephyr_library_sources(pinmux.c)
zephyr_library_include_directories(${ZEPHYR_BASE}/drivers)
endif()
@@ -1,5 +1,7 @@
# SPDX-License-Identifier: Apache-2.0

if(CONFIG_PINMUX)
zephyr_library()
zephyr_library_sources(pinmux.c)
zephyr_library_include_directories(${ZEPHYR_BASE}/drivers)
endif()
@@ -1,5 +1,7 @@
# SPDX-License-Identifier: Apache-2.0

if(CONFIG_PINMUX)
zephyr_library()
zephyr_library_sources(pinmux.c)
zephyr_library_include_directories(${ZEPHYR_BASE}/drivers)
endif()
@@ -1,5 +1,7 @@
# SPDX-License-Identifier: Apache-2.0

if(CONFIG_PINMUX)
zephyr_library()
zephyr_library_sources(pinmux.c)
zephyr_library_include_directories(${ZEPHYR_BASE}/drivers)
endif()
@@ -1,5 +1,7 @@
# SPDX-License-Identifier: Apache-2.0

if(CONFIG_PINMUX)
zephyr_library()
zephyr_library_sources(pinmux.c)
zephyr_library_include_directories(${ZEPHYR_BASE}/drivers)
endif()
@@ -1,5 +1,7 @@
# SPDX-License-Identifier: Apache-2.0

if(CONFIG_PINMUX)
zephyr_library()
zephyr_library_sources(pinmux.c)
zephyr_library_include_directories(${ZEPHYR_BASE}/drivers)
endif()
@@ -1,5 +1,7 @@
# SPDX-License-Identifier: Apache-2.0

if(CONFIG_PINMUX)
zephyr_library()
zephyr_library_sources(pinmux.c)
zephyr_library_include_directories(${ZEPHYR_BASE}/drivers)
endif()
@@ -1,5 +1,7 @@
# SPDX-License-Identifier: Apache-2.0

if(CONFIG_PINMUX)
zephyr_library()
zephyr_library_sources(pinmux.c)
zephyr_library_include_directories(${ZEPHYR_BASE}/drivers)
endif()
@@ -1,5 +1,7 @@
# SPDX-License-Identifier: Apache-2.0

if(CONFIG_PINMUX)
zephyr_library()
zephyr_library_sources(pinmux.c)
zephyr_library_include_directories(${ZEPHYR_BASE}/drivers)
endif()
@@ -1,5 +1,7 @@
# SPDX-License-Identifier: Apache-2.0

if(CONFIG_PINMUX)
zephyr_library()
zephyr_library_sources(pinmux.c)
zephyr_library_include_directories(${PROJECT_SOURCE_DIR}/drivers)
endif()
@@ -1,5 +1,7 @@
# SPDX-License-Identifier: Apache-2.0

if(CONFIG_PINMUX)
zephyr_library()
zephyr_library_sources(pinmux.c)
zephyr_library_include_directories(${PROJECT_SOURCE_DIR}/drivers)
endif()
@@ -1,5 +1,7 @@
# SPDX-License-Identifier: Apache-2.0

if(CONFIG_PINMUX)
zephyr_library()
zephyr_library_sources(pinmux.c)
zephyr_library_include_directories(${PROJECT_SOURCE_DIR}/drivers)
endif()

0 comments on commit e1de4cf

Please sign in to comment.
You can’t perform that action at this time.