Skip to content

TinyGo Not Working with pico2w RP2350 Chip #4888

Open
@ZeyTroX-exe

Description

@ZeyTroX-exe

I'm trying to use TinyGo on a pico2w with the RP2350 chip, and I'm encountering issues. I've followed all the correct installation steps, including setting up TinyGo, but the program does not run correctly on the hardware. Below are the steps I've followed and the issues I'm facing.

Installed TinyGo following the official installation guide for my platform.

Installed dependencies and made sure the target is set correctly.

Tried flashing the program with the command:

tinygo flash -target=pico2-w main.go

package main

import (
	"machine"
	"time"
)

func main() {
	led := machine.LED
	led.Configure(machine.PinConfig{Mode: machine.PinOutput})
	for {
		led.High()
		time.Sleep(time.Second / 2)

		led.Low()
		time.Sleep(time.Second / 2)
	}
}

Program does not execute as expected, the onboard LED on the Pico2w does not blink, and there is no serial output for debug information.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionQuestion about usage of TinyGo

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions