Skip to content

type interrupt.Interrupt has no field or method Enable on target esp32 #62

Description

@loosak

target=esp32-mini32 (dual-core XTensa LX6 MCU.)

Chip type:          ESP32-D0WDQ6 (revision v0.0)
Features:           Wi-Fi, BT, Dual Core + LP Core, Coding Scheme None
Crystal frequency:  40MHz

versions:

tinygo version                                                         
tinygo version 0.41.1 darwin/arm64 (using go version go1.26.5 and LLVM version 20.1.1)

go list -m -json tinygo.org/x/espradio                                 
{
        "Path": "tinygo.org/x/espradio",
        "Main": true, 
...
        "GoVersion": "1.24.4"
}

Problem:

tinygo flash -target=esp32-mini32 -size short -monitor ./examples/http-hello       
# tinygo.org/x/espradio
radio.go:573:10: wifiISR.Enable undefined (type interrupt.Interrupt has no field or method Enable)

same for -target=esp32-generic
it seems that espradio using the old API, rather than Enable()...

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions