summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-10-11Merge pull request #169 from grissiom/log_trace-fixBernard Xiong
log_trace: fix the memmove use
2013-10-11log_trace: fix the memmove useGrissiom
The first parameter of memmove is the dst, not src. Besides, fix the wrong move size.
2013-10-11DFS: add dfs_file_flush prototype in dfs_file.hGrissiom
2013-10-10Merge branch 'master' of https://github.com/RT-Thread/rt-threadbernard
2013-10-10Add tap netif driverbernard
2013-10-09Merge pull request #167 from grissiom/ymodemBernard Xiong
components/utilities: add ymodem
2013-10-09components/utilities: add ymodemGrissiom
Real-YModem implemented a flexible YModem support. It use callback-based structure to let the user application to deal with the data. It contains 3 examples: 1. echo.c: write the data recieved on YModem to an other device 2. null.c: discard the YModem data 3. tofile.c: write the data to the file system Currently, it does not support batch file transmission.
2013-10-10Merge branch 'master' of https://github.com/RT-Thread/rt-threadbernard
2013-10-10add BGR565 definitionbernard
2013-10-09fix the line too long issuebernard
2013-10-01Merge pull request #166 from prife/simulatorBernard Xiong
scons script: support to generate vs2012 project xml
2013-10-01scons script: support to generate vs2012 project xmlprife
rename template.vcproj to template_vs2005.vcproj add template_vs2012.vcxproj NOTE: the vs2012.py is ugly, just can work.
2013-09-28Merge pull request #165 from prife/jffs2-fixBernard Xiong
DFS/jffs2: fix file mode init bug in jffs2_open/opendir
2013-09-28DFS/jffs2: fix bug when umount jffs2prife
found by haitao5198 clear mount parition device talbe when jffs2 mount falied
2013-09-28DFS/jffs2: fix file mode init bug in jffs2_open/opendirprife
found by haitao52198 URL:http://www.rt-thread.org/phpBB3/viewtopic.php?f=3&t=3112&p=17153#p17153
2013-09-25Merge pull request #163 from grissiom/compiling-fixBernard Xiong
Compiling fix
2013-09-26msh: only export cd/pwd when DFS_USING_WORKDIR is setGrissiom
2013-09-26logtrace: only export cmd when finsh is enabledGrissiom
2013-09-24notification function: rt_err_t (*tx_complete)(rt_device_t dev, voidjoyhope
*buffer) with buffer pointer
2013-09-24update rt_kprintf: make sure the device is in STREAM mode when used by ↵aozima
rt_kprintf.
2013-09-23Merge pull request #160 from grissiom/misc-fixBernard Xiong
logtrace: cleanup code and fix compiling warnings
2013-09-23logtrace: adjust the log valuesGrissiom
logtrace only use odd number of log levels. So the use could set some custom level amount them.
2013-09-23logtrace: add LOG_TRACE_VERBOSE log levelGrissiom
2013-09-23logtrace: cleanup code and fix compiling warningsGrissiom
2013-09-22Merge pull request #159 from grissiom/misc-fixBernard Xiong
kservice: export vsnprintf as rt_vsnprintf
2013-09-23kservice: export vsnprintf as rt_vsnprintfGrissiom
vsnprintf is a common string function that could be used in many places. Using both vsnprintf in libc and vsnprintf in the RTT could make a bigger image. Moreover, if newlib is not enabled when compiling with GCC, referencing vsnprintf will lead to link error: .../arm-none-eabi/lib/armv7-ar/thumb/softfp/libc.a(lib_a-sbrkr.o): In function `_sbrk_r': sbrkr.c:(.text._sbrk_r+0xc): undefined reference to `_sbrk' collect2: error: ld returned 1 exit status Using rt_vsnprintf could avoid such problem.
2013-09-22Merge pull request #158 from grissiom/finsh-fixBernard Xiong
finsh: unregister rx_indicate when closing the device
2013-09-22finsh: unregister rx_indicate when closing the deviceGrissiom
Because the device could still remain opened when closed by finsh, the old rx_indicate is useless for finsh. Some buggy driver will still generate rx_indicate even after the device has been closed. So FinSh should unregister the rx_indicate when releasing the old device.
2013-09-22Delete SConscriptBernard Xiong
2013-09-21use UART0 as consolebernard
2013-09-20Import beaglebone portingbernard
2013-09-17Merge branch 'master' of https://github.com/RT-Thread/rt-threadbernard
2013-09-17change the compiling macro before DFS optionbernard
2013-09-14Merge pull request #156 from grissiom/fix-event_recvBernard Xiong
rt_event_recv: add a check on the option flag
2013-09-14Merge pull request #155 from grissiom/simulatorprife
Simulator
2013-09-14rt_event_recv: add a check on the option flagGrissiom
Either RT_EVENT_FLAG_AND or RT_EVENT_FLAG_OR should be set in the option flag. If none of them is present, the waiting thread will never be resumed.
2013-09-08Add gettimeofday declaration in sys/time.hBernard Xiong
2013-09-07travis: add scan-build in PATHGrissiom
2013-09-07travis: don't export RTT_CC in before_script if it's been setGrissiom
This gives ways for bsp to set it's own RTT_CC.
2013-09-07travis: install the gcc-multilib to get the 32bit build OKGrissiom
2013-09-07travis: try to fix the SDL buildingGrissiom
2013-09-07travis: auto build the simulatorGrissiom
Building is only the first step. Correctness is what we need. There are already many GCC builds for other bsp so GCC building for simulator is not important. So I use clang-analyze to check all the source codes in simulator project. Hope it will help us.
2013-09-07simulator: add clang-analyze tool supportGrissiom
When CROSS_TOOL or 'RTT_CC' env is setted to 'clang-analyze', it will use Clang to check the codes.
2013-09-07Scons: add a custom tool to do clang static analyzeGrissiom
Bsps can use the clang analyzer as a tool: env = Environment(toolpath=[os.path.join(RTT_ROOT, 'tools', 'tools')], tools = ['clang-analyze']) When building the project, the static analyzer will be called to check all the C code. The warnings are print to stderr.
2013-09-07Scons: run `clang -Wall -fsyntax-only` in clang-analyzeGrissiom
The `clang -fsyntax-only` will give us additional warning messages in the console.
2013-09-06simulator: get CROSS_TOOL and EXEC_PATH from envGrissiom
Simulator get it's way to Travis CI ready.
2013-09-06simulator: move SDL setting staff into drivers/SConstructGrissiom
This could not only make a cleaner SConstruct, but could also benefit RTGUI building.
2013-09-03Merge pull request #154 from grissiom/simulatorBernard Xiong
sim/posix: move rt_hw_context_switch_interrupt after it's definition
2013-09-04sim/posix: move rt_hw_context_switch_interrupt after it's definitionGrissiom
This fix a compile error in Clang.
2013-09-03Merge pull request #153 from grissiom/stm32f10xBernard Xiong
stm32f10x: fix the rtgui initialization