We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09cdef0 commit 77c58aaCopy full SHA for 77c58aa
components/mpu6050/CMakeLists.txt
@@ -1,5 +1,9 @@
1
+if("${IDF_VERSION_MAJOR}.${IDF_VERSION_MINOR}" VERSION_GREATER_EQUAL "5.3")
2
+ set(REQ esp_driver_gpio esp_driver_i2c)
3
+endif()
4
+
5
idf_component_register(
6
SRCS "mpu6050.c"
7
INCLUDE_DIRS "include"
- REQUIRES "driver" "esp_driver_gpio"
8
+ REQUIRES driver ${REQ}
9
)
components/mpu6050/idf_component.yml
@@ -1,4 +1,4 @@
-version: "1.2.0"
+version: "1.2.1"
description: I2C driver for MPU6050 6-axis gyroscope and accelerometer
url: https://github.com/espressif/esp-bsp/tree/master/components/mpu6050
dependencies:
0 commit comments