Commit graph

25 commits

Author SHA1 Message Date
George Oikonomou 53fdb96816 cc2530dk and Sensinode: Local copy of uip-debug.c
Copied this file to the platform directories and
changed it to use putstring(), puthex() etc so
that we can print addresses without linking in
printf

See Pull Request #20
2012-11-04 21:43:57 +00: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
George Oikonomou 3b0e92168b Copied cc2530 stack functions to the cc2430 port 2012-09-20 15:09:15 +01:00
George Oikonomou b292e02012 Sensinode putdec() debugging 2012-09-20 15:09:15 +01:00
George Oikonomou 95b9d4ee29 Sensinode/cc2430 stack depth optimisation
This replicates the method used by the cc2530 port
2012-09-20 15:09:15 +01:00
George Oikonomou 067fabe0f9 Sensinode main variable optimsations:
r is now uint8_t, allocated to registers
len is uint16_t for more efficent arithmetic

(Changes replicated from the 253x port, originally
contributed by Philippe Retornaz - EPFL)
2012-09-20 15:09:15 +01:00
George Oikonomou cb168da729 Changed the cc2430 sleep_flag to uint8_t 2012-09-20 15:09:15 +01:00
George Oikonomou 0fc5ec8d5c Fixed an SDCC compile error when UIP_CONF_ROUTER is 0. UIP_CONF_ROUTER can be configured in project-conf.h 2012-05-16 15:22:31 +01:00
George Oikonomou 2f89f41b5a cc2x3x RPL/non-RPL handling:
- Relevant examples explicitly request it in their Makefile
- Removed the definition of UIP_CONF_IPV6_RPL from
  contiki-conf.h. If needed, it's defined through a -D
2012-05-16 15:22:31 +01:00
George Oikonomou 259b497122 Minor Sensinode build cleanup 2012-05-16 15:22:31 +01:00
George Oikonomou 1f7171f943 Adjust cc2x3x ports to the new clock API 2012-05-16 15:22:31 +01:00
George Oikonomou dd26accc07 We can now use SDCC's __nonbanked feature
This allows us to reduce CODE footprint of SDCC projects
built with --model-huge. Use carefully!

* Added a facility which allows us to enable/disable the
  feature from the CPU dir (CC_CONF_NON_BANKED_OPTIMIZATION)
* Added the CC_NON_BANKED keyword to some platform files
  (expands to __nonbanked)
* Started using this for some examples
2012-04-26 15:28:43 +01:00
George Oikonomou 11a7f644ac Comment rewording and formatting 2012-04-03 16:26:10 +01:00
George Oikonomou ce17fa131c Stack-friendly cc243x clock ISR enabled by default
This new approach (CLOCK_CONF_ACCURATE=0) was not as inaccurate
as originally thought. In fact, it has pretty much the same
accuracy as the old, stack-hungry version.

* Renamed the define from CLOCK_CONF_ACCURATE (1: old) to
  CLOCK_CONF_STACK_FRIENDLY (1: new) to stop implying
  that one is more accurate than the other.
* Using CLOCK_CONF_STACK_FRIENDLY by default.
2012-04-03 16:26:10 +01:00
George Oikonomou 5240519dd9 Renamed a config define to better match contiki's naming philosophy 2012-04-02 11:38:54 +01:00
George Oikonomou 977bc548f3 Renamed sensinode-debug to debug 2012-04-02 11:22:19 +01:00
George Oikonomou bce34e4b9a For cc2x30, moved CLOCK_CONF_SENCOND to the cpu dir.
The value is not really configurable by the platform so having it
in contiki-conf.h didn't make huge sense.
2012-04-02 11:22:19 +01:00
George Oikonomou e02c287f15 Solved a text encoding issue 2012-04-02 11:22:19 +01:00
George Oikonomou d958ee3125 Deleted the old Sensinode 'read mac from flash' routine.
Since the introduction of a purpose-written routine, the old
generic one (which was written in asm) was never being used.
There was a configuration directive which allowed us to switch
between the two. All references to this configuration directive
have also been removed.
2012-04-02 11:21:32 +01:00
George Oikonomou 4f1e251603 Some uN_t had crept back in cc2530dk and sensinode.
Changed to uintN_t plus a bit of code formatting
2012-03-29 13:10:10 +01:00
George Oikonomou b7674c3636 Reincarnate the sensinode/cc2430 port 2012-03-23 14:41:07 +00:00
adamdunkels 1a2bdcb293 Fixed typo 2010-02-02 20:10:06 +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
zdshelby ec02eab6bc - Upgraded the Sensinode platform to use sicslowmac.c
- Improved the rime address setup, setting the RF driver addresses (byte order may not be correct)
2009-09-11 08:03:42 +00:00
zdshelby c4ae18e37b Initial commit of Sensinode platform files. 2009-09-08 20:06:28 +00:00