Skip to content

espulp module broken in CircuitPython 9 #8770

Closed
@Sola85

Description

@Sola85

CircuitPython version

Adafruit CircuitPython 9.0.0-alpha.6 on 2023-12-29; ESP32-S3-DevKitM-1-N8

Code/REPL

>>> import espulp
>>> ulp = espulp.ULP()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
NotImplementedError:

Behavior

In CircuitPython 9 it is no longer possible to instantiate a ULP object. In CircuitPython 8 this still worked.

Description

The reason for this seems to be the new preprocessor directives that were introduced between CircuitPython 8 and 9:

#ifdef CONFIG_ULP_COPROC_TYPE_FSM
        case FSM:
            break;
#endif

In particular CONFIG_ULP_COPROC_TYPE_FSM does not seem to get defined anywhere.

I had started to work on improving the espulp module for CircuitPython 8 and wanted to port my changes to CircuitPython 9, but i hit this issue that i was not yet able to resolve.

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    advanced apibugespressifapplies to multiple Espressif chipsthird-partyAwaiting action on a third party for a fix or an answer to a request

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions