Skip to content

Compile error for ESP32S3 in platformio #90

@dkm1978

Description

@dkm1978

Hello :)
While compiling for ESp32s3 in the VSC+platformio environment, I received the following error:
my_basic.c:370:15: error: conflicting types for '_lock_t' it turned out that in the file belonging to the SDK "sys/lock.h"
there is a typedef definition _LOCK_T _lock_t;
After changing all _lock_t references to mb_lock_t in my_basic.c, compilation works without errors.

@paladin-t could you comment on my changes?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions