From 47abade24470aab0b9d21d8c2c24d955afb5d22b Mon Sep 17 00:00:00 2001 From: Jamie McCrae Date: Wed, 11 Jun 2025 07:48:11 +0100 Subject: [PATCH] doc: hardware: porting: board_porting: Update example Updates an example with newer settings Signed-off-by: Jamie McCrae --- doc/hardware/porting/board_porting.rst | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/doc/hardware/porting/board_porting.rst b/doc/hardware/porting/board_porting.rst index 7bf3cbb4807..5efe87a1fa5 100644 --- a/doc/hardware/porting/board_porting.rst +++ b/doc/hardware/porting/board_porting.rst @@ -591,13 +591,15 @@ files for a board named ``plank``: place the adjustments specific for a given SoC or board variant in the :file:`plank__defconfig`. - The ``_defconfig`` should contain mandatory settings for your system clock, + The ``_defconfig`` should contain mandatory settings for your UART, console, etc. The results are architecture-specific, but typically look something like this: .. code-block:: cfg - CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=120000000 # set up your clock, etc + CONFIG_GPIO=y + CONFIG_CONSOLE=y + CONFIG_UART_CONSOLE=y CONFIG_SERIAL=y :file:`plank_x_y_z_defconfig` / :file:`plank__x_y_z_defconfig`