This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
2 files changed
+4
-0
lines changedLines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
646 | 646 |
| |
647 | 647 |
| |
648 | 648 |
| |
| 649 | + | |
649 | 650 |
| |
| 651 | + | |
650 | 652 |
| |
651 | 653 |
|
Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
144 | 144 |
| |
145 | 145 |
| |
146 | 146 |
| |
| 147 | + | |
147 | 148 |
| |
| 149 | + | |
148 | 150 |
| |
149 | 151 |
| |
150 | 152 |
|
4 commit comments
Jason2866 commentedon Oct 10, 2024
@sivar2311 @me-no-dev This merge from branch master needs to be changed to
SOC_HP_I2C_NUM
sivar2311 commentedon Oct 11, 2024
@Jason2866 Thanks!
But why is
SOC_HP_I2C_NUM
correct andSOC_I2C_NUM
is not?Unfortunately their meaning is neither mentioned in the documentation nor in the source code.
igrr commentedon Oct 11, 2024
SOC_HP_I2C_NUM is the number of I2C controllers in the digital domain. SOC_I2C_NUM is the total number of I2C controllers, including the ones in LP domain. In recent IDF versions, LP I2C controllers can be also accessed using the same I2C master driver as the ones in the digital domain.
See ESP32-C6 soc_caps for an example: https://github.com/espressif/esp-idf/blob/6e5a178b3120dced7fa5c29c655cc22ea182df3d/components/soc/esp32c6/include/soc/soc_caps.h#L240-L241
sivar2311 commentedon Oct 12, 2024
Thanks for your eagle eyes @Jason2866 and for clearification @igrr !
I created a new PR #10453