Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
9afd9e948This file is pinned to the selected release. Download the original to open it in your design tool.
/*
* Copyright (c) 2021-2024 TiaC Systems
* Copyright (c) 2019-2021 Li-Pro.Net
* Copyright (c) 2012-2014 Wind River Systems, Inc.
* SPDX-License-Identifier: Apache-2.0
*/
#include <zephyr/kernel.h>
#include <zephyr/init.h>
#include <zephyr/sys/printk.h>
static int say_hello(void)
{
printk("Hello World! I'm THE SHELL from %s\n", CONFIG_BOARD);
return 0;
}
/* Register our hello function */
SYS_INIT(say_hello, APPLICATION, CONFIG_APPLICATION_INIT_PRIORITY);
/* Empty main */
int main(void) { return 0; }