Skip to content

Arduino due spi drivers#1544

Closed
blanloem wants to merge 9 commits intoRIOT-OS:masterfrom
blanloem:arduino-due_spi_drivers
Closed

Arduino due spi drivers#1544
blanloem wants to merge 9 commits intoRIOT-OS:masterfrom
blanloem:arduino-due_spi_drivers

Conversation

@blanloem
Copy link
Copy Markdown

@blanloem blanloem commented Aug 5, 2014

This PR provides SPI drivers for the Arduino-Due board and a project that tests these drivers.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

parens, here and in the other lines

@BytesGalore
Copy link
Copy Markdown
Member

nice, congrats to your first PR

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

comment style (although this is more a case of remove or not)

@haukepetersen haukepetersen self-assigned this Aug 5, 2014
@haukepetersen haukepetersen added this to the Release NEXT MAJOR milestone Aug 5, 2014
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

You can just though out the SPI_1... defines for now.

@haukepetersen
Copy link
Copy Markdown
Contributor

Could you also update the periph_conf.h file for the udoo board? The board layout is identical to the arduino-due, so you just have to copy-paste the SPI parts from the periph_conf.h... Thx

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

You need to guard the file with

#if SPI_NUMOF

and the corresponding #endif in the end of the file. Otherwise boards that use this CPU would try to compile this file even if they don't have an SPI device defined which will then end up in missing types etc.

This should also take care of the failed Travis tests for the Udoo board.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

INRIA right?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Hi,
I am studing at Grenoble where INRIA has some labs but I am currently doing an internship at HAW for two months.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Please use RIOTs standard license header.

This file is subject to the terms and conditions of the GNU Lesser
General Public License v2.1. See the file LICENSE in the top level
directory for more details.

@LudwigKnuepfer
Copy link
Copy Markdown
Member

Is it still WIP?

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.

7 participants