Commit Graph

1070 Commits

Author SHA1 Message Date
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