Closed
Description
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.