aboutsummaryrefslogtreecommitdiff
path: root/applications/hello_world/main.cpp
diff options
context:
space:
mode:
authorKristofer Jonsson <kristofer.jonsson@arm.com>2021-03-09 09:18:46 +0100
committerKristofer Jonsson <kristofer.jonsson@arm.com>2021-03-10 17:14:26 +0100
commitbd59c79d70d9cb2e8bd5fd4b13204cf6df6fcd62 (patch)
treea58fd2eda52f4bced382ba86f2d7a7ff72eb33cd /applications/hello_world/main.cpp
parentf521be94ac5017dc6be02e6344aef2bd68dc8343 (diff)
downloadethos-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.cpp24
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;
+}