Merge branch 'refactor/esp_driver_i2c' into 'master'
refactor(i2c): Make i2c driver as a seperate component See merge request espressif/esp-idf!27860
This commit is contained in:
@@ -544,5 +544,5 @@ API Reference
|
||||
|
||||
.. include-build-file:: inc/i2c_slave.inc
|
||||
|
||||
.. include-build-file:: inc/components/driver/i2c/include/driver/i2c_types.inc
|
||||
.. include-build-file:: inc/components/esp_driver_i2c/include/driver/i2c_types.inc
|
||||
.. include-build-file:: inc/components/hal/include/hal/i2c_types.inc
|
||||
@@ -19,6 +19,7 @@ In order to control the dependence of other components on drivers at a smaller g
|
||||
- `esp_driver_rmt` - Driver for RMT
|
||||
- `esp_driver_tsens` - Driver for Temperature Sensor
|
||||
- `esp_driver_sdm` - Driver for Sigma-Delta Modulator
|
||||
- `esp_driver_i2c` - Driver for I2C
|
||||
|
||||
For compatibility, the original `driver`` component is still treated as an all-in-one component by registering these `esp_driver_xyz`` components as its public dependencies. In other words, you do not need to modify the CMake file of an existing project, but you now have a way to specify the specific peripheral driver that your project depends on.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user