Skip to content

Conversation

XH-YongbingLiu
Copy link

This commit adds support for the hc32f4a0_evb board to print info by usart, including the necessary devicetree files, Kconfig configurations, peripherals and board-specific documentation.

The following changes about the board are included:

Add hc32f4a0_evb.dts with hardware description for the board.
Add Kconfig.board and Kconfig.defconfig for default software configurations.
Add board documentation in doc/index.rst. - Add board.yaml for test runner metadata.

To implement console output, the following peripheral are supported:

gpio
intc
clock
serial

Copy link

github-actions bot commented Aug 4, 2025

The following west manifest projects have changed revision in this Pull Request:

Name Old Revision New Revision Diff
hal_xhsc 🆕 N/A (Added) zephyrproject-rtos/hal_xhsc@a84e049 (zephyr) N/A

DNM label due to: 1 added project

Note: This message is automatically posted and updated by the Manifest GitHub Action.

@XH-YongbingLiu XH-YongbingLiu force-pushed the xhsc-develop branch 2 times, most recently from 4fffc40 to d411de8 Compare August 4, 2025 06:28
@XH-YongbingLiu
Copy link
Author

Hi @nordicjm, thanks for your efficient checking and quick comments. Being new contributors, we made a lot of mistakes in the code. We will fix these bugs as soon as possible, and the fixed issues will be marked with a thumbs-up emoji!

@XH-YongbingLiu
Copy link
Author

XH-YongbingLiu commented Aug 8, 2025

In order to maintain the cleanliness of the submission, we had to use rebase and force push.
We created a another branch to make the PR changes traceable:
https://github.com/levizh/zephyr/tree/xhsc-pr-fixup#

@XH-YongbingLiu
Copy link
Author

This PR includes an external module, hal_xhsc, which has been approved by the Zephyr Project TSC.
#86804.

Copy link
Contributor

@mbolivar mbolivar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No objections to the new vendor prefix

Add TrackingRobot as maintainers for hal_xhsc.

Signed-off-by: Yongbing Liu <[email protected]>
Add HAL repository information for the first supported HC32F4A0_EVB
and HC32F460_EVB.

Signed-off-by: Yongbing Liu <[email protected]>
This is the initial commit to support pinctrl driver for XHSC HC32F4A0

Signed-off-by: Yongbing Liu <[email protected]>
This is the initial commit to support gpio driver for XHSC HC32F4A0

Signed-off-by: Yongbing Liu <[email protected]>
This is the initial commit to support clock_control driver for
XHSC HC32F4A0

Signed-off-by: Yongbing Liu <[email protected]>
This is the initial commit to support interrupt controller

Signed-off-by: Yongbing Liu <[email protected]>
This is the initial commit to support USART driver for XHSC HC32F4A0

Signed-off-by: Yongbing Liu <[email protected]>
Add support for XHSC HC32F4A0

Signed-off-by: Yongbing Liu <[email protected]>
This adds minimal support for board HC32F4A0_EVB

Signed-off-by: Yongbing Liu <[email protected]>
The serial DMA feature has been temporarily removed for the
convenience of the PR reviewers. This functionality will be added
back in the next PR.

Signed-off-by: Yongbing Liu <[email protected]>
Copy link

sonarqubecloud bot commented Oct 9, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants