Skip to content

Conversation

icm7216
Copy link

@icm7216 icm7216 commented Jul 25, 2024

The i2c_param_config() in esp-idf release/v5.1 requires clk_flags.

https://docs.espressif.com/projects/esp-idf/en/v5.1.4/esp32/api-reference/peripherals/i2c.html?highlight=clk_flags#source-clock-configuration

How to avoid build errors

Please turn on the backward compatibility flag "CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY" in menuconfig.

idf.py menuconfig

to set configENABLE_BACKWARD_COMPATIBILITY

(Top) → Component config → FreeRTOS → Kernel

before
[ ] configENABLE_BACKWARD_COMPATIBILITY

after
[*] configENABLE_BACKWARD_COMPATIBILITY

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

Successfully merging this pull request may close these issues.

1 participant