-
Notifications
You must be signed in to change notification settings - Fork 3
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
Upgrade tinygo to v29.0.0 #6
Commits on Jun 16, 2023
-
Configuration menu - View commit details
-
Copy full SHA for e041a8e - Browse repository at this point
Copy the full SHA e041a8eView commit details -
ci: rename release-double-zipped to something more useful
The Linux artifacts have clear names (linux-amd64-double-zipped etc), but the MacOS and Windows ones didn't. This patch renames these artifact names to be more readable, especially when downloading the artifacts.
Configuration menu - View commit details
-
Copy full SHA for 785eb93 - Browse repository at this point
Copy the full SHA 785eb93View commit details
Commits on Jun 17, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 91ee4d0 - Browse repository at this point
Copy the full SHA 91ee4d0View commit details -
reflect: use .key() instead of a type assert
This should be ever so slightly more efficient.
Configuration menu - View commit details
-
Copy full SHA for 0cb5d33 - Browse repository at this point
Copy the full SHA 0cb5d33View commit details -
ci: update Node.js from version 14 to version 16
Node.js 14 is not maintained anymore, so we can drop support for it.
Configuration menu - View commit details
-
Copy full SHA for 6d5f4c4 - Browse repository at this point
Copy the full SHA 6d5f4c4View commit details -
wasm: remove i64 workaround, use BigInt instead
Browsers previously didn't support the WebAssembly i64 type, so we had to work around that limitation by converting the LLVM i64 type to something else. Some people used a pair of i32 values, but we used a pointer to a stack allocated i64. Now however, all major browsers and Node.js do support WebAssembly BigInt integration so that i64 values can be passed back and forth between WebAssembly and JavaScript easily. Therefore, I think the time has come to drop support for this workaround. For more information: https://v8.dev/features/wasm-bigint (note that TinyGo has used a slightly different way of passing i64 values between JS and Wasm). For information on browser support: https://webassembly.org/roadmap/
Configuration menu - View commit details
-
Copy full SHA for 4d2a6d2 - Browse repository at this point
Copy the full SHA 4d2a6d2View commit details
Commits on Jun 18, 2023
-
Configuration menu - View commit details
-
Copy full SHA for cec2379 - Browse repository at this point
Copy the full SHA cec2379View commit details
Commits on Jun 22, 2023
-
nrf: wait for stop condition after reading from the I2C bus
Found while working on the PineTime. For some reason it still kind of works in most cases, but I was hitting this issue when interacting with two different I2C devices (the touch sensor and the BMA421).
Configuration menu - View commit details
-
Copy full SHA for 4619896 - Browse repository at this point
Copy the full SHA 4619896View commit details
Commits on Jul 1, 2023
-
machine/usb/hid,joystick: fix hidreport (3) (tinygo-org#3802)
* machine/usb/hid,joystick: fix hidreport (3) and handling of logical, usage, and physical minimum/maximum values
Configuration menu - View commit details
-
Copy full SHA for ad32d26 - Browse repository at this point
Copy the full SHA ad32d26View commit details -
Configuration menu - View commit details
-
Copy full SHA for dd4e9e8 - Browse repository at this point
Copy the full SHA dd4e9e8View commit details
Commits on Jul 2, 2023
-
This adds FieldByNameFunc, which some libraries like reflect2 need. For my usecase I could also just stub FieldByNameFunc to panic, but figured that it would work OK to just make it work. I'm not sure if the overhead to FieldByName using a closure is acceptable. Signed-off-by: Tyler Rockwood <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fdc4bbb - Browse repository at this point
Copy the full SHA fdc4bbbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 93cc03b - Browse repository at this point
Copy the full SHA 93cc03bView commit details -
Configuration menu - View commit details
-
Copy full SHA for ef72c5b - Browse repository at this point
Copy the full SHA ef72c5bView commit details -
Configuration menu - View commit details
-
Copy full SHA for acba074 - Browse repository at this point
Copy the full SHA acba074View commit details -
Configuration menu - View commit details
-
Copy full SHA for 08b3a45 - Browse repository at this point
Copy the full SHA 08b3a45View commit details -
Configuration menu - View commit details
-
Copy full SHA for dc91c96 - Browse repository at this point
Copy the full SHA dc91c96View commit details
Commits on Jul 3, 2023
-
Configuration menu - View commit details
-
Copy full SHA for db8d807 - Browse repository at this point
Copy the full SHA db8d807View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6efa940 - Browse repository at this point
Copy the full SHA 6efa940View commit details -
main: improve detection of filesystems
This is a rewrite of how filesystems are detected. Specifically, it fixes an issue on Linux where the location of the FAT filesystem can vary between distributions (for example, we supported most distros by checking two different paths, but NixOS uses a different path): it now uses the data in /proc/mounts instead which should be universal.
Configuration menu - View commit details
-
Copy full SHA for 9aadea9 - Browse repository at this point
Copy the full SHA 9aadea9View commit details
Commits on Jul 5, 2023
-
modules: add submodule for Renesas SVD file mirror repo
Signed-off-by: deadprogram <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 04601a2 - Browse repository at this point
Copy the full SHA 04601a2View commit details -
tools/gen-device-svd: small changes needed for Renesas MCUs
Signed-off-by: deadprogram <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7755f23 - Browse repository at this point
Copy the full SHA 7755f23View commit details -
make: add make task to generate Renesas device wrappers
Signed-off-by: deadprogram <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3871b83 - Browse repository at this point
Copy the full SHA 3871b83View commit details
Commits on Jul 6, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 9126b95 - Browse repository at this point
Copy the full SHA 9126b95View commit details
Commits on Jul 7, 2023
-
This was added in Go 1.20 and becomes necessary for encoding/json in Go 1.21.
Configuration menu - View commit details
-
Copy full SHA for e98dfd6 - Browse repository at this point
Copy the full SHA e98dfd6View commit details -
wasi: allow zero inodes when reading directories
Signed-off-by: Achille Roussel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 46d2696 - Browse repository at this point
Copy the full SHA 46d2696View commit details -
main: use
go env
instead of doing all detection manuallyThis replaces our own manual detection of various variables (GOROOT, GOPATH, Go version) with a simple call to `go env`. If the `go` command is not found: error: could not find 'go' command: executable file not found in $PATH If the Go version is too old: error: requires go version 1.18 through 1.20, got go1.17 If the Go tool itself outputs an error (using GOROOT=foobar here): go: cannot find GOROOT directory: foobar This does break the case where `go` wasn't available in $PATH but we would detect it anyway (via some hardcoded OS-dependent paths). I'm not sure we want to fix that: I think it's better to tell users "make sure `go version` prints the right value" than to do some automagic detection of Go binary locations.
Configuration menu - View commit details
-
Copy full SHA for e075e05 - Browse repository at this point
Copy the full SHA e075e05View commit details -
This was added in Go 1.20 and is required by encoding/json starting with Go 1.21.
Configuration menu - View commit details
-
Copy full SHA for fffad84 - Browse repository at this point
Copy the full SHA fffad84View commit details -
machine/rp2040: wait for 1000 us after flash reset to avoid issues wi…
…th busy USB bus Signed-off-by: deadprogram <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c83f712 - Browse repository at this point
Copy the full SHA c83f712View commit details
Commits on Jul 15, 2023
-
machine.UART refactor (tinygo-org#3832)
* add gosched calls to UART * add UART.flush() stubs for all supported architectures * add comment un uart.go on flush functionality * uart.writeByte as base of UART usage * fix NXP having duplicate WriteByte * fix writeByte not returning error on some platforms * add flush method for fe310 device * check for error in WriteByte call to writeByte
Configuration menu - View commit details
-
Copy full SHA for a7b205c - Browse repository at this point
Copy the full SHA a7b205cView commit details
Commits on Jul 16, 2023
-
This commit adds I2C timeouts for nrf51 and nrf52 (but not yet for others like nrf52840). Tested on the PineTime, where I now got a timeout instead of hanging and resetting due to a watchdog reset.
Configuration menu - View commit details
-
Copy full SHA for 14ddba8 - Browse repository at this point
Copy the full SHA 14ddba8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4da1f6b - Browse repository at this point
Copy the full SHA 4da1f6bView commit details
Commits on Jul 20, 2023
-
sync: add implementation from upstream Go for OnceFunc, OnceValue, an…
…d OnceValues Signed-off-by: deadprogram <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 01d2ef3 - Browse repository at this point
Copy the full SHA 01d2ef3View commit details
Commits on Jul 27, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 00d46bd - Browse repository at this point
Copy the full SHA 00d46bdView commit details
Commits on Jul 28, 2023
-
wasm: fix functions exported through //export
When a function is exported using //export, but also had a //go:wasm-module pragma, the //export name was ignored. The //go:wasm-module doesn't actually do anything besides breaking the export (exported functions don't have a module name). I've refactored and cleaned up the code, and in the process removed this weird edge case.
Configuration menu - View commit details
-
Copy full SHA for d845f1e - Browse repository at this point
Copy the full SHA d845f1eView commit details
Commits on Jul 31, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 5b581d8 - Browse repository at this point
Copy the full SHA 5b581d8View commit details
Commits on Aug 1, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 5f2e72f - Browse repository at this point
Copy the full SHA 5f2e72fView commit details -
Configuration menu - View commit details
-
Copy full SHA for d1eb642 - Browse repository at this point
Copy the full SHA d1eb642View commit details
Commits on Aug 2, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 069e4f0 - Browse repository at this point
Copy the full SHA 069e4f0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 395ee2d - Browse repository at this point
Copy the full SHA 395ee2dView commit details
Commits on Aug 4, 2023
-
Configuration menu - View commit details
-
Copy full SHA for c51f5ce - Browse repository at this point
Copy the full SHA c51f5ceView commit details -
Configuration menu - View commit details
-
Copy full SHA for 215dd3f - Browse repository at this point
Copy the full SHA 215dd3fView commit details -
This is new in Go 1.21.
Configuration menu - View commit details
-
Copy full SHA for c25dd0a - Browse repository at this point
Copy the full SHA c25dd0aView commit details -
Configuration menu - View commit details
-
Copy full SHA for a93f0ed - Browse repository at this point
Copy the full SHA a93f0edView commit details -
Configuration menu - View commit details
-
Copy full SHA for f791c82 - Browse repository at this point
Copy the full SHA f791c82View commit details -
Configuration menu - View commit details
-
Copy full SHA for a2f886a - Browse repository at this point
Copy the full SHA a2f886aView commit details -
Configuration menu - View commit details
-
Copy full SHA for f1e25a1 - Browse repository at this point
Copy the full SHA f1e25a1View commit details -
compiler: improve panic message when a runtime call is unavailable
This should not happen under normal circumstances. It can still happen when there is a mismatch between TinyGo version and the associated runtime, or while developing the compiler package.
Configuration menu - View commit details
-
Copy full SHA for 62294fe - Browse repository at this point
Copy the full SHA 62294feView commit details -
Configuration menu - View commit details
-
Copy full SHA for 67ec722 - Browse repository at this point
Copy the full SHA 67ec722View commit details
Commits on Aug 7, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 72270f9 - Browse repository at this point
Copy the full SHA 72270f9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0ef86e1 - Browse repository at this point
Copy the full SHA 0ef86e1View commit details
Commits on Aug 9, 2023
-
builder: update message for max supported Go version
Signed-off-by: deadprogram <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 253dbe3 - Browse repository at this point
Copy the full SHA 253dbe3View commit details
Commits on Aug 10, 2023
-
build: switch GH actions builds to use Go 1.21 final release
Signed-off-by: deadprogram <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ab64e21 - Browse repository at this point
Copy the full SHA ab64e21View commit details
Commits on Aug 11, 2023
-
docker: use Go 1.21 for Docker dev container build
Signed-off-by: deadprogram <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 59cc7d4 - Browse repository at this point
Copy the full SHA 59cc7d4View commit details -
modules: update to go-serial package v1.6.0
Signed-off-by: deadprogram <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 37a4fa2 - Browse repository at this point
Copy the full SHA 37a4fa2View commit details
Commits on Aug 13, 2023
-
rp2040: move flash related functions into separate file from C import…
…s for correct LSP. Fixes tinygo-org#3852 Signed-off-by: deadprogram <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bfe9ee3 - Browse repository at this point
Copy the full SHA bfe9ee3View commit details -
main: add target JSON file in
tinygo info
outputIt looks like this on my system, for example: { "target": { "llvm-target": "aarch64-unknown-linux", "cpu": "generic", "features": "+neon", "goos": "linux", "goarch": "arm64", "build-tags": [ "linux", "arm64" ], "gc": "precise", "scheduler": "tasks", "linker": "ld.lld", "rtlib": "compiler-rt", "libc": "musl", "default-stack-size": 65536, "ldflags": [ "--gc-sections" ], "extra-files": [ "src/runtime/asm_arm64.S", "src/internal/task/task_stack_arm64.S" ], "gdb": [ "gdb" ], "flash-1200-bps-reset": "false" }, "goroot": "/home/ayke/.cache/tinygo/goroot-23c311bcaa05f188affa3c42310aba343acc82562d5e5f04dea9d5b79ac35f7e", "goos": "linux", "goarch": "arm64", "goarm": "6", ... } This can be very useful while working on the automatically generated target object for example (in my case, GOOS=wasip1).
Configuration menu - View commit details
-
Copy full SHA for 9037bf8 - Browse repository at this point
Copy the full SHA 9037bf8View commit details -
loader: merge go.env file which is now required starting in Go 1.21 t…
…o correctly get required packages Signed-off-by: deadprogram <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 756cdf4 - Browse repository at this point
Copy the full SHA 756cdf4View commit details
Commits on Aug 15, 2023
-
Configuration menu - View commit details
-
Copy full SHA for f4375d0 - Browse repository at this point
Copy the full SHA f4375d0View commit details
Commits on Aug 17, 2023
-
wasm: add support for GOOS=wasip1
This adds true GOOS=wasip1 support in addition to our existing -target=wasi support. The old support for WASI isn't removed, but should be treated as deprecated and will likely be removed eventually to reduce the test burden.
Configuration menu - View commit details
-
Copy full SHA for a545f17 - Browse repository at this point
Copy the full SHA a545f17View commit details
Commits on Aug 19, 2023
-
adding new uf2 target for PCA10056 (tinygo-org#3765)
targets: adding new uf2 target for PCA10056
Configuration menu - View commit details
-
Copy full SHA for 3e2471d - Browse repository at this point
Copy the full SHA 3e2471dView commit details -
make: add task to check NodeJS version before running tests
Signed-off-by: deadprogram <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e3bc6da - Browse repository at this point
Copy the full SHA e3bc6daView commit details
Commits on Aug 24, 2023
-
nRF52: set SPI TX/RX lengths even data is empty. Fixes tinygo-org#3868 (
tinygo-org#3877) machine/hrf: Set SPI TX/RX lengths even data is empty. Fixes tinygo-org#3868
Configuration menu - View commit details
-
Copy full SHA for 806498f - Browse repository at this point
Copy the full SHA 806498fView commit details
Commits on Aug 25, 2023
-
all: update version for 0.29 release
Signed-off-by: deadprogram <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a158d31 - Browse repository at this point
Copy the full SHA a158d31View commit details -
docs: update CHANGELOG for release 0.29
Signed-off-by: deadprogram <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for dc44988 - Browse repository at this point
Copy the full SHA dc44988View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5ca7414 - Browse repository at this point
Copy the full SHA 5ca7414View commit details