Niclas Finne
7628652a9d
Updated for new listener API in MSPSim
2012-04-20 21:48:10 +02:00
Niclas Finne
26e7698d32
Updates for latest MSPSim memory API
2012-04-20 21:48:07 +02:00
Niclas Finne
28f8467ab1
Updated MSPSim plugin for new memory model in MSPSim
2012-04-20 21:48:04 +02:00
Niclas Finne
b79eb23851
Updated version of MSPSim - several bug fixes and new memory model
2012-04-20 21:47:25 +02:00
George Oikonomou
e95f94a9a8
Added support for reading MAC from the cc253x flash
...
We still use the primary location by default (Info Page) but
this is now configurable. This change is useful for users who
wish to specify their own MAC address. Since the Info Page is
read-only, they need to be able to use the secondary location
2012-04-20 16:03:38 +01:00
George Oikonomou
29090a3dda
The cc253x Makefile specifies SoC flavor
...
This will help us slowly add better support for smaller SoCs
instead of just assuming that all cc253x SoCs are F256
- We build for F256 by default but the project Makefile can override this
- We currently ignore this when passing --code-size. This is a ToDo
- The bank allocator always assumes 7 banks. Once we fix --code-size above this will be irrelevant
2012-04-20 16:03:38 +01:00
George Oikonomou
4a78021c62
Simplified the cc2530dk STARTUP_CONF_VERBOSE spaghetti and made it project-configurable
2012-04-20 16:03:37 +01:00
George Oikonomou
6fb48174ba
Fixed a documentation typo
2012-04-20 16:03:37 +01:00
Moritz 'Morty' Strübe
74b2751072
Fix building of powertracker
2012-04-10 16:12:17 +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
Niclas Finne
57a166c3db
Corrected compiler flags for the IAR compiler
2012-04-10 15:27:44 +02:00
Fredrik Osterlind
88eafcf479
example script demonstrating how to interface powertracker plugin
2012-04-10 13:52:12 +02:00
Fredrik Osterlind
6dd1c42e8d
added powertracker plugin as default cooja plugin. the powertracker plugin was previously available via contiki projects.
2012-04-10 12:45:11 +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
David Kopf
ea667cef2d
Change Huginn and Muninn for params.c storage
2012-04-09 10:10:45 -04:00
David Kopf
c31f57ffb1
RPL is now default.
2012-04-09 10:09:21 -04:00
David Kopf
0612f771c6
Restart ajax on changed update time, remove unused variable.
2012-04-09 10:04:41 -04:00
David Kopf
40bd020394
Fix wrong register addresses.
2012-04-09 09:58:12 -04:00
George Oikonomou
225a6aff8c
Improved cc2x30 timer test examples
...
* Adjusted the cc2530 timer-test example to reflect recent changes to clock_delay()
* Sensinode now uses the newer timer-test example copied over from cc2530dk
* Deleted the obsolete clock-test. timer-test is a superset
2012-04-03 16:32:08 +01:00
George Oikonomou
57969259ce
cc2x3x clock_delay(len) now delays for approx. len usecs
2012-04-03 16:26:11 +01:00
George Oikonomou
3cb26adeda
Added an ASM(foo) macro for cc243x
2012-04-03 16:26:11 +01:00
George Oikonomou
242e02658f
The cc2530 UART driver was sending a 0 down the line on init
2012-04-03 16:26:10 +01:00
George Oikonomou
b3de052e01
Ported the stack-friendly clock ISR code over from cc243x to cc253x
2012-04-03 16:26:10 +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
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