Commit Graph

3402 Commits

Author SHA1 Message Date
Grissiom e882597f9c romfs: check the dirent before use it
System will crash when the romfs is erased. Add checks before using them
to avoid it.
2014-11-03 12:10:25 +08:00
Grissiom 3531fa71aa romfs: declare the dummy entry as weak 2014-11-01 17:57:43 +08:00
bernard 6281ab2bbe [DeviceDriver] Remove i2c_core_lock. 2014-11-01 16:38:53 +08:00
Bernard Xiong ecbde6bb9d Merge pull request #363 from BernardXiong/master
[Sensor] code cleanup
2014-11-01 15:54:00 +08:00
Bernard Xiong 0fa10629f7 [Sensor] code cleanup 2014-11-01 15:52:25 +08:00
Bernard Xiong 16ff73b51b Merge pull request #362 from BernardXiong/master
[C++] fix GCC compiling issue.
2014-11-01 15:38:43 +08:00
Bernard Xiong c319182651 Merge remote-tracking branch 'upstream/master' 2014-11-01 15:36:43 +08:00
Bernard Xiong ef90e4828d Merge branch 'master' of https://github.com/BernardXiong/rt-thread 2014-11-01 15:36:37 +08:00
Bernard Xiong e22264f1d0 Merge pull request #361 from BernardXiong/master
Add cplusplus and sensor framework.
2014-11-01 15:35:26 +08:00
Bernard Xiong 1974bec8bf [C++] fix the ctors initialization issue 2014-11-01 14:12:58 +08:00
Bernard Xiong 38be10cf89 [BSP] fix GCC compiling issue when enable C++ support 2014-11-01 14:06:51 +08:00
Bernard Xiong b081df6b93 [NFS] fix opendir failed issue. 2014-11-01 10:53:44 +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 d2e15a52e6 Merge remote-tracking branch 'upstream/master' 2014-11-01 09:12:17 +08:00
Bernard Xiong 18cd95688d [Drivers] Add sensor framework 2014-11-01 09:09:52 +08:00
Bernard Xiong b84123b0b4 [C++] Add cplusplus component 2014-11-01 09:09:21 +08:00
Bernard Xiong 0797e54f3f [LIBC] fix the fopen/open issue in armlibc 2014-10-30 03:53:22 +00:00
Bernard Xiong a995264832 Merge pull request #360 from BernardXiong/master
[LIBC] Use RT_USING_LIBC instead of libs option for each compiler
2014-10-30 07:22:34 +08:00
Bernard Xiong 692e597847 [BSP] use RT_USING_LIBC instead of RT_USING_NEWLIB 2014-10-29 13:32:36 +00:00
Bernard Xiong 802c768475 [LIBC] Use RT_USING_LIBC instead of libs option for each compiler 2014-10-28 03:45:43 +00:00
Bernard Xiong 372926477b [GDB] Fix compiling error when not enable GDB. 2014-10-27 22:27:54 +08:00
Bernard Xiong e5a1a9f553 Merge pull request #357 from grissiom/enhance-finsh
finsh: allow user to disable the FINSH_USING_HISTORY
2014-10-21 16:04:20 +08:00
Grissiom 3d584266e5 finsh: allow user to disable the FINSH_USING_HISTORY 2014-10-21 16:01:08 +08:00
Bernard Xiong 3304a4195c Merge pull request #356 from yangfasheng/master
Add mb9bf568r to bsp
2014-10-20 10:30:56 +08:00
yangfasheng e5953e671c Add mb9bf568r to bsp 2014-10-20 10:10:18 +08:00
Bernard Xiong 2fc3db6579 Merge pull request #353 from grissiom/misc-fix
Misc fix
2014-10-14 23:24:02 +08:00
Grissiom e030451220 minilibc: only define malloc family when RT_USING_HEAP enabled 2014-10-14 16:14:02 +08:00
Grissiom 9a75583349 dfs: check for null reference 2014-10-14 16:09:10 +08:00
Grissiom 4c39f8765a msh: free is only available when HEAP is enabled 2014-10-14 16:07:49 +08:00
Grissiom 23cc390474 msh: check path is non-null in msh_auto_complete_path 2014-10-14 16:07:19 +08:00
Grissiom 8615e2c8e5 kernel/timer: change row_lvl to unsigned
Use signed int as array index is unsecure.
2014-10-14 16:00:42 +08:00
Bernard Xiong a4bb77d097 Merge pull request #351 from grissiom/fix-tools-srcremove
tools: fix SrcRemove on empty src
2014-10-08 22:10:13 +08:00
Grissiom d33df46f19 tools: fix SrcRemove on empty src
If the src is empty list, it will crash at:

    IndexError: list index out of range:
      File "/home/xxx/src/SConstruct", line 39:
        objs = PrepareBuilding(env, RTT_ROOT, has_libcpu=True)
      ...
      File "/home/xxx/src/drivers/SConscript", line 12:
        SrcRemove(src, src_need_remove)
      File "/home/rt-thread-stable/tools/building.py", line 496:
        if type(src[0]) == type('str'):
2014-10-08 18:03:12 +08:00
Bernard Xiong 08bcf51bb4 Merge pull request #349 from grissiom/fix-tools
tools: preserve the order of CPPPATH/CPPDEFINES/LIBPATH/LIBS
2014-10-08 13:32:08 +08:00
Grissiom 2c5eea4c21 tools: preserve the order of CPPPATH/CPPDEFINES/LIBPATH/LIBS
The order of them are important while the uniqueness has nothing to do
with the compiling.
2014-10-08 12:22:30 +08:00
Bernard Xiong 7a64d1ff1c Update README.md 2014-10-07 18:22:35 +08:00
Bernard Xiong 3bcc65b0c0 Merge pull request #348 from gitter-badger/gitter-badge
Add a Gitter chat badge to README.md
2014-10-07 18:21:56 +08:00
Bernard Xiong 65f8fe853c Update README.md 2014-10-07 18:19:56 +08:00
The Gitter Badger bc688ee0e9 Added Gitter badge 2014-10-07 10:15:11 +00:00
aozima 614e492338 Merge pull request #345 from aozima/pulls
update RW009 wifi driver.
2014-09-25 11:24:07 +08:00
Bernard Xiong 8c2008b050 [BSP] fix compiling error for beaglebone board 2014-09-25 09:42:21 +08:00
aozima 3c99a5bf8d update RW009 wifi driver. 2014-09-24 12:08:01 +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
Bernard Xiong 18fc280abc Merge pull request #344 from aozima/CME_M7
add CME-M7 support.
2014-09-21 22:14:13 +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