aboutsummaryrefslogtreecommitdiffhomepage
path: root/targets
AgeCommit message (Collapse)Author
12 daystargets: add implementation for Tillitis TKey device (#4631)Ron Evans
* initial implementation for Tillitis TKey device * add UART implementation for TKey * add Pin interface implementation for TKey touch sensor * add RNG interface implementation for TKey * add helpful machine package functions to return identifiers such as name and version for TKey * use built-in timer for sleep timing on TKey * modify UART implementation for TKey to implement Serialer interface * implement BLAKE2s ROM function call for TKey device * handle abort by triggering TKey device fault using illegal instruction to halt CPU * simplify TKey implementation by inheriting from existing riscv32 target * return error for trying to configure invalid baudrates on UART * add tkey to builder test * be very specific for features passed to LLVM for specific config in use for TKey * handle feedback items from TKey device code review Signed-off-by: deadprogram <[email protected]>
2024-11-14wasm: tidy up wasm_exec.js a bitAyke van Laethem
2024-11-14targets/wasm_exec: call process.exit() when go.run() returnsDamian Gryski
2024-11-08wasm: correctly return from run() in wasm_exec.jsAyke van Laethem
Instead of hanging forever, it should return the exit code from os.Exit.
2024-10-28tinygo: revise and simplify wasmtime argument handling (#4555)Randy Reddig
2024-10-23wasm: use precise GC for WebAssembly (including WASI)Ayke van Laethem
With a few small modifications, all the problems with `-gc=precise` in WebAssembly seem to have been fixed. I didn't do any performance measurements, but this is supposed to improve GC performance.
2024-10-22targets: add WaveShare ESP-C3-32S-KitAyke van Laethem
I've had this board for a while now, but never added proper TinyGo support. So here is a PR to do just that.
2024-10-18wasm: add //go:wasmexport support to js/wasmAyke van Laethem
This adds support for //go:wasmexport with `-target=wasm` (in the browser). This follows the //go:wasmexport proposal, meaning that blocking functions are not allowed. Both `-buildmode=default` and `-buildmode=c-shared` are supported. The latter allows calling exported functions after `go.run()` has returned.
2024-10-09targets: add bulk memory flags to wasm-unknown target since basically every ↵deadprogram
runtime has it now Signed-off-by: deadprogram <[email protected]>
2024-10-04compiler, runtime: enable go:wasmexport for wasip2 (#4499)Randy Reddig
* compiler: prefer go:wasmexport over go:export * runtime, targets/wasip2: enable -buildmode=c-shared for wasip2 * runtime: rename import from wasi_run to wasiclirun (PR feedback)
2024-10-04wasm: add `//go:wasmexport` support (#4451)Ayke
This adds support for the `//go:wasmexport` pragma as proposed here: https://github.com/golang/go/issues/65199 It is currently implemented only for wasip1 and wasm-unknown, but it is certainly possible to extend it to other targets like GOOS=js and wasip2.
2024-09-17targets/wasip2: add wasmtime -S args to support network interfacesRandy Reddig
2024-09-06wasip2: do not export the _start functionAyke van Laethem
It seems to have been replaced with the Component Model `run` function.
2024-09-05add board: RAKwireless RAK4631 (#4454)Warren Guy
targets: add rak4631
2024-08-17targets: remove import-memory flag from wasm-unknown target to fix #4319deadprogram
Signed-off-by: deadprogram <[email protected]>
2024-08-09feat: add node: specifierKobayashi Shunta
2024-07-02wasi preview 2 support (#4027)Damian Gryski
* all: wasip2 support Co-authored-by: Randy Reddig <[email protected]>
2024-06-11targets: add cyw43439 tag to badger2040-w and also add new pico-w target for ↵deadprogram
wireless support Signed-off-by: deadprogram <[email protected]>
2024-05-24LLVM 18 supportAyke van Laethem
2024-05-13targets: add support for Badger2040 Wdeadprogram
Signed-off-by: deadprogram <[email protected]>
2024-05-12targets: add support for m5paperJohann Freymuth
2024-04-27mksnanov3: limit programming speed to 1800 kHzElias Naur
Both of my development boards exhibit stability problems when programming at the default 4000 kHz speed of the target/stmf32d4x OpenOCD configuration. Note that the speed limit must be set by an event handler, because it is hard-coded by a similar event handler in stmf32f4x.cfg: $_TARGETNAME configure -event reset-init { # Configure PLL to boost clock to HSI x 4 (64 MHz) ... # Boost JTAG frequency adapter speed 8000 <-- resolves to 4000 kHz by the SWD interface } While here, replace the reference to the deprecated "stlink-v2" configuration.
2024-04-19add stm32 nucleol476rg supportPatrick Ting
2024-03-27targets: add wasi.json that inherits wasip1.jsonRandy Reddig
PR feedback
2024-03-27all: replace target=wasi with target=wasip1Randy Reddig
This eliminates the 'wasi' build tag in favor of 'GOOS=wasip1', introduced in Go 1.21. For backwards compatablity, -target=wasi is a synonym for -target=wasip1.
2024-03-27Begin implementing support for Adafruit ESP32 Feather V2Patrick Lindsay
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-23Add pca10059-s140v7 as a targetJonathan Böcker
2024-02-23targets: add support for Thumbydeadprogram
Signed-off-by: deadprogram <[email protected]>
2024-02-17targets/wasm_unknown: use proper defaults for GCdeadprogram
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-01-29Remove unused value=
2024-01-27esp32c3: update linker script to support binary blobsAyke van Laethem
To be able to link with the binary blobs that provide wifi and BLE, the linker script needs a few tweaks.
2024-01-27esp32c3: add more ROM functionsAyke van Laethem
These functions are used by the binary blobs that implement wifi/BLE on the ESP32-C3. While this is a lot of lines of linker script, I think it's a good idea to add them here (instead of in a separate library) because they're part of the ESP32-C3 hardware.
2024-01-23targets: add support for the MKS Robin Nano V3.xElias Naur
Signed-off-by: Elias Naur <[email protected]>
2024-01-15targets: add ninafw tag to Arduino mkrwifi1010 and Adafruit Matrix Portal M4 ↵deadprogram
for drivers netlink support Signed-off-by: deadprogram <[email protected]>
2024-01-15targets: add ninafw pins and settings to Adafruit PyBadge board with AirLift ↵deadprogram
Featherwing Signed-off-by: deadprogram <[email protected]>
2024-01-15targets: add ninafw pins and settings to Adafruit Metro M4 Airlift boarddeadprogram
Signed-off-by: deadprogram <[email protected]>
2024-01-07Adding additional build tag for boards with ninafwBCG
2024-01-06machine/pyportal: add needed values to board file for ninafw BLE supportdeadprogram
Signed-off-by: deadprogram <[email protected]>
2024-01-05all: statically link to LLVM 17 instead of LLVM 16Ayke van Laethem
We can now finally do it, now that Espressif has updated their fork.
2024-01-05machine, targets: ninafw support for arduino-nano33 and nano-rp2040 boardsdeadprogram
Signed-off-by: deadprogram <[email protected]>
2024-01-03targets: add ninafw tag to nano-rp2040 for ninafw BLE supportdeadprogram
Signed-off-by: deadprogram <[email protected]>
2023-12-02machine/atmega328pb: refactor to enable extra uartYurii Soldak
2023-11-29m5stamp-c3: change settings to explicitly use UARTsago35
2023-11-28targets: add Adafruit qtpy-esp32c3 board supportdeadprogram
Signed-off-by: deadprogram <[email protected]>
2023-11-28machine/esp32c3: implement USB_SERIAL for USBCDC communicationdeadprogram
Signed-off-by: deadprogram <[email protected]>
2023-11-12Bump default stack size for target pico to 8kb from 2kbScott Feldman