-
Notifications
You must be signed in to change notification settings - Fork 0
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
Lora Upgrade Issue - prints "p" then locks up #5
Comments
I got a response on the Tinygo slack channel: https://gophers.slack.com/archives/CDJD3SUP6/p1692660961082699?thread_ts=1692660743.478199&cid=CDJD3SUP6 |
WorkaroundI remove the "bad" code on the Tinygo
|
Workaround Take II
# Make sure you have `pico` selected as the TinyGo target
# and the vscode is working then run the following
code $(jq -r '.["go.toolsEnvVars"].GOROOT' .vscode/settings.json)/src/machine/machine_rp2040_spi.go
# Comment out the two occurrences of the following and save
for spi.isBusy() {
gosched()
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am working with Lora sx127x on a Pico, when I upgraded to v0.28.0 things started to work. But today after I upgraded to v0.28.1 I am no longer able to Tx or Rx. It will find the radio but as soon as I start to Tx or Rx it prints p and locks up (i assume it is printing panic but does not get that far. The 10 second Rx loop work as long as it does not receive any data, but as soon as I send data with another device it locks up.
Patricio Whittingslow
See this slack thread
Code
The addition of this code seems to cause the issue:
Source file
/Users/tgilkerson/github/tinygo-org/tinygo/src/machine/machine_rp2040_spi.go
Solution
See if you can run TinyGo from the
dev
branch and remove this lines until the upstream is fixTo run from dev I think I would do something like this:
go install
ln -s
to have the TinyGo bin show up in the right place but I am not sureThe text was updated successfully, but these errors were encountered: