Commit Graph

1484 Commits

Author SHA1 Message Date
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
tanek liang da3b4d7606 [bsp] add new bsp for stm32l476-nucleo 2017-07-05 18:17:16 +08:00
tanek liang 165868c46c [bsp] insert keep section .rti_fn* in GCC link file 2017-07-01 15:59: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
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
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 81fce5d000 [bsp] replace error_handler() by RT_ASSERT(RT_NULL) 2017-06-14 16:43:07 +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
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
tanek liang 269a7683b5 add ili9341 lcd device and simple gui demo 2017-06-08 18:36:55 +08:00
tanek liang e4999e60b0 [bsp] stm32f429-apollo added spi flash driver and mount as FatFs 2017-06-08 12:05:10 +08:00
tanek liang a4a96bbfac re-implement tick interface for stm32f4xx HAL library and fixed typo 2017-06-05 14:58:05 +08:00
xieyangrun 92d8e4cbd8 update NRF52832 bsp 2017-05-27 11:28:40 +08:00
armink 98c830f3de [BSP] Fix a bug on stm32f4xx uart rx DMA driver when first receive data filled the FIFO. 2017-05-24 09:09:55 +08:00
armink 9b7d2023bb [BSP] Fix a bug on stm32f10x uart rx DMA driver when first receive data filled the FIFO. 2017-05-24 09:06:23 +08:00
xieyangrun b98eac9038 update init thread 2017-05-16 10:14:57 +08:00
xieyangrun 0f37b300f5 update NRF52832 support NRF52SDK13 2017-05-15 16:12:15 +08:00
tanek liang 30f825ee24 correct stm32f4xx flash vector table base location 2017-05-04 17:24:14 +08:00
ArdaFu 3e185bca9c 1. [bsp] tm4c129x update TivaWare to 2.1.4.178 2017-04-25 18:02:51 +08:00
Aubr.Cool fd08d0ba50 [Bsp] stm32f10x usart correct rx parity err 2017-04-13 12:47:49 +08:00
lizhen9880 b588d81963 cleanup some files 2017-04-12 09:58:09 +08:00
lizhen9880 1da83c5c4c 增加bsp:stm32f429-apollo
硬件信息:正点原子apollo 开发板
本bsp已实现功能:UFFS,FAT(SDcard),应用模块
2017-04-12 09:25:37 +08:00
Bernard Xiong 1368e01470 [BSP] fix RT_DFS_ELM_MAX_LFN to 255. 2017-04-09 19:23:28 +08:00
Bernard Xiong 54c5b83c14 Merge pull request #704 from AubrCool/fix-pin.driv.add.irq.apis
[DeviceDrivers] pin: add irq APIs.
2017-03-18 11:46:27 +08:00
armink 82930906a2 [BSP] Enhanced stm32f10x serial DMA rx driver reliability. 2017-03-17 16:45:23 +08:00
armink cebbee7908 [BSP] Enhanced stm32f40x serial DMA rx driver reliability. 2017-03-17 13:31:47 +08:00
Bernard Xiong 282c2f22f2 Merge pull request #705 from onelife/efm32_fix
[BSP EFM32] Fix building issue
2017-03-16 15:16:57 +08:00
onelife 6949aafc78 [BSP EFM32] Fix building issue 2017-03-16 11:29:29 +08:00
Aubr.Cool aa8e5cc412 [components] drivers pin irq change apis 2017-03-14 10:28:29 +08:00
Aubr.Cool 320b116b5f [Components] Drivers: pin add irq apis 2017-03-10 15:07:28 +08:00
Aubr.Cool f3c2930d05 correct stm32f10x txisr error 2017-02-27 09:38:15 +08:00
zchong-cht 9cb9bf377c add /bsp/beaglebone/uboot_cmd.txt file 2017-02-13 22:09:09 +08:00
Bernard Xiong 0a60415e75 Update HAL to V1.6.0; Fix the armcc startup file. 2017-02-07 15:42:42 +08:00
Aubr.Cool 4008a0a5fb stm32f10x usart add interrupt tx mode 2017-01-19 14:27:13 +08:00
Aubr.Cool d671e7546c lpccan irq add irq enter & irq leave 2017-01-18 09:49:48 +08:00