1 /* 2 * Copyright (c) 2022 Nordic Semiconductor ASA 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 #include <zephyr/kernel.h> 8 #include <zephyr/sys/printk.h> 9 #include <zephyr/logging/log.h> 10 LOG_MODULE_REGISTER(app); 11 main(void)12int main(void) 13 { 14 int cnt = 0; 15 16 while (1) { 17 LOG_INF("loop: %d", cnt++); 18 k_sleep(K_MSEC(500)); 19 } 20 return 0; 21 } 22