Build environment: macOS
Moddable SDK version: 8.0.0
Target device: M5StackCoreS3, M5atom matrix
Steps to Reproduce
- Connect an I2C sensor, such as an SHT3x or PAJ7620U2, to the Grove port.
- Build and install the example app using this build command:
mcconfig -d -m ...
- See error
/Users/satoshi/Projects/moddable/modules/io/i2c/esp32/_i2c.c (282) # Break: Error: write failed (in write)!
Other information
Here is the log with instrumented build.
E (417) i2c.common: I2C bus id(0) has already been acquired
E (417) i2c.common: acquire bus failed
E (417) i2c.master: i2c_new_master_bus(1050): I2C bus acquire failed
E (421) i2c.common: i2c_release_bus_handle(250): Bus not freed entirely
XS abort: unhandled exception activate failed
I haven’t tested this on every device, but it does not occur on M5Stack devices and does occur on other devices.
Build environment: macOS
Moddable SDK version: 8.0.0
Target device: M5StackCoreS3, M5atom matrix
Steps to Reproduce
mcconfig -d -m .../Users/satoshi/Projects/moddable/modules/io/i2c/esp32/_i2c.c (282) # Break: Error: write failed (in write)!
Other information
Here is the log with instrumented build.
I haven’t tested this on every device, but it does not occur on M5Stack devices and does occur on other devices.