4500 Commits

Author SHA1 Message Date
zhangjun
20f581a60d rename bsp risc-v to hifive1 2017-07-31 11:37:23 +08:00
zhangjun
0cd49e7c4a Merge branch 'master' of https://github.com/RT-Thread/rt-thread
add new bsp for risc-v
2017-07-31 11:27:46 +08:00
zhangjun
e9f1bdf2da new file: ../../libcpu/risc-v/e310/trap.c
add file that forget to submit before
	auto change timer mtimercmp register on the base of RT_TICK_PER_SECOND in rtconfig.h
	no flashing led
new file:   ../../src/idle.c
	recover old file
2017-07-31 11:12:28 +08:00
zhangjun
a5305c05df fix bug in context_gcc.s and start_gcc.s:
save mie into stack
msh  running normaly
2017-07-31 10:59:59 +08:00
zhangjun
d9c0bdc70e add plic_driver.c for global interrupt
change interrupt num to 53
change stack size to 512 before system starup
add uart drivers
open msh
remain bug:
   uart just interrupt ones
2017-07-30 22:36:12 +08:00
Bernard Xiong
1b7d48134a Merge pull request #783 from TanekLiang/lpc824_systick_bug
[bsp] update core clock and add led task
2017-07-30 21:05:51 +08:00
zhangjun
20f1a641d5 remove unused code for uart in led.c 2017-07-30 20:07:36 +08:00
zhangjun
b032dff161 fix bug in rt_hw_context_switch_interrupt_do
save sp to old thread
	clear rt_thread_switch_interrupt_flag
always enable interrupt after rt_hw_context_switch
judeg the type of interrupt in trap_entry, then call handler(Machine timer interrupt of Machine external interrupt)
2017-07-30 19:46:28 +08:00
tanek liang
96e9504438 [bsp] add led task to easy confirm kernel is running 2017-07-30 19:24:39 +08:00
tanek liang
47c7d94799 [bsp] update clock before configure systick 2017-07-30 19:21:01 +08:00
zhangjun
2d56a27c20 修改: ../../libcpu/risc-v/e310/context_gcc.S
enable interrupt after return form rt_hw_context_switch
2017-07-30 15:34:32 +08:00
Bernard Xiong
e2e9afb699 Merge pull request #782 from TanekLiang/incompatible_type_2
[bsp] fix incompatible type for finsh_system_init in bsp/lpc824
2017-07-30 14:51:33 +08:00
tanek liang
c42c5d3b9d [bsp] fix incompatible type for finsh_system_init in bsp/lpc824 2017-07-30 12:50:29 +08:00
Bernard Xiong
bd0d90ddb1 Merge pull request #780 from TanekLiang/lpc824_fix_typo
[bsp] fixed typo in bsp/lpc824
2017-07-29 15:59:19 +08:00
zhangjun
3c51848d33 fix trap_entry 2017-07-29 15:37:20 +08:00
Bernard Xiong
cc3c4fe621 [bsp] code cleanup. 2017-07-29 15:16:09 +08:00
tanek liang
dc3d3817f6 [bsp] fixed typo in bsp/lpc824 2017-07-29 15:03:15 +08:00
Bernard Xiong
a9f03fb446 Merge pull request #779 from TanekLiang/LPC824
[bsp] add new bsp for lpc824
2017-07-29 14:36:22 +08:00
Bernard Xiong
9da1f7d339 Merge pull request #778 from TanekLiang/incompatible_type
Fix incompatible type error
2017-07-29 14:35:56 +08:00
tanek liang
d793cfdef7 [bsp] fix incompatible type error for "finsh_system_init()" 2017-07-29 14:21:40 +08:00
tanek liang
dcfaa9a909 [kernel] fix incompatible type error for "__rt_ffs()" 2017-07-29 14:20:08 +08:00
tanek liang
db1cd8830a [bsp] add new bsp for lpc824 2017-07-29 14:07:30 +08:00
Bernard Xiong
d4de2c53e3 Merge pull request #775 from armink/master
[DeviceDriver] Fix rw009 WiFi module auto reconnect feature.
2017-07-28 09:17:21 +08:00
armink
09f9fcaaa6 [DeviceDriver] Fix rw009 WiFi module auto reconnect feature. 2017-07-28 08:20:31 +08:00
Bernard Xiong
ab2a125b3d Merge pull request #774 from armink/fix_rti_link_for_iar
[BSP] Fix component initialization functions link order for IAR Linker
2017-07-27 21:48:01 +08:00
armink
573c294216 [BSP] Fix component initialization functions may be not sequential storage on ROM when used for IAR linker. 2017-07-27 13:58:07 +08:00
zhangjun
b80f83f360 modified: ../../libcpu/risc-v/e310/context_gcc.S
fix open timer intrrupt
2017-07-26 16:27:54 +08:00
zhangjun
98a6896cfa remove "csrrc a5, mstatus, MSTATUS_MIE" in rt_hw_interrupt_enable();
it will lead to interrupt again in interrupt
2017-07-26 16:07:01 +08:00
Bernard Xiong
763d7456e3 Merge pull request #773 from AubrCool/fix-stm32f10x_spi.drv
[Bsp] stm32f107 spi drv : dma add irq
2017-07-26 09:03:14 +08:00
Aubr.Cool
fe16f91cf1 [Bsp] stm32f107 spi drv : dma add irq 2017-07-26 08:31:56 +08:00
Bernard Xiong
82359e09f0 Merge pull request #772 from caogos/master
[bsp] 在龙芯1c的编译配置脚本“rtconfig.py”中增加“交叉编译工具链的说明”
2017-07-24 20:40:40 +08:00
勤为本
fa127c6531 在龙芯1c的编译配置脚本“rtconfig.py”中增加“交叉编译工具链的说明”
使用龙芯官方推出的那个用于编译linux的交叉编译工具链来编译RT-Thread会报错,
可以使用RT-Thread官方推荐那个
2017-07-24 11:27:50 +08:00
Bernard Xiong
b9a718b80c Update components.c 2017-07-24 08:56:49 +08:00
Bernard Xiong
f47433137e Merge pull request #769 from TanekLiang/stm32l475-iot
[bsp] fixed scons building error and update mdk project
2017-07-24 08:55:24 +08:00
Bernard Xiong
1d701111a7 Merge pull request #771 from TanekLiang/main_stack
[kernel] add main thread macro and rename tiny memory macro
2017-07-24 08:54:59 +08:00
tanek liang
2448b69d02 [kernel] rename RT_TINY_SIZE to RT_USING_TINY_SIZE 2017-07-24 00:28:15 +08:00
tanek liang
d835d91ae8 [kernel] use the macro definition instead of the user main thread 2017-07-24 00:23:35 +08:00
Bernard Xiong
42042ab80d Merge pull request #770 from TanekLiang/stm32l476-nucleo
[bsp] remove unused file, update SConscript and mdk project
2017-07-22 16:45:43 +08:00
tanek liang
cad3cacfa7 [bsp] remove unused file, update SConscript and mdk project 2017-07-22 11:39:25 +08:00
tanek liang
e9bb6a91b9 [bsp] fixed scons building error and update mdk project 2017-07-22 11:30:23 +08:00
Bernard Xiong
f8571944ab Merge pull request #768 from TanekLiang/stm32l475-iot
[bsp] add new bsp for stm32l475 IoT discovery kit
2017-07-22 08:24:40 +08:00
Bernard Xiong
5148b9ff27 Merge pull request #766 from AubrCool/fix-stm32f10x.wdt
[BSP] stm32f10x add watchdog driver
2017-07-20 18:01:46 +08:00
Bernard Xiong
c3c3503dc3 Merge pull request #765 from AubrCool/fix-fm24clxx.drv
[DeviceDrivers] add fm24clxx drv.
2017-07-20 18:00:46 +08:00
Bernard Xiong
cda00bf0ac Merge pull request #767 from caogos/master
[BSP] Modify loongson1c interrupt part code.
2017-07-20 17:58:45 +08:00
勤为本
5734d52a08 把每秒Tick数从100改为1000(龙芯1c主频252M,改为1000没问题)
把栈从4字节改为8字节对齐(浮点需要8字节对齐)
2017-07-20 17:50:43 +08:00
勤为本
358612c8a2 支持GPIO中断(外部中断) 2017-07-20 17:35:03 +08:00
勤为本
d1bb7c61f4 将支持的中断个数从32个扩展到160个,至此可以支持所有中断 2017-07-20 17:05:59 +08:00
Aubr.Cool
690128e839 [Bsp] stm32f10x fm24cl64 drv correct size 2017-07-20 12:16:49 +08:00
Aubr.Cool
2c1ee84347 BSP stm32f10x add watchdog driver 2017-07-20 11:56:21 +08:00
Aubr.Cool
81feb775fa [Bsp] stm32f10x add fm24cl64 drv 2017-07-20 11:55:27 +08:00