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
924fe934c1
Deleted obsolete macros. Minor formatting
2012-04-03 16:26:10 +01:00
George Oikonomou
ffa3a1c4c3
cc2x3x clock driver cleanup
...
* Bit-Addressable SFRs are now accessed as such,
instead of (N)OR-ing the byte
* A routine was declared as CCIF but not defined as such. Fixed
* Deleted a leftover duplicate define
* Formatting
* Comment updates and clarifications
2012-04-03 16:26:10 +01:00
simonduq
1fd7dcd2ef
mb* pltforms: reduce RAM footprint
2012-04-03 14:29:46 +02:00
simonduq
935460c25e
Fixed mbxxx's contiki-conf.h (bug reported by Konstantin Klubnichkin and Michal Krol)
2012-04-03 14:28:11 +02:00
simonduq
930c7c25bc
fixes in mb851 and stm32w108: erroneous linking with mpu.o, conf file,
...
more printouts in main when ipv6 is used, and a target for memory
profiling taking stm's gnu.ld static stack size into account
2012-04-03 11:47:30 +02: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
2d0d54c380
Removed obsolete #if config from cc2530dk's main
...
Unlike cc2430, the cc2530 RF driver never generates interrupts.
This configuration in main() was a remnant of the porting from
the sensinode main, which does in fact need it.
Also updated comments in contiki-conf to reflect that shortcuts
don't influence the RF
2012-04-02 11:22:19 +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
5d8f63a61b
We've not been using the cc2430 converter for a while now
2012-04-02 11:03:49 +01:00
Niclas Finne
2507ba4e8d
Avoid using memcpy on unaligned uint16_t variables, because certain compilers will optimize this code to a direct copy instruction that will result in unaligned memory access. Thanks to Angelo Compagnucci for reporting this problem.
2012-03-31 01:25:27 +02:00
Matthias Kovatsch
ed92994784
Clean-up and fix for rest-server-example.
2012-03-29 18:56:46 +02:00
Matthias Kovatsch
3b2fe65c66
Added rt filtering for Link Format.
2012-03-29 18:16:28 +02:00
Matthias Kovatsch
8f9247560a
Managed consistent representation generation for /obs.
2012-03-29 18:16:27 +02:00
Matthias Kovatsch
c023faead2
Added Content-Type to observe notifications.
2012-03-29 18:16:25 +02:00
Matthias Kovatsch
949ba03bda
Changed notify API to passing a notification message.
2012-03-29 18:16:24 +02:00
Matthias Kovatsch
d102d8c607
Changed separate API and fixed token bug.
2012-03-29 18:16:23 +02:00
Matthias Kovatsch
c7c7bcbf81
Branched and added custom address to Makefile.
2012-03-29 18:16:22 +02:00
George Oikonomou
7854ee499a
Wrapped cc2x30 SOFT_RESET() macro inside do {...} while(0)
2012-03-29 13:11:04 +01:00
George Oikonomou
23e7f242f6
Changes to the ping part of the cc2530 and Sensinode udp-ipv6 examples
...
- Remove obsolete variable declarations
- prettier printf output
- cc2530 example turns on printfs
2012-03-29 13:10:25 +01:00
George Oikonomou
5afdd19403
Adjusted check to determine if we are being built with SDCC
...
Since rev #7342 , SDCC defines __SDCC_mcs51 instead of SDCC_mcs51.
We check for either
2012-03-29 13:10:25 +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
Vasilis Michopoulos
9475737f4b
Changed some sensinode/cc2530 examples to use uip-debug.h instead of the old #define DEBUG N
2012-03-29 13:08:24 +01:00
George Oikonomou
78450aeab6
Fixed mis-formatted printfs
2012-03-29 13:08:12 +01:00
Niclas Finne
7bf4fa4bff
Removed obsolete mac pointer
2012-03-28 21:51:19 +02:00
Fredrik Osterlind
173f512f6c
disable editor when no source code is showing
2012-03-28 14:53:45 +02:00
Fredrik Osterlind
e3a12703da
added temporary workaround that removes file duplicates, removed warning message
2012-03-28 14:52:30 +02:00
Fredrik Osterlind
4222d0adcd
bugfixed parsing of files read from mspsim
2012-03-28 14:44:59 +02:00
Fredrik Osterlind
0c94b567b9
supporting multiple path substituion rules in mspcodewatcher
2012-03-28 12:29:54 +02:00
Fredrik Osterlind
65b5fd0dde
documenting potential bug
2012-03-28 12:28:25 +02:00
Fredrik Osterlind
7c2b6238fe
code style
2012-03-28 11:01:17 +02:00
Moritz 'Morty' Strübe
3c3610d9cc
Allow setting a log4j config file
2012-03-28 10:55:01 +02:00
Fredrik Osterlind
21663c1033
removed debugging output
2012-03-28 10:45:12 +02:00
Ivan Delamer
5c232e7263
Remove compiler warning for remove_ext_header().
2012-03-27 19:48:26 -06:00
Ivan Delamer
51e3999054
Simplified reachability detections by sending probes only in PROBE
...
state.
2012-03-27 18:06:48 -06:00
Ivan Delamer
419ffddd0a
remove unnecessary stimer call in tcpip_ipv6_output()
2012-03-27 18:04:51 -06:00
Joakim Eriksson
7482fd6962
quick fix for enabling native-border router to run under windows - need to cleanup the arguments
2012-03-27 11:09:54 +02:00
Ivan Delamer
f9d5d71fde
6LowPAN: check tx result, if fail then do not send subsequent
...
fragments. Serves to save energy and also as collision avoidance.
2012-03-26 15:46:49 -06:00
Ivan Delamer
436cbec844
Separated processed_ip_len into processed_ip_in_len and
...
processed_ip_out_len to avoid corruption, in case we send a packet in
the middle of receiving a fragmented packet.
2012-03-26 15:46:47 -06:00
Ivan Delamer
c6b3a9957d
Ignore 6LowPAN fragments which won't fit in UIP_BUFSIZE (in case
...
UIP_BUFSIZE < 1280). Otherwise we'll have a buffer overrun.
2012-03-26 15:46:45 -06:00
simonduq
946f00bf7b
stm32w: added ability to upload and reset all connected boards, and login using MOTE=x
2012-03-26 23:00:44 +02:00
simonduq
95ae5c5d51
avoid unnecessary symbols.c/h copying
2012-03-26 23:00:43 +02:00
simonduq
ea85cc1396
added motelist-linux for stm32w platforms
2012-03-26 23:00:42 +02:00
simonduq
10b4105200
added %.ramprof and %.flashprof targets for easy memory profiling of linked binary (e.g. make hello-world.ramprof)
2012-03-26 22:58:45 +02:00
simonduq
63ea562568
base encounter_time on the time before last strobe, remove unused previous_txtime
2012-03-26 22:49:28 +02:00
George Oikonomou
2755e261bf
Turn off printf for sensinode examples which will otherwise not fit our flash
2012-03-23 16:49:49 +00:00
George Oikonomou
80002e8fd1
Fixed the stub-rdc driver used by various cc2x30 examples
2012-03-23 16:48:09 +00:00