Skip to content
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

添加对Microchip SAML10系列支持 #5868

Merged
merged 30 commits into from
Apr 27, 2022
Merged

Conversation

klmchp
Copy link
Contributor

@klmchp klmchp commented Apr 24, 2022

拉取/合并请求描述:(PR description)

[
1.添加对Microchip SAML10系列MCU的支持,SAML1x系列是基于ARM Cortex-M23内核的32bit MCU. 2.移除same54目录下关于STDIO代码(不再需要). 3. 修改rtconfig.py文件用于编译生成的输出文件包含DEVICE_PART信息. 4.修改bsp\microchip\common\applications\adc_demo.c文件用于增加对SAML10板的支持.

申请合并的代码已经使用env tools进行过编译,生成的烧录文件在官方开发板进行了测试.
]

以下的内容不应该在提交PR时的message修改,修改下述message,PR会被直接关闭。请在提交PR后,浏览器查看PR并对以下检查项逐项check,没问题后逐条在页面上打钩。
The following content must not be changed in the submitted PR message. Otherwise, the PR will be closed immediately. After submitted PR, please use a web browser to visit PR, and check items one by one, and ticked them if no problem.

当前拉取/合并请求的状态 Intent for your PR

必须选择一项 Choose one (Mandatory):

  • 本拉取/合并请求是一个草稿版本 This PR is for a code-review and is intended to get feedback
  • 本拉取/合并请求是一个成熟版本 This PR is mature, and ready to be integrated into the repo

代码质量 Code Quality:

我在这个拉取/合并请求中已经考虑了 As part of this pull request, I've considered the following:

  • 已经仔细查看过代码改动的对比 Already check the difference between PR and old code
  • 代码风格正确,包括缩进空格,命名及其他风格 Style guide is adhered to, including spacing, naming and other styles
  • 没有垃圾代码,代码尽量精简,不包含#if 0代码,不包含已经被注释了的代码 All redundant code is removed and cleaned up
  • 所有变更均有原因及合理的,并且不会影响到其他软件组件代码或BSP All modifications are justified and not affect other components or BSP
  • 对难懂代码均提供对应的注释 I've commented appropriately where code is tricky
  • 本拉取/合并请求代码是高质量的 Code in this PR is of high quality
  • 本拉取/合并使用formatting等源码格式化工具确保格式符合RT-Thread代码规范 This PR complies with RT-Thread code specification

klmchp and others added 29 commits April 4, 2022 14:00
Add Microchip SAM series MCU support for RT-Thread, including SAM Cortex-M0+, M4F and M7.
Add bsp directory to ignored check list, add microchip /samc21/same54/same70 to workflows list
1. remove STDIO code from Microchip official BSP. 2. bug fix of SAME70 hpl/hpl_usart.c, samc21&same54 hpl/hpl_sercom.c baudrate update interface.  3. Add RT-Thread standard STDIO implementation on Microchip SAM MCU.
Add CAN driver and example for SAMC21/SAME5x/SAME70 and fix rtconfig.py issue(unused space might result link error)
Add Chinese version README for SAMC21/E54/E70
Remove Makefile to avoid conflict with rt and add directory description.
Remove unwanted content in README.md
1. Update Microchip SAM MCU BSP, add I2C, GMAC, ADC driver support. 2. Add ethernet driver support of SAM MCU for RT-Thread.
1. Update MCU BSP to support I2C/ADC/GMAC peripherals. 2. Add I2C and ethernet driver and LWIP support. 3. Update serial driver.
1. Add I2C driver. 2. Move the same drivers and demo code to same folder to reduce duplicated code.
1. Add SAML10 Cortex-M23 series support; 2. remove STDIO related code of same54 series, no need any more; 3. update rtconfig.py to support output bin & map file containing DEVICE PART info.
添加.ignore_format.yml文件用于跳过对官方BSP文件的格式检查
Comment on lines 2 to 20
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Overview</title>
<title>CMSIS-Core (Cortex-M): Overview</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="cmsis.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script type="text/javascript" src="printComponentTabs.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
$(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
Copy link
Member

Choose a reason for hiding this comment

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

请删除掉这个文件

Delete index.html
@klmchp
Copy link
Contributor Author

klmchp commented Apr 25, 2022

已删除index.html

@Guozhanxin Guozhanxin added +1 Agree +1 BSP labels Apr 26, 2022
@mysterywolf mysterywolf added the +2 Agree +2 label Apr 26, 2022
@Guozhanxin Guozhanxin merged commit 55c9827 into RT-Thread:master Apr 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BSP +1 Agree +1 +2 Agree +2
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants