Skip to content

Commit f78dd33

Browse files
committed
[NXP] setup_discriminator argument value was only applied when OTA requestor enabled
(cherry picked from commit fa9de443e3129ecf7befb4404fb2dd0efc213a29)
1 parent a69d83c commit f78dd33

File tree

1 file changed

+4
-4
lines changed
  • examples/thermostat/nxp/rt/rw61x

1 file changed

+4
-4
lines changed

examples/thermostat/nxp/rt/rw61x/BUILD.gn

+4-4
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,10 @@ rt_sdk("sdk") {
105105
"CHIP_DEVICE_CONFIG_ENABLE_TBR=1",
106106
]
107107
}
108+
109+
defines += [
110+
"CHIP_DEVICE_CONFIG_USE_TEST_SETUP_DISCRIMINATOR=${setup_discriminator}",
111+
]
108112
}
109113

110114
# Create the SDK driver instance.
@@ -270,10 +274,6 @@ rt_executable("thermostat") {
270274
# Consequently, some sections will need to be shifted
271275
ldflags += [ "-Wl,--defsym=__m_mcuboot_size__=0x20000" ]
272276
}
273-
274-
defines += [
275-
"CHIP_DEVICE_CONFIG_USE_TEST_SETUP_DISCRIMINATOR=${setup_discriminator}",
276-
]
277277
}
278278

279279
output_dir = root_out_dir

0 commit comments

Comments
 (0)