Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

extend support to senslab wsn430 devices, including cc2420 #44

Closed
wants to merge 4 commits into from

Conversation

mmbabel
Copy link

@mmbabel mmbabel commented Jun 6, 2013

This pullrequest contains some fixes for the vtimer on the msp430 as well as the cc2420 driver.

Milan Babel added 4 commits June 6, 2013 08:35
fixed vtimer for the msp430
added spi module for the wsn430 v1.3b
changed some variables to uintXX_t, fixes overflow on msp430
this is needed to include the ieee802154 in drivers without the hole sixlowpan
also added cc2420 to transceiver and added cc2420 shell commands
Conflicts:
	drivers/cc110x_ng/Makefile

typedef struct queue_node_t {
struct queue_node_t *next;
unsigned int data;
unsigned int priority;
uint32_t priority;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a reason for changing this data type?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes in line 97 of vtimer.c
timer->queue_entry.priority = timer->absolute.microseconds;
so priority should be able to handle an uint32_t as well as microseconds, else an overflow will happen.

@OlegHahm
Copy link
Member

Merged into branch WSN430.

@OlegHahm OlegHahm closed this Jun 10, 2013
eduazocar pushed a commit to eduazocar/RIOT that referenced this pull request Jul 1, 2022
Fix compilation break on latest RIOT-OS version
chrysn pushed a commit to chrysn-pull-requests/RIOT that referenced this pull request Sep 16, 2022
coap-chat: a simple chat application using gCoAP
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants