File tree Expand file tree Collapse file tree 6 files changed +27
-6
lines changed
esp_io_expander_tca95xx_16bit Expand file tree Collapse file tree 6 files changed +27
-6
lines changed Original file line number Diff line number Diff line change 1- idf_component_register(SRCS "esp_io_expander_ht8574.c" INCLUDE_DIRS "include" REQUIRES "driver" )
1+ set (req)
2+ if ("${IDF_VERSION_MAJOR} .${IDF_VERSION_MINOR} " VERSION_GREATER_EQUAL "5.2.6" )
3+ list (APPEND req "esp_driver_i2c" )
4+ else ()
5+ list (APPEND req "driver" )
6+ endif ()
7+
8+ idf_component_register(SRCS "esp_io_expander_ht8574.c" INCLUDE_DIRS "include" REQUIRES ${req} )
Original file line number Diff line number Diff line change 1- version : 2.0.0
1+ version : 2.0.1
22description : ESP IO Expander - HT8574
33url : https://github.com/espressif/esp-bsp/tree/master/components/io_expander/esp_io_expander_ht8574
44dependencies :
Original file line number Diff line number Diff line change 1- idf_component_register(SRCS "esp_io_expander_tca9554.c" INCLUDE_DIRS "include" REQUIRES "driver" )
1+ set (req)
2+ if ("${IDF_VERSION_MAJOR} .${IDF_VERSION_MINOR} " VERSION_GREATER_EQUAL "5.2.6" )
3+ list (APPEND req "esp_driver_i2c" )
4+ else ()
5+ list (APPEND req "driver" )
6+ endif ()
7+
8+ idf_component_register(SRCS "esp_io_expander_tca9554.c" INCLUDE_DIRS "include" REQUIRES ${req} )
Original file line number Diff line number Diff line change 1- version : " 2.0.1 "
1+ version : " 2.0.2 "
22description : ESP IO Expander - TCA9554(A)
33url : https://github.com/espressif/esp-bsp/tree/master/components/io_expander/esp_io_expander_tca9554
44dependencies :
Original file line number Diff line number Diff line change 1- idf_component_register(SRCS "esp_io_expander_tca95xx_16bit.c" INCLUDE_DIRS "include" REQUIRES "driver" )
1+ set (req)
2+ if ("${IDF_VERSION_MAJOR} .${IDF_VERSION_MINOR} " VERSION_GREATER_EQUAL "5.2.6" )
3+ list (APPEND req "esp_driver_i2c" )
4+ else ()
5+ list (APPEND req "driver" )
6+ endif ()
7+
8+ idf_component_register(SRCS "esp_io_expander_tca95xx_16bit.c" INCLUDE_DIRS "include" REQUIRES ${req} )
Original file line number Diff line number Diff line change 1- version : 2.0.0
1+ version : 2.0.1
22description : ESP IO Expander - tca9539 and tca9555
33url : https://github.com/espressif/esp-bsp/tree/master/components/io_expander/esp_io_expander_tca95xx_16bit
44dependencies :
You can’t perform that action at this time.
0 commit comments