-
Notifications
You must be signed in to change notification settings - Fork 6.9k
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
feature/add hpmicro device support #46329
feature/add hpmicro device support #46329
Conversation
The following west manifest projects have been modified in this Pull Request:
Note: This message is automatically posted and updated by the Manifest GitHub Action. |
05f33cb
to
e9cfec4
Compare
reg = <0x1180000 DT_SIZE_K(256)>; | ||
}; | ||
|
||
noncache: memory@11c0000 { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think it's necessary to define a noncache node.
Using zephyr/arch/common/nocache.ld instead, it will automatic allocate on need. I have tested by using nocache.ld in ethernet driver.
select ATOMIC_OPERATIONS_BUILTIN | ||
select INCLUDE_RESET_VECTOR | ||
select RISCV_ISA_EXT_M | ||
select RISCV_ISA_EXT_A |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
According to the user manual description SOC_HPM6700 and SOC_HPM6360 support:
RV32I, M, A, F, D, C, P(SIMD and DSP)
so you have lost:
RISCV_ISA_EXT_F
RISCV_ISA_EXT_D
RISCV_ISA_EXT_C
This is related to link the libraries from the toolchain.
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. |
Hey HPMicro! Just wanted to let you know we're excited about this PR at my company, and we look forward to buy lots and lots of your microcontrollers ! (if no Zephyr support, we will use micros from other companies) |
I organized this PR here: #64117 |
I am using hpmicro chip too, I have debugged the vast majority of peripheral drivers. |
f6cf1b8
to
f80c458
Compare
drivers/pinctrl/CMakeLists.txt
Outdated
@@ -34,4 +34,8 @@ zephyr_library_sources_ifdef(CONFIG_PINCTRL_TI_K3 pinctrl_ti_k3.c) | |||
zephyr_library_sources_ifdef(CONFIG_PINCTRL_EMSDP pinctrl_emsdp.c) | |||
zephyr_library_sources_ifdef(CONFIG_PINCTRL_TI_CC32XX pinctrl_ti_cc32xx.c) | |||
zephyr_library_sources_ifdef(CONFIG_PINCTRL_NUMAKER pinctrl_numaker.c) | |||
<<<<<<< HEAD |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Conflict introduced
drivers/pinctrl/CMakeLists.txt
Outdated
zephyr_library_sources_ifdef(CONFIG_PINCTRL_QUICKLOGIC_EOS_S3 pinctrl_eos_s3.c) | ||
======= |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please keep them all
- add hal hpmicro hpm_sdk software packages to zephyr Signed-off-by: Yawei CHUAI <[email protected]>
- add hpmicro series mcu to zephyr Signed-off-by: Yawei CHUAI <[email protected]>
- add hpmicro company name to vendor-prefixes Signed-off-by: Yawei CHUAI <[email protected]>
- add support for hpmicro hpm6750 Signed-off-by: Yawei CHUAI <[email protected]> 6750
- add support for hpmicro hpm6360 Signed-off-by: Yawei CHUAI <[email protected]> 6360
- Adding HPMicro hpm6750 device tree support Signed-off-by: Yawei CHUAI <[email protected]>
- add hpmicro series mcu clock driver - add clock dtsi Signed-off-by: Yawei CHUAI <[email protected]>
- add pinctrl support for hpmicro - add pinctrl dtsi Signed-off-by: Yawei CHUAI <[email protected]> pinctrl
- add hpm-uart driver - add uart dtsi Signed-off-by: Yawei CHUAI <[email protected]>
- add hpm-gpio driver - add gpio dtsi Signed-off-by: Yawei CHUAI <[email protected]>
- add support for serial - add support for gpio - add usage instructions Signed-off-by: Yawei CHUAI <[email protected]>
- hpm6750evkmini gpio test passed Signed-off-by: Yawei CHUAI <[email protected]>
f80c458
to
2297476
Compare
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. |
I will create a new pull request because the current pull request process is taking too long and is too confusing. |
This PR adds support for HPMicro HPM6750 SoC and hpm6750evkmini board that is use the SoC.
hal_hpmicro module request:
#46301