Skip to content

Commit

Permalink
snippets: add hw-flow-control snippet
Browse files Browse the repository at this point in the history
To be applied for tests which require HWFC
but board definition does not have it by default.

Signed-off-by: Piotr Kosycarz <[email protected]>
  • Loading branch information
nordic-piks authored and nordicjm committed Sep 6, 2024
1 parent 9e8d171 commit 312ebc7
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/*
* Copyright (c) 2024 Nordic Semiconductor ASA
*
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
*/

&uart0 {
hw-flow-control;
};
12 changes: 12 additions & 0 deletions snippets/hw-flow-control/snippet.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#
# Copyright (c) 2024 Nordic Semiconductor
#
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
#

name: hw-flow-control

boards:
nrf5340dk/nrf5340/cpuapp:
append:
EXTRA_DTC_OVERLAY_FILE: boards/nrf5340dk_nrf5340_cpuapp.overlay

0 comments on commit 312ebc7

Please sign in to comment.