Closed scottfeldman closed 5 months ago
Running examples/wifinina/http-get example on Arduino Nano33 IoT. Example fails with this error:
slice out of range : use http.SetBuf() to change the allocation to 1036 bytes or more
Fix is to increase buffer size:
--- a/examples/wifinina/http-get/main.go +++ b/examples/wifinina/http-get/main.go @@ -44,7 +44,7 @@ var ( adaptor *wifinina.Device ) -var buf [0x400]byte +var buf [0x500]byte
I'll prepare a PR if the change is acceptable...
$ tinygo version tinygo version 0.25.0 linux/arm (using go version go1.19.1 and LLVM version 14.0.0)
Just a note for now: this issue is fixed with the netdev branch.
Fixed by #537.
Closing as completed in the most recent release. Thank you!
Running examples/wifinina/http-get example on Arduino Nano33 IoT. Example fails with this error:
Fix is to increase buffer size:
I'll prepare a PR if the change is acceptable...
$ tinygo version tinygo version 0.25.0 linux/arm (using go version go1.19.1 and LLVM version 14.0.0)