Skip to content

Conversation

@cameled
Copy link
Contributor

@cameled cameled commented Oct 29, 2021

Add interrupt supprot for gd32 usart driver.

Note:

  • RCU still use gd32 hal interface directly.
  • PINCTL still finished on boards board.c file.

Copy link
Member

@nandojve nandojve left a comment

Choose a reason for hiding this comment

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

Hi @cameled ,

After few corrections I got driver working. Check comments and open to review.

@cameled cameled marked this pull request as ready for review November 8, 2021 01:16
@cameled cameled force-pushed the usart-gd32 branch 3 times, most recently from f6c2694 to 59333ff Compare November 8, 2021 03:48
Copy link
Member

@nandojve nandojve left a comment

Choose a reason for hiding this comment

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

Hi @cameled ,

In general, LGTM, only nits with style. This is very important to keep code easy to read. Please, look resolved conversations and review it (I'm unable to set as unresolved).

Alignment is made with TAB (most you can) + spaces.

@nandojve nandojve requested a review from gmarull November 10, 2021 21:54
@cameled cameled force-pushed the usart-gd32 branch 2 times, most recently from da2fde8 to f4a0779 Compare November 12, 2021 09:12
Copy link
Member

@gmarull gmarull left a comment

Choose a reason for hiding this comment

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

overall LGTM, some minor changes requested

@gmarull gmarull requested a review from nandojve November 14, 2021 10:25
Copy link
Member

@nandojve nandojve left a comment

Choose a reason for hiding this comment

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

Thank you for the changes @cameled .
LGTM!

@nandojve nandojve changed the title drivers: serial: gd32 usart add interrupt support drivers: serial: gd32: Add interrupt support Nov 22, 2021
@nandojve
Copy link
Member

Hello @cameled , can you rebase and push again to check if we get CI green?

Copy link
Member

@gmarull gmarull left a comment

Choose a reason for hiding this comment

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

@cameled can you rebase?

Initialize parity bit(Default NONE) from DTS.

Signed-off-by: HaiLong Yang <[email protected]>
@cameled
Copy link
Contributor Author

cameled commented Nov 23, 2021

@nandojve @gmarull I'm located in Asia, message will return within one day.

Add interrupt support for gd32 usart driver.

Signed-off-by: HaiLong Yang <[email protected]>
@nashif nashif merged commit 5e035b0 into zephyrproject-rtos:main Nov 23, 2021
@cameled cameled deleted the usart-gd32 branch November 24, 2021 01:18
@nandojve nandojve added this to the v3.0.0 milestone Dec 13, 2021
@str4t0m str4t0m added the platform: GD32 GigaDevice label Aug 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: Boards area: Devicetree Binding PR modifies or adds a Device Tree binding area: Devicetree platform: GD32 GigaDevice

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants