Commit Graph

1600 Commits

Author SHA1 Message Date
勤为本 2da0eae89c 再次修改源文件开头的license,清理网卡代码中的#if 0和#if 1 2017-08-25 10:48:59 +08:00
ArcherChang 921fbfbc21 [1] 添加Andes N1068体系;
[2] 基于AE210P EVB板;
[3] 详细信息参阅bsp/AE210P/readme文件夹;
    《Andes工程创建和调试》文档;等。
2017-08-25 10:25:33 +08:00
勤为本 63d2ede1b3 清理龙芯1c片内网卡驱动的冗余代码,给没有license的源码文件增加license 2017-08-24 15:03:08 +08:00
勤为本 838c63f365 添加龙芯1C片内网卡的驱动(原创作者是chinesebear,https://github.com/chinesebear/rtt-net) 2017-08-23 15:46:51 +08:00
Bernard Xiong 1f45d8c723 Merge pull request #822 from parai/upstream
x86: bring up share object module on i386 machine
2017-08-21 09:30:17 +08:00
parai 2957cf6f52 x86: bring up share object module on i386 machine
1. upddate kernel module to support i386
2. update libdl to support open *.so by absolute path
3. new test case bsp/x86/src/hello.c to test i386 module feature

Signed-off-by: parai <parai@foxmail.com>
2017-08-20 20:24:07 +08:00
Bernard Xiong b53e3c2568 Merge pull request #812 from parai/master
[bsp] x86 : fix keyboard input issue
2017-08-18 14:16:03 +08:00
Parai Wang 0cd49a20ad x86: support both keyboard input and serial COM1 input
Signed-off-by: Parai Wang <parai@foxmail.com>
2017-08-18 12:02:43 +08:00
parai.wang 3416187ecf x86 : fix keyboard input issue 2017-08-18 11:38:00 +08:00
aozima 959b97aa34 update stm32f20x linker script: ensure last block HEAP. 2017-08-18 11:12:58 +08:00
Bernard Xiong f975ef5146 Merge pull request #807 from parai/master
[BSP] x86: add floppy driver
2017-08-18 10:55:22 +08:00
Bernard Xiong 50a2ae584b Revert "x86: keyboad input bug fix" 2017-08-18 10:54:45 +08:00
parai bafa3a8eb3 x86: add floppy driver
currently only read okay, write is not supported, this is enough for
me to study ELF, but the floppy is really small, now only about 400kb
space free showed by df("/").

Signed-off-by: parai <parai@foxmail.com>
2017-08-17 23:34:09 +08:00
Bernard Xiong 1bfdc7dd30 Merge pull request #805 from parai/master
[bsp] x86: keyboad input bug fix
2017-08-16 23:50:09 +08:00
parai eb5ea946a6 tmp floopy driver save, no test 2017-08-16 23:37:12 +08:00
parai 08d13e033c x86: keyboad input bug fix
most of the code copy from tinix, just make it run, code quality is not good.

Signed-off-by: parai <parai@foxmail.com>
2017-08-16 22:37:06 +08:00
Bernard Xiong a0ec48d613 Merge pull request #801 from gbcwbz/stm32_test
[bsp] fix CAN IRQ for stm32 none connectivity line devices
2017-08-16 16:47:07 +08:00
parai.wang 5ba5ebc8be x86: host machine native gcc support and use qemu to run 2017-08-16 15:47:15 +08:00
Spencer Moss b60712c29c [bsp] change macro so that CAN IRQ do not interfere USB IRQ in stm32f10x 2017-08-14 00:41:09 +08:00
Spencer Moss a07c450808 [bsp] fix CAN IRQ for stm32 none connectivity line devices 2017-08-13 16:39:00 +08:00
bupleurum e84bad92ee [bsp] Prevent compilation errors in bxcan.c when using STM32F10X_LD_VL,STM32F10X_MD_VL,STM32F10X_HD_VL incorrectly choose to use the RT_USING_CAN. 2017-08-11 18:35:46 +08:00
bupleurum 2569f66df8 [bsp] Fix a CAN interrupt number macro definition bug for STM32F10X_LD,STM32F10X_MD and STM32F10X_XL series. 2017-08-11 17:39:47 +08:00
Bernard Xiong 4626b19ead Merge pull request #784 from zhangjun1996/master
[BSP] add bsp for sifive(risc-v e310).
2017-08-10 16:51:59 +08:00
Bernard Xiong 191f8476ba Merge pull request #797 from caogos/master
[bsp] Add hardware FPU support in loongson_1c.
2017-08-10 16:33:13 +08:00
勤为本 7129d77bee 增加龙芯1c硬浮点的支持(可以使用硬浮点了) 2017-08-10 15:35:03 +08:00
Bernard Xiong 71d1f7faa9 [bsp] Add LPC54608 2017-08-08 11:56:50 +08:00
Bernard Xiong 30f272e221 Merge pull request #788 from bupleurum/master
[bsp] Add some descriptions and an English version about building project in readme.txt.
2017-08-06 12:04:34 +08:00
tanek liang 6eac07ca15 [Bsp] updated spi device:
fixed error when enable "SPI2_USING_DMA"
    fixed warnning when using spi without DMA
2017-08-05 21:55:48 +08:00
tanek liang 8e09d58e7e [Bsp] stm32f107 delete c99 mode code 2017-08-05 21:13:37 +08:00
bupleurum 9b2b1bb4a1 [bsp] Add some descriptions and an English version about building project in readme.txt. 2017-08-04 18:21:34 +08:00
zhangjun 51bba09ad0 remove cpuusage.c
remove unused line in SConstruct
2017-07-31 12:17:12 +08:00
zhangjun 72cfe9dd68 modify: drivers/cpuusage.c
modify:     ../../libcpu/risc-v/e310/stack.c
	rmove unused macro definition
modify:     ../../src/idle.c
	Return to the original version
2017-07-31 12:05:45 +08:00
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
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
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
tanek liang d793cfdef7 [bsp] fix incompatible type error for "finsh_system_init()" 2017-07-29 14:21:40 +08:00
tanek liang db1cd8830a [bsp] add new bsp for lpc824 2017-07-29 14:07:30 +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
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 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
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
勤为本 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
tanek liang 27902374db [bsp] add new bsp for stm32l475 IoT discovery kit 2017-07-20 00:37:35 +08:00
勤为本 878b222741 将“龙芯1c库”中硬件定时器相关接口移植到RT-Thread 2017-07-18 11:33:27 +08:00
勤为本 d22df879ac 将“龙芯1c库”中硬件pwm相关接口移植到RT-Thread 2017-07-18 11:28:02 +08:00
勤为本 0940301981 将“龙芯1c库”中的GPIO相关接口移植到RT-Thread 2017-07-18 11:15:10 +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 8034add04a Merge pull request #760 from TanekLiang/stm32f40x
[bsp] fixed uart5 tx rcc error
2017-07-09 09:10:03 +08:00
tanek liang 6199b378f5 [bsp] fixed uart5 tx rcc error 2017-07-08 22:41:00 +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