Skip to main content
Filter by
Sorted by
Tagged with
1 vote
1 answer
433 views

I'm currently working on a personal project. Notably to discover the possibilities of Web Assembly and Tinygo. I have a small project which use vanilla.js and a simple index.html containing a button. ...
SkydersZ's user avatar
  • 173
2 votes
0 answers
447 views

I'm using Tiny-Go's bluetooth to generate Bluetooth Low Energy (BLE) messages on a Raspberry Pi 4 (Raspbian, Linux 6.1.21, Bluez 5.55) like this: adv := constants.Adapter.DefaultAdvertisement() ...
Pencil Von Radiergummi's user avatar
4 votes
1 answer
632 views

I have the following test code func main() { path, err := os.Getwd() log.Println(path, err) files, err := ioutil.ReadDir("/etc/dse") log.Println(files, err) } I compile it to ...
0x11111's user avatar
  • 205
1 vote
0 answers
288 views

I am using the tinygo-org/bluetooth package. When I run the scanner in the example, after a while the panic drops. I can't find the cause, does anyone have any idea what it could be? Thanks.
sercan's user avatar
  • 381
0 votes
1 answer
121 views

I've been trying to access the Badger2040 buttons through Tinygo and not having any luck (I have succeeded in CircuitPython before). When I try to change the led state based on Button A, the led is ...
AndyS's user avatar
  • 854
0 votes
2 answers
1k views

I compiled a go code with tinygo to WebAssembly and I don't understand why the function took 17 minutes to execute while the same function in JavaScript only took 4000 ms. what I'm doing wrong? also ...
insurg3nt3's user avatar
3 votes
1 answer
551 views

How can one call custom Wasm host functions from a Go guest? I've looked at a few examples that show loading a self-contained witx/wat/wasm defined function, but haven't found an example for ...
Grokify's user avatar
  • 16.5k
3 votes
0 answers
408 views

Is it possible to use .witx definition files for Go code generation to use with TinyGo's WebAssembly WASI (WebAssembly System Interface) support? Specifically, I want to create a Fastly Compute@Edge ...
Grokify's user avatar
  • 16.5k
3 votes
1 answer
2k views

I am using tinygo to generate a wasm for simple function: //export onInput func onInput() map[string]interface{} { return map[string]interface{}{ "key": 60, "remove&...
Leone's user avatar
  • 3,433
3 votes
1 answer
3k views

I'm trying to run my WASM Go filter to make an external HTTP call using the net/http module. Envoy fails to load the WASM code. Why is the import failing? Envoy/Istio version: istio/proxyv2:1.11.4 SDK ...
no_joker's user avatar
1 vote
0 answers
1k views

I'm trying to use Tinygo Bluetooth to connect to a Timeflip v2 (https://github.com/DI-GROUP/TimeFlip.Docs/blob/master/Hardware/TimeFlip%20BLE%20protocol%20ver4_02.06.2020.md). The API documentation ...
El Gohr's user avatar
  • 316
5 votes
1 answer
5k views

The TinyGo Homepage says that it is designed for micro controllers (or MCU). I wonder if it is possible to use TinyGo to compile go into small binary for ARM/Linux system? Currently with UPX --best --...
xrfang's user avatar
  • 2,363
3 votes
1 answer
2k views

We have a JWT token that we need to decode, the issue is that we are using TinyGo and some libraries are not supported, How can it be done for TinyGo / core Go libraries which is already supported? I ...
JME's user avatar
  • 949
0 votes
2 answers
78 views

On a particular STM32 microcontroller, the system clock is driven by a PLL whose frequency F is given by the following formula: F := (S/M * (N + K/8192)) / P S is the PLL input source frequency (1 - ...
ardnew's user avatar
  • 2,138
0 votes
1 answer
1k views

I'm building a Go wasm module (compiled with TinyGo) and it compiles fine. But when I try to run it in the browser I get the above error.
Dellowar's user avatar
  • 3,400