refactor(hints): move driver migration hints to own components

This commit is contained in:
morris
2026-02-14 15:51:18 +08:00
parent f0e006a619
commit ab16c09947
13 changed files with 159 additions and 164 deletions
+18
View File
@@ -0,0 +1,18 @@
-
re: "has no member named 'io_loop_back'"
hint: "If you want to bind different driver objects to the same GPIO, just set them with the same GPIO number."
-
re: "has no member named '{}'"
hint: "Please include 'driver/gpio.h' and call 'gpio_set_pull_mode' to set the correct pull mode."
variables:
-
re_variables: ['pull_up']
hint_variables: []
-
re_variables: ['pull_down']
hint_variables: []
-
re: "has no member named 'io_od_mode'"
hint: "Please include 'driver/gpio.h' and call 'gpio_od_enable' to enable the open-drain mode."