Commit graph

7720 commits

Author SHA1 Message Date
George Oikonomou 6a808053ce cc2531 Button 2 driver 2012-04-26 16:28:04 +01:00
George Oikonomou 5662b1f37d Platform cc2530dk now uses models.h to configure differences between the SmartRF and the 2531 USB stick 2012-04-26 16:28:04 +01:00
George Oikonomou febcf0fc41 The cc2530dk blink-hello example now makes sense for cc2531 2012-04-26 16:27:23 +01:00
George Oikonomou 38a222e83c Redefined LEDS_ALL for cc2531s 2012-04-26 16:25:04 +01:00
George Oikonomou c95fc4f360 cc2531 B1 support. B2 to come 2012-04-26 15:28:43 +01:00
George Oikonomou 26ae56fcaf cc2531 LED support 2012-04-26 15:28:43 +01:00
George Oikonomou 1db1649b6a The cc2530dk Makefile was adding a source twice
Also, removed an obsolete comment
2012-04-26 15:28:43 +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
Niclas Finne d3b4efa06f removed obsolete function declaration 2012-04-24 14:08:40 +02:00
Fredrik Osterlind baa5e67ef1 added possibility to save default visualizer skins 2012-04-24 11:19:54 +02:00
Adam Dunkels b85bc3379c Bugfix in clock_wait() declaration. Various style fixes. 2012-04-22 20:54:29 +02:00
Adam Dunkels b4e7468b12 Set CCA threshold before starting, to make ContikiMAC more efficient. Fix compilation problem with non-IPv6 compiles. Various style fixes. 2012-04-22 20:54:02 +02:00
Adam Dunkels cf9de6be25 Set executable flag on binaries 2012-04-22 20:53:10 +02:00
nvt e4a305d353 Update the last lookup time for a neighbor when actually doing a lookup. Also fixed some coding style issues. 2012-04-22 00:31:56 +02:00
nvt 534c734465 Removed redundant code and improve code style and documentation. 2012-04-22 00:18:07 +02:00
nvt e94718f95c Separated configuration into a new file called rpl-conf.h. Improved the documentation. 2012-04-22 00:17:10 +02:00
nvt 845d684c66 Merge branch 'master' of ssh://contiki.git.sourceforge.net/gitroot/contiki/contiki 2012-04-21 22:13:09 +02:00
Niclas Finne 16bb9295f3 Added configurable delay between slip packets to avoid losing data 2012-04-20 22:40:45 +02:00
Niclas Finne 28c62208cb Added check for illegal attributes in packet attribute serialization 2012-04-20 22:40:24 +02:00
Niclas Finne 1733f3b6bc Added command context. Patch by Joakim Eriksson 2012-04-20 22:31:37 +02:00
Niclas Finne f328a8a483 Stop the CPU when a breakpoint is triggered 2012-04-20 21:48:12 +02:00
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
nvt eda6b7c318 Use LIST_STRUCT macros. Made get_dag a static function. 2012-04-17 23:35:19 +02:00
nvt 3d0d2c284f Changed function names. 2012-04-17 23:34:47 +02:00
nvt 80097f2c65 Removed some redundant code and fixed coding style. 2012-04-17 23:12:47 +02:00
nvt 6071b5aee7 Remove obsolete support for broadcast DAOs. 2012-04-17 23:04:20 +02:00
nvt ed37e983f6 Refuse to allocate more parents for a specific DAG when the per-DAG limit has been reached. 2012-04-17 22:59:42 +02:00
nvt d3fee514b3 Merge branch 'master' of ssh://contiki.git.sourceforge.net/gitroot/contiki/contiki 2012-04-12 21:35:02 +02: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
nvt 38e66571ce Merge branch 'master' of ssh://contiki.git.sourceforge.net/gitroot/contiki/contiki 2012-04-05 18:23:31 +02: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