Commit Graph

168 Commits

Author SHA1 Message Date
Adam Dunkels
ec8c7e9be0 Cleanup of the node-id.h files. The node-id.h file contains
declarations of functions for setting and getting a node ID number, a
functionality that exists on many platforms. Since this functionality
was not considered part of the Contiki core, each platform defined its
own node-id.h file. This commit attempts to clean this up by
collecting the node-id.h into a core/sys/node-id.h file that replaces
the old node-id.h files from the platform directories.
2012-11-20 19:59:46 +01:00
Adam Dunkels
944537fccf Removed all old RCS tags in the Contiki source tree. Those RCS tags are not used any more, as we are now using git to manage the Contiki source tree 2012-10-26 15:54:49 +02:00
Niclas Finne
4630945475 Made the stack and heap size configurable when using the IAR compiler on the MSP430 platforms 2012-09-19 22:49:19 +02:00
Niclas Finne
2c460090e3 io and signal have been moved into contiki include file 2012-05-29 19:31:16 +02:00
Niclas Finne
1b13b69814 Added support for mspgcc 4.6+ that no longer supports generic MCU identifiers such as msp430x1611 2012-04-10 16:05:10 +02:00
David Kopf
cac4e9a222 Add clock_delay_us and clock_set_seconds to clock.h. Modify clock_wait to use clock_time_t.
Remove the troublesome avr/dev/delay.* files.
Add PLATFORM_NAME and combine the confusing *_REVISION defines into a single PLATFORM_TYPE
2012-04-09 15:49:53 -04:00
Niclas Finne
cf3827829d Added resource definition for button, leds, and battery, and removed obsolete compiler setup 2012-03-09 20:35:49 +01:00
Niclas Finne
ff7a977dc7 Improved support for the IAR compiler for the MSP430 platforms 2012-03-07 23:09:05 +01:00
Niclas Finne
684c3edfa6 Cross compiler interrupt service routine compatibility definitions for MSP430 based platforms based on isr_compat.h by Steve Underwood. 2012-03-07 23:04:52 +01:00
Ilya Dmitrichenko
9c99d46e24 Simplified host OS platform detection in Makefiles 2012-02-25 10:09:33 -05:00
Nicholas J Humfrey
680225e99d Converted u8_t to uint8_t and u16_t to uint16_t in the platforms directory.
Added "These names are deprecated, use C99 names" warnings the contiki-conf.h files that were missing it.
2012-02-21 08:33:25 -05:00
Niclas Finne
3daa822f89 Moved configuration of memcpy workaround to cpu (only needed for an older version of mspgcc) 2012-01-09 14:55:57 +01:00
Joakim Eriksson
5b1d9617c4 moved io and signal and IAR-GCC checks from driver files into contiki include file 2011-09-26 10:38:41 +02:00
Niclas Finne
236c459ecf Added missing include 2011-04-07 09:26:12 +02:00
Fredrik Osterlind
dd7cec737d removed obsolete leds_[color]() functions, replaced by leds_{on,off}()
allow LEDS_[COLOR] to be configured by platform-conf
2011-03-03 17:48:32 +01:00
nvt-se
28421f1fe2 Removed watchdog calls from Coffee 2011-01-18 14:06:33 +00:00
nvt-se
404230a047 Added a macro for portable watchdog calls. 2010-12-15 14:01:07 +00:00
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