wasm-micro-runtime/samples/littlevgl/vgl-wasm-runtime/src/platform/zephyr/main.c
Weining ffd975d2d6
Fix zephyr samples build issue caused by zephyr kernel API update (#232)
* Clean compiling warnings of zephyr samples

* Support xtensa AOT and fix build issue of alios

* Refine wgl native functions call

* Fix zephyr samples build issue caused by zephyr kernel API update
2020-04-13 07:46:16 +08:00

25 lines
437 B
C

/*
* Copyright (C) 2019 Intel Corporation. All rights reserved.
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
*/
#include <stdlib.h>
#include <string.h>
#include "bh_platform.h"
#include "bh_assert.h"
#include "bh_log.h"
#include "wasm_export.h"
extern void display_init(void);
extern int iwasm_main();
void main(void)
{
display_init();
iwasm_main();
for(;;){
k_sleep(Z_TIMEOUT_MS(1000));
}
}