summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-10-20Merge pull request #182 from grissiom/fix-timer-initBernard Xiong
initialize timer in bsp
2013-10-21initialize timer in bspGrissiom
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-20cortex-r4: dump register on trapsGrissiom
We could not handle any traps except IRQ/FIQ.
2013-10-20cortex-r4: remove RM48x50.h and add armv7.hGrissiom
2013-10-20rm48x50: cleanup sys_startup.cGrissiom
2013-10-20rm48: move some asm file to libcpuGrissiom
2013-10-20rm48x50: add GCC supportGrissiom
2013-10-20rm48x50: cleanup HALCoGen codeGrissiom
2013-10-19Merge pull request #180 from grissiom/hot-fixBernard Xiong
kernel: timer: fix compiling bug in d59aa279c37b7
2013-10-19rm48x50: fix the prototype of finsh_system_initGrissiom
2013-10-19kernel: timer: fix compiling bug in d59aa279c37b7Grissiom
2013-10-18Merge pull request #179 from grissiom/finsh-exBernard Xiong
Finsh ex
2013-10-18finsh: refactor the control key handlingGrissiom
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-17Merge pull request #173 from grissiom/new-timerBernard Xiong
kernel: use skip list to implement timer list
2013-10-17Merge pull request #161 from aozima/pullsBernard Xiong
make sure the device is in STREAM mode when used by rt_kprintf.
2013-10-17Merge pull request #162 from joyhope/masterBernard Xiong
UART DMA tx_complete() with buffer information
2013-10-17Merge pull request #178 from prife/jffs2Bernard Xiong
simulator/jffs2: remove _TIME_T_DEFINED when built by VC++
2013-10-17simulator/jffs2: remove _TIME_T_DEFINED when built by VC++prife
_TIME_T_DEFINED was pre-defined in order to build jffs2 with VC. While it may cause many side effects.
2013-10-14Merge pull request #175 from prife/simulatorBernard Xiong
simulator: add createdef.py to generate def file for VS
2013-10-14Merge pull request #174 from grissiom/rtt-nextBernard Xiong
kernel: mutex could only be released in thread context
2013-10-14simulator: add createdef.py to generate def file for VSprife
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-14kernel: mutex could only be released in thread contextGrissiom
Mutex has the idea of ownership, only the thread which owns the mutex can release it. So rt_mutex_release could only be called in thread context. Add a debug guard to it.
2013-10-12kernel: use skip list to implement timer listGrissiom
Skip list is a "random" data structure that in high possibilities it would get O(log(N)) time complexity in inserting while the old list get O(N). Forthermore, when set RT_TIMER_SKIP_LIST_LEVEL to 1, it will just the same as the old double linked list, both in time and space complexity. Benchmarks shows that when RT_TIMER_SKIP_LIST_LEVEL is 3, the average time of random insertion of new timer is about 2 times faster than the old timer when there are 100 timers and 3 times faster when there are 200 timers. However, it restores the deprecated funcion rt_system_timer_init. BSPs must invoke it upon system startup.
2013-10-12Merge pull request #172 from grissiom/rtt-nextBernard Xiong
kernel: fix compiling error when RT_DEBUG is not defined
2013-10-12kernel: fix compiling error when RT_DEBUG is not definedGrissiom
Define RT_DEBUG_IN_THREAD_CONTEXT when RT_DEBUG is not defined.
2013-10-11Merge pull request #170 from grissiom/rtt-nextBernard Xiong
kernel: add RT_DEBUG_IN_THREAD_CONTEXT
2013-10-11kernel: add RT_DEBUG_IN_THREAD_CONTEXTGrissiom
In thread context means: 1) the scheduler has been started; 2) not in interrupt context. It is more stronger than RT_DEBUG_NOT_IN_INTERRUPT. With this commit, you will catch the error on situations like taking mutex before scheduling instead of crashing on NULL pointer reference.
2013-10-11Merge pull request #168 from grissiom/dfs-fixBernard Xiong
DFS: add dfs_file_flush prototype in dfs_file.h
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.