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
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
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
zhangjun
3c51848d33
fix trap_entry
2017-07-29 15:37:20 +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
zhangjun
b334347a24
deleted: rtthread.s /*just for debug*/
...
modified: ../../libcpu/risc-v/e310/context_gcc.S
change ret to mret and switch to new task with mepc
2017-07-17 16:55:33 +08:00
zhangjun
e01455155a
add context_gcc.s
2017-07-17 15:44:00 +08:00
zhangjun
f147f3398a
new bsp for risc-v
2017-07-16 20:37:03 +08:00
Bernard Xiong
1e4c3e6ab3
Merge pull request #759 from TanekLiang/stm32l476-nucleo
...
[bsp] add new bsp for stm32l476-nucleo
2017-07-06 14:17:30 +08:00
tanek liang
da3b4d7606
[bsp] add new bsp for stm32l476-nucleo
2017-07-05 18:17:16 +08:00
Bernard Xiong
e47515d876
Merge pull request #758 from JianRuiqian/master
...
[DeviceDrivers] improve sdio
2017-07-04 07:19:44 +08:00
ruiqian
465fdfc2ff
Update sdio.c
2017-07-04 00:50:48 +08:00
ruiqian
0a798b33a5
Update mmcsd_core.c
2017-07-04 00:50:25 +08:00
ruiqian
bf48d2b745
Update sdio.h
2017-07-04 00:49:50 +08:00
ruiqian
1590e38f46
Update mmcsd_host.h
2017-07-04 00:49:23 +08:00
ruiqian
ae8ca61051
Update mmcsd_card.h
2017-07-04 00:48:53 +08:00
Bernard Xiong
315a616436
Merge pull request #755 from TanekLiang/master
...
[bsp] insert keep section .rti_fn* in GCC link file
2017-07-02 15:25:11 +08:00
tanek liang
165868c46c
[bsp] insert keep section .rti_fn* in GCC link file
2017-07-01 15:59:23 +08:00
Bernard Xiong
2ef114c50a
Merge pull request #754 from TanekLiang/master
...
[bsp] update k64 bsp to ksdk and add enet driver
2017-07-01 15:51:23 +08:00
tanek liang
a2d56fb5d9
[bsp] add enet driver for k64 FRDM
2017-07-01 13:46:24 +08:00
tanek liang
d7c5c4e35e
using components init
2017-07-01 13:38:39 +08:00
tanek liang
50d96d7d0a
[bsp] update mdk template
...
* add mkd5 support(template.uvprojx)
2017-07-01 12:35:05 +08:00
tanek liang
a4a5903b5c
[bsp] update k64f bsp to KSDK 2.2
2017-07-01 11:33:12 +08:00
Bernard Xiong
1f0081e796
[Kernel] Fix typo
2017-06-26 09:16:19 +08:00
Bernard Xiong
6e902e17ae
Merge pull request #750 from flyingcys/master
...
[bsp] fix bxcan.c inline bug
2017-06-24 07:10:44 +08:00
flyingcys
bd62def30c
[bsps] fix bsp/stm32f10x/bxcan.c inline bug
2017-06-24 00:11:09 +08:00
flyingcys
35e59002ef
[bsp] fix bxcan.c inline bug
2017-06-23 23:23:58 +08:00
Bernard Xiong
8437c049e6
[Kernel] Fix the number_mask initialization issue in TCB.
2017-06-15 23:30:18 +08:00
Bernard Xiong
9c44022502
Merge pull request #748 from TanekLiang/master
...
[bsp] update RCC initial for system
2017-06-15 16:33:29 +08:00
Bernard Xiong
dd6454d87d
Merge pull request #749 from FlyLu/master
...
[DeviceDrivers]Fix continuous write page bug for spi_flash_at45dbxx driver
2017-06-15 16:33:00 +08:00
FlyLu
fe457da958
[DeviceDrivers]Fix continuous write page bug for spi_flash_at45dbxx driver
2017-06-15 16:05:34 +08:00
bernard
b47994cb42
Add more checking for SConscript files of libc.
2017-06-15 14:38:39 +08:00
bernard
6515dc238c
[finsh] Add checking the result of chdir.
2017-06-15 14:37:56 +08:00
bernard
bc0fbbfe82
[DFS] change the cmd to long data type.
2017-06-15 14:37:18 +08:00
bernard
b7cf723162
[DFS] code cleanup
2017-06-15 14:36:59 +08:00
bernard
6e63cbb9be
[DFS] "console" device check.
...
[DFS] To make sure the "console" device exist or not when initialize
console device.
2017-06-15 14:36:40 +08:00
tanek liang
761a793a4b
[bsp] remove error_handler() and resume RT_ASSERT()
2017-06-14 17:25:42 +08:00
tanek liang
1d6c38f42f
[bsp] remove RT_ASSERT() because UART not work now
2017-06-14 17:07:08 +08:00
tanek liang
df40819b4b
[bsp] replace error_handler() by RT_ASSERT(RT_NULL)
2017-06-14 16:47:05 +08:00
tanek liang
81fce5d000
[bsp] replace error_handler() by RT_ASSERT(RT_NULL)
2017-06-14 16:43:07 +08:00
tanek liang
4978e340a9
[bsp] replace error_handler() by RT_ASSERT(RT_NULL)
2017-06-14 16:41:23 +08:00
tanek liang
f537194d01
[bsp] update RCC initial for system
...
* set internal oscillator trimming value to default
* replace integer constant by macro from HAL library
* remove SystemCoreClockUpdate() because "SystemCoreClock" updated in HAL_RCC_ClockConfig()
* remove delay()
2017-06-13 23:44:45 +08:00
Bernard Xiong
a453b3318b
Merge pull request #747 from TanekLiang/master
...
[BSP] stm32f429-apollo bsp add new device
2017-06-09 20:51:20 +08:00
Bernard Xiong
5b03b01125
Merge pull request #746 from pinhaozhang/master
...
[libc] modified: components/libc/newlib/libc.c
2017-06-09 20:49:23 +08:00
tanek liang
a157b25f55
[bsp] added Ethernet driver and lwip in stm32f429-apollo board
...
* use uart1 as default console device
* add pcf8574 support(a general-purpose remote I/O expansion chip)
2017-06-09 14:58:33 +08:00
pinhaozhang
1330a70207
modified: components/libc/newlib/libc.c
2017-06-09 12:18:40 +08:00
tanek liang
269a7683b5
add ili9341 lcd device and simple gui demo
2017-06-08 18:36:55 +08:00