Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@thomaseichinger
Copy link
Member

These tests fail for boards providing periph_i2c (and periph_gpio) but default pins are not defined correctly.

@thomaseichinger thomaseichinger added Platform: ARM Platform: This PR/issue effects ARM-based platforms Type: bug The issue reports a bug / The PR fixes a bug (including spelling errors) Area: build system Area: Build system labels Nov 21, 2014
@thomaseichinger thomaseichinger added this to the Release 2014.12 milestone Nov 21, 2014
@thomaseichinger thomaseichinger added the Area: tests Area: tests and testing framework label Nov 21, 2014
@haukepetersen
Copy link
Contributor

Hm, I don't really like this. What happens in the case you connect one of these sensors to a board externally? Then you would need to edit the features of that board in order to build...

My solution would be to change the default pins to the lowest ones (e.g. GPIO_0, GPIO_1...) and open an issue so that we think about the handling of device drivers in Travis. Sounds feasible?

@thomaseichinger thomaseichinger changed the title tests: make: only build sensor tests for boards providing this sensor tests: define random default GPIOs to pass Travis builds Nov 21, 2014
@thomaseichinger
Copy link
Member Author

@haukepetersen updated

Copy link
Contributor

Choose a reason for hiding this comment

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

how about using GPIO_1 here, setting both to the same default port seems awkward, and 2 GPIOs should be fine for almost every board...

@haukepetersen
Copy link
Contributor

looks good now, maybe change the one default pint to GPIO_1 and then I'll give my ack.

@thomaseichinger
Copy link
Member Author

@haukepetersen I did.

@haukepetersen
Copy link
Contributor

ACK when Travis is happy

@thomaseichinger
Copy link
Member Author

and Go

thomaseichinger added a commit that referenced this pull request Nov 21, 2014
tests: define random default GPIOs to pass Travis builds
@thomaseichinger thomaseichinger merged commit ea38e6f into RIOT-OS:master Nov 21, 2014
@thomaseichinger thomaseichinger deleted the sensor-features branch November 21, 2014 13:32
@thomaseichinger thomaseichinger restored the sensor-features branch May 11, 2017 21:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: build system Area: Build system Area: tests Area: tests and testing framework Platform: ARM Platform: This PR/issue effects ARM-based platforms Type: bug The issue reports a bug / The PR fixes a bug (including spelling errors)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants