diff options
author | Kristofer Jonsson <kristofer.jonsson@arm.com> | 2021-03-09 09:18:46 +0100 |
---|---|---|
committer | Kristofer Jonsson <kristofer.jonsson@arm.com> | 2021-03-10 17:14:26 +0100 |
commit | bd59c79d70d9cb2e8bd5fd4b13204cf6df6fcd62 (patch) | |
tree | a58fd2eda52f4bced382ba86f2d7a7ff72eb33cd /applications/hello_world/main.cpp | |
parent | f521be94ac5017dc6be02e6344aef2bd68dc8343 (diff) | |
download | ethos-u-core-platform-bd59c79d70d9cb2e8bd5fd4b13204cf6df6fcd62.tar.gz |
Hello world application
Adding hello world application that is useful when porting the stack
to a new target platform.
Change-Id: I28ba96d9fac1489d73b84cb7940d05cf9860e4ed
Diffstat (limited to 'applications/hello_world/main.cpp')
-rw-r--r-- | applications/hello_world/main.cpp | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/applications/hello_world/main.cpp b/applications/hello_world/main.cpp new file mode 100644 index 0000000..6dd745a --- /dev/null +++ b/applications/hello_world/main.cpp @@ -0,0 +1,24 @@ +/* + * Copyright (c) 2021 Arm Limited. All rights reserved. + * + * SPDX-License-Identifier: Apache-2.0 + * + * Licensed under the Apache License, Version 2.0 (the License); you may + * not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an AS IS BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include <stdio.h> + +int main() { + printf("Hello world\n"); + return 0; +} |