Skip to content

boards/nucleos: deactivate LED0 auto init by default#6813

Merged
aabadie merged 1 commit intoRIOT-OS:masterfrom
aabadie:fix_nucleo_led_spi
Mar 30, 2017
Merged

boards/nucleos: deactivate LED0 auto init by default#6813
aabadie merged 1 commit intoRIOT-OS:masterfrom
aabadie:fix_nucleo_led_spi

Conversation

@aabadie
Copy link
Copy Markdown
Contributor

@aabadie aabadie commented Mar 28, 2017

Should fix #6501

The problem doesn't exist with 32 and 144 pins versions of the nucleo boards.

I accept any better proposition for the macro name.

@aabadie aabadie 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) labels Mar 28, 2017
@aabadie aabadie added this to the Release 2017.04 milestone Mar 28, 2017
@aabadie aabadie requested a review from haukepetersen March 28, 2017 19:14
@vincent-d
Copy link
Copy Markdown
Member

Shouldn't you also drop the saul registration of the LED ?

@haukepetersen
Copy link
Copy Markdown
Contributor

yapp, I would say so.

@haukepetersen
Copy link
Copy Markdown
Contributor

Also I think it would make sense to adapt the comment to quickly say why the LED is not initialized by default -> e.g. something like: The LED pin is also used for SPI, so we enable it only if explicitly wanted by the user or similar

@aabadie aabadie force-pushed the fix_nucleo_led_spi branch 2 times, most recently from 7bcb71d to c3ecc01 Compare March 29, 2017 20:05
@aabadie
Copy link
Copy Markdown
Contributor Author

aabadie commented Mar 29, 2017

@haukepetersen, @vincent-d, just pushed an update addressing your comments. Let me know if it's ok for you.

@aabadie aabadie force-pushed the fix_nucleo_led_spi branch from c3ecc01 to 8c33bd5 Compare March 30, 2017 07:30
Copy link
Copy Markdown
Contributor

@haukepetersen haukepetersen left a comment

Choose a reason for hiding this comment

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

ACK

@haukepetersen haukepetersen added the CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR label Mar 30, 2017
@aabadie aabadie merged commit b1eaed7 into RIOT-OS:master Mar 30, 2017
@aabadie aabadie deleted the fix_nucleo_led_spi branch February 26, 2018 10:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR 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.

boards/nucleo: Pin usage collision (SPI clk vs. LED0)

3 participants