Volodymyr Shymanskyy
38fb6ad0a8
Cleanup
4 years ago
Volodymyr Shymanskyy
0de0dcb4ca
Add BUILD_WASI_SUPPORT flag.
...
Fix #100
4 years ago
Max Graey
536328213b
Improve ios example ( #95 )
...
* add native bench for comparision
* move build date above device info
* add mlockall
4 years ago
Ivan Grokhotkov
b41684065c
prefix min and max macros with M3_ to avoid conflicts with the STL ( #93 )
...
This reverts the change introduced in b087435
, that made min/max
definitions conditional on !__cplusplus. Since some use cases of wasm3
require its C source files to be compiled with a C++ compiler, that
change resulted in min/max being undefined for WASMM3 source files.
This commit makes min/max macros scoped with m3_ prefix, which
resolves the conflict with min/max member functions defined in the STL
and elsewhere.
Closes #92
4 years ago
Ivan Grokhotkov
b0874355d7
add C++ wrappers, simplify linking external functions ( #71 )
...
* add a set of C++ wrappers, simplify linking external functions
* m3_config_platforms.h: don't define min/max for C++
4 years ago
Volodymyr Shymanskyy
a1edb9b52a
Update README.md
4 years ago
Ivan Grokhotkov
ef51f64fbe
Minor ESP32 fixes ( #84 )
...
* m3_math_utils: don't re-define signbit macro
* platforms/esp32: optimize for performance, update benchmarks
4 years ago
Ivan Grokhotkov
804d14991b
Make the source directory useable as a CMake library, plus ESP32 related cleanup ( #30 )
...
* m3_config_platforms: esp32: make the dependency on esp_system optional
If the application places wasm3 into IRAM using the linker script,
it can define M3_IN_IRAM flag. In this case we don't need to pull in
the dependency on IDF-specific header file into m3.
* cmake: make the source directory useable as a CMake library
Also replace globbing with an explicit list of files, following CMake
best practices.
* platforms/esp32-idf: link m3 as a static library
* platforms/esp32-pio: wrap the wasm3 code into a "PIO library"
5 years ago
Volodymyr Shymanskyy
b884ce813f
Remove Readme from sources
5 years ago
Volodymyr Shymanskyy
7d53a6f380
Remove arduino_blink example (now has a separate repo)
5 years ago
Volodymyr Shymanskyy
55767de79d
Remove explicit Dd_m3LogOutput
5 years ago
Volodymyr Shymanskyy
4615820f6b
Add Arduino101, ARC32 architecture
5 years ago
Volodymyr Shymanskyy
dca0e58ea2
Arduino Blink example: add BluePill support
5 years ago
Volodymyr Shymanskyy
81937f3550
Add wasm3.h to iOS project
5 years ago
Volodymyr Shymanskyy
7909978878
Update examples m3.h -> wasm3.h
5 years ago
Volodymyr Shymanskyy
635c2ce6c8
Update README.md
5 years ago
Volodymyr Shymanskyy
c10e022cc7
Update Arduino Blink example. #57
5 years ago
Volodymyr Shymanskyy
49f9101702
Add memoryLimit, update examples. #57
5 years ago
Max Graey
1580e4dc3b
Add AssemblyScript for Arduino Blink ( #62 )
...
Related to #57
5 years ago
Volodymyr Shymanskyy
eb00d021f5
ESP32: Add Rust and TinyGO blink examples. Part of #57
5 years ago
Volodymyr Shymanskyy
f98e9e542c
Merge branch 'master' of https://github.com/vshymanskyy/wasm3
5 years ago
Volodymyr Shymanskyy
a6bd2090ed
Adjust filenames
5 years ago
Volodymyr Shymanskyy
6bf1bd0192
Move files in wasm_cpp
5 years ago
Volodymyr Shymanskyy
ca4d150a32
Move to wasm_cpp
5 years ago
Joel Martin
1f6bfd3a0c
wasi/main: return exit code on wasi proc_exit call ( #59 )
...
When running a file (non-REPL mode), if the proc_exit call is called,
then terminate with the exit code. If in REPL mode then print
a message with the exit code to indicate the wasi call was made and
continue.
5 years ago
Volodymyr Shymanskyy
b97ef7794e
ESP32 blink example
5 years ago
Volodymyr Shymanskyy
9596aaa0a3
Update docs
5 years ago
Volodymyr Shymanskyy
95fc92bdbe
Set IPHONEOS_DEPLOYMENT_TARGET = 13.2
5 years ago
Volodymyr Shymanskyy
9827cc6da9
Add -fomit-frame-pointer on iOS/Release builds
5 years ago
Max Graey
0ede79bb83
special WASI random for iOS/Simulator + update XCode settings & add Release build ( #48 )
...
* use SecRandomCopyBytes for iOS and simulator
* update iOS settings + add release build
5 years ago
Volodymyr Shymanskyy
5e1bd0a625
Add explanation that image is taken on iPhone 8
5 years ago
Volodymyr Shymanskyy
35d5f7b037
Fix typo
5 years ago
Volodymyr Shymanskyy
e242879e7c
Update docs
5 years ago
Volodymyr Shymanskyy
fbed6e240e
Allow for newer CMake
5 years ago
Volodymyr Shymanskyy
23dc3c7ebe
Add iOS platform
5 years ago
Volodymyr Shymanskyy
0edc1afe76
Increase MaxFunctionStackHeight for ESP32 WASI example
5 years ago
Volodymyr Shymanskyy
b8fffa0c5c
Update examples
5 years ago
Volodymyr Shymanskyy
175bbfc64a
Update examples
5 years ago
Volodymyr Shymanskyy
7dea4feab2
Center icon visually
5 years ago
Volodymyr Shymanskyy
1fa3d15272
Update examples
5 years ago
Volodymyr Shymanskyy
6bbf5fec1e
Update examples
5 years ago
Volodymyr Shymanskyy
9ee5357d31
Update examples
5 years ago
Volodymyr Shymanskyy
8116f10ac7
Cleanup unneeded flags
5 years ago
Volodymyr Shymanskyy
b81b149129
Fix esp32-pio crash
5 years ago
Volodymyr Shymanskyy
0490372ac5
Fix ESP32 WASI example build
5 years ago
Volodymyr Shymanskyy
b9c5976eea
Remove d_m3SkipStackCheck from platforms
5 years ago
Volodymyr Shymanskyy
43e856e5fa
Switch tests to use AVR ATmega1284
5 years ago
Volodymyr Shymanskyy
ab08f64e25
Use M3_VERSION in all examples
5 years ago
Volodymyr Shymanskyy
6d91f12441
Add ATmega1284 (AVR) result ;)
5 years ago
Volodymyr Shymanskyy
c77ccf65dc
Fix MSVC build
5 years ago