doc: hardware: porting: board_porting: Update example
Updates an example with newer settings Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
This commit is contained in:
parent
f9be8753f5
commit
47abade244
1 changed files with 4 additions and 2 deletions
|
@ -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_<qualifiers>_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_<qualifiers>_x_y_z_defconfig`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue