alibaba / AliOS-Things

面向IoT领域的、高可伸缩的物联网操作系统,可去官网了解更多信息https://www.aliyun.com/product/aliosthings
Apache License 2.0
4.58k stars 1.14k forks source link

Porting for stm32u5 chip and stm32u5_b_u585i_iot02a board #1944

Closed 852432070 closed 1 year ago

852432070 commented 1 year ago

This PR supports stm32u5_b_u585i_iot02a board in Arm Virtual Hardware

CLAassistant commented 1 year ago

CLA assistant check
All committers have signed the CLA.

skylarCai commented 1 year ago

感谢提交 Pull Requests! Thanks for submitting a pull request.

YiluMao commented 1 year ago

你好,请问cmsis相关的代码,是必须的吗?

852432070 commented 1 year ago

老师您好,本项目中CMSIS部分的代码主要用到core相关的一些头文件,为了保持st提供的库的完整性我对其他部分做了保留,DSP、NN这两个模块或许在未来工作中可以用到。请问是否需要根据当前使用的实际情况做出精简?

YiluMao commented 1 year ago

image 你看看这部分够用不?

852432070 commented 1 year ago

这几个都是需要的,除了这些之外,还缺少几个特定于硬件的头文件,具体来说应该是hardware/chip/stm32u5/drivers/CMSIS/Device/ST/STM32U5xx/Include/stm32u5xx.h, hardware/chip/stm32u5/drivers/CMSIS/Device/ST/STM32U5xx/Include/stm32u585xx.h, hardware/chip/stm32u5/drivers/CMSIS/Core/Include/core_cm33.h, hardware/chip/stm32u5/drivers/CMSIS/Device/ST/STM32U5xx/Include/system_stm32u5xx.h这四个文件

YiluMao commented 1 year ago

请帮忙把前两个patch合并掉,否则会引入很多不必要的修改

852432070 commented 1 year ago

已经合并完成