Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a switch to build simple sample without gui support #126

Merged
merged 51 commits into from
Sep 25, 2019
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
c171983
Merge pull request #7 from intel/master
wenyongh May 17, 2019
3b9cc32
Merge pull request #8 from intel/master
wenyongh May 17, 2019
a333655
Merge pull request #9 from intel/master
wenyongh May 20, 2019
81d4669
Merge pull request #10 from intel/master
wenyongh May 23, 2019
8d65395
Implement memory profiler, optimize memory usage, modify code indent
wenyongh May 23, 2019
0d60a69
Merge pull request #11 from intel/master
wenyongh May 23, 2019
f32965b
Implement memory.grow and limit heap space base offset to 1G; modify …
wenyongh May 31, 2019
0fede7b
Merge pull request #12 from intel/master
wenyongh May 31, 2019
ee19aff
Merge pull request #13 from intel/master
wenyongh Jun 8, 2019
1772183
Add a new extension library: connection
wenyongh Jun 11, 2019
624c58f
Fix bug of reading magic number and version in big endian platform
wenyongh Jun 14, 2019
c27a72d
Merge pull request #14 from intel/master
wenyongh Jun 14, 2019
5c0c30e
Merge pull request #15 from intel/master
wenyongh Jun 14, 2019
781f2ec
Merge pull request #16 from intel/master
wenyongh Jul 10, 2019
c290de7
Re-org platform APIs: move most platform APIs from iwasm to shared-lib
wenyongh Jul 22, 2019
186800a
Merge pull request #17 from intel/master
wenyongh Jul 22, 2019
d6d0e02
Merge pull request #18 from intel/master
wenyongh Aug 1, 2019
a59616e
Merge pull request #19 from intel/master
wenyongh Aug 2, 2019
d518e64
Enhance wasm loader to fix some security issues
wenyongh Aug 8, 2019
311ce9a
Merge pull request #20 from intel/master
wenyongh Aug 8, 2019
7a08c3d
Merge pull request #21 from intel/master
wenyongh Aug 14, 2019
6a318c4
Fix issue about illegal load of EXC_RETURN into PC on stm32 board
wenyongh Aug 14, 2019
ca601f5
Merge pull request #22 from intel/master
wenyongh Aug 14, 2019
e119204
Updates that let a restricted version of the interpreter run in SGX
wenyongh Aug 19, 2019
7993bc1
Enable native/app address validation and conversion for wasm app
wenyongh Aug 21, 2019
6dc3e98
Remove wasm_application_exectue_* APIs from wasm_export.h which makes…
wenyongh Aug 21, 2019
49429b1
Refine binary size and fix several minor issues
wenyongh Aug 27, 2019
5ed0b0c
Merge pull request #23 from intel/master
wenyongh Aug 27, 2019
76ed0fc
Merge pull request #24 from intel/master
wenyongh Aug 27, 2019
ad5f4fc
Add more strict security checks for libc wrapper API's
wenyongh Aug 28, 2019
4c284ad
Merge pull request #25 from intel/master
wenyongh Aug 28, 2019
34676da
Merge pull request #26 from intel/master
wenyongh Aug 28, 2019
cdaa0de
Use one libc wrapper copy for sgx and other platforms; remove bh_prin…
wenyongh Aug 28, 2019
2f766ab
Merge pull request #27 from intel/master
wenyongh Aug 28, 2019
cfd2c2d
Enhance security of libc strcpy/sprintf wrapper function
wenyongh Aug 29, 2019
1ac087c
Merge pull request #28 from intel/master
wenyongh Sep 6, 2019
95dbaac
Merge pull request #29 from intel/master
wenyongh Sep 8, 2019
1b2dbeb
Merge pull request #30 from intel/master
wenyongh Sep 10, 2019
64d75fa
Fix issue of call native for x86_64/arm/mips, add module inst paramet…
wenyongh Sep 10, 2019
8ece291
Merge pull request #31 from intel/master
wenyongh Sep 10, 2019
4bbf343
Merge pull request #32 from intel/master
wenyongh Sep 10, 2019
ccf65e6
Merge pull request #33 from intel/master
wenyongh Sep 11, 2019
46fa009
Remove get_module_inst() and fix issue of call native
wenyongh Sep 11, 2019
3969ee5
Merge pull request #34 from intel/master
wenyongh Sep 11, 2019
3a696f6
Refine wgl lib: remove module_inst parameter from widget functions; m…
wenyongh Sep 16, 2019
09e8b61
Merge pull request #35 from intel/master
wenyongh Sep 16, 2019
cd896e1
Refine interpreter call native process, refine memory boudary check
wenyongh Sep 19, 2019
78c216a
Merge pull request #36 from intel/master
wenyongh Sep 19, 2019
267c1e1
Fix issues of invokeNative function of arm/mips/general version
wenyongh Sep 23, 2019
7977aae
Merge pull request #37 from intel/master
wenyongh Sep 23, 2019
87625a3
Add a switch to build simple sample without gui support
wenyongh Sep 25, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix issue about illegal load of EXC_RETURN into PC on stm32 board
  • Loading branch information
wenyongh committed Aug 14, 2019
commit 6a318c4d33e6dcc5408cd97be74053f45cc28bcb
3 changes: 3 additions & 0 deletions samples/gui/wasm-runtime-wgl/src/platform/zephyr/iwasm_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,9 @@ static bool host_init()

int host_send(void * ctx, const char *buf, int size)
{
if (!uart_dev)
return 0;

for (int i = 0; i < size; i++)
uart_poll_out(uart_dev, buf[i]);

Expand Down
2 changes: 2 additions & 0 deletions samples/gui/wasm-runtime-wgl/zephyr-build/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ CONFIG_PRINTK=y
CONFIG_LOG=y
#CONFIG_UART_2=y
CONFIG_UART_INTERRUPT_DRIVEN=y
CONFIG_STACK_SENTINEL=y
CONFIG_MAIN_STACK_SIZE=2048
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ static bool host_init()
uart_dev = device_get_binding(HOST_DEVICE_COMM_UART_NAME);
if (!uart_dev) {
printf("UART: Device driver not found.\n");
return;
return false;
}
uart_irq_rx_enable(uart_dev);
uart_irq_callback_set(uart_dev, uart_irq_callback);
Expand All @@ -64,6 +64,9 @@ static bool host_init()

int host_send(void * ctx, const char *buf, int size)
{
if (!uart_dev)
return 0;

for (int i = 0; i < size; i++)
uart_poll_out(uart_dev, buf[i]);

Expand Down
2 changes: 2 additions & 0 deletions samples/littlevgl/vgl-wasm-runtime/zephyr-build/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ CONFIG_PRINTK=y
CONFIG_LOG=y
#CONFIG_UART_2=y
CONFIG_UART_INTERRUPT_DRIVEN=y
CONFIG_STACK_SENTINEL=y
CONFIG_MAIN_STACK_SIZE=2048