summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
2015-10-09Merge patch from master to prepare release v2.0.2Bernard Xiong
2015-05-05[Kernel] Change the version number to v2.0.1.v2.0.1Bernard Xiong
2014-11-04modified the comments of block device geometry structure, to tell everyone ↵pangweishen
the unit of block_size is byte.
2014-06-26Add WEAK definition; Add AUTO Refresh option for block device.bernard
2014-04-02[Kernel] Change command line to const parameter and add system() function.bernard
2014-03-29[Kernel] Change the version number to 2.0.0.Bernard Xiong
2014-03-11[Kernel] declare more APIs in modulebernard
2014-01-26Include rtconfig.h file in rtdebug.h file.bernard
2014-01-26Add sector size check when mounting a FAT file system.bernard
2014-01-17[Kernel] Fix the compiling issue for not including rtconfig.h file in ↵bernard
rtdebug.h/rtdef.h
2014-01-11Merge pull request #228 from prife/kernelBernard Xiong
kernel: rearrange the header file include order
2014-01-11kernel: rearrange the header file include orderprife
There are some CONFIG OPTIONS in rtdebug.h, which may influence the rtdef.h, so rtdebug.h should be head of the rtdef.h
2014-01-11[Kernel] application module can support argumentsbernard
2014-01-04fix the FINSH_USING_SYMTAB not defined and compiling error issuebernard
2014-01-01add file and path name auto completion for module shellbernard
2013-12-21kernel: add rt_critical_level that return the lock count of schedulerGrissiom
Out side world may be interested in whether the scheduler is locked or not. Provide an API to tell that.
2013-10-17Merge pull request #173 from grissiom/new-timerBernard Xiong
kernel: use skip list to implement timer list
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-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-12kernel: fix compiling error when RT_DEBUG is not definedGrissiom
Define RT_DEBUG_IN_THREAD_CONTEXT when RT_DEBUG is not defined.
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-10Merge branch 'master' of https://github.com/RT-Thread/rt-threadbernard
2013-10-10add BGR565 definitionbernard
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-08-20dev/portal: implement portal deviceGrissiom
Portal is a device that connect devices. Currently, you can only connect pipes in portal. Pipes are unidirectional. But with portal, you can construct a bidirectional device with two pipes.
2013-08-20dev/pipe: make pipe a type of deviceGrissiom
Pipe have many differences with char device. The main difference is altough pipe have both read and write, it is unidirectional in nature.
2013-07-24add initialization debug codebernard
2013-07-22add mount tablebernard
2013-07-09Merge pull request #118 from BernardXiong/masterBernard Xiong
Remove initialization feature for MS VC++ compiler.
2013-07-09device: add ref_count supportGrissiom
This is a simple work around to the current device stack design. A ref_count could let different modules to open/close the same device independently without interfere others in some degree. But there is still some data shared between the modules, like flag, open_flag and user_data. Moreover, it won't yield an error if A open a device, and B read from it before open it in B. Maybe alloc a new handle in rt_device_open will be the ultimate solution. But that is much bigger change and we may leave it to future development.
2013-07-05fix the spelling wrongBernard Xiong
2013-07-05remove initialization feature for MS VC++ compilerBernard Xiong
2013-07-01rm48x50: restore missing include for __TI_COMPILER_VERSION__Grissiom
2013-06-30Remove the stdarg.h file include.Bernard Xiong
Please @Grissiom check why add this header file in rtthread.h.
2013-06-29reformat the coding style in rthw.hyiyue.fang
2013-06-29reformat the coding style in rtdef.hyiyue.fang
convert the Tabs to Spaces
2013-06-24Embedded GPLv2 license.Bernard Xiong
2013-06-24Add rt_kprintf re-defined, which is suggested by ufbycd.Bernard Xiong
2013-06-23Add component initialization.Bernard Xiong
2013-06-23Merge branch 'master' of https://github.com/RT-Thread/rt-threadBernard Xiong
2013-06-23Add component initialization define in rtdef.hBernard Xiong
2013-06-03rtdef.h: get back the codes that removed accidentally by d80a471Grissiom
2013-06-03Fix the memheap_realloc issueBernard Xiong
2013-05-29add TI CCS support micros in rtdef.hGrissiom
2013-05-24add rm48x50 bsp and libcpuGrissiom
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-04-25add RT_KERNEL_MALLOC/FREEBernard Xiong
2013-04-17add rt_memheap_realloc functionBernard Xiong
2013-03-26code cleanup for interrupt descriptionBernard Xiong
2013-03-19remain the old handler to keep forward compatibilityweety
2013-03-19Modify the interrupt interface implementations, changes in the part of the ↵weety
parameter definition.