Use C++ 23
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
/*
|
||||
* Copyright (c) 2021 Nordic Semiconductor ASA
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <zephyr/kernel.h>
|
||||
#include <zephyr/logging/log.h>
|
||||
|
||||
#include <app_version.h>
|
||||
|
||||
LOG_MODULE_REGISTER(main, CONFIG_APP_LOG_LEVEL);
|
||||
|
||||
int main() {
|
||||
printk("Zephyr Example Application %s\n", APP_VERSION_STRING);
|
||||
printk("Build with C++ standard: %ldL\n", __cplusplus);
|
||||
|
||||
while (true) {
|
||||
printk("Running...\n");
|
||||
k_sleep(K_SECONDS(5));
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user