-
Notifications
You must be signed in to change notification settings - Fork 4.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
add support for Microsemi SmartFusion2 family FPGA #3661
Conversation
And please keep the folder style and code style. Thank you for your contribution. |
2.Add support for GPIO and UART peripherals 3.Add pin and serial device driver support 4.Put pictures in local folder 5.Modify README file
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 code style, such as file copyright information and add SConscript for scons.
bsp/smartfusion2/JLinkSettings.ini
Outdated
@@ -0,0 +1,39 @@ | |||
[BREAKPOINTS] | |||
ForceImpTypeAny = 0 |
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.
This file is not necessary.
bsp/smartfusion2/applicatons/main.c
Outdated
{ | ||
int count = 1; | ||
|
||
rt_pin_attach_irq(SW0_PIN, PIN_IRQ_MODE_RISING, sw0_isr, RT_NULL); |
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.
Why enable the pin input here? It's only a led blink sample.
@@ -0,0 +1,434 @@ | |||
#include <rtthread.h> |
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 provide the copyright information.
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've finished the revision.
2.Add Kconfig file 3.Delete some unnecessary files and directories
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.
测试了下,没有问题。这个需要添加到ci里吗?
你好,可以添加到ci。
…---Original---
From: "guo"<notifications@github.com>
Date: Tue, Nov 10, 2020 15:18 PM
To: "RT-Thread/rt-thread"<rt-thread@noreply.github.com>;
Cc: "whik"<1490789115@qq.com>;"Author"<author@noreply.github.com>;
Subject: Re: [RT-Thread/rt-thread] add support for Microsemi SmartFusion2 family FPGA (#3661)
@Guozhanxin approved this pull request.
测试了下,没有问题。这个需要添加到ci里吗?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
gcc build failed. |
拉取/合并请求描述:(PR description)
[添加对Microsemi SmartFusion2 系列 FPGA 芯片的支持 add support for Microsemi SmartFusion2 family FPGA]
以下的内容不应该在提交PR时的message修改,修改下述message,PR会被直接关闭。请在提交PR后,浏览器查看PR并对以下检查项逐项check,没问题后逐条在页面上打钩。
The following content must not be changed in submitted PR message. Otherwise, the PR will be closed immediately. After submitted PR, please use web browser to visit PR, and check items one by one, and ticked them if no problem.
当前拉取/合并请求的状态 Intent for your PR
必须选择一项 Choose one (Mandatory):
代码质量 Code Quality:
我在这个拉取/合并请求中已经考虑了 As part of this pull request, I've considered the following:
#if 0
代码,不包含已经被注释了的代码 All redundant code is removed and cleaned up