Skip to content

Commit ddb6a86

Browse files
fix(mpu6050): set requires with SET(REQ...)
1 parent 09cdef0 commit ddb6a86

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

components/mpu6050/CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1+
set(REQ esp_driver_gpio esp_driver_i2c)
2+
13
idf_component_register(
24
SRCS "mpu6050.c"
35
INCLUDE_DIRS "include"
4-
REQUIRES "driver" "esp_driver_gpio"
6+
REQUIRES driver ${REQ}
57
)

components/mpu6050/idf_component.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: "1.2.0"
1+
version: "1.2.1"
22
description: I2C driver for MPU6050 6-axis gyroscope and accelerometer
33
url: https://github.com/espressif/esp-bsp/tree/master/components/mpu6050
44
dependencies:

0 commit comments

Comments
 (0)