aboutsummaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2023-08-25docs: update CHANGELOG for release 0.29v0.29.0deadprogram
Signed-off-by: deadprogram <[email protected]>
2023-08-25all: update version for 0.29 releasedeadprogram
Signed-off-by: deadprogram <[email protected]>
2023-08-24nRF52: set SPI TX/RX lengths even data is empty. Fixes #3868 (#3877)Pertti Erkkilä
machine/hrf: Set SPI TX/RX lengths even data is empty. Fixes #3868
2023-08-19make: add task to check NodeJS version before running testsdeadprogram
Signed-off-by: deadprogram <[email protected]>
2023-08-19adding new uf2 target for PCA10056 (#3765)Pierre Constantineau
targets: adding new uf2 target for PCA10056
2023-08-17wasm: add support for GOOS=wasip1Ayke van Laethem
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.
2023-08-15samd51,rp2040,nrf528xx,stm32: implement watchdogKenneth Bell
2023-08-13loader: merge go.env file which is now required starting in Go 1.21 to ↵deadprogram
correctly get required packages Signed-off-by: deadprogram <[email protected]>
2023-08-13main: add target JSON file in `tinygo info` outputAyke van Laethem
It 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).
2023-08-13rp2040: move flash related functions into separate file from C imports for ↵deadprogram
correct LSP. Fixes #3852 Signed-off-by: deadprogram <[email protected]>
2023-08-11modules: update to go-serial package v1.6.0deadprogram
Signed-off-by: deadprogram <[email protected]>
2023-08-11docker: use Go 1.21 for Docker dev container builddeadprogram
Signed-off-by: deadprogram <[email protected]>
2023-08-10build: switch GH actions builds to use Go 1.21 final releasedeadprogram
Signed-off-by: deadprogram <[email protected]>
2023-08-09builder: update message for max supported Go versiondeadprogram
Signed-off-by: deadprogram <[email protected]>
2023-08-07Add support for HID Keyboard LEDsUnrud
2023-08-07all: use https for renesas submodule #3856Kenneth Bell
2023-08-04board: add AKIZUKI DENSHI AE-RP2040sago35
2023-08-04compiler: improve panic message when a runtime call is unavailableAyke van Laethem
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.
2023-08-04compiler: implement clear builtin for mapsAyke van Laethem
2023-08-04compiler: implement clear builtin for slicesAyke van Laethem
2023-08-04compiler: add min and max builtin supportAyke van Laethem
2023-08-04all: Go 1.21 supportAyke van Laethem
2023-08-04testing: add Testing functionAyke van Laethem
This is new in Go 1.21.
2023-08-04machine/usb/hid: rename Handler() to TxHandler()sago35
2023-08-04machine/usb/hid: add RxHandler interfacesago35
2023-08-02machine/usb: refactor endpoint configurationsago35
2023-08-02machine/usb: allow USB Endpoint settings to be changed externallysago35
2023-08-01machine/usb: remove usbDescriptorConfigsago35
2023-08-01compiler: add compiler-rt to wasm.jsonCharlie Haley
2023-07-31compiler: add compiler-rt and wasm symbols to tableCharlie Haley
2023-07-28wasm: fix functions exported through //exportAyke van Laethem
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.
2023-07-27avr: pin change interruptYurii Soldak
2023-07-20sync: add implementation from upstream Go for OnceFunc, OnceValue, and ↵deadprogram
OnceValues Signed-off-by: deadprogram <[email protected]>
2023-07-16rp2040:add NoPin supportsoypat
2023-07-16nrf: add I2C timeoutAyke van Laethem
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.
2023-07-15machine.UART refactor (#3832)Patricio Whittingslow
* 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
2023-07-07machine/rp2040: wait for 1000 us after flash reset to avoid issues with busy ↵deadprogram
USB bus Signed-off-by: deadprogram <[email protected]>
2023-07-07reflect: add SetZeroAyke van Laethem
This was added in Go 1.20 and is required by encoding/json starting with Go 1.21.
2023-07-07main: use `go env` instead of doing all detection manuallyAyke van Laethem
This 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.
2023-07-07wasi: allow zero inodes when reading directoriesAchille Roussel
Signed-off-by: Achille Roussel <[email protected]>
2023-07-07reflect: implement Value.GrowAyke van Laethem
This was added in Go 1.20 and becomes necessary for encoding/json in Go 1.21.
2023-07-06machine/samd51: fix i2cTimeout was decreasing due to cache activationsago35
2023-07-05make: add make task to generate Renesas device wrappersdeadprogram
Signed-off-by: deadprogram <[email protected]>
2023-07-05tools/gen-device-svd: small changes needed for Renesas MCUsdeadprogram
Signed-off-by: deadprogram <[email protected]>
2023-07-05modules: add submodule for Renesas SVD file mirror repodeadprogram
Signed-off-by: deadprogram <[email protected]>
2023-07-03main: improve detection of filesystemsAyke van Laethem
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.
2023-07-03machine/macropad_rp2040: add machine.BUTTONsago35
2023-07-03rp2040: add missing suffix to CMD_READ_STATUSMansour Behabadi
2023-07-02example: adjust time offsetYurii Soldak
2023-07-02compiler: update .ll test outputDamian Gryski