Commit Graph

2159 Commits

Author SHA1 Message Date
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
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
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
Aubr.Cool 9b4222b2f0 bxcan irq add irq enter & irq leave 2017-01-18 09:46:16 +08:00
Aubr.Cool cd679a251e [BSP] stm32f10x bxcan correct ext frame filter 2016-12-26 14:26:47 +08:00
mwang1 182622c411 add nuvoton m451 bsp with gcc&keil support 2016-12-07 21:03:23 +08:00
Peter Harliman Liem fdfa909853 [Bsp] Fix missing spiconfig set in dm365 2016-11-08 22:13:03 +08:00
Aubr.Cool 12424777f6 add bsp stm32l072 2016-09-22 12:31:38 +08:00
Aubr.Cool c2d8bff672 [Bsp] stm32f10x delete compiler c99 mode 2016-09-21 11:31:53 +08:00
Aubr.Cool 8c229e412a [Bsp] lpc408x fix compiler error 2016-09-21 11:10:25 +08:00
Aubr.Cool e0b371edfd [BSP] LPC408X Delete compiler c99 mode 2016-09-21 10:48:21 +08:00
pangweishen 5de8bb2c50 Update rtconfig.h
When useing the macro of  _WIN32 in the file of rtconfig.h , then the file of dfs_win32.c will removed and compiled some mistakes. Fix it.
2016-09-01 14:09:42 +08:00
Bernard Xiong cd43855e48 Merge pull request #658 from xuzhuoyi/master
[BSP] Add support for STM32F429I-DISC1
2016-08-22 21:06:22 +08:00
xuzhuoyi 5f0102865d [bsp][stm32f429-disco] Fix assertion failed at function:rt_malloc 2016-08-22 15:59:53 +08:00
xuzhuoyi 119da5b035 [bsp][stm32f429-disco] Change StdPeriph to HAL 2016-08-22 01:03:17 +08:00
xuzhuoyi 234f1c6995 [bsp][stm32f429-disco]Fix hard fault while init heap 2016-08-20 23:04:01 +08:00
xuzhuoyi 715cbb7809 [bsp][stm32f429-disco] Add SDRAM support 2016-08-20 18:27:07 +08:00
aozima 1e2854381b disable stm32 EMAC hardware checksum. 2016-08-19 17:31:12 +08:00
xuzhuoyi 94cb87223e [bsp][stm32f429-disco] Add stm32f42x GPIO index 2016-08-19 17:25:59 +08:00
xuzhuoyi 1ea925f9d1 [bsp] add new bsp stm32f429-disco 2016-08-19 00:35:30 +08:00
armink f4f4bd543d [BSP] Add usart DMA Rx driver to stm32f40x. 2016-07-09 11:07:20 +08:00
kontais c72433560d flush cache after exception code install on ls1b 2016-06-15 08:42:38 -07:00
kontais b96f07e477 flush cache after exception code install 2016-06-15 08:09:56 -07:00
Bernard Xiong 4503e5d79d Merge pull request #634 from margguo/master
[BSP] Update gpio.c in BSP/stm32f10x/drivers/gpio.c
2016-05-23 22:23:03 +08:00
margguo 09b0e48439 add 48 pins IC define in BSP/stm32f10x 2016-05-23 22:15:14 +08:00
margguo 4bbbfab29c add 48 pins IC define in BSP/stm32f10x 2016-05-23 22:00:21 +08:00
margguo 3defb749cb add 48 pins IC define in BSP/stm32f10x 2016-05-23 21:57:19 +08:00
armink 7d17f50a31 [BSP] Add usart DMA Rx driver to stm32f10x. 2016-05-14 13:43:14 +08:00
Bernard Xiong eb320a0104 [BSP] fix the CRLF issue in usb_ch9 of imx6sx 2016-05-04 08:24:21 +00:00
weety 46e963b315 [CHG] fixed compile error under linux platform 2016-04-25 15:42:07 +08:00
Bernard Xiong fd7a65b4be [LIBC] remove minilibc when compiling simulator under Linux 2016-04-24 19:59:48 +08:00
Bernard Xiong 255f8b7c34 [BSP] Add BSP for Ingenic X1000 CPU 2016-04-24 19:34:41 +08:00
Bernard Xiong 43f68131ce [BSP] Add fh8620 bsp from Shanghai Fullhan Microelectronics Co., Ltd.
FH8620 BSP
Copyright (c) 2016 Shanghai Fullhan Microelectronics Co., Ltd.
All rights reserved
2016-04-18 13:52:39 +08:00
gbcwbz 0d63eb5f6d fix hardfault when RT_CAN_USING_BUS_HOOK is enabled in bsp/stm32f10x
function `rt_pin_write` is invoked by  function `can_bus_hook`, and it should to be initialized by gpio.c.
but gpio.c was not added in SConscript
2016-04-14 23:47:32 +08:00
gbcwbz b420e83da4 fix can baud rate config error in bsp/stm32f10x fix #597
enum CANBAUD was changed in components/drivers/include/drivers/can.h ,
which causes array index out of bound in bsp/stm32f10x/drivers/bxcan.c

temporarily remove RT_CAN_USING_BUS_HOOK, because there are some bugs in
bsp/stm32f10x/applications/canapp.c  function can_bus_hook
2016-04-13 21:24:36 +08:00
gbcwbz a6fcf8cf1f remove function finsh_set_device in application.c in bsp/stm32f10x
finsh_set_device is not needed since version 1.2.0
2016-04-09 13:15:49 +08:00
gbcwbz e35ad3e677 fix initialization error in bsp/stm32f10x
temporarily disable canapp initialization.
2016-04-03 21:39:33 +08:00
Bernard Xiong 5c86147236 Update sd_sim.c 2016-03-23 23:08:35 +08:00
Bernard Xiong 55bbe7290e Delete gic.h_old 2016-02-02 15:16:22 +08:00
Bernard Xiong 0e916cee16 Delete gic.c_old 2016-02-02 15:16:14 +08:00
Bernard Xiong 97e263c498 Delete interrupt.h_old 2016-02-02 15:15:57 +08:00
ardafu e377814ce9 [bsp] rename bsp name from stm32f411re to stm32f411-nucleo 2016-01-25 16:10:54 +08:00
ardafu 48e765fdee [bsp][stm32f411-nucleo] Remove unused BSP library. 2016-01-25 15:51:33 +08:00
ardafu 313c775b22 [BSP][STM32F411RE]
1. Target board: STM32F411RE-Nucleo
2. Using STM32 HAL library version 1.4.3 (STM32Cube_FW_F4_V1.10.0)
2016-01-25 15:39:34 +08:00
yuht 585475991c update get “geometry” source
in function internal,get "geometry" form paramater "dev->user_data",  not use public variable "SDCfg"
2016-01-06 09:54:39 +08:00
Bernard Xiong 3e890570c9 [BSP] change the template setting in lpc176x;
fix the compiling warning when enable DFS.
2016-01-06 05:05:08 +08:00
yuht 2e1af44270 add RT_DFS_ELM_CODE_PAGE
解决因为缺少RT_DFS_ELM_CODE_PAGE 导致scons无法正确配置工程文件系统代码页问题。
2016-01-04 09:03:08 +08:00
zhoujie fc2467a190 fix keil armcc compiling report "Error: expected an expression" 2015-12-10 21:47:53 +08:00
Aubr.Cool b2d55d2c8c correct stm32f10x can sendmsg rtr flag error 2015-11-23 09:43:48 +08:00
Aubr.Cool 33de63fbe2 correct compile error when using can 2015-11-23 09:43:17 +08:00
weety c515c88f3f Add -nostartfiles option for link flags 2015-11-18 00:09:18 +08:00
Bernard Xiong b7fc26e169 Merge pull request #584 from xueliu/master
[BSP] Enable Heap for nRF51822
2015-11-15 16:38:40 +08:00
zchong_cht 06765bfd4a Change the head files in uart.c. 2015-11-13 23:25:59 +08:00
Xue Liu 65f1d8f409 Enable Heap for nRF51822
Fix the undefined symbol NRF_SRAM_END
Configure SRAM part for Heap
2015-11-13 13:39:40 +01:00
Bernard Xiong 6d738f79a8 Merge pull request #579 from miaoqiongb/patch-2
[BSP] Update uart.c in lpc176x
2015-11-12 10:01:55 +08:00
zchong_cht 3983f39f34 Add iar compiler support for am335x. 2015-11-11 23:44:05 +08:00
miaoqiongb 2b0a5b93b7 Update uart.c
Add interrupt enter and leave
2015-11-11 10:43:57 +08:00
Xue Liu 31c9f3ef3b Clean and fix comments 2015-11-11 00:09:15 +01:00
Xue Liu 6bad759c1f nrf52832 board.c clean 2015-11-11 00:00:42 +01:00
Xue Liu d694043cc7 Initial bsp support for nRF52832 2015-11-10 23:47:12 +01:00
Bernard Xiong dedc22379a Merge branch 'master' of https://github.com/RT-Thread/rt-thread 2015-11-09 15:25:57 +08:00
Bernard Xiong 59653699b2 Update uart.c 2015-10-30 17:19:53 +08:00
winfeng 8a73dc1be6 Update uart.c
iir = LPC_Uart->LSR;	//oe pe fe oe read for clear interrupt
2015-10-30 14:41:21 +08:00
Bernard Xiong 3677f4de9f Merge branch 'master' of https://github.com/RT-Thread/rt-thread 2015-10-23 22:10:13 +08:00
Bernard Xiong 856db6ead1 Merge pull request #570 from cedar-renjun/patch-6
Update board.h
2015-10-18 17:24:57 +08:00
cedar-renjun f19d4381e4 Update stm32f40x_flash.icf
Export the end address of ram, to avoid hard-code heap size in application
2015-10-17 21:01:41 +08:00
cedar-renjun 1e3c79602d Update board.h
Use *.icf ram symbal, to avoid hardcode.
2015-10-17 20:58:42 +08:00
Bernard Xiong 8f607deff3 [BSP] Add EMAC driver in lpc4088 2015-10-15 23:14:27 +08:00
Bernard Xiong 066ec6dc91 [BSP] remove display_controller.h/c from ls1cdev bsp 2015-10-15 12:22:16 +08:00
Bernard Xiong 402732ebb9 Merge branch 'master' of https://github.com/RT-Thread/rt-thread 2015-10-14 14:48:22 +08:00
Bernard Xiong c5fd1aaf5f Merge branch 'master' of https://github.com/RT-Thread/rt-thread 2015-10-14 11:08:04 +08:00
Bernard Xiong e460034a97 [BSP] use DoBuilding to replace env.Program/EndBuilding 2015-10-14 11:07:03 +08:00
Bernard Xiong fd53d3ec28 Merge pull request #567 from cedar-renjun/patch-5
[BSP] Update and rename readme.txt to readme.md in stm32f4
2015-10-13 12:05:22 +08:00
Bernard Xiong 942d16f3c3 Merge pull request #566 from cedar-renjun/patch-4
[BSP] include iar startup code in stm32f4
2015-10-13 12:05:10 +08:00
cedar-renjun 238ebdd045 Update and rename readme.txt to readme.md 2015-10-13 11:52:05 +08:00
cedar-renjun 34a2200428 include iar startup code
fixed bug: 'scons --target=iar -s' output iar project missing startup code, and link file

修复scons生成IAR工程中没有startup code和链接文件,导致工程中断异常和Finsh无法工作
2015-10-13 11:40:59 +08:00
cedar-renjun 78cb445af2 Create stm32f40x_flash.icf 2015-10-13 11:34:10 +08:00
ardafu 1c91512e97 [bsp][stm32f746g-disco] Fix MPU init bug.
1. Fixed the bug that MPU init function was called 2 times.
2015-10-13 09:49:27 +08:00
Bernard Xiong 369557a981 Merge branch 'master' of https://github.com/RT-Thread/rt-thread 2015-10-09 08:56:58 +08:00
Bernard Xiong a65ee8ac45 [BSP] disable module feature under simulator for Linux 2015-10-02 08:16:15 +08:00
Bernard Xiong d2ec1f3eaa [DFS] remove st_blksize in the struct stat 2015-10-01 06:46:52 +00:00
Bernard Xiong 1e4bcaca3e [BSP] remove rtgui_demo in the simulator BSP 2015-10-01 11:34:10 +08:00
Bernard Xiong 5ac0ed7403 [BSP] remove testdll in the simualtor BSP 2015-10-01 11:29:59 +08:00
Bernard Xiong 1ac6bc6c88 [BSP] fix compiling issue in simulator for Linux 2015-09-30 10:21:55 +00:00
Bernard Xiong cdf4c7e897 [BSP] Enable module application in simulator BSP 2015-09-30 18:06:09 +08:00
Bernard Xiong aa190ed5f6 [BSP] enable file system feature in simulator BSP 2015-09-30 17:57:58 +08:00
Bernard Xiong 7e45f059dc [BSP] Update simualtor bsp for Win32/MSVC 2015-09-30 16:26:40 +08:00
Bernard Xiong 4ab8ea53c2 Merge pull request #556 from ArdaFu/master
[bsp][stm32f746-disco] Add support of IAR tool chain
2015-09-30 11:10:36 +08:00
ardafu a8828eee89 [bsp][stm32f746-disco] Add support of IAR tool chain
1. Add IAR project template and link scripts. Add missing CXX configuration for IAR tool chain in rtconfg.py.
2. Modify all link scripts, Using ITCM interface.(Changing flash start address from 0x0800_0000 to 0x0020_0000).
2015-09-29 11:53:23 +08:00
FlyM 5ed2d0ea3b [bsp]add stm32f4xx bsp rtc driver 2015-09-29 06:53:44 +08:00
Bernard Xiong 3164e33de1 Update and rename application.c to main.c 2015-09-26 11:37:11 +08:00
ardafu 090153f94f [bsp][stm32f746-Disco] Cleanup code
1. Using RT_USING_COMPONENTS_INIT and RT_USING_USER_MAIN
2. Cleanup code
2015-09-25 15:35:37 +08:00
Bernard Xiong 168bb7843f Merge remote-tracking branch 'upstream/master' 2015-09-24 20:36:16 +08:00
Bernard Xiong 9413a61499 Merge branch 'master' of https://git.coding.net/RT-Thread/rt-thread 2015-09-24 17:23:00 +08:00
Bernard Xiong 3faca6d5df [BSP] update stm32f7-disco
code cleanup.
2015-09-24 16:03:09 +08:00
Bernard Xiong 91ae73e4e6 Merge branch 'master' of https://github.com/RT-Thread/rt-thread 2015-09-24 15:55:26 +08:00
Bernard Xiong a8dc960ba1 [BSP] update bsp config of lpc4088 2015-09-24 03:08:11 +00:00
Bernard Xiong be9b3d1df6 [BSP] Update stm32f7-disco to avoid gcc compiling error 2015-09-21 10:02:00 +00:00
Bernard Xiong 72f79d8eef Merge branch 'master' of https://github.com/RT-Thread/rt-thread 2015-09-20 14:51:22 +08:00
Bernard Xiong 9ad05db536 [BSP] fixed stm32f7-disco interrupt issue. 2015-09-20 14:47:50 +08:00
Bernard Xiong a0de58a008 [BSP] fix x86 bsp compiling issue 2015-09-15 11:50:29 +00:00
Bernard Xiong 342e8d688d Merge pull request #546 from heyuanjie87/ForPullRequest
[DeviceDrivers] Add hardware timer framework
2015-09-09 22:30:45 +08:00
heyuanjie87 f8012b9000 [lpc408x]添加定时器驱动 2015-09-06 16:37:43 +08:00
heyuanjie87 d19f424909 简化操作接口 2015-09-06 15:05:47 +08:00
weety 31f24f3460 fix compile error. 2015-09-04 22:10:22 +08:00
weety 907190124b remove unused source file. 2015-09-04 22:00:54 +08:00
weety 2021f5a276 Add the license. 2015-09-04 21:58:08 +08:00
weety b71cb4c09d Add dm365 porting. 2015-09-04 12:30:20 +08:00
heyuanjie87 c84887d021 加入定时器设备 2015-09-02 22:00:24 +08:00
Bernard Xiong 9e3c42273d Merge remote-tracking branch 'upstream/master' 2015-09-02 12:18:31 +08:00
Bernard Xiong df0c6a9e3a [BSP] fix LIBC options in stm32f7 rtconfig.h 2015-09-02 12:07:09 +08:00
Bernard Xiong 8d309a40f5 [BSP] Add copyright information. 2015-09-02 12:06:40 +08:00
Bernard Xiong ec87b91011 Merge remote-tracking branch 'upstream/master' 2015-08-31 17:19:07 +08:00
ardafu 7610ce3607 [BSP] [ASM9260T] Fix compile errors.
1. Add Heap_Size define for Keil toolchain
2. Disable pthreads in rtconfig.h
2015-08-31 09:36:26 +08:00
Bernard Xiong 7164257ecd Merge pull request #540 from pangweishen/master
[BSP]fixed some bugs for compile.
2015-08-28 17:22:32 +08:00
pangwei 4d01aaf932 [BSP]fixed some bugs for compile.
Signed-off-by: pangwei <271372443@qq.com>
2015-08-28 16:57:41 +08:00
Bernard Xiong 62a2a49c41 [BSP] Update project files for stm32f0x 2015-08-19 09:51:14 +08:00
Bernard Xiong 4a66474329 Merge remote-tracking branch 'upstream/master' 2015-08-10 08:14:20 +08:00
Bernard Xiong 300c7fd8ec [BSP] reduce the code size for STM32F0x 2015-08-09 15:34:21 +08:00
Bernard Xiong 200282a0bc [BSP] use RT_UNUSED instead of UNUSED 2015-08-09 11:34:41 +08:00
Bernard Xiong 358837bb89 [BSP] Add README.md for stm32f7-disco 2015-08-09 09:37:20 +08:00
Bernard Xiong 5a259bd93c [BSP] Add imx6sx 2015-08-09 09:36:12 +08:00
Bernard Xiong fc54a74abb [BSP] stm32f7-disco cleanup 2015-08-09 09:17:28 +08:00
Bernard Xiong 33b95be42a [BSP] rename stm32f7 to stm32f7-disco 2015-08-09 08:36:52 +08:00
nongxiaoming af8a91457e [bsp]add the stm32f74x bsp. 2015-08-07 13:30:13 +08:00
pangwei 330ab2ca0d [BSP]fix lslc compiling issue when using RT_USING_LIBC. 2015-08-06 16:12:37 +08:00
Bernard Xiong 5ccbf073cc Merge pull request #531 from pangweishen/master
[BSP] update the value of DEVICE in rtconfig.py.
2015-08-05 18:29:02 +08:00
pangwei d491b30c35 [BSP] update the value of DEVICE in rtconfig.py. 2015-08-05 17:10:49 +08:00
Bernard Xiong fd69283f3a [BSP] fix ls1b compiling issue 2015-08-03 17:41:29 +08:00
Bernard Xiong db5fc259a2 [BSP] remove the asssert_failed function in lpc176x. 2015-08-03 16:17:48 +08:00
pangwei e30ee251e3 [bsp]added the define of RT_USING_LIBC in rtconfig.h.
Signed-off-by: pangwei <271372443@qq.com>
2015-07-23 11:20:04 +08:00
pangwei 5b755b85c8 [BSP] rename the link files
Signed-off-by: pangwei <271372443@qq.com>
2015-07-23 10:38:28 +08:00
Bernard Xiong 8b7d2fb5c1 [BSP] use mips-sde-elf for ls1c bsp. 2015-07-22 10:22:40 +08:00
Bernard Xiong dbea3cc7d5 Merge pull request #521 from chinesebear/master
new file:   bsp/ls1cdev/ls1b_ram.lds
2015-07-22 10:21:20 +08:00
chinesebear 085682c76b new file: bsp/ls1cdev/ls1b_ram.lds 2015-07-16 23:19:03 +08:00
FlyM 62f0def025 1.delete comment code
2.add change log
2015-07-16 22:50:24 +08:00
FlyM 32855cfd3a rename bsp/stm32f10x/drivers/rtc.c to stm32f1_rtc.c
rename bsp/stm32f10x/drivers/rtc.h to stm32f10x/drivers/stm32f1_rtc.h

remove set_date,set_time function.
2015-07-16 02:08:44 +08:00
chinesebear 4ad1b35537 chinesebear add bsp & libcpu 2015-07-09 07:38:07 +08:00
aozima 7254c41207 [LPC4088] update CAN driver baudrate config. 2015-07-08 11:26:24 +08:00
aozima b5736b4bff [LPC4088] correct can driver compiler error and warnings. 2015-07-08 11:26:23 +08:00
aozima b15fb70616 [LPC4088] format code by Astyle. 2015-07-08 11:26:22 +08:00
Aubr.Cool 6fad73c939 [BSP] stm32f10x can code format 2015-07-07 16:31:46 +08:00
Aubr.Cool b750e11ec1 [bsp]stm32f10x add canapp can bus hook set 2015-07-07 14:37:07 +08:00
Aubr.Cool b7571b5549 [BSP] stm32f10x fix bxcan for new changed driver 2015-07-07 14:37:04 +08:00
Aubr.Cool 95fe1d15ca mv rt_components_board_init to rt_hw_board_init 2015-07-05 16:04:27 +08:00
Aubr.Cool 9ddd395eb1 correct canapp.c code indentation 2015-07-05 11:48:22 +08:00
Aubr.Cool fece837ed9 add canapp.c 2015-07-04 12:20:24 +08:00
Aubr.Cool ec46aee19b add lpc408x can driver 2015-07-04 08:14:00 +08:00
Aubr.Cool b7010ff946 fix bxcan include component.h dirs error 2015-06-30 14:27:05 +08:00
ItsEddy cb54ac8197 [BSP] Add gpio driver support for beaglebone 2015-06-19 04:19:11 +08:00
Aubr.Cool 70aedb7a34 correct bxcan rcv irq error 2015-06-16 08:49:26 +08:00
Aubr.Cool 40123f0973 correct bxcan drive errors 2015-06-16 08:49:25 +08:00
Aubr.Cool b319fb53e4 correct bxcan rcv msg rtr flag set 2015-06-16 08:49:25 +08:00
pangwei 77707e32b1 [BSP]update the serial driver.
Signed-off-by: pangwei <271372443@qq.com>
2015-06-09 16:26:52 +08:00
Aubr.Cool b155067b6b correct bxcan init error 2015-05-26 14:43:46 +08:00
BernardXiong 951fd5429c [BSP] remove Keil MDK3 project file 2015-05-23 10:26:38 +08:00
pangwei 570e9470b1 [uffs] fix the SConscript file of uffs.
Signed-off-by: pangwei <271372443@qq.com>
2015-05-21 17:06:05 +08:00
pangwei d3a031c084 [BSP]add some header File
Signed-off-by: pangwei <271372443@qq.com>
2015-05-21 15:26:31 +08:00
pangwei 688f324fea [BSP] Remove the RT_USING_COMPONENTS_INIT in rt_config.h , and added some components init functions by hand. 2015-05-21 15:05:00 +08:00
BernardXiong be895cc9b2 [BSP] update Keil MDK project file. 2015-05-20 16:57:44 +08:00
Aubr.Cool 8e29e3d98b add author information 2015-05-15 07:58:21 +08:00
Aubr.Cool eb56b832ef Add Can Drv 2015-05-14 16:52:48 +08:00
heyuanjie87 8257a62990 [stm32f4]更新mdk5工程文件 2015-05-13 21:07:31 +08:00
Alex b25e602afb fix a eth driver bug to avoid crush
fix a eth driver bug to avoid crush
2015-05-13 08:50:14 +08:00
toasun a58078d18a 2015-05-12 15:44:57 +08:00
toasun bd59276640 Update cmem7_eth.c 2015-05-12 13:43:50 +08:00
BernardXiong e38f3aa39c [BSP] Update Keil MDK project files. 2015-05-11 21:10:25 +08:00
BernardXiong 075fb45448 [BSP] update project for LPC176x 2015-05-11 21:05:11 +08:00
pangwei d01bab0e39 [bugfix] Open the #define RT_USING_LWIP in rtconfig.h , then build it , the stm32_eth.h can not find.
Signed-off-by: pangwei <271372443@qq.com>
2015-05-08 11:34:17 +08:00
Bernard Xiong 6ea06b4bb3 [BSP] Fix the scons compiling issue in mb9bf568r if use armcc. 2015-05-05 10:50:42 +08:00
Bernard Xiong f59547e782 [BSP] Fix compiling error because pthreads is depended libc 2015-05-04 13:09:07 +00:00
ardafu ce08c83c1f [bsp][asm9260t] modify file name to lowercase. 2015-05-04 17:17:28 +08:00
ardafu ae4d8da480 [bsp][asm9260t] modify file name to lowercase. 2015-05-04 16:59:01 +08:00
ardafu 9f36fd61a4 [libcpu][asm9260t] Add new BSP for AlphaScale ASM9260T 2015-05-04 16:30:05 +08:00
ardafu cc6b290640 1.[bsp][sam9260] Modify the define of irq get and ack function. 2015-05-04 16:17:40 +08:00
aozima 3563c195fb update stm32f2/f4: fixed PLL_M define. 2015-04-27 11:54:22 +08:00
Aubr.Cool 2be9959891 correct stm32f10x pin64 define error 2015-04-23 16:11:38 +08:00
Bernard Xiong bec8b3f59f Merge pull request #463 from ArdaFu/master
[cpu][sam926] Using MMU to map vector table before init INT controller.
2015-04-23 09:12:47 +08:00
ardafu b77a1cde89 [bsp][sam9260] Remove unused macro define for assemble start files. 2015-04-22 13:19:13 +08:00
ardafu dc3bd14c2a [bsp][sam9260] Optimize code
1. Cleanup unused code in startup.c.
2. Init MMU before init INT contoroller for mapping vector table to visual address 0x0
3. Remove unused section in link scripts.
2015-04-22 13:15:13 +08:00
Bernard Xiong 37b3c8781a Merge pull request #462 from ArdaFu/master
[bsp][sam9260] Add GDB start scripts.
2015-04-17 21:09:45 +08:00
ardafu 66ac2fb9d7 [bsp][sam9260] Add GDB start scripts. Call user-defined command "reset" when you start debug. 2015-04-17 18:03:05 +08:00
Bernard Xiong ce5ddc4712 Merge pull request #461 from ArdaFu/master
[bsp][stm32f0x] Modify build config to reduce code size for Travis CI
2015-04-16 20:23:08 +08:00
Bernard Xiong 418379c7da Merge pull request #445 from wzyy2/master
x86: fix compile error in c++
2015-04-16 20:22:58 +08:00
Arda 0c428b1569 Update rtconfig.py
[bsp][stm32f03x] Modify build config to reduce code size for Travis CI
2015-04-16 16:44:15 +08:00
ardafu 61609a5bf0 [bsp][sam9260] Fix Keil compile error. 2015-04-16 14:15:00 +08:00
ardafu f4555bf711 1. [bsp][sam9260] Fix the path of gcc tool chain for travis-ci
2. [bsp][sam9260] Remove unused ld file
3. [bsp][sam9260] Add J-Link debug scripts
2015-04-16 11:00:48 +08:00
ardafu cf3d639fcb [libcpu][arm926] Define vector table start at BSP/{board}/platform/ assemble INC files. 2015-04-16 10:35:12 +08:00
ardafu a478e0b41a 1. [bsp][sam9260] Switch to use Sourcery Lite GCC tool chain. 2015-04-15 17:21:41 +08:00
ardafu 6aa242645f 1. [bsp][sam9260] Fix the bug that auto reset after boot 20s. Disable watchdog in rt_lovel_level_init function.
2. [bsp][sam9260] Modify SCONS scripts to support IAR tool chain.
3. [bsp][sam9260] Move link strips in to folder link_scripts.
4. [libcpu][arm926] Add copy right to source file and format code.
2015-04-15 16:13:30 +08:00
ardafu 39452b67b0 1. [cpu] split ARM926 cpu code from AT91SAM9260 BSP 2015-04-14 21:56:34 +08:00
ItsEddy ced7d5a34f [DeviceDriver] stm32: Remove explicity clear of RXNE flag
According to STM32 Manual, the USART RXNE flag will be clear automatically after
read to the USART_DR register[1], so the call to USART_ClearITPendingBit is
unnecessary.

[1]: See RM0090 Reference Manual p.992, Bit 5
2015-04-07 21:09:22 +08:00
yangfasheng 75ede181aa update nrf51822 in bsp 2015-04-06 14:21:25 +08:00
yangfasheng 3dc20907c3 add nrf51822 to bsp 2015-04-06 13:46:14 +08:00
heyuanjie87 d4ec1ed5f9 [bsp]stm32f107/.uvprojx:fix mcu type error 2015-04-03 21:18:10 +08:00
陈豪 | Jacob Chen 7aeb40204c Update bsp.h 2015-03-29 21:16:38 +08:00
陈豪 | Jacob Chen d642d915eb [bsp]x86:fix compile error when use bsp.h in c++ 2015-03-29 18:42:31 +08:00
陈豪 | Jacob Chen 6868130cfd [bsp]x86:fix compile error when use i386.h in c++ 2015-03-29 18:41:44 +08:00
Bright Pan 93122aaa19 [BSP]stm32f10x: Fix gpio driver for 144pins and 64pins 2015-03-25 10:44:02 +08:00
Bright Pan c377690989 [BSP]stm32f10x: Add gpio driver for pin driver frame 2015-03-24 16:30:37 +08:00
unknown 351dd923e3 bsp stm32f10x add uart4 drive 2015-03-11 15:24:09 +08:00
Bernard Xiong a2fbc5f5a8 Merge pull request #431 from ArdaFu/master
[BSP] TM4C129X Fix bugs and errors.
2015-03-11 00:03:53 +08:00
Bright Pan a61d228b76 Nanopb is a plain-C implementation of Google's Protocol Buffers data
format. It is targeted at 32 bit microcontrollers, but is also fit for
other embedded systems with tight (2-10 kB ROM, <1 kB RAM) memory
constraints.(http://koti.kapsi.fi/jpa/nanopb/)

How to use the example:
	1. move examples/nanopb to bsp/xxxx/
	2. enable macro RT_USING_NANOPB in rtconfig.h
	3. regenerate the project file (scons --target=xxxx)
	4. rebuild the project
2015-03-10 18:24:17 +08:00
ardafu 1daa96a214 1. [BSP] TM4C129x : Fix the bug that enable global INT before OS scheduler start the fist thread.
2. [BSP] TM4C129x : According to LunchPad, change device id from TM4C1294XCNZAD   to TM4C1294NCPDT
2015-03-10 12:13:14 +08:00
Arda 4a9c3fae29 Merge pull request #3 from RT-Thread/master
sync with official source
2015-03-10 12:01:25 +08:00
Bernard Xiong 584efccad1 Update application.c 2015-03-04 10:32:48 +08:00
prife c6f88ef726 dfs_win32: add seekdir support 2015-02-02 01:21:40 +08:00
armink 79c37cb30f [BSP]changed stm32f10x uart driver. make sure the serial transmit
complete in putc().
2015-01-31 11:18:59 +08:00
armink 131c41d182 [BSP]support 9 data bits and parity config for stm32f10x uart driver. 2015-01-31 11:14:10 +08:00
armink 1213dec3c9 fix #347 2015-01-31 11:05:00 +08:00
bernard 71930b0995 [BSP] Fix the interrupt issue in USART driver of STM32F4. 2015-01-25 16:41:05 +08:00
Bernard Xiong c1f47af9f1 [BSP] remove RT_USING_VMM in default and let it run in QEMU. 2015-01-21 14:17:36 +08:00
Bernard Xiong 86358d0830 [BSP] code cleanup for usart and gpio driver in STM32F4 2015-01-21 12:36:34 +08:00
Bernard Xiong 756f2c67ab [BSP] rename the rt_hw_usart_init to stm32_hw_usart_init 2015-01-20 16:02:33 +08:00
Bernard Xiong bff1bb3d7b [BSP] update MDK project file for STM32F4 2015-01-20 15:58:37 +08:00
Bernard Xiong 080c8912ea Merge remote-tracking branch 'upstream/master' 2015-01-20 15:56:52 +08:00
Bernard Xiong 9261c37e0e [BSP] Add GPIO driver for STM32F4 2015-01-20 07:55:52 +00:00
Bernard Xiong 2b7600bdf3 [BSP] update MDK project file for STM32F4 2015-01-20 15:52:39 +08:00
Bernard Xiong 6acf4a4528 [BSP] Update UART and GPIO driver with framework in STM32F4 2015-01-20 07:23:59 +00:00
Grissiom c565925169 bsp/{cortex-M}: fix the SysTick_Config
SysTick_Config substract one inside the function. So there is no need to
substract one when passing the parameter.
2015-01-09 15:26:06 +08:00
Bernard Xiong 56ab0995c1 Merge pull request #409 from grissiom/lpc43xx
Lpc43xx
2015-01-09 10:00:25 +08:00
Grissiom 81b37fb1f9 lpc43xx: add copy-right info in vbus drivers 2015-01-08 17:16:26 +08:00
Grissiom 05a01884e6 lpc43xx: fix clock configure 2015-01-07 17:15:50 +08:00
Grissiom 11026d0579 lpc43xx: clean the .o before building M0 and M4
SCons will omit the file in parent dir of SConstruct somehow and build
the object files in that dir instead of in variant dir. This cause
problem because we cannot mix the object files between M0 and M4 which
SCons failed to rebuild. So we have to manually remove the files before
building.
2015-01-07 17:15:49 +08:00
Grissiom 17a75eaa02 lpc43xx: remove the fpu settings in startup_LPC43xx_M0 2015-01-07 17:15:49 +08:00
Grissiom 22938a93ef lpc43xx: fix some compile warnings 2015-01-07 17:15:49 +08:00
Grissiom f7415e595e VBus: added
Currently only lpc43xx is supported.
2015-01-07 17:15:49 +08:00
Grissiom fcff552626 lpc43xx: fix the SConscripts 2015-01-07 10:25:44 +08:00
Grissiom 03a2847f12 lpc43xx: fix some compile warnings 2015-01-07 10:25:44 +08:00
Grissiom 7965708050 lpc43xx: add -Wall 2015-01-07 10:25:44 +08:00
Grissiom df31744178 lpc43xx: fix the M0 project template 2015-01-07 10:25:43 +08:00
Coing 70aaf4237f fix project.uvoptx can't open,recreate the project.uvoptx. this commit is for post 2015-01-06 21:54:47 +08:00
Grissiom 0ca281c162 lpc43xx: add flash linker script for GCC 2015-01-06 13:40:46 +08:00
Grissiom bcbe180886 lpc43xx: fix the default RTT_ROOT in SConstruct 2015-01-06 13:39:54 +08:00
Grissiom fca84daa9d lpc43xx: fix the startup code for GCC 2015-01-06 12:42:12 +08:00
Grissiom 833339e1c6 lpc43xx: output a newline in the header file
Some compiler is brain-damaged that it will yeild a warning for headers
not ended with a newline. Yes, I mean you, Keil.
2015-01-06 11:03:01 +08:00
Grissiom ff3ab9c0ab lpc43xx: add readme 2015-01-06 10:46:32 +08:00
Grissiom 090adcf4c0 lpc43xx: don't set the Clock again in M0 core
M0 core is always booted by the M4 core. It means that if we are running
in M0, the clock is always configured.
2015-01-06 10:46:32 +08:00
Grissiom 21ef733251 lpc43xx: use the RIT timer as SysTick in M0 core 2015-01-06 10:46:31 +08:00
Grissiom 773a884a4b lpc43xx: move board.c into M0/M4 2015-01-06 10:46:31 +08:00
Grissiom d2e4050a70 lpc43xx: update template.uvproj and add sct files 2015-01-06 10:46:31 +08:00
Grissiom 959f6c695f lpc43xx: move the application code into its own space 2015-01-06 10:46:31 +08:00
Grissiom 5542af8b7c lpc43xx/driver: fix the VTOR setting 2015-01-06 10:25:43 +08:00
Grissiom f609a63564 lpc43xx: add uart3 support 2015-01-06 10:25:43 +08:00
Grissiom a447b5f3cf lpc43xx: refactor uart drivers 2015-01-06 10:25:43 +08:00
unknown a0b71c1c77 fix stm32f407 uart3 TX config error 2014-12-30 14:18:05 +08:00
pangwei 3c1c093230 RT_TIMER_TICK_PER_SECOND in rtconfig.h for softtime scheduler ,maybe is not used. 2014-12-23 09:44:13 +08:00
Coing 056b3bed4f create project.uvprojx by scons mdk5 and delete some useless files 2014-12-17 20:34:19 +08:00
Coing f97062baa7 create project.uvprojx by scons and use mdk5 2014-12-17 20:27:39 +08:00
Coing e9825dc47f change project.uvprojx C/C++ path
Before the project was established with RB_ROOT
2014-12-16 20:49:49 +08:00
Coing 41f70431f5 add power_lib, Last ignored 2014-12-16 19:57:12 +08:00
Coing e4fdb84e96 add bsp lpc54102 2014-12-16 19:54:29 +08:00
Bernard Xiong 82ef447e44 [BSP] Update lpc176x GNU link script 2014-12-07 03:02:50 +00:00
Bright Pan 3abf1fd5ba Add uart driver and finsh function 2014-11-29 12:34:18 +08:00
Bright Pan d50ab16e6f Port to gcc and fix keil project 2014-11-25 01:08:13 +08:00
Arda 143d3b8224 Merge pull request #2 from RT-Thread/master
update from official source
2014-11-24 11:57:31 +08:00
Bright Pan 9957f94d0b [BSP] Port to NuMicro M051 Series support for Nuvoton corp.
1. adapt to M052xDN/xDE, M054xDN/xDE, M058xDN/xDE, M0516/xDN/xDE.
    2. support heap memory management.
2014-11-23 05:18:15 +08:00
Bernard Xiong 9ecd18411f Merge pull request #381 from bright-pan/master
Add mdk5 building
2014-11-19 18:43:40 +08:00
Bright Pan 3c65a522fd Add mdk5 project for stm32 bsps 2014-11-19 15:28:56 +08:00
Grissiom 6c1c83e6da efm32: return empty variable instead of Return('') 2014-11-19 13:20:32 +08:00
limxuzheng cbec4313b1 add rx62n driver library file 2014-11-12 01:18:33 +08:00
limxuzheng 4fea46c83c support rx62n 2014-11-12 01:09:43 +08:00
xiaonong d5332e2799 bsp:fix the bug of lpc43xx uart interrupt enable in driver initialize. 2014-11-03 23:02:36 +08:00
Bernard Xiong b6a9fad9ee [BSP] Add GCC compiler support for mb9bf568r 2014-11-03 13:23:56 +08:00
aozima 1f47eb88c8 [CME_M7] update gcc compile script. 2014-11-02 14:51:52 +08:00
aozima 4c31c22802 [CME_M7] update gcc linker script. 2014-11-02 14:51:47 +08:00
aozima c6d9d6e3f9 [CME_M7] change file name to lower case. 2014-11-02 14:50:14 +08:00
aozima 4c1eff52e2 [CME_M7] add GCC compile support. 2014-11-02 13:52:16 +08:00
Bernard Xiong fdfb4dad79 [BSP] fix GCC compiling issue in LPC408x bsp 2014-11-01 23:17:04 +08:00
Bernard Xiong 38be10cf89 [BSP] fix GCC compiling issue when enable C++ support 2014-11-01 14:06:51 +08:00
Bernard Xiong 796c49347e [BSP] Fix the gcc compiling issue in LPC408x bsp 2014-11-01 09:26:56 +08:00
Bernard Xiong 3bf721a6fb [BSP] Update C++ compiling options 2014-11-01 09:18:21 +08:00
Bernard Xiong 1b793ad039 [BSP] use RT_USING_LIBC instead of RT_USING_NEWLIB 2014-11-01 09:15:07 +08:00
Bernard Xiong 692e597847 [BSP] use RT_USING_LIBC instead of RT_USING_NEWLIB 2014-10-29 13:32:36 +00:00
yangfasheng e5953e671c Add mb9bf568r to bsp 2014-10-20 10:10:18 +08:00
Bernard Xiong 8c2008b050 [BSP] fix compiling error for beaglebone board 2014-09-25 09:42:21 +08:00
Bernard Xiong ab20554254 [BSP] change UART flag when register device driver. 2014-09-24 11:04:57 +08:00
Bernard Xiong 640db6bdbd [BSP] change UART flag when register device driver. 2014-09-24 11:01:07 +08:00
Bernard Xiong ec64b60c06 Merge pull request #343 from wzyy2/master
[GDB stub]add GDB stub
2014-09-24 10:59:14 +08:00
aozima f40d11e9bc update project. 2014-09-21 21:51:13 +08:00
aozima 4b99afc2b9 update EMAC driver. 2014-09-21 21:50:26 +08:00
aozima 89bcb70e5f add delay for PHY check. 2014-09-21 21:49:43 +08:00
aozima ff4fcd5b56 add EMAC driver. 2014-09-21 21:48:26 +08:00
aozima a8106442e1 update uart driver. 2014-09-21 21:46:50 +08:00
aozima 9da1668cfe import CM3-M7 project. 2014-09-21 21:45:36 +08:00
陈豪 daac5388af [bsp]change BBB uart flag 2014-09-20 20:56:02 +08:00
陈豪 2a1e7d56fc [bsp]Comment stm32f407 uart6 2014-09-20 01:44:56 +08:00
陈豪 62af08370b Merge pull request #2 from RT-Thread/master
sync
2014-09-20 01:19:42 +08:00
armink 77b214f1bc [BSP]Add serial receive overflow interrupt to stm32f10x ISR. 2014-09-13 11:53:21 +08:00
armink 04c4e5d9a4 [BSP]Fixes two writing mistake for stm32f10x. 2014-09-13 11:50:54 +08:00
tcz717 537beefa70 拼写错误
drvers->drivers
2014-09-08 19:53:55 +08:00
Bernard Xiong a5119d696c [BSP] Add RT_DEVICE_CTRL_BLK_GETGEOME command handling in device control of LPC176x bsp 2014-08-27 09:23:32 +08:00
Bernard Xiong a55fd4b9c1 Merge pull request #314 from grissiom/ls1b
Ls1b
2014-08-19 10:48:49 +08:00
Grissiom 39ac8baeac ls1bdev: format code in startup.c 2014-08-18 15:19:06 +08:00
Grissiom bfc140826a ls1bdev: init application after other things initialized 2014-08-18 15:17:36 +08:00
Grissiom 259cfdc79f ls1bdev: don't hardcode the uart base address in rt_hw_console_output 2014-08-18 15:14:22 +08:00
Grissiom f1bc40d697 ls1bdev: add uart3 support 2014-08-18 15:13:49 +08:00
MikeMao 45f0e289c6 [BSP]BM9BF618S:fix timer initialization issue. 2014-08-18 11:18:56 +08:00
MikeMao 45b2f2f07b [BSP]BM9BF618S:Fix timer initialization issue。 2014-08-18 10:52:17 +08:00
MikeMao b98c70fc3c test 2014-08-18 10:48:11 +08:00
MikeMao 915f1adc93 [BSP]BM9BF618S:fix timer initialization issue. 2014-08-18 10:11:32 +08:00
MikeMao 04a7c95037 [BSP]BM9BF618S:Fix timer initialization issue 2014-08-15 20:13:54 +08:00
陈豪 1f05b87e5a [bsp]stm32f4xx typo 2014-08-12 20:30:55 +08:00
陈豪 4cf77e255f [bsp]add gdb support for BBB 2014-08-12 18:39:53 +08:00
陈豪 ae8e46de1f Revert "[bsp]add gdb support for BBB"
This reverts commit a966dd3c38.
2014-08-12 18:27:50 +08:00
陈豪 a966dd3c38 [bsp]add gdb support for BBB 2014-08-12 18:27:22 +08:00
陈豪 ae3b6583ce [bsp]add gdb support for stm32f4xx 2014-08-12 18:22:04 +08:00
ArdaFu bc2a890ab0 [BSP] TM4C129X: fix the bug that components_init do not work in IAR project
1. modify each dirver's INIT_EXPORT micro.
2. modify the lwip parameters' in rtconfig.h
3. insert keep section .rti_fn* in IAR link file
4. change part id from TM4C129XNCZAD to TM4C1294NCPDT
2014-07-31 14:11:26 +08:00
Bernard Xiong 0fafa355f3 Merge pull request #307 from ArdaFu/master
[BSP] tm4c129x Add EMAC/PHY driver
2014-07-27 06:14:35 +08:00
ArdaFu baf608f156 [BSP] tm4c129x: fix compile bug when turn RT_USING_LWIP
1. Resize RT_LWIP_SEG_NUM drom 8 to 12
2. modify gcc compile switch, using C99
2014-07-25 23:25:32 +08:00
ArdaFu 3879133d90 [BSP] tm4c129x add eth driver
1. Add ETH MAC driver using DMA for Tx and Rx lwip pBuf.
2. Modify the tivaware emac library to fix the bug that PHY read is not stable when sysclk is 120MHz
3. In PHY IRQ handler, insert a dummy reading (REG_BMSR) before read PHY_STS to force update STS register.
2014-07-25 19:07:25 +08:00
ArdaFu 1e396417d8 Revert "[BSP] tm4c129x:"
This reverts commit 666d12988a.
2014-07-25 19:02:37 +08:00
ArdaFu 666d12988a [BSP] tm4c129x:
1. Add ETH MAC driver using DMA for Tx and Rx lwip pBuf.
2. Modify the tivaware emac library to fix the bug that PHY read is not stable when sysclk is 120MHz
3. In PHY IRQ handler, insert a dummy reading (REG_BMSR) before read PHY_STS to force update STS register.
2014-07-25 18:58:56 +08:00
Bernard Xiong 4e624d857e [bsp] Fix MB9BF618s scons building issue 2014-07-21 22:02:27 +08:00
Bernard Xiong e0c56211b4 Merge pull request #304 from ArdaFu/master
[bsp] Add BSP for TM4C1294XL (TI Tiva C Series Connected LaunchPad)
2014-07-21 21:35:08 +08:00
ArdaFu b21c35df63 [bsp] Add IAR EWARM project template for SCONS project auto generation. 2014-07-21 19:09:15 +08:00
bernard 2a269a8a2a [bsp] Fix MB9BF618S building issue. 2014-07-21 07:28:44 +08:00
bernard 66c2d28fbf [bsp] Add MB9BF618 porting. 2014-07-21 06:59:50 +08:00
bernard 9572d3e46a [bsp] Fix STM32F10x compiling warning. 2014-07-21 06:23:50 +08:00
Arda d1a4f2e8fe Merge pull request #1 from RT-Thread/master
pull rt-thread master
2014-07-20 00:27:39 +08:00
ArdaFu f74d7f16c0 [bsp] modify the uart_driver to fit the new rt-thread serial device driver framework. Modify the template.uvproj for auto generate MDK project. 2014-07-20 00:16:37 +08:00
bernard 3610e38050 [BSP] remove rt_device_init_all() invoking. 2014-07-19 06:52:00 +08:00
bernard 21b9e64cd6 [BSP] remove COMPONENTS_INIT for lpc176x and stm32f107 porting. 2014-07-19 06:51:43 +08:00
bernard 26118499e0 [BSP] remove rt_device_init_all() invoking. 2014-07-19 06:50:00 +08:00
ArdaFu 3a1c1c4500 [bsp] Add BSP for TM4C1294XL (TI Tiva C Series Connected LaunchPad) 2014-07-18 17:17:56 +08:00
bernard 74377b2650 [Drivers] re-write serial framework. 2014-07-18 07:21:09 +08:00
bernard c45f5a2490 [Drivers] re-write serial framework. 2014-07-18 06:45:54 +08:00
nongxiaoming 3e50b6ac67 xplorer4330:add the linker script file. 2014-07-15 15:51:32 +08:00
nongxiaoming 000daf03e2 xplorer4330:update the startup code. 2014-07-15 15:50:58 +08:00
nongxiaoming 7b32a2bd31 lpc43xx:add the linker script file. 2014-07-15 15:42:22 +08:00
nongxiaoming 67e79c3e97 lpc43xx:update the startup code. 2014-07-15 15:40:05 +08:00
Bernard Xiong f301643494 [bsp] Fix compiling issue for LPC43xx 2014-07-15 07:36:59 +08:00
nongxiaoming 5995b7a2a1 update the xplorer4330 bsp. 2014-07-13 15:17:26 +08:00
nongxiaoming e152b68e33 add the lpc43xx bsp support. 2014-07-13 14:13:39 +08:00
Bernard Xiong 2604440ceb [bsp] Remove none-released porting 2014-07-12 11:08:38 +08:00
Bernard Xiong 23686587ff [bsp] Fix frdm-k64f compiling issue 2014-07-12 10:39:12 +08:00
Bernard Xiong f8d2f880c3 [bsp] Remove NUC140 porting 2014-07-12 10:23:41 +08:00
Bernard Xiong 5c5928f822 [bsp] Remove none-released bsp 2014-07-12 09:40:37 +08:00
bernard 7e63d17653 [bsp] Change the output files directory in LPC2478. 2014-07-12 09:28:28 +08:00
geniusgogo 1546274d89 fixed bsp/frdm-k64f gcc compile 2014-07-03 22:08:29 +08:00
geniusgogo 857ac7e6e6 rename frdm-k64f bsp, support gcc compile 2014-07-02 22:42:29 +08:00
geniusgogo 6b7637f3b4 rename frdm-k64f 2014-07-02 21:23:42 +08:00
geniusgogo a16a512ebd change the uart name 2014-06-29 00:50:37 +08:00
geniusgogo 8f7ec645fd add Freescale k64F bsp. FRDM-K64 based 2014-06-29 00:34:20 +08:00
Bernard Xiong ee78b6190c Merge pull request #288 from grissiom/zynq-7000
bsp: add zynq7000
2014-06-27 14:15:11 +08:00
Grissiom 97fb91dcc6 bsp: add zynq7000 2014-06-27 14:12:36 +08:00
Bernard Xiong e175b0724d [BSP] Fix compiling error 2014-06-27 13:35:12 +08:00
Grissiom 2c5cfe4bcf ls1b: cleanup code 2014-05-29 12:35:17 +08:00
Grissiom 6f53402e03 ls1b: add nostartfiles to LFLAGS
We don't need the crt0 from the toolchain.
2014-05-29 12:32:46 +08:00
Grissiom a87ae1abee ls1b: add rt_init section 2014-05-29 12:30:39 +08:00
Bernard Xiong adbe1ea390 Merge pull request #282 from ralfak/patch-4
Update SConscript
2014-05-22 22:31:24 +08:00
Bernard Xiong 8c3f9b950e Merge pull request #281 from ralfak/patch-3
Update stm32_rom.ld
2014-05-22 22:30:53 +08:00
ralfak 4febbb20eb Update SConscript 2014-05-22 21:02:13 +08:00
ralfak aed251280a Update stm32_rom.ld 2014-05-22 20:56:40 +08:00
ralfak 1f5e80a51a Update rtconfig.py
add keil fpu support and gcc fpu support in scons building
2014-05-22 20:52:48 +08:00
aozima e963de9aa1 update stm32f107 ethernet driver: add more debug cmd. 2014-05-16 18:37:13 +08:00
aozima e32c1afa3a update stm32f107 ethernet driver: optimize eth_rx, use memcpy. 2014-05-15 21:46:26 +08:00
aozima 072fd38a43 update stm32f107 ethernet driver: update dump function. 2014-05-15 21:36:40 +08:00
aozima f0e5ee2d32 update stm32f107 ethernet driver: update ETH GPIO setting. 2014-05-15 21:30:25 +08:00
aozima f28aa5e748 update stm32f107 ethernet driver: update hardware checksum setting. 2014-05-15 20:45:55 +08:00
aozima a5b99acedf update stm32f107 ethernet driver: update MII/RMII setting. 2014-05-15 20:39:43 +08:00
aozima d01e0e9817 format code by Astyle. 2014-05-15 20:32:16 +08:00
Bernard Xiong 075f79708a [bsp/stm32f40x] code cleanup. 2014-04-27 10:02:52 +08:00
Bernard Xiong ce01270632 Merge pull request #272 from wzyy2/master
[bsp/stm32f40x] code style change
2014-04-25 21:23:05 +08:00
yuht 764c271c2c Update emac.c
Fix PHY chip(dp83848c) init failed without Active Network.
2014-04-25 19:08:29 +08:00
wzyy2 9d07b6708f [bsp/stm32f40x] code style change
TAB to 4 space
2014-04-25 18:37:06 +08:00
陈豪 5a7e80bd6b [bsp/stm32f40x] fix the uart3 2014-04-25 16:10:41 +08:00
Grissiom ab4d18a137 [bsp/taihu] fix the link error
The taihu.lds hardcoded the path of start_gcc.o. Change it as the layout
of build/ has change by commit a03816ef9a.
2014-04-14 18:01:50 +08:00
Grissiom 7d7390a188 [bsp/rva8] add mission header in rtt_api.h 2014-04-07 11:57:28 +08:00
Grissiom 430f85df7c [bsp/rva8] make sure $BUILD_ROOT_DIR/output/target/vmm is a folder 2014-04-07 11:35:22 +08:00
Grissiom 023a0423ba [bsp/rva8] cleanup drivers/SConscript 2014-04-07 11:18:58 +08:00
Grissiom 28f11fdd7b [vmm] add realview-pb-a8 VMM support 2014-04-03 17:59:14 +08:00
nongxiaoming c20ec19a96 modify the pixel format to RGB565 in sdl_fb.c 2014-03-12 16:36:39 +08:00
Grissiom f615c1e92d Revert "Merge pull request #241 from bright-pan/master"
This reverts commit 5aeedc4f3a, reversing
changes made to 3d80e414ff.

This merge breaks every uart driver in all BSPs. @bright-pan , is there
any way to get this done without breaking existing code?
2014-03-03 12:07:13 +08:00
Bright Pan a4cd949519 Fix uart device driver for gpio remap and hardware flow control.
Add uart4 and uart5 device driver.
2014-02-26 11:22:08 +08:00
Bernard Xiong ff302f2863 Merge pull request #227 from RTsien/master
Add supports for UART0 to UART5 of beaglebone(black)
2014-02-25 09:20:56 +08:00
prife d8f06c8542 simulator: fix compile errors in nand driver(512+16) 2014-02-16 14:30:58 +08:00
prife a6fa98f1ee simulator: fix exit issue when close RTGUI window 2014-02-09 11:24:36 +08:00
RTsien d71b86c750 friendly for uart count under 6 2014-01-11 22:03:51 +08:00
RTsien ef09b822b7 add RT_USING_UARTx and set console via uart0 2014-01-11 15:09:43 +08:00
RTsien faf3515e6b support UART0 to UART5 straightly 2014-01-11 15:05:51 +08:00
RTsien b9c6605876 add operating definitions of UART0 to UART5 2014-01-11 15:04:19 +08:00
Grissiom 0ddf1023f4 Revert "BBB: init timer on startup"
This reverts commit 9cdf989c59. The timer
has been initialized already.
2014-01-06 21:39:17 +08:00
lgnq dd3d96e83a [BSP] fixed a compiling warning with GCC 2014-01-04 23:07:55 +08:00
Bernard Xiong 053f579eeb [BSP] change file name for Linux building 2014-01-04 21:49:31 +08:00
Bernard Xiong 28246abb5a [BSP] [ci skip] fix list issue in SConscript 2014-01-04 07:31:41 +08:00
nongxiaoming a043a74c7b add the bsp for lpc407x/408x 2014-01-02 18:30:13 +08:00
Grissiom 9cdf989c59 BBB: init timer on startup
It could fix the problem encountered in
https://groups.google.com/forum/?hl=en#!topic/rt-thread-cnusers/tpqZOMsIp8I
2013-12-27 16:25:14 +08:00
prife 712d9428ed simulator: disable RTGUI in rtconfig.h
clean code in SConstruct and application.c, disable RTGUI in rtconfig.h
by default.
2013-12-08 20:39:19 +08:00
Bright Pan 9691c659c8 It is a big patch for stm32f0x, see the fellow :
1. fix heap management for stm32f0xx(SRAM=8k)
    2. add USART1, USART2 driver for stm32f051R8
    3. fix finsh support for stm32f0x
    4. fix board components initial for stm32f0x and open debug msg
    5. add led driver(pc9) and test thread for stm32f0discovery board
    6. add init thread for stm32f0x do components initial
    7. add rcc initial for stm32f0x in rt_hw_board_init()
    8. add print rcc freq information function

the console output example is:
    SYSCLK_Frequency is 48000000HZ
    PCLK_Frequency is 48000000HZ
    HCLK_Frequency is 48000000HZ
    CECCLK_Frequency is 32786HZ
    ADCCLK_Frequency is 14000000HZ
    USART1CLK_Frequency is 48000000HZ
    I2C1CLK_Frequency is 8000000HZ
    SystemCoreClock is 48000000HZ
    initialize rti_start:0 done

    \ | /
    - RT -     Thread Operating System
    / | \     1.2.0 build Nov 15 2013
    2006 - 2013 Copyright by rt-thread team
    do components intialization.
    initialize rti_board_end:0 done
    initialize rt_hw_led_init:32768 done
    initialize finsh_system_init:0 done
    finsh>>
2013-11-15 14:05:30 +08:00
prife 0701b57eaa Merge pull request #188 from prife/master
simulatr: print error messages when RTT_RTGUI is invalid
2013-10-28 07:59:35 -07:00
prife a12892af31 simulatr: print error messages when RTT_RTGUI is invalid 2013-10-26 14:00:24 +08:00
Grissiom 400b96d2d9 k60: add rt_interrupt_{enter,leave} in IRQHandler 2013-10-25 20:32:48 +08:00
Bernard Xiong 5f61b8ce6c Merge pull request #184 from caicai07/k60-fix
K60: fix compile error
2013-10-22 23:15:36 -07:00
caicai 15a769c6e4 K60: fix compile error 2013-10-23 12:08:42 +08:00
Bernard Xiong a3bf5e2d9b Merge pull request #181 from grissiom/rm48x50-next
Rm48x50 next
2013-10-22 16:22:02 -07:00
Grissiom 2a9e893c79 initialize timer in bsp
With new timer algorithm, timer should be initialized during startup. So
add them to the bsps. Use these commands to get which bsp is missing
calling the function:

    % git grep rt_system_timer_init bsp|sed -n 's|bsp/\([^/]*\).*|\1|p' | sort | uniq > have_tm_init
    % ls -1 bsp |sed -n 's|\([^/]*\).*|\1|p' | sort > all_bsp
    % comm -3 all_bsp have_tm_init
    beaglebone
    lpc176x
    lpc178x
    ls1bdev
    mb9bf506r
    stm32f10x
    xplorer4330
2013-10-21 00:31:10 +08:00
Grissiom d3648dbc9f rm48x50: cleanup sys_startup.c 2013-10-20 18:51:47 +08:00
Grissiom 81ab083ae5 rm48: move some asm file to libcpu 2013-10-20 18:51:46 +08:00
Grissiom 9568669109 rm48x50: add GCC support 2013-10-20 18:51:45 +08:00
Grissiom 2f4329430d rm48x50: cleanup HALCoGen code 2013-10-20 04:04:59 +08:00
Grissiom 6bcf1bc48b rm48x50: fix the prototype of finsh_system_init 2013-10-19 21:10:49 +08:00
Bernard Xiong a0ffbc1fb8 Merge pull request #179 from grissiom/finsh-ex
Finsh ex
2013-10-18 17:06:36 -07:00
Grissiom 1e01252824 finsh: refactor the control key handling
We split the history handling form the key handling. So we could handle
the direction key even if the history is disabled. As a "side effect", I
also remove the unnecessary "use_history" bit.
2013-10-18 22:36:51 +08:00
prife 3a33906ab1 simulator/jffs2: remove _TIME_T_DEFINED when built by VC++
_TIME_T_DEFINED was pre-defined in order to build jffs2 with VC.
While it may cause many side effects.
2013-10-17 23:47:08 +08:00
prife 5641360b49 simulator: add createdef.py to generate def file for VS
Now we can get rid off Mingw to create def file. To create def file, one
should run:

    scons --def

in the bsp/simulator.
2013-10-14 22:53:59 +08:00
bernard d092105f3a Add tap netif driver 2013-10-10 00:41:36 +09:00
prife 821ab3b9aa scons script: support to generate vs2012 project xml
rename template.vcproj to template_vs2005.vcproj
add template_vs2012.vcxproj
NOTE: the vs2012.py is ugly, just can work.
2013-10-01 15:37:34 +08:00
bernard 09b105ecf7 use UART0 as console 2013-09-21 17:18:45 +08:00
bernard 9d09cd9f23 Import beaglebone porting 2013-09-20 21:20:51 +08:00
Grissiom 35cac170fa simulator: add clang-analyze tool support
When CROSS_TOOL or 'RTT_CC' env is setted to 'clang-analyze', it will
use Clang to check the codes.
2013-09-07 15:15:48 +08:00
Grissiom 18692c29b8 simulator: get CROSS_TOOL and EXEC_PATH from env
Simulator get it's way to Travis CI ready.
2013-09-06 21:54:27 +08:00
Grissiom c6e81b58d9 simulator: move SDL setting staff into drivers/SConstruct
This could not only make a cleaner SConstruct, but could also benefit
RTGUI building.
2013-09-06 21:49:53 +08:00
Grissiom d70761222c stm32f10x: fix the rtgui initialization
The rtgui_system_server_init prototype is wrong. And if we use
RT_USING_COMPONENTS_INIT, there is no need to call
rtgui_system_server_init again.
2013-09-03 20:09:45 +08:00
Grissiom 6563ae6cab simulator: init SDL after rt_components_init
SDL may use DFS to open files. It should be run after
rt_components_init.
2013-08-31 16:46:36 +08:00
Grissiom 3d0c0af371 simulator: fix SDL initialization under Linux
rt_hw_sdl_start should wait untill the rtgui_graphic_set_device is
called int the sdl_loop. Use pthread_cond_wait to achieve this in Linux.
2013-08-31 16:30:32 +08:00
Bernard Xiong e301d14979 Merge pull request #132 from MrVan/sep6200
SEP6200 Support
2013-07-29 22:35:31 -07:00
Bernard Xiong a431a25699 Merge pull request #135 from reynoldxu/K60Fxxxx
K60 fxxxx
2013-07-25 03:55:52 -07:00
reynoldxu 151ce31be8 delete K60.pro 2013-07-24 18:38:16 +08:00
reynoldxu 8f0fffc132 fix a bug in rt_hw_uart_init() where u CAN NOT init some feature. 2013-07-24 18:34:07 +08:00
reynoldxu 421d980b07 add NRZ feature on K60 2013-07-24 18:32:09 +08:00
reynoldxu a927b48049 modify codes for fractional divider 2013-07-24 18:31:26 +08:00
prife 8846ac8c40 simulator: update to support simulator for linux 2013-07-22 23:02:03 +08:00
weety 37ac4855da Embedded GPLv2 license. 2013-07-21 20:01:24 +08:00
weety 3bdbf640b7 update at91sam9260 project directory structure. 2013-07-21 17:19:30 +08:00
weety 885301bb14 update AT91SAM9260 usart driver, using serial driver component. 2013-07-21 15:01:42 +08:00
Peng Fan 82bc21ff7b Cleanup and add licencse 2013-07-17 18:42:19 +08:00
Peng Fan 73beced22a SEP6200 Support 2013-07-17 13:37:31 +08:00
aozima 13c30f9269 update usart driver: use serial driver component. 2013-07-12 23:32:48 +08:00
aozima b12f6bbdee cleanup code. 2013-07-12 23:28:24 +08:00
aozima fc9d7926e2 update project support auto initial. 2013-07-12 23:09:12 +08:00
aozima c44b02f08c support auto initial. 2013-07-12 23:08:46 +08:00
aozima 8890e83aa9 update DM9000 ethernet driver for auto initial. 2013-07-12 22:54:53 +08:00
aozima 020d05ca92 update SD card driver for auto initial. 2013-07-12 22:54:48 +08:00
aozima 5183697fd4 update linker script for components auto initial. 2013-07-12 22:50:50 +08:00
aozima e749fb6e9a cleanup code. 2013-07-12 18:38:30 +08:00
aozima a183f1fbe9 update stm32f10x project. 2013-07-12 18:31:42 +08:00
aozima 8c2a11c234 update stm32f10x project directory structure. 2013-07-12 18:16:43 +08:00
aozima f0d03af696 remove unused file. 2013-07-12 17:51:35 +08:00
Bernard Xiong 9b45002f27 Merge pull request #129 from BernardXiong/master
fix compiling error in Linux.
2013-07-12 00:34:02 -07:00
Bernard Xiong de5d4cbb94 fix compiling error in Linux 2013-07-12 03:32:59 -04:00
Bernard Xiong ba0e1f6f18 Merge pull request #128 from prife/sim-init
simulator: update code for new component initialization support on mingw
2013-07-11 15:55:34 -07:00
prife 02e74583c7 simulator: update code for new component initialization support on mingw 2013-07-11 23:31:34 +08:00
aozima 8711a0c986 update SConstruct. 2013-07-11 23:11:16 +08:00
aozima 5779f0abf0 CPPPATH should be string. 2013-07-11 23:10:32 +08:00
aozima cc8301d0f1 update linker script for components auto initial. 2013-07-11 23:07:16 +08:00
reynoldxu 0f6131de40 add K60Fxxxx bsp for TWR-K60F120M board. 2013-07-11 18:15:38 +08:00
Grissiom b9f9c3b2a4 remove RT_LWIP_TCP_SND_BUF setting
When not configured in rtconfig.h, lwipopt.h will give us a reasonable
value(TCP_MSS * 2).
2013-07-04 18:04:47 +08:00
Bernard Xiong 1dd7e05336 fix lwip 1.4.1 compiling error when enable component init 2013-06-30 22:50:33 +08:00
Bernard Xiong e468c6efdc Merge pull request #112 from aozima/pulls
update libcpu/arm/cortex-m4: support lazy stack optimized.
2013-06-23 08:54:59 -07:00
Bernard Xiong f83a34b85e Update rtthread-lpc17xx.ld 2013-06-24 00:45:10 +09:00
aozima 90ab472d61 update scons script: support THUMB-2 CODE. 2013-06-23 18:10:46 +08:00
Bernard Xiong 98c8a23e94 Add component initialization. 2013-06-23 07:48:42 +08:00
Bernard Xiong 3071e35c54 Merge pull request #109 from grissiom/rm48x50
Rm48x50
2013-06-19 01:29:12 -07:00
visitor83 c986754c49 Signed-off-by: visitor83 <wolflouiswang@gmail.com>
format the s3c24x0 serial.c and mini2440 rtconfig.py
2013-06-18 12:51:55 +08:00
Grissiom 2df7fc310f RM48 does not have cache implemented 2013-06-12 23:48:29 +08:00
aozima 4807145a71 clean up code: remove the old file. 2013-06-08 20:50:09 +08:00
Grissiom 228a6be077 cortex-r4: add __rt_ffs 2013-06-05 23:20:39 +08:00
Grissiom 480ac34445 rm48x50: remove useless reg_test code 2013-06-03 22:25:25 +08:00
Grissiom 24fc6e6ebb rm48x50: VFP lazy stacking
You need to turn on RT_VFP_LAZY_STACKING in rtconfig.h. By default, RTT
will turn on VFP for all threads and stack all the VFP registers. When
doing lazy stacking, VFP will only be turned on for the thread who
issued VFP instructions.

Currently, if a thread turned on VFP, it cannot be turned off. RTT will
never know what time the thread doesn't need VFP any more. The thread
might could turn off the VFP for it self in proper time.
2013-05-31 20:58:08 +08:00
Grissiom ec1203bfab rm48x50: turn on VFP support
This support Common VFPv2 sub-architecture.
2013-05-31 18:32:21 +08:00
Grissiom 939c58c295 rm48x50: remove unused vPortTaskUsesFPU 2013-05-30 17:39:32 +08:00
Grissiom d8755ddd93 rm48x50: move uart.c to drv_uart.c 2013-05-30 10:02:26 +08:00
Grissiom 4d40978a70 rm48x50: add finsh support 2013-05-29 23:39:09 +08:00
Grissiom eda09ab002 rm48x50/uart.c: fix bugs 2013-05-29 23:38:10 +08:00
Grissiom 50c8cbe1d5 rm48x50: now it has console 2013-05-29 17:26:34 +08:00
Grissiom d22496aee8 rm48x50: update HALCoGen file 2013-05-29 16:42:26 +08:00
Grissiom 435f305fa2 rm48x50: temperately disable the VFP register test 2013-05-26 22:15:26 +08:00
Grissiom 56b640ecb6 rm48x50: add vRegTestTask2 2013-05-26 22:14:24 +08:00
Grissiom 2805d315bd rm48x50: fix bug in reg_test from FreeRTOS
It does not satisfy AAPCS.
2013-05-26 21:49:26 +08:00
Grissiom 85ec844de9 rm48x50: add reg_test from FreeRTOS
The code is GPLv2 so I think we could use it for free(both free beer and
free speech).
2013-05-26 21:16:14 +08:00
Grissiom f51bce3fed add rm48x50 bsp and libcpu
We currently only support building with CCS and SCons is not using.
bsp/rm48x50/HALCoGen/HALCoGen.{hcg,dil} is the HALCoGen project file.
You may need to regenerate the source file as you like, providing that:

    1, IRQ is in Dispatch Mode and the table entry is IRQ_Handler. The
    channel 5 in enabled and connected to IRQ.

    2, RTI driver is enabled and compare3 source is selected to counter1
    and the compare3 will generate tick in the period of 10ms. This
    value is coresponding with RT_TICK_PER_SECOND in rtconfig.h.

In CCS, you need to create a new CCS project and create link folders
pointing at bsp/rm48x50, libcpu/arm/rm48x50 and src/, include/. Remember
to add the include path to the Build Properties.
2013-05-24 22:55:13 +08:00
Grissiom 60857630c0 simulator: fix serial_write
printf("%s") will print a NULL terminated string, while rt_serial_write
should print buffer for size length. This also fix segfault when the
string is not null terminated but specified by size.
2013-05-15 20:16:03 +08:00
Bernard Xiong e877a9868b fengzi: Fix LM3S ETH driver: Ethernet RX interrupt will be disabled if pbuf_alloc failed. 2013-04-10 09:54:08 +08:00
yiyue.fang 483479acee update the MDK project file in LPC178x 2013-04-10 01:16:56 +08:00
weety d9d39a8d21 Use SRAM as EMAC transmit buffer, to avoid the underrun error, especially in the large amount of data communication. 2013-04-08 21:57:24 +08:00
weety e7885df2f1 add At91SAM9260 SDIO highspeed and SDIO IRQ capability, fixed compiling warnning 2013-04-02 20:42:11 +08:00
weety fb9ea5eada enable at91sam9260 mmu, update SDIO and EMAC drivers 2013-04-02 20:24:51 +08:00
Bernard Xiong 8c50d0f295 Merge pull request #64 from ufwihg/gcc-lpc178x
update bsp/lpc178x/CMSIS/CM3/DeviceSupport/NXP/LPC177x_8x/startup/gcc/st...
2013-03-31 18:54:05 -07:00
Bernard Xiong 9a6009e726 Merge pull request #67 from rogerz/auto-ci
add powerpc bsp to travis-ci
2013-03-31 08:28:55 -07:00
Rogerz Zhang 1019f52bb7 add powerpc bsp to travis-ci 2013-03-31 22:30:39 +08:00
aozima 2ccb3c7589 update LPC2478: Modify the interrupt interface implementations. 2013-03-31 18:25:51 +08:00
aozima 1549b7db90 update LPC214X: Modify the interrupt interface implementations. 2013-03-31 17:58:26 +08:00
aozima eab20a9975 update AT91SAM7X: Modify the interrupt interface implementations. 2013-03-31 17:43:09 +08:00
aozima 83ce430902 update loongson 1B dev: Modify the interrupt interface implementations. 2013-03-31 17:32:25 +08:00
aozima 93e04a1366 update loongson dev3210: Modify the interrupt interface implementations. 2013-03-31 17:32:20 +08:00
aozima 6058efbd9b update Jz47xx: Modify the interrupt interface implementations. 2013-03-31 17:32:16 +08:00
aozima 29a3ae4368 update sep4020: Modify the interrupt interface implementations. 2013-03-31 17:32:04 +08:00
aozima fbc1b05dd8 update mini2440: Modify the interrupt interface implementations. 2013-03-31 17:30:30 +08:00
ufwihg e989f13f04 update bsp/lpc178x/CMSIS/CM3/DeviceSupport/NXP/LPC177x_8x/startup/gcc/startup_LPC177x_8x.s 2013-03-30 11:43:03 +08:00
Bernard Xiong 608074deaf update to interrupt description 2013-03-30 08:15:27 +08:00
Bernard Xiong aaf0186852 Update GCC porting of LPC178x 2013-03-29 16:28:11 +08:00
Bernard Xiong 8e6a534fa3 fix compiling issue in Jz47XX 2013-03-26 09:08:25 +08:00
Bernard Xiong bb72be94b2 code cleanup for interrupt description 2013-03-26 08:52:33 +08:00
Bernard Xiong 5a4d0d5338 Merge pull request #54 from weety/new-branch
Modify the interrupt interface implementations and changes some parameters definition
2013-03-22 17:43:40 -07:00
Grissiom 5f63189b3b bsp/simulator: enable mouse motion track in SDL
Tested OK in RTGUI repo.
2013-03-20 16:16:16 +08:00
weety b21028474b Modify the interrupt interface implementations, changes in the part of the parameter definition. 2013-03-19 11:25:12 +08:00
weety 3de4b92a68 fixed PHY link status error for AT91SAM9260 2013-03-19 11:02:07 +08:00
Rogerz Zhang 17e5f804ff Remove rtgui from bsp/dev3210 2013-03-17 21:32:18 +08:00
prife ce612157da Merge branch 'master' of github.com:RT-Thread/rt-thread 2013-03-15 16:58:04 +08:00
prife 9a80044a55 simulator: update readme.txt, disable RT_USING_MODULE in rtconfig.h 2013-03-15 16:55:44 +08:00
prife 70611580dc simulator: move {dfs_win32.c,moudule_win32.} from drives/ 2013-03-15 16:54:23 +08:00
aozima 981be386a7 add dfs_win32_stat st_mtime support. 2013-03-03 16:50:11 +08:00
prife 157e326487 dfs_elm.c: fix the head file conflicts caused by time.h 2013-03-02 18:56:07 +08:00
prife 377c153c40 Merge branch 'master' of github.com:RT-Thread/rt-thread 2013-03-02 18:40:01 +08:00
Bernard Xiong 784e8e2459 Merge branch 'master' of https://github.com/RT-Thread/rt-thread 2013-03-04 06:59:05 -08:00
Bernard Xiong c5d5a54c5d fix compile warning and error 2013-03-04 06:58:05 -08:00
prife 2b0ebebcc2 simulator: update comments,add 'RTT_IN_MODULE' macro in testdll\SConstruct 2013-03-02 18:39:05 +08:00
prife f1fe20a3df simulator: fix dfs_win32_mkfs prototype 2013-03-02 14:35:04 +08:00
prife 5cb02e1258 simulator: make sure LCD driver ready to use after rt_hw_sdl_start is invoked 2013-03-02 14:32:26 +08:00
prife 842d129f03 simulator: assign the x86 32bit version in Enverionment, or the 64bit version will be built with vs2010 in win7 64bit 2013-03-01 22:43:33 +08:00
prife 3478420fad Merge branch 'master' of github.com:RT-Thread/rt-thread 2013-03-01 01:55:47 +08:00
prife a665b97129 app module for simulator: add the missing module_win32.c 2013-03-01 01:30:21 +08:00
prife 8bff1f8397 app module of simulator:update readme.txt, add rtthread.def for default buiding with msvc 2013-02-28 00:39:37 +08:00
prife 188dfea3a7 app module simulator: add app module test cases 2013-02-27 02:41:02 +08:00
prife 1ab15ba0a6 app module of simlator: simpliy command of building, now use `scons --def` to create rtthread.def which can used by msvc 2013-02-27 02:27:19 +08:00
prife a07b4a4396 app module of simlator: rename librtthread.a to rtthread.lib after post-building 2013-02-27 02:04:43 +08:00
prife a64ec10e68 app module support for simlator, first version 2013-02-27 00:37:57 +08:00
prife 242574a36f mingw support for simulator: rtgui 2013-02-26 17:51:21 +08:00
prife 2106287efe mingw support for simulator: dfs/uffs 2013-02-26 16:40:04 +08:00
prife 8928f4e4b7 mingw support for simulator: dfs/dfs_win32 2013-02-26 16:36:33 +08:00
prife 9f355875d8 mingw support for simulator: dfs/fatfs 2013-02-26 16:23:28 +08:00
prife 9ccdf4172e basic mingw support for simulator: kernel and finsh 2013-02-26 16:03:08 +08:00
Grissiom 24649bfefe bsp/stm32f10x: remove the last calibration.c
This also provide an example to show how to use calibration feature in
the RTGUI.
2013-02-24 18:16:16 +08:00
Rogerz Zhang 53275be7ba Remove RT-Thread GUI from bsp/efm32 2013-02-22 23:34:27 +08:00
aozima 0700b2ec96 remove RT-Thread GUI from mini2440. 2013-02-22 14:30:41 +08:00
aozima 8a8f904e1b Merge branch 'master' into aozima
Conflicts:
	bsp/stm32f107/project.uvproj
2013-02-22 13:54:15 +08:00
aozima 8421ecfa27 update SD card driver: use RT-Thread SPI driver. 2013-02-21 20:13:44 +08:00