Commit Graph

15 Commits

Author SHA1 Message Date
George Oikonomou
b4bb51e811 Code style fixes: sensinode 2012-12-16 19:28:55 +00:00
George Oikonomou
3b0e92168b Copied cc2530 stack functions to the cc2430 port 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
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
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
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
b7674c3636 Reincarnate the sensinode/cc2430 port 2012-03-23 14:41:07 +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