Commit Graph

1655 Commits

Author SHA1 Message Date
Bernard Xiong a1b27ef389 Update README.md 2017-10-06 11:20:07 +08:00
Bernard Xiong 3ced98e820 Merge pull request #844 from TanekLiang/stm32l429_armfly
[bsp] add stm32f429-armfly support
2017-10-06 11:18:48 +08:00
Bernard Xiong 930f36ecd2 Update README.md 2017-10-06 11:18:11 +08:00
Bernard Xiong 0b030d8b75 Update README.md 2017-10-06 11:10:32 +08:00
Bernard Xiong aaaa5f26e6 Update and rename bsp/AE210P/readme/readme.txt to bsp/AE210P/README.md 2017-10-06 11:10:12 +08:00
Bernard Xiong e037e6182d Delete .PHONY.size 2017-10-06 11:03:28 +08:00
Bernard Xiong ea18ef60ed Merge pull request #826 from ArcherChang/master
[BSP] Add Andes N1068 porting and simple bsp.
2017-10-06 11:03:02 +08:00
sagitattoo 8c4b9461e2 Update rtconfig.py
when "PLATFORM  == armcc", the option "CFLAGS += '  -g -O0' " needs to change to "CFLAGS += ' --c99 -g -O0'" to support the keyword "inline"
2017-09-25 22:55:26 +08:00
Bernard Xiong d79898a957 Merge pull request #850 from Quintin-Z/master
[BSP] add nv32f100x bsp.
2017-09-23 11:18:09 +08:00
zhongjiequan 81596a1408 remove bsp nv32f100x dunk file. 2017-09-20 16:19:24 +08:00
zhongjiequan fda55ff0f9 modify bsp nv32f100x from startup/application to main style. 2017-09-20 16:16:37 +08:00
Bernard Xiong 7dff1208df Merge pull request #847 from Haleyl/master
[BSP] Add bsp apollo2
2017-09-20 15:03:04 +08:00
zhongjiequan e9cafbeb6a add nv32f100x bsp. 2017-09-20 14:21:18 +08:00
lin 96b1da173e Modified not use c99 2017-09-20 12:42:23 +08:00
lin e8eaaed1fe Modified fomat and add low power 2017-09-20 11:14:45 +08:00
Bernard Xiong 72db331e52 [BSP] Add QEMU/VExpress-A9 bsp. 2017-09-19 12:14:52 +08:00
lin 0266967898 Add README.md file 2017-09-18 17:58:26 +08:00
lin 19fcea5229 Modified pin driver and some format 2017-09-18 17:45:46 +08:00
lin c19fb2ab58 Add bsp apollo2 2017-09-15 18:10:51 +08:00
liu2guang 44e3a56d91 修改SD卡驱动无法读写超过2G sector地址的数据 2017-09-14 17:23:09 +08:00
Bernard Xiong 0d193254f8 Merge pull request #845 from caogos/master
[BSP] Add FPU option for loongson1c.
2017-09-14 17:06:11 +08:00
勤为本 96f3600bde 将异常向量间隔从0x20改为0x80,mips系列cpu的异常向量的间隔为0x80(十进制的128)字节
详细内容请参见《see mips run》中的5.3节——异常向量:异常处理开始的地方
2017-09-14 12:14:55 +08:00
勤为本 574e22bdbd 在配置文件“rtconfig.h”中增加硬浮点FPU的配置项,
浮点经常会用到,所以默认使用硬浮点。
2017-09-13 15:21:09 +08:00
tanek liang 820aace92c [bsp] add stm32f429-armfly support 2017-09-12 17:57:14 +08:00
fengzi2003 0779b5e901 Update stm32_eth.c
Fix some exception handling,such as when rt_sem_take failed in tx,transmission cannot be resumed。
2017-09-08 16:15:31 +08:00
Bernard Xiong 794835dde2 Merge pull request #833 from geniusgogo/samd21
[BSP] add atmel SAM D21 bsp support
2017-09-08 15:48:22 +08:00
xieyangrun be0c547976 remove asflib/components 2017-09-08 14:18:48 +08:00
Bernard Xiong 646102a1d4 Merge pull request #840 from caogos/master
[BSP] Add I2C driver for Loongson 1C.
2017-09-06 15:52:47 +08:00
勤为本 8d90867182 增加龙芯1c硬件I2C接口 2017-09-06 12:11:46 +08:00
xieyangrun 4de4506db9 Merge branch 'samd21' of https://github.com/geniusgogo/rt-thread into samd21 2017-09-04 10:15:52 +08:00
xieyangrun d1d81c158f Merge branch 'master' of https://github.com/RT-Thread/rt-thread into samd21 2017-09-04 10:12:34 +08:00
xieyangrun 80a21100b3 remove uart rx code 2017-09-04 10:12:10 +08:00
geniusgogo 84f0d9f988 Update README.txt 2017-08-31 19:03:01 +08:00
xieyangrun 5b1235f5f5 add scons cmd build 2017-08-31 18:57:59 +08:00
xieyangrun b9ec9d64b8 finsh init change to application thread 2017-08-31 10:51:17 +08:00
geniusgogo 01c43e8bed Update application.c 2017-08-30 21:16:24 +08:00
geniusgogo 8a06b07fc9 Update application.c
code style clean
2017-08-30 21:13:46 +08:00
tanek liang 09d3599ff9 [bsp] clean code 2017-08-30 17:30:47 +08:00
xieyangrun 189c999f8e add atmel SAM D21 bsp support 2017-08-30 12:18:28 +08:00
tanek liang bb6283144c fix warning and update project files 2017-08-30 11:15:34 +08:00
tanek liang d766ababec update uart and spi driver 2017-08-30 11:15:30 +08:00
tanek liang b7cf7c5fc0 update eth driver and clean code 2017-08-30 11:13:55 +08:00
tanek liang 0ecc0f96f5 disable macro for libc 2017-08-30 11:11:11 +08:00
tanek liang c7c0edebba add spi flash driver 2017-08-30 11:10:55 +08:00
tanek liang ea2a9db341 fix eth/lcd io conflict 2017-08-30 11:10:54 +08:00
tanek liang 09f698a209 add eth driver 2017-08-30 11:10:32 +08:00
tanek liang ce4c351ebc add sdram and lcd driver 2017-08-30 11:08:16 +08:00
tanek liang b2849ad1aa update usart driver 2017-08-30 11:08:15 +08:00
tanek liang 07bd7af08e add mdk4 and iar upport 2017-08-30 11:07:55 +08:00
tanek liang 2c056a3aad add gd32f450 bsp 2017-08-30 11:07:54 +08:00
mqb 19448a920c 修改了GPIO_Configuration
STM32F4系列UART在初始化的时候,如果GPIO_AF放到GPIO_INIT后边,系统复位后,串口会向外发送一个字节的数据,通常是0x00。将GPIO_AF放到GPIO_INIT前边可以避开这个问题。
2017-08-28 12:39:17 +08:00
Bernard Xiong 2ac493698b [BSP] cleanup for hifive1 bsp. 2017-08-26 11:02:39 +08:00
ArcherChang 8923247fb3 [1] Andes N1068体系移植
a. 去除《Andes工程创建和调试》文件;
2017-08-25 14:49:48 +08:00
ArcherChang 652ea85a39 [1] Andes N1068体系移植
a. Libc改用官方版本(工具链附带版本);
    b. 去除未使用文件;
2017-08-25 14:25:35 +08:00
Bernard Xiong b9ebd183ae Merge pull request #827 from caogos/master
[BSP] Add EMAC driver in loongson1C (ported by chinesebear, https://github.com/chinesebear/rtt-net)
2017-08-25 11:07:34 +08:00
勤为本 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