Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
逝缘~
rt-thread
提交
759ae194
R
rt-thread
项目概览
逝缘~
/
rt-thread
与 Fork 源项目一致
Fork自
RT-Thread / rt-thread
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
rt-thread
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
759ae194
编写于
1月 25, 2022
作者:
R
rtthread-bot
浏览文件
操作
浏览文件
下载
差异文件
Merge remote-tracking branch 'rtt_gitee/gitee_master'
上级
382e19cc
5a0575e7
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
50 addition
and
7 deletion
+50
-7
bsp/at91sam9260/platform/interrupt.c
bsp/at91sam9260/platform/interrupt.c
+22
-0
bsp/at91sam9260/template.uvopt
bsp/at91sam9260/template.uvopt
+11
-2
bsp/at91sam9260/template.uvproj
bsp/at91sam9260/template.uvproj
+17
-5
未找到文件。
bsp/at91sam9260/platform/interrupt.c
浏览文件 @
759ae194
...
...
@@ -396,6 +396,28 @@ void rt_hw_interrupt_ack(rt_uint32_t fiq_irq, rt_uint32_t id)
at91_sys_write
(
AT91_AIC_EOICR
,
0x0
);
}
void
rt_interrupt_dispatch
(
rt_uint32_t
fiq_irq
)
{
rt_isr_handler_t
isr_func
;
rt_uint32_t
irq
;
void
*
param
;
/* get irq number */
irq
=
rt_hw_interrupt_get_active
(
fiq_irq
);
/* get interrupt service routine */
isr_func
=
irq_desc
[
irq
].
handler
;
param
=
irq_desc
[
irq
].
param
;
/* turn to interrupt service routine */
isr_func
(
irq
,
param
);
rt_hw_interrupt_ack
(
fiq_irq
,
irq
);
#ifdef RT_USING_INTERRUPT_INFO
irq_desc
[
irq
].
counter
++
;
#endif
}
#ifdef RT_USING_FINSH
#ifdef RT_USING_INTERRUPT_INFO
void
list_irq
(
void
)
...
...
bsp/at91sam9260/template.uvopt
浏览文件 @
759ae194
...
...
@@ -13,6 +13,7 @@
<tExt>
*.txt; *.h; *.inc
</tExt>
<pExt>
*.plm
</pExt>
<CppX>
*.cpp
</CppX>
<nMigrate>
0
</nMigrate>
</Extensions>
<DaveTm>
...
...
@@ -31,6 +32,7 @@
<BeepAtEnd>
1
</BeepAtEnd>
<RunSim>
1
</RunSim>
<RunTarget>
0
</RunTarget>
<RunAbUc>
0
</RunAbUc>
</OPTTT>
<OPTHX>
<HexSelection>
1
</HexSelection>
...
...
@@ -108,10 +110,10 @@
<tRtrace>
1
</tRtrace>
<sRSysVw>
1
</sRSysVw>
<tRSysVw>
1
</tRSysVw>
<tPdscDbg>
1
</tPdscDbg>
<sRunDeb>
0
</sRunDeb>
<sLrtime>
0
</sLrtime>
<nTsel>
5
</nTsel>
<bEvRecOn>
1
</bEvRecOn>
<nTsel>
18
</nTsel>
<sDll></sDll>
<sDllPa></sDllPa>
<sDlgDll></sDlgDll>
...
...
@@ -168,6 +170,13 @@
</DebugFlag>
<LintExecutable></LintExecutable>
<LintConfigFile></LintConfigFile>
<bLintAuto>
0
</bLintAuto>
<bAutoGenD>
0
</bAutoGenD>
<LntExFlags>
0
</LntExFlags>
<pMisraName></pMisraName>
<pszMrule></pszMrule>
<pSingCmds></pSingCmds>
<pMultCmds></pMultCmds>
</TargetOption>
</Target>
...
...
bsp/at91sam9260/template.uvproj
浏览文件 @
759ae194
...
...
@@ -72,14 +72,18 @@
<UserProg2Name></UserProg2Name>
<UserProg1Dos16Mode>
0
</UserProg1Dos16Mode>
<UserProg2Dos16Mode>
0
</UserProg2Dos16Mode>
<nStopB1X>
0
</nStopB1X>
<nStopB2X>
0
</nStopB2X>
</BeforeMake>
<AfterMake>
<RunUserProg1>
0
</RunUserProg1>
<RunUserProg1>
1
</RunUserProg1>
<RunUserProg2>
0
</RunUserProg2>
<UserProg1Name></UserProg1Name>
<UserProg1Name>
fromelf.exe --bin -o $L@L.bin #L
</UserProg1Name>
<UserProg2Name></UserProg2Name>
<UserProg1Dos16Mode>
0
</UserProg1Dos16Mode>
<UserProg2Dos16Mode>
0
</UserProg2Dos16Mode>
<nStopA1X>
0
</nStopA1X>
<nStopA2X>
0
</nStopA2X>
</AfterMake>
<SelectedForBatchBuild>
0
</SelectedForBatchBuild>
<SVCSIdString></SVCSIdString>
...
...
@@ -141,10 +145,9 @@
<RestoreToolbox>
1
</RestoreToolbox>
<RestoreTracepoints>
1
</RestoreTracepoints>
<RestoreSysVw>
1
</RestoreSysVw>
<UsePdscDebugDescription>
1
</UsePdscDebugDescription>
</Target>
<RunDebugAfterBuild>
0
</RunDebugAfterBuild>
<TargetSelection>
5
</TargetSelection>
<TargetSelection>
18
</TargetSelection>
<SimDlls>
<CpuDll></CpuDll>
<CpuDllArguments></CpuDllArguments>
...
...
@@ -224,6 +227,7 @@
<useUlib>
0
</useUlib>
<EndSel>
0
</EndSel>
<uLtcg>
0
</uLtcg>
<nSecure>
0
</nSecure>
<RoSelD>
3
</RoSelD>
<RwSelD>
3
</RwSelD>
<CodeSel>
0
</CodeSel>
...
...
@@ -356,8 +360,15 @@
<wLevel>
2
</wLevel>
<uThumb>
0
</uThumb>
<uSurpInc>
0
</uSurpInc>
<uC99>
0
</uC99>
<uC99>
1
</uC99>
<useXO>
0
</useXO>
<v6Lang>
1
</v6Lang>
<v6LangP>
1
</v6LangP>
<vShortEn>
1
</vShortEn>
<vShortWch>
1
</vShortWch>
<v6Lto>
0
</v6Lto>
<v6WtE>
0
</v6WtE>
<v6Rtti>
0
</v6Rtti>
<VariousControls>
<MiscControls></MiscControls>
<Define>
RT_USING_INTERRUPT_INFO
</Define>
...
...
@@ -375,6 +386,7 @@
<NoWarn>
0
</NoWarn>
<uSurpInc>
0
</uSurpInc>
<useXO>
0
</useXO>
<uClangAs>
0
</uClangAs>
<VariousControls>
<MiscControls></MiscControls>
<Define></Define>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录