mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-03 00:41:57 +00:00
Based on this commit
| commit e1de4cf6b5
| Author: Alexandre Bourdiol <alexandre.bourdiol@st.com>
| Date: Thu Jun 6 15:47:23 2019 +0200
|
| boards: Set pinmux.c compilation under switch CONFIG_PINMUX
|
| Fix compilation issue for STM32 boards with CONFIG_PINMUX=n
| Fixes #16177
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
12 lines
241 B
CMake
12 lines
241 B
CMake
#
|
|
# Copyright (c) 2019 Antony Pavlov <antonynpavlov@gmail.com>
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
if(CONFIG_PINMUX)
|
|
zephyr_library()
|
|
zephyr_library_sources(pinmux.c)
|
|
zephyr_library_include_directories(${ZEPHYR_BASE}/drivers)
|
|
endif()
|