Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ESP-IDF 4.2 update #565

Open
rojer opened this issue Dec 27, 2020 · 3 comments
Open

ESP-IDF 4.2 update #565

rojer opened this issue Dec 27, 2020 · 3 comments
Assignees

Comments

@rojer
Copy link
Collaborator

rojer commented Dec 27, 2020

No description provided.

@rojer rojer self-assigned this Dec 27, 2020
rojer added a commit that referenced this issue Dec 27, 2020
rojer added a commit to mongoose-os-libs/adc that referenced this issue Dec 27, 2020
rojer added a commit to mongoose-os-libs/bt-common that referenced this issue Dec 27, 2020
rojer added a commit to mongoose-os-libs/ethernet that referenced this issue Dec 27, 2020
rojer added a commit to mongoose-os-libs/spi that referenced this issue Dec 27, 2020
rojer added a commit to mongoose-os-libs/vfs-common that referenced this issue Dec 27, 2020
rojer added a commit to mongoose-os-libs/wifi that referenced this issue Dec 27, 2020
rojer added a commit to mongoose-os-libs/core that referenced this issue Dec 27, 2020
cesantabot pushed a commit to mongoose-os-libs/mbedtls that referenced this issue Dec 27, 2020
cesanta/mongoose-os#565

PUBLISHED_FROM=18b13b32475dc4a41d91e5b30a857fea992633b2
rojer added a commit that referenced this issue Dec 28, 2020
@nliviu
Copy link
Collaborator

nliviu commented Dec 28, 2020

It looks like there is a problem with I2C:

[Dec 28 21:37:42.284] esp32_main.c:65         ESP-IDF 4.2-r1
...
[Dec 28 21:37:43.635] esp32_i2c_master.c:402  I2C0 init ok (SDA: 21, SCL: 22, freq: 100000)
...
[Dec 28 21:37:44.228] mgos_bh1750.c:150       Could not set mtime
[Dec 28 21:37:44.232] mgos_bh1750.c:99        Failed to init BH1750 @ 0x23

The error is issued after a mgos_i2c_write.
https://github.com/mongoose-os-libs/bh1750/blob/f77905d448ebcfe2eea4e3fb4ebf66d1e21b4e70/src/mgos_bh1750.c#L149-L152

rojer added a commit to mongoose-os-libs/i2c that referenced this issue Dec 28, 2020
@rojer
Copy link
Collaborator Author

rojer commented Dec 28, 2020

@nliviu thanks for reporting, fixed by mongoose-os-libs/i2c@d01074b

@kzyapkov
Copy link
Collaborator

kzyapkov commented Dec 29, 2020

ESP32-PICO-D2 needs CONFIG_FLASHMODE_DIO=y appended to ESP_IDF_SDKCONFIG_OPTS, specifying the mode in --esp-flash-params isn't enough. This was not the case with IDF v3.2.

Edit: appears to be a manifestation of espressif/esp-idf#6191

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants