SRA-VJTI / sra-board-component

ESP-IDF component for SRA Board
https://sravjti.in/sra-board-component/
MIT License
36 stars 20 forks source link

Set the clk_flags field to default configuration in the i2c #70

Closed RISHI27-dot closed 1 year ago

RISHI27-dot commented 2 years ago

configuration.

The struct i2c_config_t now has a new field called clk_flags in the most recent stable version of the ESP-IDF, ESP-IDF v4.4.2-dirty When self-balancing and MPU code are flashed, the i2c configuration fails because the field is not initialized in the present code, which results in the ESP32 rebooting.

Set the default value for the clk_flags in the i2c configuration.

VedantParanjape commented 2 years ago

But did we shift complete code base to 4.2.2? Also please don't evaluate against dirty versions, but release versions.

Please check this out and update here.

RISHI27-dot commented 2 years ago

This PR is to solve this issue. I have tested all the firmware on ESP-IDF v4.4.2 which is the latest stable release version.

VedantParanjape commented 1 year ago

@RISHI27-dot rewrite this PR, since we moved from u8g2 to lvgl, please check again if this is needed with latest code on repo. Closing this for now, reopen it if needed.