Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
AdRainty
rt-thread
提交
20f581a6
R
rt-thread
项目概览
AdRainty
/
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,发现更多精彩内容 >>
提交
20f581a6
编写于
7月 31, 2017
作者:
z13955633063
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
rename bsp risc-v to hifive1
上级
0cd49e7c
变更
26
隐藏空白更改
内联
并排
Showing
26 changed file
with
0 addition
and
19 deletion
+0
-19
bsp/hifive1/Makefile
bsp/hifive1/Makefile
+0
-0
bsp/hifive1/SConscript
bsp/hifive1/SConscript
+0
-0
bsp/hifive1/SConstruct
bsp/hifive1/SConstruct
+0
-0
bsp/hifive1/applications/SConscript
bsp/hifive1/applications/SConscript
+0
-0
bsp/hifive1/applications/applications.c
bsp/hifive1/applications/applications.c
+0
-0
bsp/hifive1/applications/cmd.c
bsp/hifive1/applications/cmd.c
+0
-0
bsp/hifive1/applications/startup.c
bsp/hifive1/applications/startup.c
+0
-0
bsp/hifive1/drivers/SConscript
bsp/hifive1/drivers/SConscript
+0
-0
bsp/hifive1/drivers/board.c
bsp/hifive1/drivers/board.c
+0
-0
bsp/hifive1/drivers/board.h
bsp/hifive1/drivers/board.h
+0
-0
bsp/hifive1/drivers/cpuusage.c
bsp/hifive1/drivers/cpuusage.c
+0
-0
bsp/hifive1/drivers/led.c
bsp/hifive1/drivers/led.c
+0
-19
bsp/hifive1/drivers/led.h
bsp/hifive1/drivers/led.h
+0
-0
bsp/hifive1/drivers/usart.c
bsp/hifive1/drivers/usart.c
+0
-0
bsp/hifive1/drivers/usart.h
bsp/hifive1/drivers/usart.h
+0
-0
bsp/hifive1/openocd.cfg
bsp/hifive1/openocd.cfg
+0
-0
bsp/hifive1/platform/SConscript
bsp/hifive1/platform/SConscript
+0
-0
bsp/hifive1/platform/interrupt.c
bsp/hifive1/platform/interrupt.c
+0
-0
bsp/hifive1/platform/interrupt.h
bsp/hifive1/platform/interrupt.h
+0
-0
bsp/hifive1/platform/plic_driver.h
bsp/hifive1/platform/plic_driver.h
+0
-0
bsp/hifive1/platform/rt_low_level_gcc.inc
bsp/hifive1/platform/rt_low_level_gcc.inc
+0
-0
bsp/hifive1/platform/rt_low_level_init.c
bsp/hifive1/platform/rt_low_level_init.c
+0
-0
bsp/hifive1/rtconfig.h
bsp/hifive1/rtconfig.h
+0
-0
bsp/hifive1/rtconfig.py
bsp/hifive1/rtconfig.py
+0
-0
bsp/hifive1/sdram.ld
bsp/hifive1/sdram.ld
+0
-0
bsp/hifive1/wrap_exit.c
bsp/hifive1/wrap_exit.c
+0
-0
未找到文件。
bsp/
risc-v
/Makefile
→
bsp/
hifive1
/Makefile
浏览文件 @
20f581a6
文件已移动
bsp/
risc-v
/SConscript
→
bsp/
hifive1
/SConscript
浏览文件 @
20f581a6
文件已移动
bsp/
risc-v
/SConstruct
→
bsp/
hifive1
/SConstruct
浏览文件 @
20f581a6
文件已移动
bsp/
risc-v
/applications/SConscript
→
bsp/
hifive1
/applications/SConscript
浏览文件 @
20f581a6
文件已移动
bsp/
risc-v
/applications/applications.c
→
bsp/
hifive1
/applications/applications.c
浏览文件 @
20f581a6
文件已移动
bsp/
risc-v
/applications/cmd.c
→
bsp/
hifive1
/applications/cmd.c
浏览文件 @
20f581a6
文件已移动
bsp/
risc-v
/applications/startup.c
→
bsp/
hifive1
/applications/startup.c
浏览文件 @
20f581a6
文件已移动
bsp/
risc-v
/drivers/SConscript
→
bsp/
hifive1
/drivers/SConscript
浏览文件 @
20f581a6
文件已移动
bsp/
risc-v
/drivers/board.c
→
bsp/
hifive1
/drivers/board.c
浏览文件 @
20f581a6
文件已移动
bsp/
risc-v
/drivers/board.h
→
bsp/
hifive1
/drivers/board.h
浏览文件 @
20f581a6
文件已移动
bsp/
risc-v
/drivers/cpuusage.c
→
bsp/
hifive1
/drivers/cpuusage.c
浏览文件 @
20f581a6
文件已移动
bsp/
risc-v
/drivers/led.c
→
bsp/
hifive1
/drivers/led.c
浏览文件 @
20f581a6
...
...
@@ -8,25 +8,6 @@ void rt_hw_led_init(void)
void
rt_hw_led_on
(
int
led
)
{
/*
// Make sure the HFROSC is on before the next line:
PRCI_REG(PRCI_HFROSCCFG) |= ROSC_EN(1);
// Run off 16 MHz Crystal for accuracy. Note that the
// first line is
PRCI_REG(PRCI_PLLCFG) = (PLL_REFSEL(1) | PLL_BYPASS(1));
PRCI_REG(PRCI_PLLCFG) |= (PLL_SEL(1));
// Turn off HFROSC to save power
PRCI_REG(PRCI_HFROSCCFG) &= ~(ROSC_EN(1));
*/
// Wait a bit to avoid corruption on the UART.
// (In some cases, switching to the IOF can lead
// to output glitches, so need to let the UART
// reciever time out and resynchronize to the real
// start of the stream.
volatile
int
i
=
0
;
while
(
i
<
10000
){
i
++
;}
uint16_t
r
=
0xFF
;
uint16_t
g
=
0
;
...
...
bsp/
risc-v
/drivers/led.h
→
bsp/
hifive1
/drivers/led.h
浏览文件 @
20f581a6
文件已移动
bsp/
risc-v
/drivers/usart.c
→
bsp/
hifive1
/drivers/usart.c
浏览文件 @
20f581a6
文件已移动
bsp/
risc-v
/drivers/usart.h
→
bsp/
hifive1
/drivers/usart.h
浏览文件 @
20f581a6
文件已移动
bsp/
risc-v
/openocd.cfg
→
bsp/
hifive1
/openocd.cfg
浏览文件 @
20f581a6
文件已移动
bsp/
risc-v
/platform/SConscript
→
bsp/
hifive1
/platform/SConscript
浏览文件 @
20f581a6
文件已移动
bsp/
risc-v
/platform/interrupt.c
→
bsp/
hifive1
/platform/interrupt.c
浏览文件 @
20f581a6
文件已移动
bsp/
risc-v
/platform/interrupt.h
→
bsp/
hifive1
/platform/interrupt.h
浏览文件 @
20f581a6
文件已移动
bsp/
risc-v
/platform/plic_driver.h
→
bsp/
hifive1
/platform/plic_driver.h
浏览文件 @
20f581a6
文件已移动
bsp/
risc-v
/platform/rt_low_level_gcc.inc
→
bsp/
hifive1
/platform/rt_low_level_gcc.inc
浏览文件 @
20f581a6
文件已移动
bsp/
risc-v
/platform/rt_low_level_init.c
→
bsp/
hifive1
/platform/rt_low_level_init.c
浏览文件 @
20f581a6
文件已移动
bsp/
risc-v
/rtconfig.h
→
bsp/
hifive1
/rtconfig.h
浏览文件 @
20f581a6
文件已移动
bsp/
risc-v
/rtconfig.py
→
bsp/
hifive1
/rtconfig.py
浏览文件 @
20f581a6
文件已移动
bsp/
risc-v
/sdram.ld
→
bsp/
hifive1
/sdram.ld
浏览文件 @
20f581a6
文件已移动
bsp/
risc-v
/wrap_exit.c
→
bsp/
hifive1
/wrap_exit.c
浏览文件 @
20f581a6
文件已移动
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录