aboutsummaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2024-03-26builder: add check for error on creating needed directory as suggested by ↵wasm-nolibcdeadprogram
@b0ch3nski Signed-off-by: deadprogram <[email protected]>
2024-03-26wasm-unknown: add math and memory builtins that LLVM needsAyke van Laethem
This new library is needed for wasm targets that aren't WASI and don't need/want a libc, but still need some intrinsics that are generated by LLVM.
2024-03-24ci: don't add --recursive when updating submodulesAyke van Laethem
It's not generally needed. It was added in https://github.com/tinygo-org/tinygo/pull/3958 to fix an issue with binaryen that has since been fixed in a different way, so we don't need the googletest dependency anymore.
2024-03-23Add smoke test for pca10059-s140v7Jonathan Böcker
2024-03-23Add pca10059-s140v7 as a targetJonathan Böcker
2024-03-22Makefile: allow overriding the packages to test in `make test`Ayke van Laethem
This way you can for example run `make test GOTESTPKGS=./builder` to only test the builder package. I've often done this by manually modifying the Makefile, so having a make parameter available would make this much easier.
2024-03-21feather-nrf52840-sense doesn't use LFXOAnders Savill
2024-03-21goenv: put back @sago35 update to new v0.32.0 development versiondeadprogram
Signed-off-by: deadprogram <[email protected]>
2024-03-19wasm: fix symbol table index for archivesAyke van Laethem
The symbol table was generated incorrectly. The correct way is to use the custom linking WebAssembly section, which I implemented in go-wasm for this purpose. This fixes https://github.com/tinygo-org/tinygo/issues/4114 and is a prerequisite for https://github.com/tinygo-org/tinygo/pull/4176.
2024-03-19all: move -panic=trap support to the compiler/runtimeAyke van Laethem
Support for `-panic=trap` was previously a pass in the optimization pipeline. This change moves it to the compiler and runtime, which in my opinion is a much better place. As a side effect, it also fixes https://github.com/tinygo-org/tinygo/issues/4161 by trapping inside runtime.runtimePanicAt and not just runtime.runtimePanic. This change also adds a test for the list of imported functions. This is a more generic test where it's easy to add more tests for WebAssembly file properties, such as exported functions.
2024-03-10docs: update CHANGELOG for 0.31.2 patch releasev0.31.2deadprogram
Signed-off-by: deadprogram <[email protected]>
2024-03-10goenv: update to v0.31.2 for patch releasedeadprogram
Signed-off-by: deadprogram <[email protected]>
2024-03-09net: update to net package with Buffers implementationdeadprogram
Signed-off-by: deadprogram <[email protected]>
2024-03-04goenv: update to new v0.32.0 development versionsago35
2024-03-02runtime: add Frame.Entry fieldRandy Reddig
This enables compatibility with golang.org/x/tools/internal/pkgbits. https://github.com/golang/tools/blob/master/internal/pkgbits/frames_go17.go
2024-03-02syscall: add wasm_unknown to some additional files so it can compile more codedeadprogram
Signed-off-by: deadprogram <[email protected]>
2024-02-28all: update for 0.31.1v0.31.1deadprogram
Signed-off-by: deadprogram <[email protected]>
2024-02-28net: update to latest maindeadprogram
Signed-off-by: deadprogram <[email protected]>
2024-02-28build: only use GHA cache for docker dev builds, ignore the previous saved ↵deadprogram
build-context Signed-off-by: deadprogram <[email protected]>
2024-02-27interp: make getelementptr offsets signedAyke van Laethem
getelementptr offsets are signed, not unsigned. Yet they were used as unsigned integers in interp. Somehow this worked most of the time, until finally there was some code that did a getelementptr with a negative index.
2024-02-27interp: return a proper error message when indexing out of rangeAyke van Laethem
This helps debug issues inside interp.
2024-02-27docker: update final build stage to go1.22deadprogram
Signed-off-by: deadprogram <[email protected]>
2024-02-26ci: fix binaryen buildv0.31.0Ayke van Laethem
Disable the googletest dependency so that we can avoid that submodule dependency.
2024-02-26all: version 0.31.0Ayke van Laethem
2024-02-25Stub CallSlice for ValueAkshay Pai
2024-02-23targets: add support for Thumbydeadprogram
Signed-off-by: deadprogram <[email protected]>
2024-02-23main: make `ports` subcommand more verboseAyke van Laethem
By listing column headers and printing a message when no ports are found, it should be a bit easier to use.
2024-02-23main: change `monitor -info` to `ports`Ayke van Laethem
I believe this provides a better UX.
2024-02-20ci: switch to Go 1.22Ayke van Laethem
2024-02-20Dockerfile: reduce size of resulting imageAyke van Laethem
This reduces the size of the Docker image from 13GB to 1.71GB, and should therefore make CI of the drivers package much faster. It should hopefully also avoid the out-of-space problem we currently have when building the smoke tests for the drivers repo. This size reduction is done by using multistage builds and only copying the necessary files in the final stage.
2024-02-19compileopts: remove workaround for LLVM 16Ayke van Laethem
This workaround is no longer needed now that we've switched to LLVM 17 where this bug has been fixed upstream: https://github.com/espressif/llvm-project/pull/84
2024-02-19interp: do not register runtime timers during interpAyke van Laethem
The runtime hasn't been initialized yet so this leads to problems. This fixes https://github.com/tinygo-org/tinygo/issues/4123.
2024-02-19device: update SVD filesAyke van Laethem
This updates lib/cmsis-svd, pulling in the updates to the Espressif SVD files here: https://github.com/cmsis-svd/cmsis-svd-data/pull/3 This is needed for wifi/BLE support on the ESP32-C3 (the older SVD files were missing some necessary interrupts).
2024-02-19compileopts: always enable CGoAyke van Laethem
CGo is needed for the rp2040 and for macOS (GOOS=darwin), without it these targets just won't work. And there really isn't a benefit from disabling CGo: we don't need any external linkers for example. This avoids a somewhat common issue of people having CGO_ENABLED=0 somewhere in their environment and not understanding why things don't work. See for example: https://github.com/tinygo-org/tinygo/issues/3450
2024-02-19all: make TinyGo code usable with "big Go" CGoAyke van Laethem
I managed to get CGo sort-of working in VSCode (meaning that it will typecheck code in the IDE itself) using a few crude hacks, but it requires a few minor changes to the TinyGo standard library. I intend to eventually add this support in the TinyGo extension for VSCode directly, but for now I've manually updated .vscode/settings.json to get IDE support. In any case, it would be nice to have this for when I hopefully add this to the TinyGo extension eventually.
2024-02-17targets/wasm_unknown: remove _start to _initialize to match WASIdeadprogram
Signed-off-by: deadprogram <[email protected]>
2024-02-17builder: add 'wasm-unknown' to list of targets for clang features verificationdeadprogram
Signed-off-by: deadprogram <[email protected]>
2024-02-17targets/wasm_unknown: use proper defaults for GCdeadprogram
Signed-off-by: deadprogram <[email protected]>
2024-02-15make: add smoketest for wasm-unknown targetdeadprogram
Signed-off-by: deadprogram <[email protected]>
2024-02-15examples: add example for use with wasm-unknown targetdeadprogram
Signed-off-by: deadprogram <[email protected]>
2024-02-15target/wasm_unknown: remove bulk memory and use imported memory for extreme ↵deadprogram
tinyness Signed-off-by: deadprogram <[email protected]>
2024-02-15runtime, targets: some WIP on wasm unknown in part from PR #3072deadprogram
Signed-off-by: deadprogram <[email protected]>
2024-02-12nrf52840: generic board support (#4121)BCG
machine/nrf52840: generic board support
2024-02-11machine/rp2040: set XOSC startup delay multiplierXudong Zheng
XOSC requires additional time to stablize on certain RP2040 boards. Signed-off-by: Xudong Zheng <[email protected]>
2024-02-11compileopts: set 'purego' build tag by defaultAyke van Laethem
This is needed for various crypto libraries.
2024-02-11ci: update from Node.js 16 to Node.js 18Ayke van Laethem
Node.js 16 is no longer supported, so we can drop support for it as well. This also means updating a whole lot of GitHub Actions versions, because they were updated to work on Node.js 20 instead. For most actions this should be a relatively small change, but the upload-aftifact action has had some major changes (which should generally improve things a lot).
2024-02-09esp32: switch over to the official SVD fileAyke van Laethem
2024-02-07build: remove more files from host on Docker build to avoid running out of ↵deadprogram
disk space Signed-off-by: deadprogram <[email protected]>
2024-02-05gi: add macOS ARM64 builderAyke van Laethem
This means we can finally release native arm64 builds of TinyGo on macOS! Also update from macOS 11 to macOS 12, because macOS 11 is not supported anymore.
2024-01-31Allow larger systems to have a larger max stack allocDamian Gryski
Fixes #3331