Skip to content

drivers: wch: fix the ch32vfun.h path after the recent HAL update #90438

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion drivers/dma/dma_wch.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#include <zephyr/drivers/dma.h>
#include <zephyr/drivers/clock_control.h>

#include <ch32fun.h>
#include <hal_ch32fun.h>

#define DMA_WCH_MAX_CHAN 11
#define DMA_WCH_MAX_CHAN_BASE 8
Expand Down
2 changes: 1 addition & 1 deletion drivers/i2c/i2c_wch.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ LOG_MODULE_REGISTER(i2c_wch);

#include "i2c-priv.h"

#include <ch32fun.h>
#include <hal_ch32fun.h>

typedef void (*irq_config_func_t)(const struct device *port);

Expand Down
2 changes: 1 addition & 1 deletion drivers/pinctrl/pinctrl_wch_00x_afio.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#include <zephyr/drivers/pinctrl.h>
#include <zephyr/dt-bindings/pinctrl/ch32v00x-pinctrl.h>

#include <ch32fun.h>
#include <hal_ch32fun.h>

static GPIO_TypeDef *const wch_afio_pinctrl_regs[] = {
(GPIO_TypeDef *)DT_REG_ADDR(DT_NODELABEL(gpioa)),
Expand Down
2 changes: 1 addition & 1 deletion drivers/pwm/pwm_wch_gptm.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#include <zephyr/drivers/pwm.h>
#include <zephyr/dt-bindings/pwm/pwm.h>

#include <ch32fun.h>
#include <hal_ch32fun.h>

/* Each of the 4 channels uses 1 byte of CHCTLR{1,2} */
#define CHCTLR_CHANNEL_MASK 0xFF
Expand Down
2 changes: 1 addition & 1 deletion drivers/watchdog/wdt_iwdg_wch.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#include <zephyr/sys_clock.h>
#include <errno.h>

#include <ch32fun.h>
#include <hal_ch32fun.h>

static int iwdg_wch_setup(const struct device *dev, uint8_t options)
{
Expand Down