Skip to content

Arduino lib builder fails with CONFIG_DISABLE_HAL_LOCKS=y #6079

Closed
@Jason2866

Description

@Jason2866

Board

Esp32 board

Device Description

Fails at compile time

Hardware Configuration

none

Version

latest master

IDE Name

Arduino Lib Builder

Operating System

Ubuntu

Flash frequency

not relevant

PSRAM enabled

no

Upload speed

none

Description

Arduino Lib Builder fails when Option CONFIG_DISABLE_HAL_LOCKS=y is set

builder/components/arduino/cores/esp32/esp32-hal-i2c-slave.c
/home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/components/arduino/cores/esp32/esp32-hal-i2c-slave.c: In function 'i2cSlaveDeinit':
/home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/components/arduino/cores/esp32/esp32-hal-i2c-slave.c:363:12: error: 'i2c_slave_struct_t' {aka 'struct i2c_slave_struct_t'} has no member named 'lock'
     if(!i2c->lock){
            ^~
/home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/components/arduino/cores/esp32/esp32-hal-i2c-slave.c: In function

Sketch

https://github.com/Jason2866/esp32-arduino-lib-builder

Debug Message

Not relevant

Other Steps to Reproduce

No response

I have checked existing issues, online documentation and the Troubleshooting Guide

  • I confirm I have checked existing issues, online documentation and Troubleshooting guide.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions