Skip to content

Commit 5d99133

Browse files
committed
Merge branch 'fix/fix_drv10987_vtaskdelay' into 'master'
fix(drv10987): fix the issue of missing FreeRTOS header file in the component See merge request ae_group/esp-iot-solution!1234
2 parents df38de9 + 4d5edc4 commit 5d99133

File tree

4 files changed

+11
-5
lines changed

4 files changed

+11
-5
lines changed

.gitlab/ci/build.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -617,9 +617,9 @@ build_example_motor_drv10987:
617617
extends:
618618
- .build_examples_template
619619
- .rules:build:example_motor_drv10987
620+
- .build_idf_version_greater_equal_v5_0
620621
variables:
621622
EXAMPLE_DIR: examples/motor/drv10987
622-
IMAGE: espressif/idf:release-v5.0
623623

624624
build_example_motor_foc_openloop_control:
625625
extends:
@@ -1261,9 +1261,7 @@ build_components_motor_drv10987_test_apps:
12611261
extends:
12621262
- .build_examples_template
12631263
- .rules:build:components_motor_drv10987_test_apps
1264-
parallel:
1265-
matrix:
1266-
- IMAGE: espressif/idf:release-v5.0
1264+
- .build_idf_version_greater_equal_v5_0
12671265
variables:
12681266
EXAMPLE_DIR: components/motor/drv10987/test_apps
12691267

components/motor/drv10987/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# ChangeLog
22

3+
## v0.1.1 - 2025-3-3
4+
5+
### Bug Fix:
6+
7+
* Fix the issue of missing header file for ``vTaskDelay``
8+
39
## v0.1.0 - 2024-7-23
410

511
### Enhancements:

components/motor/drv10987/drv10987.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
*/
66

77
#include <string.h>
8+
#include "freertos/FreeRTOS.h"
9+
#include "freertos/task.h"
810
#include "drv10987.h"
911
#include "driver/gpio.h"
1012
#include "drv10987_reg.h"

components/motor/drv10987/idf_component.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: "0.1.0"
1+
version: "0.1.1"
22
description: DRV10987 motor drive component
33
url: https://github.com/espressif/esp-iot-solution/tree/master/components/motor/drv10987
44
repository: https://github.com/espressif/esp-iot-solution.git

0 commit comments

Comments
 (0)