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 b1f26d6Copy full SHA for b1f26d6
components/mpu6050/CMakeLists.txt
@@ -1,5 +1,12 @@
1
+if("${IDF_VERSION_MAJOR}.${IDF_VERSION_MINOR}" VERSION_GREATER_EQUAL "5.3")
2
+ set(REQ esp_driver_gpio esp_driver_i2c)
3
+else()
4
+ set(REQ driver)
5
+endif()
6
+
7
8
idf_component_register(
9
SRCS "mpu6050.c"
10
INCLUDE_DIRS "include"
- REQUIRES "driver" "esp_driver_gpio"
11
+ REQUIRES ${REQ}
12
)
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