Commit graph

4891 commits

Author SHA1 Message Date
adamdunkels fcd50868aa Moved the TIMEOUT() definition until after the print_stats() definition so that the print_stats() function can be called when the TIMEOUT() is invoked 2010-01-31 19:18:26 +00:00
adamdunkels f63f6a7a88 Added default configuration options for the cxmac driver 2010-01-31 18:48:41 +00:00
adamdunkels 1a13d25d33 Revised version of the X-MAC implementation that uses a ctimer instead
of an rtimer for the periodic radio duty cycling. The benefit of this
implementation is that it leaves an rtimer free for user tasks. The
drawback is a slightly higher idle power consumption. This new version
is based on the current rtimer-based X-MAC.
2010-01-31 18:44:23 +00:00
oliverschmidt 6111814aec Added configuration values for the IRC client example. 2010-01-31 18:30:50 +00:00
oliverschmidt 8c93dd3e99 Added IRC client example. 2010-01-31 18:28:43 +00:00
oliverschmidt 3826b8c0c4 Use only the base name of projects as program file name. 2010-01-31 18:21:41 +00:00
nifi c1a4a83f44 Updated to match the new sensors API and fixed argument that should be const 2010-01-31 16:47:44 +00:00
oliverschmidt 57ce5f8fba Reverted last change. 2010-01-31 15:11:02 +00:00
adamdunkels e4168db633 Bugfix: deallocate queuebuf only if there was no collision 2010-01-31 13:55:36 +00:00
oliverschmidt 75b773c45c Deactivated mouse support on the C64 because of "phantom keystroke" and "phantom mouseclick" issues :-( 2010-01-31 13:40:50 +00:00
oliverschmidt 1fe9bf24c9 Re-added temporarily removed file. 2010-01-31 13:36:06 +00:00
oliverschmidt 40101db78f Temporarily removed file due to CVS issue. 2010-01-31 13:34:19 +00:00
oliverschmidt 9e809ef5a4 Provide optional prototypes for all three keyboard input related functions. 2010-01-31 12:48:46 +00:00
oliverschmidt 0ebe86802c Use a simpler project name as it now ends up as program file name. 2010-01-31 11:59:07 +00:00
oliverschmidt 953d3ce7a0 Now that we have at least two examples working on the cc65 targets it is preferable to not name the program files all 'contiki'. 2010-01-31 09:34:12 +00:00
oliverschmidt 4189884793 Don't activate UDP checksums on 6502 targets as the inline-assembler implementation in cpu/6502/net/uip_arch.c is broken! 2010-01-30 20:54:15 +00:00
oliverschmidt 26c9ec41f7 Activate uIP logging when "high level config" logging is enabled. 2010-01-30 20:48:31 +00:00
adamdunkels 4ff6b5460a Removed safeguards around the update code for the timer; turns out they weren't needed (but instead triggered a bug in MSPsim) 2010-01-30 14:03:35 +00:00
oliverschmidt f5c78bd4fd Added a gnumake 'target-specfic variable' to add the C preprocessor define necessary for clean DLL linkage. 2010-01-30 11:52:01 +00:00
anthony-a 76749a382d move cc2430_process to home bank since it needs to be called from a function pointer.
disable led code to make room in home bank.
2010-01-29 19:15:44 +00:00
anthony-a 507460d29a update code bank assignments 2010-01-29 19:13:00 +00:00
adamdunkels 4938df5c05 Update to Contiki version number 2.4 2010-01-29 18:03:55 +00:00
adamdunkels 388c5d4244 Made the sicslowpan MAC layer reachable from outside modules 2010-01-28 13:50:51 +00:00
adamdunkels da3a7ffbd8 Increase uIP buffer size for the bridge to accomodate for the Ethernet headers from the PC host 2010-01-28 13:49:24 +00:00
adamdunkels 2ae7ed827c Increase the default X-MAC channel check rate to 4 Hz instead of 2 Hz 2010-01-28 13:40:47 +00:00
adamdunkels ba2c445676 Reduce the TCP MSS so that it runs nicely over IPv6/802.15.4 2010-01-28 13:38:40 +00:00
oliverschmidt 671bfb0f2b Removed directory.dsc and www.dsc from Visual Studio 2008 build.
There aren't created using the Cygwin build  too - which btw. makes sense as those two programs are configured to have own icons on the desktop.
2010-01-28 12:59:47 +00:00
oliverschmidt 4f9c4d7dda Adjusted the win32 'platform build' (which creates an old-school Contiki OS) to the changed dependency handling.
The special module-compile rule didn't work anymore now that the make doesn't create the .d beforehand. However the ordinary compile rule in Makefile.include turns out to create object files linkable as DLLs - although with warnings. The downside of these warnings seems to be outweight by the benefit of a simpler Makefile.
2010-01-28 12:46:16 +00:00
oliverschmidt 882e4692c7 cc65 2.13. allows to define all necessary paths through the single env var CC65_HOME. 2010-01-27 22:37:15 +00:00
fros4943 440ffae2a0 new project: adds two new plugins for forwarding data between a socket and a simulated serial port 2010-01-27 14:28:26 +00:00
fros4943 31b9cf0ce4 patch for avoiding snprintf()-related compiler error 2010-01-27 12:54:31 +00:00
adamdunkels f94d6df6f0 Bugfix: copy the originator address from the packetbuf into a local variable to avoid it being overwritten 2010-01-27 08:12:56 +00:00
adamdunkels 8430dab039 Typecast to fix nightly build problem 2010-01-27 07:36:31 +00:00
adamdunkels dbacf3e781 Values altered in interrupt handlers should be volatile 2010-01-26 10:20:16 +00:00
adamdunkels 9e5823f060 Made retransmission timeout configurable 2010-01-26 10:19:26 +00:00
adamdunkels b728c0927c Made number of duplicate announcements configurable 2010-01-26 10:18:55 +00:00
anthony-a dbdf9982a9 change bank assignments.
add missing header file.
add ihx converter
2010-01-26 02:37:51 +00:00
anthony-a 1427c79b7a include new files in source file list. 2010-01-25 23:24:03 +00:00
anthony-a f34f720836 move RIME declaration from cpu/cc2430/Makefile.cc2430 . (or at least what I recall, did this months ago!) 2010-01-25 23:18:17 +00:00
anthony-a 6280cea706 remove bank macros which are now in banked.h 2010-01-25 23:13:04 +00:00
anthony-a 9cfe29612a Modifications to support banked code. Interrupts and routines accessed through function pointers reside in independent files so they can be assigned to the HOME bank. Init code can be placed in any bank.
Also add adc init code and bank header files.
2010-01-25 23:12:09 +00:00
adamdunkels cc3f609eaa Bugfix for alignment issue. Added mechanism that allows five duplicate announcements before suppressing one's own. 2010-01-25 13:55:17 +00:00
adamdunkels 71ffde578e Moved route_init() into mesh instead of the generic rime initialiation 2010-01-25 13:54:26 +00:00
adamdunkels 423e37f426 Added parameter to ipolite that specifies how many dups that are acceptable, before suppressing one's own packet 2010-01-25 13:54:06 +00:00
adamdunkels 0b58ca3b22 Bugfix: split full size TCP segments if they match the MSS definition, not only the buffer size definition 2010-01-25 13:53:15 +00:00
adamdunkels 7615a6cf47 Bugfix by Henrik Mäkitaavola: check that ICMP6 process is defined before invoking it 2010-01-25 13:37:05 +00:00
fros4943 ee11b61064 bugfix: puts() should append newline character + min buffer size 1024 also with uIP 2010-01-25 12:34:05 +00:00
adamdunkels 5922402b3e Added the CSMA MAC mechanism on top of the default duty cycling
mechanism X-MAC. The CSMA is configurable with a MAC_CSMA define, just
like the MAC protocol is configurable with the MAC_DRIVER define.
2010-01-25 11:48:16 +00:00
adamdunkels 4f3e8d565c Added a simple CSMA (Carrier Sense Multiple Access) mechanism that
works on top of an underlying duty cycling mechanism. The CSMA layer
retransmits packets that could not be sent because of a collision was
detected.
2010-01-25 11:46:44 +00:00
adamdunkels 7ad93e5d18 Added a field to the struct mac interface:
channel_check_interval(). This function returns the interval by which
the duty cycling mechanism checks the radio channel for activity. It
is used by higher layer mechanisms to determine suitable timeouts for
retransmissions.
2010-01-25 11:43:32 +00:00