Commit Graph

8447 Commits

Author SHA1 Message Date
George Oikonomou
5762179159 cc2530dk: Sniffer example changes:
- Building for the cc2531 USB dongle by default
- We turn on USB-serial buffered mode

Closes #21
2012-11-04 21:44:38 +00:00
George Oikonomou
5399fa2b6f cc2530dk: Fixed the startup text for dongle builds
See Pull Request #21
2012-11-04 21:44:34 +00:00
George Oikonomou
9215081f41 cc2530dk: Border router example changes:
- It now plays nicely with the cc2531 USB dongle
- We build it for the dongle by default
- Debugging with cc2530dk functions instead of printf
- Using __nonbanked optimisations
- During prefix requests, invert LED blinking to make things more visible
- Removed leftover include
- Code style fixes

See Pull Request #21
2012-11-04 21:44:24 +00:00
George Oikonomou
13f20225a6 Sensinode: Border router debug without printf
Closes #20
2012-11-04 21:44:06 +00:00
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
George Oikonomou
79cffa030f cc2531: USB CDC-ACM code style fixes
Closes #18
2012-11-01 17:42:04 +00:00
George Oikonomou
be93f1ae52 cc2531: Added a new USB demo project (CDC-ACM)
See Pull Request #18
2012-11-01 17:42:01 +00:00
George Oikonomou
1a0f01ccc4 cc253x: Config to swap between UART and USB I/O
See Pull Request #18
2012-11-01 17:41:57 +00:00
George Oikonomou
2cc74c5fd4 cc2530dk: Added a 'Serial over USB' platform process
This is based on a usb-test example by Philippe Retornaz. It has
been moved to platform and modified accordingly. With this in place:

- putchar() can work over USB. So we can use things like
  printf, slip output
- USB input can be redirected to slip or serial input

The example itself is no longer needed in the source tree

See Pull Request #18
2012-11-01 17:41:53 +00:00
Philippe Rétornaz
eabaa0c8e4 cc253x: DMA Changes
- Fixed DMA irq flag clearing
- Added a dma_reset helper

See Pull Request #18
2012-11-01 17:41:49 +00:00
Philippe Rétornaz
898bd07810 cc253x: optionally push bits in p2 interrupt
See Pull Request #18
2012-11-01 17:41:46 +00:00
Philippe Rétornaz
0a6e65acdf cc2531: USB changes:
- usb cdc-acm:
  * implement get line coding
  * use printf only when debugging
  * Add events

- usb-core: do not force debugging

See Pull Request #18
2012-11-01 17:41:41 +00:00
George Oikonomou
c1d72475d7 cc253x: Renamed P2 interrupt-related files for better consistency
See Pull Request #18
2012-11-01 17:41:38 +00:00
George Oikonomou
c60f0b4349 cc253x: P2-related routines are now bankable
We keep the ISR in its own file and move everything else
to a different one, so that we only have to keep the ISR
in HOME

See Pull Request #18
2012-11-01 17:41:32 +00:00
George Oikonomou
d9d4fa168d cc253x: Renamed the P2 ISR
This is mainly a naming convention thing, we want to have 'isr'
as part of the name, instead of 'int'. We also want port_2 instead
of p2 because we already had port_1

See Pull Request #18
2012-11-01 17:41:28 +00:00
George Oikonomou
fea4970142 cc253x: Configurable linkage for the P2 ISR
See Pull Request #18
2012-11-01 17:41:24 +00:00
Philippe Rétornaz
ba96408f37 cc253x: Add USB support to the compilation scripts
See Pull Request #18
2012-11-01 17:41:21 +00:00
Philippe Rétornaz
d93fee612d cc2531: Add USB driver
See Pull Request #18
2012-11-01 17:41:17 +00:00
Philippe Rétornaz
ddc8120d7c cc253x: Add p2 interrupt handler
The P2 Interrupt is shared across many periferal (I2C, USB, GPIO).
This adds a generic interrupt handler on which the differents drivers
can register a handler.

See Pull Request #18
2012-11-01 17:41:11 +00:00
Philippe Rétornaz
dec34c21ef cc2531: change cdc-acm descriptor
Change to have a real usb VID/PID and better fit the capabilities
of the CC2531 hardware (enpoint size, location).

Compile only if the cdc-acm class is requested.

See Pull Request #18
2012-11-01 17:41:07 +00:00
Philippe Rétornaz
0e55eb0947 cc2531: Copy arm usb framework
See Pull Request #18
2012-11-01 17:40:35 +00:00
Moritz 'Morty' Strübe
7bca2e23fc Cooja: Allow running the simulation without motes.
Normally it is not possible to start a simulation without motes. While
 this nomally makes sense, it might be, that motes are added at a later
 point in time by plugins.
 Removing this requirement is not problem, as it is still not possible
 to start the simulation without registered events. Thus a plugin can now
 register an event in the future to add motes at that point of time.
2012-10-31 17:37:12 +01:00
Moritz 'Morty' Strübe
64c0b9c241 Cooja: Fix command line override of ContikiPath
Without the fix the command line parameter was overwritten by the simulation configuration.
2012-10-31 17:29:07 +01:00
Moritz 'Morty' Strübe
32aa70e5cf Cooja: Allow setting a folder to search for projects 2012-10-31 17:25:15 +01:00
Moritz 'Morty' Strübe
142fa4a9a5 Cooja: Make paths more configurable 2012-10-31 17:22:13 +01:00
Moritz 'Morty' Strübe
50346251a2 Cooja: Fix missing message when running a script 2012-10-31 17:21:44 +01:00
Moritz 'Morty' Strübe
a3eb42387f Cooja: Give access to uninitialized motes 2012-10-31 17:21:33 +01:00
Moritz 'Morty' Strübe
becd2d4e15 Cooja: Load whole simulation before executing it in nogui mode 2012-10-31 17:21:01 +01:00
Moritz 'Morty' Strübe
3c3b25a54b Cooja, DGRM: Fix problems with out-of-range RSSI-Values.
Certain values cause the DGRMVisualizerSkin to calculate color values
 that are out of range.
2012-10-31 16:36:17 +01:00
Moritz 'Morty' Strübe
80e7a6fd8c Cooja: Add LQI-Support to DGRM 2012-10-31 16:36:06 +01:00
Moritz 'Morty' Strübe
610f6cba14 Cooja, DRGM: Reordered interference checks: e.g. do not interfere if on different channel 2012-10-31 16:36:00 +01:00
Moritz 'Morty' Strübe
3c9e3e1b95 Cooja: Refactored AbstractRadioMedium:update(): if -> switch 2012-10-31 16:35:45 +01:00
Moritz 'Morty' Strübe
f34826f3f1 Cooja: Change indention of AbstractRadioMedium to tabs 2012-10-31 16:35:39 +01:00
Moritz 'Morty' Strübe
9b1fb12a3f Cooja, DGRM: Change DirectedGraphMedium over to DGRMDestinationRadio and fix RSSI 2012-10-31 16:35:31 +01:00
Moritz 'Morty' Strübe
bed3877984 Cooja: Add LQI to DGRM 2012-10-31 16:34:19 +01:00
George Oikonomou
67bf9ec10e DOS EOL and indentation fixes (platform files)
- Removed some DOS EOLs
- Changed some tabs to spaces
- Removed some trailing whitespaces

Closes #6
2012-10-30 13:44:25 +00:00
George Oikonomou
713c2e5974 DOS EOL and indentation fixes (core/ apps/ cpu/)
- Removed some DOS EOLs
- Changed some tabs to spaces
- Removed some trailing whitespaces

Part of Pull Request #6
2012-10-30 13:43:51 +00:00
Adam Dunkels
6c8fbd2dff Merge pull request #11 from adamdunkels/remove-rtl8019
Removed old unused RTL8019 code that had license issues
2012-10-29 08:43:59 -07:00
Adam Dunkels
d6c2bb720d Merge pull request #10 from malvira/fix-msp430
remove -g (request for comments)
2012-10-29 08:11:18 -07:00
Adam Dunkels
1af22fa4fe Removed old unused RTL8019 code that had license issues 2012-10-29 16:08:09 +01:00
Mariano Alvira
4087c0785f remove -g
see http://comments.gmane.org/gmane.os.contiki.devel/13869
2012-10-29 10:34:28 -04:00
Nicolas Tsiftes
634be8a711 Merge pull request #9 from sieben/rpl-chmod
chmod correction
2012-10-29 06:59:49 -07:00
Rémy Léone
e378f171d6 chmod correction 2012-10-29 14:15:38 +01:00
fros4943
7c29724ee8 Merge pull request #8 from sdawans/cooja-fix-vis-move
Fixes COOJA Network Visualiser glitch when clicking on a mote
2012-10-29 05:36:38 -07:00
Sébastien Dawans
af1932de61 Fixes COOJA Network Visualiser glitch when clicking on a mote 2012-10-29 13:26:44 +01:00
Adam Dunkels
53f4d27af4 Merge pull request #5 from malvira/codestyle-mention-indent
Added a note about the Contiki code style GNU Indent script
2012-10-28 09:07:55 -07:00
Adam Dunkels
c9bd23515a Added a note about the Contiki code style GNU Indent script 2012-10-28 11:23:58 -04:00
Adam Dunkels
6f1eb21865 Merge pull request #3 from adamdunkels/remove-rcs-tags
Removed all old RCS tags in the Contiki source tree
2012-10-28 07:29:30 -07: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
Mariano Alvira
f3a26bde06 Merge pull request #2 from adamdunkels/master
Fixed year in LICENSE file to make it more generic
2012-10-25 14:25:55 -07:00