Commit Graph

1283 Commits

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