Skip to content
Merged
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 boards/wch/ch32v003f4p6_dev_board/board.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#include <zephyr/init.h>
#include <zephyr/drivers/gpio.h>

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

#define AFIO_SWCFG_MASK 0x07000000
#define AFIO_SWCFG_SWD_OFF 0x04000000
Expand Down
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
Loading