Skip to content

Commit 52bb80c

Browse files
committed
samples: pmic: fix devicetree errors on uicr build
By applying shields only to the main image Signed-off-by: Sergei Ovchinnikov <sergei.ovchinnikov@nordicsemi.no>
1 parent 0a8ee13 commit 52bb80c

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

samples/pmic/native/npm13xx_fuel_gauge/README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ You can use either the nRF Connect for VS Code extension or the command line.
121121

122122
.. code-block:: bash
123123
124-
-DSHIELD=npm1300_ek
124+
-Dnpm13xx_fuel_gauge_SHIELD=npm1300_ek
125125
126126
To apply an extra overlay, choose the respective file from the **Extra Devicetree overlays** drop-down menu
127127

samples/pmic/native/npm13xx_fuel_gauge/sample.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@ tests:
3030
sysbuild: true
3131
build_only: true
3232
extra_args:
33-
- SHIELD=npm1300_ek
33+
- npm13xx_fuel_gauge_SHIELD=npm1300_ek
3434
- EXTRA_DTC_OVERLAY_FILE=npm1300.overlay
3535
sample.npm1304_fuel_gauge_compile:
3636
sysbuild: true
3737
build_only: true
3838
extra_args:
39-
- SHIELD=npm1304_ek
39+
- npm13xx_fuel_gauge_SHIELD=npm1304_ek
4040
- EXTRA_DTC_OVERLAY_FILE=npm1304.overlay

samples/pmic/native/npm13xx_one_button/README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ You can use either the nRF Connect for VS Code extension or the command line.
118118

119119
.. code-block:: bash
120120
121-
-DSHIELD=npm1300_ek
121+
-Dnpm13xx_one_button_SHIELD=npm1300_ek
122122
123123
To apply an extra overlay, choose the respective file from the **Extra Devicetree overlays** drop-down menu
124124

samples/pmic/native/npm13xx_one_button/sample.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@ tests:
3030
sysbuild: true
3131
build_only: true
3232
extra_args:
33-
- SHIELD=npm1300_ek
33+
- npm13xx_one_button_SHIELD=npm1300_ek
3434
- EXTRA_DTC_OVERLAY_FILE=npm1300.overlay
3535
sample.npm1304_one_button_compile:
3636
sysbuild: true
3737
build_only: true
3838
extra_args:
39-
- SHIELD=npm1304_ek
39+
- npm13xx_one_button_SHIELD=npm1304_ek
4040
- EXTRA_DTC_OVERLAY_FILE=npm1304.overlay

0 commit comments

Comments
 (0)