Skip to content

Commit c62e5bc

Browse files
gmarullmbolivar-nordic
authored andcommitted
doc: board_porting: remove pinmux example
Pinmux should no longer happen in board C files since the addition of the pinctrl API, so remove such guidelines from the board porting guidelines. Signed-off-by: Gerard Marull-Paretas <[email protected]>
1 parent fbae9af commit c62e5bc

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

doc/hardware/porting/board_porting.rst

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -163,18 +163,6 @@ The optional files are:
163163
- :file:`board.cmake`: used for :ref:`flash-and-debug-support`
164164
- :file:`CMakeLists.txt`: if you need to add additional source files to
165165
your build.
166-
167-
One common use for this file is to add a :file:`pinmux.c` file in your board
168-
directory to the build, which configures pin controllers at boot time. In
169-
that case, :file:`CMakeLists.txt` usually looks like this:
170-
171-
.. code-block:: cmake
172-
173-
if(CONFIG_PINMUX)
174-
zephyr_library()
175-
zephyr_library_sources(pinmux.c)
176-
endif()
177-
178166
- :file:`doc/index.rst`, :file:`doc/plank.png`: documentation for and a picture
179167
of your board. You only need this if you're :ref:`contributing-your-board` to
180168
Zephyr.

0 commit comments

Comments
 (0)