We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b83eabe commit ffd1c70Copy full SHA for ffd1c70
samples/hello_world/prj.conf
@@ -1 +1,7 @@
1
# nothing here
2
+CONFIG_SERIAL=n # This disables UART which draws power.
3
+CONFIG_DEBUG=y
4
+CONFIG_DEBUG_INFO=y
5
+CONFIG_PRINTK=n
6
+CONFIG_CLOCK_CONTROL_NRF_K32SRC_XTAL=y
7
+CONFIG_SYSTEM_CLOCK_NO_WAIT=y
samples/hello_world/src/main.c
@@ -4,11 +4,10 @@
* SPDX-License-Identifier: Apache-2.0
*/
-#include <stdio.h>
+#include <zephyr/kernel.h>
8
9
int main(void)
10
{
11
- printf("Hello World! %s\n", CONFIG_BOARD_TARGET);
12
-
+ k_sleep(K_FOREVER);
13
return 0;
14
}
0 commit comments