Commit Graph

151 Commits

Author SHA1 Message Date
adamdunkels
5585d72c86 A simple but substantial change: uIP used the htons()/HTONS() macro
functions for converting between host and network byte order. These
names are the de facto standard names for this functionality because
of the original BSD TCP/IP implementation. But they cause problems for
uIP/Contiki: some platforms define these names themselves (Mac OS,
most notably), causing compilation problems for Contiki on those
platforms.

This commit changes all htons to uip_htons instead. Same goes for
htonl, ntohs, and ntohl. All-caps versions as well.
2010-10-19 18:29:03 +00:00
nifi
2ca32f9c76 Enabled 32-bit clock ticks to allow longer timeouts. 2010-06-21 15:15:10 +00:00
adamdunkels
3fa8ffda1a Moved the modules packetbuf, queuebuf, and packetqueue from net/rime to net/, since they are not Rime-specific 2010-06-14 19:19:16 +00:00
nifi
58e47d1d97 activated workaround for memcpy/memset bug in mspgcc 2010-03-21 10:44:58 +00:00
nifi
efe8f200af Updated to match the new netstack api 2010-03-02 22:40:39 +00:00
adamdunkels
60425aa355 ESB uses tr1001 radio 2010-02-18 23:53:21 +00:00
adamdunkels
fa4d4db329 Use the common netstack_init 2010-02-18 23:19:03 +00:00
nifi
a6c6522548 Updated documentation for new APIs. 2010-02-09 08:29:58 +00:00
nifi
27d5e2338a Added convenient flag to include codeprop 2010-02-09 07:34:37 +00:00
nifi
dbacc71c7d Added missing uip-ipchksum when using IP 2010-02-09 07:04:11 +00:00
nifi
665c38e7f4 Set elfloader to use flash instead of ram for storage as default. 2010-02-09 06:52:26 +00:00
nifi
9ee6406824 minor code style cleanup 2010-02-08 00:00:45 +00:00
nifi
002e508703 fixed compiler warning 2010-02-03 13:59:55 +00:00
nifi
a7f8761978 Updated to match the new sensors API 2010-01-15 10:34:36 +00:00
nifi
dbe56e4666 Updated to match the new sensors API 2010-01-14 20:01:18 +00:00
nifi
24f28f0f1c Updated to match the new sensors API 2010-01-14 17:39:35 +00:00
nifi
e0c0808767 removed obsolete file 2010-01-14 15:55:15 +00:00
nifi
4d03a30456 removed obsolete file (available in core/dev) 2010-01-14 14:00:45 +00:00
nifi
3c1a7f3bc7 * Added configuration for radio receive buffer size (default Rime packet size)
* Added configuration for beep on bad crc
* Changed to drop packet if read buffer is too small rather than truncating data
* Turn off energest-listen during transmission
2009-11-19 18:04:02 +00:00
nifi
c89028a11f reduced serial line buffer size 2009-11-18 15:34:57 +00:00
nifi
178548413e added option to specify JTAG port for programming 2009-10-22 09:27:46 +00:00
nifi
a71cd04144 reconfigured coffee to use larger sectors and no micrologs, changed the architecture specific erase function accordingly 2009-09-21 14:16:32 +00:00
nvt-se
b0431cc688 removed obsolete offset type definitions. 2009-07-13 20:02:16 +00:00
nifi
c436b99887 added configuration of MAC driver
added missing initialization of serial-line
added periodic DCO/CPU speed re-synch
2009-07-07 13:06:56 +00:00
adamdunkels
b20f0884ed Renamed serial module to serial-line 2009-03-17 20:19:11 +00:00
adamdunkels
65eb5fd4e8 Renamed the rimebuf module to packetbuf to signal that the module is used outside of a pure Rime context (e.g., the sicslowpan code uses it). 2009-03-12 21:58:20 +00:00
adamdunkels
8afff893f1 Removed old \mainpage documentation to avoid confusion with the main \mainpage 2009-03-02 22:04:14 +00:00
nifi
0db6403c5d removed unnecessary reference to codeprop.h 2009-02-21 11:23:54 +00:00
nvt-se
d0a546b049 A long refactoring session yielded the following.
Technical changes:

* Factored out file specific information from the file descriptor
  structure into a new file structure.

  - Useful file metadata can be stored after the file is closed.
  - File descriptors become much smaller.
  - Significantly reduces the need to scan for the file end.

* Use correct types in all function signatures.
* Removed the directory cache.

Results:

* Enormous speed increase when opening cached files (10x-20x.)
* Multiple fd:s pointing to the same file have the correct semantics.
* About 100 bytes smaller ROM size.
* Slightly smaller static RAM size.
2009-02-08 17:08:13 +00:00
nvt-se
aff141f56e reduced default sizes 2008-10-09 14:56:53 +00:00
nvt-se
10639bc982 use abstract types for offsets and pages so that we can easily port it to
very large or small memories.
2008-10-03 19:27:28 +00:00
joxe
1a1ddd0bd5 removed energest-arch from sky and esb platforms 2008-09-29 12:38:18 +00:00
nvt-se
2b68f88e77 moved platform independent definitions 2008-07-11 21:39:26 +00:00
nvt-se
e757cae8ea removed obsolete definition 2008-07-11 21:36:45 +00:00
nvt-se
e8a85b3726 moved platform independent code to the right place 2008-07-11 21:35:10 +00:00
nifi
9952ee8f26 Ported Coffee to the ESB platform 2008-07-11 15:27:57 +00:00
nifi
0d87322a18 minor documentation update and removed unused function prototypes 2008-07-09 20:45:06 +00:00
nifi
f93f501a4d updated tr1001_send and tr1001_read to match radio driver api 2008-07-08 13:22:31 +00:00
nifi
8718c41945 Fixed compiler warning. 2008-07-08 12:35:05 +00:00
nifi
8db3671d65 - Replaced TR1001 statistics with rimestats
- Fixed typo in constant name
- Changed all occurences of u8_t and u16_t to uint8_t and uint16_t
2008-07-08 12:27:22 +00:00
nifi
6e657ad3d8 Moved old Makefile from platform/esb to backyard/platform/esb 2008-07-08 11:21:51 +00:00
nifi
16f7888b52 changed clock resolution to 64 (needs to be a power of 2) and updated uIP settings 2008-07-08 09:36:48 +00:00
nvt-se
133a314b1c energest.h moved to sys/ 2008-07-04 02:58:58 +00:00
joxe
7be3aeeeb5 added sampling mode in sound sensor 2008-04-25 15:55:37 +00:00
nifi
ddcda4582e ctimer initialized by contiki-esb-main 2008-03-13 15:59:43 +00:00
nifi
3ecd955f01 energest needs to be initialized before network 2008-03-13 15:58:44 +00:00
nifi
79cb912f7c reduced memory usage, removed procinit, general cleanup of initialization, enabled watchdog 2008-03-07 17:54:22 +00:00
oliverschmidt
2632f8f937 Removed finally unnecessary cast. 2008-02-10 22:36:36 +00:00
nifi
3e0e3d4965 added energest-arch.c 2008-01-18 18:26:02 +00:00
nifi
babb455dae More explicit assignment of Rime address from node ID 2007-12-17 13:04:10 +00:00