first commit

This commit is contained in:
2026-08-30 16:51:39 -07:00
commit 94ed6fe8f6
8 changed files with 149 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
#include <zephyr/kernel.h>
#include <zephyr/sys/printk.h>
int main(void) {
printk("Hello World from Zephyr! %s\n", CONFIG_BOARD_TARGET);
if (IS_ENABLED(CONFIG_LOG)) {
printk("Logging is enabled (level=%d)\n", CONFIG_LOG_DEFAULT_LEVEL);
} else {
printk("Logging is disabled\n");
}
return 0;
}