Skip to content

Conversation

zjian-zhang
Copy link

The amebad microcontroller (MCU) is an advanced system-on-chip (SoC) featuring an Arm® Cortex®-M33 and Cortex®-M23, large Flash and SRAM memories, and supports dual-band Wi-Fi 4(2.4GHz + 5GHz) and BLE5.0 specifications.

The initial support for the board includes GPIO, PINCTRL and Loguart(serial).

Copy link

github-actions bot commented Jun 20, 2025

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

Name Old Revision New Revision Diff
hal_realtek 🆕 N/A (Added) Ameba-AIoT/nuwa_hal_realtek@5eee68d (rtl8721d) N/A

DNM label due to: 1 added project

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

@github-actions github-actions bot added manifest manifest-hal_realtek DNM (manifest) This PR should not be merged (controlled by action-manifest) labels Jun 20, 2025
Comment on lines 9 to 12
# This option for code in modules/hal
config AMEBAD
bool
default y
Copy link
Contributor

Choose a reason for hiding this comment

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

it should check SOC_AMEBAD

Copy link
Author

Choose a reason for hiding this comment

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

I think if SOC_AMEBAD in line 4 has already checked SOC_AMEBAD.

Copy link
Contributor

Choose a reason for hiding this comment

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

as in, whole symbol to go, your other code checking for this symbol needs to check for SOC_AMEBAD instead

Copy link
Author

Choose a reason for hiding this comment

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

Both "config AMEBAD" and "config ARM_CORE_CM4" are required by external modules, and I have already moved them into the Kconfig of the external module.

Comment on lines 11 to 13
config ARM_CORE_CM4
bool
default y if SOC_AMEBAD
Copy link
Contributor

Choose a reason for hiding this comment

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

no

Copy link
Author

Choose a reason for hiding this comment

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

It will be used by the code of external modules. Should I move this definition to the hal_realtek repository?

Copy link
Contributor

Choose a reason for hiding this comment

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

this is such a general Kconfig that it's possible it will clash and not only that doesn't even make sense given that it's selecting the m33 symbol then pretending to be an m4

Copy link
Author

Choose a reason for hiding this comment

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

Both "config AMEBAD" and "config ARM_CORE_CM4" are required by external modules, and I have already moved them into the Kconfig of the external module.

@zjian-zhang zjian-zhang force-pushed the rtl8721d branch 2 times, most recently from 44892fc to 92a9529 Compare June 25, 2025 08:58
Copy link

sonarqubecloud bot commented Jul 3, 2025

@zjian-zhang zjian-zhang force-pushed the rtl8721d branch 2 times, most recently from 764f97d to 4a03fce Compare August 14, 2025 12:09
Copy link

Copy link

This pull request has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this pull request will automatically be closed in 14 days. Note, that you can always re-open a closed pull request at any time.

@github-actions github-actions bot added the Stale label Oct 14, 2025
@zjian-zhang
Copy link
Author

remove stale label

Realtek HAL (Hardware Abstraction Layer) provides
a low level peripheral configuration function.

Signed-off-by: zjian zhang <[email protected]>
add initial version of devicetree for amebad SOC.
amebad devicetree file is main platform dtsi file, which should
be included from board dts (e.g rtl872xd_evb.dts)

Signed-off-by: zjian zhang <[email protected]>
Add initial version of Amebad Soc integration

Signed-off-by: zjian zhang <[email protected]>
add amebad pin controller driver

Signed-off-by: zjian zhang <[email protected]>
loguart driver for amebad

Signed-off-by: zjian zhang <[email protected]>
GPIO driver for amebad

Signed-off-by: zjian zhang <[email protected]>
add initial version of rtl872xd_evb board

Signed-off-by: zjian zhang <[email protected]>
This commit adds maintainers for hal_realtek repository

Signed-off-by: zjian zhang <[email protected]>
Copy link

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.

4 participants