Commit Graph

1262 Commits

Author SHA1 Message Date
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
aozima 5c17c2e698 update: bsp/stm32f107 add RT_USING_COMPONENTS_INIT. 2013-02-21 18:52:17 +08:00
Bernard Xiong a5df8c9d0b remove RT-Thread GUI 2013-02-21 14:04:17 +08:00
Bernard Xiong 18cd47d3da remove RT-Thread GUI [ci-skip] 2013-02-21 14:03:34 +08:00
Bernard Xiong 094797c201 remove RT-Thread GUI from mini2440 2013-02-21 13:34:02 +08:00
aozima 5fad83b0d6 Merge branch 'aozima' into pulls 2013-02-20 21:56:59 +08:00
aozima 5fb028968b fix compile errors in bsp:stm32f0x. 2013-02-20 21:54:08 +08:00
aozima 12f34b8c73 update bsp: stm32 family. 2013-02-20 18:40:31 +08:00
aozima eefb272cfd update stm32f10x template. 2013-02-20 10:49:09 +08:00
aozima fcf581ea3d remove old code. 2013-02-20 10:20:40 +08:00
aozima e3a4ae1370 update stm32f10x template. 2013-02-20 10:15:09 +08:00
prife 38f1c4ef55 add declaration in simulator/drivers/usart_sim.c 2013-02-07 23:32:26 +08:00
prife fd5dfc723c clean code in simulator/drivers/serial.c 2013-02-07 23:27:29 +08:00
prife 81751d99cc fix bug in simulator/drivers/serial.c which deadlock may happen if multi-uart both output use printf 2013-02-07 23:21:19 +08:00
prife 1c522be515 rewrite serial/uart code in simulator to support multi-uarts 2013-02-07 23:18:59 +08:00
Rogerz Zhang 696d1af3d4 Fix build error in efm32 2013-02-02 20:06:23 +08:00
prife fb94ccd89e Merge branch 'simdev' 2013-02-02 00:37:10 +08:00
prife 4f02e67bef enabe dfs_win32 in simulator when built on windows 2013-01-28 18:06:59 +08:00
prife 5cc1dcb879 create disk/{ad, nor, nand in bsp/simulator 2013-01-28 18:05:19 +08:00
prife 72bd8b9978 clean code in bsp/simulator/rtconfig.py 2013-01-24 17:24:31 +08:00
prife f709ddf631 fix compile errors with vs in bsp/simulator 2013-01-24 17:13:09 +08:00
Grissiom 0961cc5e36 simulator: no need to dump the bin file 2013-01-24 13:06:12 +08:00
Grissiom 634c3a3518 rtgui_demo: port to new API 2013-01-24 12:54:20 +08:00
Grissiom 94a727a4fe link with libm.so
This fix the compiling error:

    /usr/lib64/gcc/x86_64-slackware-linux/4.7.2/../../../../x86_64-slackware-linux/bin/ld: build/components/rtgui/common/dc.o: undefined reference to symbol 'sin@@GLIBC_2.2.5'
    /usr/lib64/gcc/x86_64-slackware-linux/4.7.2/../../../../x86_64-slackware-linux/bin/ld: note: 'sin@@GLIBC_2.2.5' is defined in DSO /lib64/libm.so.6 so try adding it to the linker command line
    /lib64/libm.so.6: could not read symbols: Invalid operation
    collect2: error: ld returned 1 exit status
2013-01-24 12:52:42 +08:00
prife 821d0ac252 fix memory leak in sd_erase in bsp/simulator 2013-01-22 23:57:10 +08:00
prife d7f8f375df just mask signal in sdl_fb.c 2013-01-22 23:51:13 +08:00
prife f5fea40c5e add sd_erase in sd_sim.c, just erase MBR in SDCARD 2013-01-22 23:48:52 +08:00
prife 05544d12c9 add .gdbinit to bsp/simulator 2013-01-22 17:45:06 +08:00
prife 80e2dd0d3d add gcc.ld to bsp/simulator 2013-01-22 17:40:03 +08:00
prife 832bbb9fe2 remove bsp/simlinux 2013-01-22 17:08:54 +08:00
prife f2636ea813 clean code in bsp/simulator/application/application.c 2013-01-22 17:07:12 +08:00
prife fbbc4c8d18 merge bsp/simlinux into bsp/simulator 2013-01-22 16:57:47 +08:00
prife 3f3b6b7deb enable RTGUI in simlinux 2013-01-22 15:51:15 +08:00
prife 7c3f2fd6c7 fix sdl_fb.c to support gcc under linux 2013-01-22 15:49:49 +08:00
prife 236099e3ec enable FAT and uffs in simlinux/rtconfig.h 2013-01-22 12:11:35 +08:00
prife e3cc345ecf clean code in sd_sim.c to make sure it can be built with gcc in linux 2013-01-22 12:09:43 +08:00
prife 4f45c460d8 use sd as '/' mount ponit 2013-01-22 12:08:19 +08:00
prife 8999948650 recover the terminal's behaviour when runing exit in finsh 2013-01-17 12:06:23 +08:00
prife 395178ebfa rewrite cpu_port.c (but still has bug) 2013-01-15 21:38:54 +08:00
prife f0d6e0e173 add gcc.ld 2013-01-14 22:41:36 +08:00
prife 07da6caafd surport finsh 2013-01-14 22:38:54 +08:00
prife 8f70786c30 add finsh, but still cannot work, only can be built with gcc 2013-01-14 16:50:40 +08:00
prife 212b71205b add bsp: simluator for linux 2013-01-13 23:10:49 +08:00
Grissiom 3bab79a7dd update CRLF 2013-01-09 00:06:34 +08:00
Ming, Bai 86623c945f Update CRLF 2013-01-08 23:09:34 +08:00
Ming, Bai b4de7cce57 Re-normalizing the repo 2013-01-08 22:40:58 +08:00
Rogerz Zhang 2fc60ba1c3 Fix build error under linux 2013-01-04 19:55:19 +08:00
goprife@gmail.com ecb226f9d4 clean code in bsp/simulator
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2577 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-31 06:37:37 +00:00
goprife@gmail.com e56e9a2674 remove one comment line in simulator/rtconfig.h
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2574 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-31 06:02:18 +00:00
goprife@gmail.com e81907607f fix bugs in bsp/simulator/nanddrv_file.c; support NFTL and uffs!; format coding style with astyle
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2573 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-31 05:39:12 +00:00
goprife@gmail.com 91197259ac fix warning in bsp/simulator
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2562 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-30 09:39:35 +00:00
goprife@gmail.com 8951089b5a add win32 error code transform to DFS error code;
fix warning in usart_sim.c

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2559 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-30 06:32:14 +00:00
goprife@gmail.com a3b5fa5870 enable UFFS, and modify the uffs options in bsp/simulator
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2557 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-30 03:24:54 +00:00
goprife@gmail.com 42090544fc close uffs since the nand driver is not okay yet.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2555 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-29 12:31:12 +00:00
rogerz.zhang@gmail.com 7db8d2939b fix bug that uffs may crash because of uninitialized device ops
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2553 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-29 11:40:06 +00:00
rogerz.zhang@gmail.com d573786d52 fix memory access error in list_tc() under bsp/simulator
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2550 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-29 08:11:38 +00:00
dzzxzz@gmail.com 50d95287cc fixed a compiling error with gcc
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2549 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-29 07:49:57 +00:00
goprife@gmail.com 77f4ee3029 fix compile warnings in bsp/simulator
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2544 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-29 04:12:47 +00:00
goprife@gmail.com e1e948a33e fix spell errors in bsp/simulator
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2542 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-29 03:44:00 +00:00
goprife@gmail.com 1b274d996f format code style with astyle in bsp/simulator
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2535 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-27 08:26:35 +00:00
goprife@gmail.com 2e1de690f2 remove realtouch ui, then move snake to rtgui_demo
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2534 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-27 08:21:30 +00:00
goprife@gmail.com 10892ce762 clean code in bsp/simulator
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2533 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-27 08:03:18 +00:00
goprife@gmail.com 2bae33a381 change nand_sim.c to nanddrv_file.c; add SDL.dll to bsp/simulator; clean code
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2532 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-27 07:21:13 +00:00
goprife@gmail.com 859477d7ba clean code in bsp/simulator
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2531 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-27 06:58:58 +00:00
dzzxzz@gmail.com dafb34cf7e update the MDK project file in mini2440 BSP
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2516 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-24 03:55:13 +00:00
dzzxzz@gmail.com 58fb0187af fixed a compiling error in sam7x BSP
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2515 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-24 03:53:07 +00:00
dzzxzz@gmail.com f6629a1e4c rename the file name using low case
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2514 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-24 03:50:42 +00:00
dzzxzz@gmail.com e934439b26 update the IAR and MDK project file for MB9B506R BSP
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2513 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-24 03:40:01 +00:00
dzzxzz@gmail.com 2a1b3e3d31 fixed the fixed the gcc compiling error in ubuntu host OS
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2511 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-24 02:48:05 +00:00
dzzxzz@gmail.com 42c385d23e update the MDK project file in LPC178x
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2510 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-24 02:33:07 +00:00
dzzxzz@gmail.com 7672426550 support SDHC in mini2440
contributed by amr168

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2498 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-19 03:56:11 +00:00
dzzxzz@gmail.com 5cb9b7816e update the keil project file
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2488 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-17 08:37:04 +00:00
dzzxzz@gmail.com 2955dbfcda add LPC4330 BSP based on NGX xplorer development board
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2487 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-17 08:21:29 +00:00
goprife@gmail.com 6e299e5e7a add uffs configuration to rtconfig.h
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2465 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-02 14:32:01 +00:00
goprife@gmail.com 7c82d6e304 revert RTGUI path in SConstruct, update applications/platform.c
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2462 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-01 07:08:48 +00:00
goprife@gmail.com 4ee9c0dc0f update SCons script in bsp/simulator
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2460 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-01 06:59:37 +00:00
goprife@gmail.com f427ba48f9 add dfs_win32.c (an windows directory can be mounted as an disk in DFS)
add demo code in application.c

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2454 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-28 05:48:17 +00:00
goprife@gmail.com 3d4e0db73b update bsp/simulator/readme.txt
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2452 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-26 14:25:16 +00:00
goprife@gmail.com 6a8ac7814c fix bug in snake (bsp/simulator) with patch by provided by Romeo(xeonrun@@gmail.com)
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2444 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-24 05:56:16 +00:00
goprife@gmail.com 90c3859e32 update snake code in bsp/simulator
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2443 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-23 16:29:39 +00:00
goprife@gmail.com c1f7aa1ca7 add realtouch ui code to bsp/simulator
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2442 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-23 15:18:02 +00:00
goprife@gmail.com 67e2506750 update files
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2440 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-23 14:05:39 +00:00
goprife@gmail.com 5057b28523 add snake demo (run in realtouch)
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2439 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-23 13:40:31 +00:00
goprife@gmail.com 60fc67cb3d modify sdl driver to reduce the messages sent to rtgui server. add realtouch_ui_init
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2438 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-23 13:32:56 +00:00
goprife@gmail.com c9e327d9c4 fix the compile error(htos redefinition) in application.c when enable LWIP
disable LWIP by default

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2427 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-19 03:38:30 +00:00
goprife@gmail.com 20a57ea77c change RTGUI path in SConstruct, update application.c to start RTGUI demo automatically, set idle's hook to reduce the cpu consumption.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2426 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-18 08:35:23 +00:00
chaos.proton@gmail.com 4a5dea7807 bsp/simulator: enable the RTGUI by default
Note, you need to call `application.obj()` in finsh to make it show up.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2425 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-18 08:23:08 +00:00
chaos.proton@gmail.com 57154e90bf bsp/simulator: make RTT_RTGUI compatible with previous definition
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2424 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-18 08:17:25 +00:00
goprife@gmail.com 14709082a5 fix the link bug in bsp/simulator
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2423 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-17 05:18:06 +00:00
goprife@gmail.com 2eefeab242 update app code in simulator
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2421 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-16 12:21:28 +00:00
goprife@gmail.com 13d2e4a5ac update bsp/simulator/SConscript to auto remove drivers according to rtconfig.h
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2420 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-16 07:15:03 +00:00
goprife@gmail.com cabee09a32 lib_path should be list no string in bsp/simulator/SConstruct
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2418 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-16 06:42:28 +00:00
goprife@gmail.com 50d69f69f6 update simulator/SConstruct
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2417 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-16 04:28:24 +00:00
goprife@gmail.com 3012a3abb5 use the event-wait to replace the event poll when get the sdl's event
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2416 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-16 03:22:03 +00:00
goprife@gmail.com 3112b09c8f add sdl driver for simulator; update scripts in simulator
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2415 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-15 16:31:51 +00:00
goprife@gmail.com 518f29e55b add SDL library to simulator
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2414 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-15 15:56:46 +00:00
xiongyihui3@gmail.com d48ef70ecd In stm32fx's stm32_rom.ld, add symbol - '_stext' to support lua a. Update lua's README.TXT
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2410 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-13 15:21:01 +00:00
bernard.xiong@gmail.com 0f111d6e47 merge prife's patch for exclusive access pcap driver.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2404 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-13 01:44:34 +00:00