Skip to content

Commit d07f10d

Browse files
[NXP][k32w1] Add default logging target
Signed-off-by: marius-alex-tache <marius.tache@nxp.com>
1 parent 403e45a commit d07f10d

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

examples/contact-sensor-app/nxp/k32w1/BUILD.gn

+2-1
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,8 @@ k32w1_executable("contact_sensor_app") {
214214
}
215215

216216
deps += [
217-
"${chip_root}/examples/providers:device_info_provider"
217+
"${chip_root}/examples/providers:device_info_provider",
218+
"${chip_root}/src/platform/logging:default"
218219
]
219220

220221
#lit and sit are using different zap files

examples/lighting-app/nxp/k32w1/BUILD.gn

+2-1
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,8 @@ k32w1_executable("light_app") {
208208
]
209209

210210
deps += [
211-
"${chip_root}/examples/providers:device_info_provider"
211+
"${chip_root}/examples/providers:device_info_provider",
212+
"${chip_root}/src/platform/logging:default"
212213
]
213214

214215
if (chip_config_dimmable_led) {

src/platform/nxp/BUILD.gn

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ source_set("logging") {
2626
"${chip_root}/src/platform/logging:headers",
2727
]
2828

29-
if (nxp_platform == "k32w/k32w0" || nxp_platform == "k32w/k32w1") {
29+
if (nxp_platform == "k32w/k32w0" || nxp_platform == "k32w1") {
3030
sources = [ "${chip_root}/src/platform/nxp/${nxp_platform}/Logging.cpp" ]
3131
} else {
3232
sources = [ "${chip_root}/src/platform/nxp/common/Logging.cpp" ]

0 commit comments

Comments
 (0)