Skip to content

Commit

Permalink
Update examples
Browse files Browse the repository at this point in the history
  • Loading branch information
vshymanskyy committed Jun 2, 2021
1 parent 747ee29 commit 8e42b93
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 0 deletions.
1 change: 1 addition & 0 deletions examples/Wasm_Blink/Wasm_Blink.ino
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
*/

#include <wasm3.h>
#include <m3_env.h>

/*
* Configuration
Expand Down
1 change: 1 addition & 0 deletions examples/Wasm_CoreMark/Wasm_CoreMark.ino
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
*/

#include <wasm3.h>
#include <m3_env.h>

#include "coremark_minimal.wasm.h"

Expand Down
21 changes: 21 additions & 0 deletions examples_pio/Wasm_Advanced/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,27 @@ src_build_flags =
# -Dd_m3LogOutput=1
# -Dd_m3VerboseLogs=1

[env:MAIX]
platform = kendryte210
board = sipeed-maix-one-dock

src_build_flags =
${env.src_build_flags}
-DLED_PIN=13
-O3 -flto

build_flags =
-DOVERRIDE_PRINTF
-Dd_m3Use32BitSlots=0
-Dd_m3VerboseLogs=1
-Dd_m3LogNativeStack=1
-Dd_m3LogOutput=1
-Dd_m3LogParse=1
-Dd_m3LogModule=1
-Dd_m3LogCompile=1
-Dd_m3LogEmit=1
-Dd_m3LogExec=1

[env:Arduino101]
platform = intel_arc32
board = genuino101
Expand Down

0 comments on commit 8e42b93

Please sign in to comment.