Commit Graph
52 Commits
Author SHA1 Message Date
mbbill@gmail.com fea7d02bfd update lwip1.4 for old drivers compatibility
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1714 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-19 14:14:31 +00:00
mbbill@gmail.com da55b1857f add static to function declaration
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1677 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-08-22 13:49:46 +00:00
mbbill@gmail.com b2726da244 re-implemented ethernetif and power-on flow of lwip1.4, note: ethnet driver and init invokings also need to be modified.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1652 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-28 14:52:44 +00:00
mbbill@gmail.com c9a5379a0c minor fix of cpuusage.c in example
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1632 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-15 14:45:08 +00:00
mbbill@gmail.com 86d6c01c9e bug fix in arch implmentation
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1628 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-13 12:02:34 +00:00
mbbill@gmail.com 573b73465e more updates on previous change
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1627 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-13 12:02:01 +00:00
mbbill@gmail.com 98d59d153e bugfix: thread->error will be changed unexpectedly when sending a mail in interrupt context.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1626 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-13 06:58:25 +00:00
mbbill@gmail.com 7121ca6467 fixd a critical issue in lwip. see issue#11
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1621 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-08 02:04:14 +00:00
mbbill@gmail.com 8c45ba5874 fix sam7x compile error
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1529 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-23 08:02:06 +00:00
mbbill@gmail.com 0e03e7eb2e change some macros accordinate to rtdebug.h
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1512 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-15 02:26:46 +00:00
mbbill@gmail.com 1aa724b5d8 fixd a compiler error in rtdebug.h
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1497 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-13 02:40:24 +00:00
mbbill@gmail.com 8e8fa0035d add reentrance check for lwip arch/ethernetif; convert an example to utf-8 format.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1495 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-12 12:02:14 +00:00
mbbill@gmail.com 864bd11802 Add reentrance check. Put kernel debug switch together.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1494 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-12 10:01:48 +00:00
mbbill@gmail.com 8cae5c147f fix mailbox offset overflow
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1486 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-10 06:04:06 +00:00
mbbill@gmail.com 3077aea698 sam7x can now be compiled by armcc under scons.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1485 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-10 03:59:16 +00:00
mbbill@gmail.com 70bafa328a move net/apps to lwip folder
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1484 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-10 03:57:32 +00:00
mbbill@gmail.com b83b4ee04c add sam7x_rom.ld.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1483 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-10 03:56:29 +00:00
mbbill@gmail.com 1fb43c8619 using new macro: RT_USING_CONSOLE to enable console in rtconfig.h
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1482 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-10 02:54:05 +00:00
mbbill@gmail.com 0587549c43 start_gcc.s fix: disable interrupt in svc mode, add rw,bss init code.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1481 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-10 02:52:44 +00:00
mbbill@gmail.com f00548260a eth_device_init is not re-entrance, add a warning.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1479 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-10 02:50:59 +00:00
mbbill@gmail.com e6a874abb4 add sam7x scons script.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1475 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-09 10:49:22 +00:00
mbbill@gmail.com fef619f7b0 fix an error when RT_USING_CONSOLE is not defined.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1474 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-09 10:48:59 +00:00
mbbill@gmail.com ae674ab359 Now, lwip is using blocking mailbox.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1473 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-08 16:41:36 +00:00
mbbill@gmail.com 70c031362a add a test case for blocking mailbox send
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1472 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-08 16:40:46 +00:00
mbbill@gmail.com 252bc41a2c add a blocking mailbox post function
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1471 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-08 16:40:07 +00:00
mbbill@gmail.com d15319c408 fixd dm9000a driver issue
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1470 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-08 16:39:24 +00:00
mbbill@gmail.com a967ec707f minor fix in ethernetif
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1469 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-08 16:38:56 +00:00
mbbill@gmail.com 6a34056233 Fixd a bug in ethernetif
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1468 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-08 16:37:10 +00:00
mbbill@gmail.com 4e5e1f8f55 remove some compiler warning.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1467 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-08 16:33:12 +00:00
mbbill@gmail.com 73e78bdc00 Modified net apps for lwip1.4.0
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1440 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-05-30 02:16:24 +00:00
mbbill@gmail.com 111d02568c Add sys_mutex implementation.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1439 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-05-29 11:40:17 +00:00
mbbill@gmail.com 2f32cd9d72 insight can not get along with -gdwarf-2 very well. So, we use -gstabs+ for more compatibility.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1438 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-05-27 06:06:48 +00:00
mbbill@gmail.com e9e1c20aeb lwip1.4.0 is able to run now!
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1437 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-05-27 06:05:56 +00:00
mbbill@gmail.com 1d56e975cb lwip merged to 1.4.0, compile passed but can not run. ethernetif has been modified a lot.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1436 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-05-26 16:54:35 +00:00
mbbill@gmail.com f862baaaac FIX: ESHUTDOWN is not defined when newlib is enabled.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1435 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-05-26 12:06:14 +00:00
mbbill@gmail.com f666fd926b Since telnet is not installed by default from Windows Vista and later, it's better to use putty in command line.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1434 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-05-25 16:05:51 +00:00
mbbill 7cdd2849a7 Bugfix: redundant * before "old_handler" is removed.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1182 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-12-08 15:02:55 +00:00
mbbill 03072ba689 Sam7x project updated.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@960 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-09-26 14:16:55 +00:00
mbbill a2055ef63a FIX: #endif out of position.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@959 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-09-26 14:12:17 +00:00
mbbill 289aa30c76 FIX: Setting the 'flags' to 0 will overwrite NETIF_FLAG_BROADCAST, see ethernetif.c line 140. Also, the IGMP check is redundant( see netif.c line 153).
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@731 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-05-23 19:25:06 +00:00
mbbill 9592d89769 FIX: Merged ljt8015's patch, add DM9161 support.
NOTE: The project.uv2 left not modified. 

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@546 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-03-28 09:02:26 +00:00
mbbill 1c2add1a89 FIX: US_IMR is a read-only register.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@488 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-03-14 15:14:25 +00:00
mbbill b8653e766f FIX: If we place a return statement after RT_ASSERT we will get a warning: "statement is unreachable" in debug mode. This fix removed this warning.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@487 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-03-14 15:11:35 +00:00
mbbill f8f7a5f510 FIX: Removed suspend_thread_count.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@317 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-01-19 03:17:37 +00:00
mbbill 02cffa3778 FIX: Update MDK4.x project file.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@312 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-01-18 03:37:25 +00:00
mbbill f1d2ac8598 FIX: Fixed an assert error.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@271 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-12-31 16:14:32 +00:00
mbbill a830f9bfc5 FIX: Removed duplicate function declaration.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@265 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-12-30 17:02:32 +00:00
mbbill 54de5a60ba FIX: Removed RT_MEM_DEBUG definition, it should be defined in rtconfig.h . Forgot to remove ?
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@264 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-12-30 16:17:04 +00:00
mbbill 54453a0748 FIX: Revert thread.c and rtthread.h to previous version.
FIX: Abort handler will suspend current thread instead of terminate it.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@260 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-12-29 08:13:45 +00:00
mbbill 8a590215b6 FIX: If abort happened in irq mode, halt system.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@259 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-12-29 07:48:10 +00:00
mbbill 79ca654e13 ADD: Add abort handler, it will terminate current thread by default.
ADD: Merged svc, abort and irq mode stack.
ADD: Changed MDK project to new format.
FIX: Removed the "static" qualifier of rt_thread_exit().
FIX: Change AT91SAM7X.h to the standard header(AT91SAM7X256.h) of RealView MDK. (not all of them are changed, e.g. sd.c)
FIX: Moved some board-dependent files to bsp.


git-svn-id: https://rt-thread.googlecode.com/svn/trunk@257 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-12-29 07:17:58 +00:00
mbbill f64d2241d0 Bug fix (USR mode stack removed).
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@252 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-12-28 14:37:56 +00:00