Skip to content

Fix down the ESP Open SDK version used to build CircuitPython for consistency #637

@deshipu

Description

@deshipu

I'm trying to build my own version on the 2.2.3 CircuitPython for HUZZAH, but I'm getting the following error:

In file included from ./esp_mphal.h:73:0,
                 from ../py/mphal.h:32,
                 from ../py/mpprint.c:33:
./etshal.h:9:6: error: conflicting types for 'ets_delay_us'
 void ets_delay_us();
      ^
./etshal.h:9:1: note: an argument type that has a default promotion can't match an empty parameter name list declaration
 void ets_delay_us();
 ^
In file included from ./esp_mphal.h:66:0,
                 from ../py/mphal.h:32,
                 from ../py/mpprint.c:33:
/home/sheep/dev/micropython/esp-open-sdk/xtensa-lx106-elf/xtensa-lx106-elf/sysroot/usr/include/osapi.h:33:6: note: previous declaration of 'ets_delay_us' was here
 void ets_delay_us(uint16_t us);
      ^
../py/mkrules.mk:53: recipe for target 'build/py/mpprint.o' failed
make: *** [build/py/mpprint.o] Error 1

It seems like the esp-open-sdk that is mentioned in the README is no longer compatible? What version of esp-open-sdk should I be using?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions