sra-board-component icon indicating copy to clipboard operation
sra-board-component copied to clipboard

Set the clk_flags field to default configuration in the i2c

Open RISHI27-dot opened this issue 2 years ago • 2 comments

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.

RISHI27-dot avatar Nov 01 '22 08:11 RISHI27-dot

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.

VedantParanjape avatar Nov 01 '22 08:11 VedantParanjape

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.

RISHI27-dot avatar Nov 02 '22 05:11 RISHI27-dot

@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.

VedantParanjape avatar Jan 13 '23 13:01 VedantParanjape