apps/examples/nxp_example: Fix NXP example app for Protected build
Remove direct call to kernel API from NXP example app in case of
protected build.
@@ -30,7 +30,8 @@ int nxp_demo_sample_main(int argc, char *argv[])
{
printf("[New] nxp_demo_sample!!\n");
+#ifndef CONFIG_BUILD_PROTECTED
imxrt_log_print_kernelbuffer();
-
+#endif
return 0;
}
