rtt更新

This commit is contained in:
2025-01-18 13:25:25 +08:00
parent c6a7554b51
commit d6009a0773
726 changed files with 103376 additions and 6270 deletions

View File

@@ -4,3 +4,6 @@ menuconfig RT_USING_PINCTRL
depends on RT_USING_PIN
default n
if RT_USING_PINCTRL
osource "$(SOC_DM_PINCTRL_DIR)/Kconfig"
endif

View File

@@ -92,6 +92,11 @@ static rt_err_t ofw_pin_ctrl_confs_apply(struct rt_ofw_node *np, int index)
if (pinctrl_np)
{
if (!rt_ofw_data(pinctrl_np))
{
rt_platform_ofw_request(pinctrl_np);
}
pinctrl = rt_ofw_data(pinctrl_np);
rt_ofw_node_put(pinctrl_np);
@@ -217,6 +222,8 @@ rt_err_t rt_pin_ctrl_confs_apply_by_name(struct rt_device *device, const char *n
err = ofw_pin_ctrl_confs_apply_by_name(device->ofw_node, name);
}
#endif /* RT_USING_OFW */
RT_UNUSED(name);
}
else
{