-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wasm C++ projects moved from packages/project-editor/flow/runtime/cpp…
… to /wasm
- Loading branch information
Showing
57 changed files
with
102 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
[submodule "eez-framework"] | ||
path = packages/project-editor/flow/runtime/cpp/eez-framework | ||
path = wasm/eez-framework | ||
url = https://github.com/eez-open/eez-framework | ||
[submodule "lvgl-8.3"] | ||
path = packages/project-editor/flow/runtime/cpp/lvgl-runtime/v8.3/lvgl | ||
path = wasm/lvgl-runtime/v8.3/lvgl | ||
url = https://github.com/littlevgl/lvgl.git | ||
[submodule "lvgl-9.0"] | ||
path = packages/project-editor/flow/runtime/cpp/lvgl-runtime/v9.0/lvgl | ||
path = wasm/lvgl-runtime/v9.0/lvgl | ||
url = https://github.com/lvgl/lvgl.git | ||
branch = release/v9.0 |
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
-1.91 KB
(100%)
packages/project-editor/flow/runtime/lvgl_runtime_v8.3.wasm
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
-2.08 KB
(100%)
packages/project-editor/flow/runtime/lvgl_runtime_v9.0.wasm
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
This folder contains C++ projects that are build using Emscripten to create WASM libraries for: | ||
|
||
- flow runtime engine for the Dashboard and EEZ-GUI projects (eez-runtime) | ||
- flow runtime engine for the LVGL (lvgl-runtime, for varius versions) | ||
- LZ4 compression used by the Studio |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
module["exports"] = function (onRuntimeInitialized) { | ||
var Module = {}; | ||
|
||
Module.onRuntimeInitialized = function () { | ||
onRuntimeInitialized(); | ||
} | ||
|
||
Module.print = function (args) { | ||
console.log("From LZ4:", args); | ||
}; | ||
|
||
Module.printErr = function (args) { | ||
console.error("From LZ4:", args); | ||
}; | ||
|
||
runWasmModule(Module); | ||
|
||
return Module; | ||
} | ||
|
||
function runWasmModule(Module) { | ||
|