Skip to content

Conversation

@lebrush
Copy link
Member

@lebrush lebrush commented Sep 13, 2017

This was previously configured to PC5 which is shared with the i2c
SCL line. PD7 is selected since it's the only pin which does not
have an additional function.

This was previously configured to PC5 which is shared with the i2c
SCL line. PD7 is selected since it's the only pin which does not
have an additional function.
@lebrush lebrush added Platform: AVR Platform: This PR/issue effects AVR-based platforms Type: bug The issue reports a bug / The PR fixes a bug (including spelling errors) labels Sep 13, 2017
@lebrush lebrush added this to the Release 2017.10 milestone Sep 13, 2017
@roberthartung
Copy link
Member

Just a quick question: Is it a good idea to have such things in the common part of the board? Isn't it better to have it per board as different boards with the same CPU might have a confliect as well?

@lebrush
Copy link
Member Author

lebrush commented Sep 15, 2017

Yes, good point. I thought about the same, there's a lot of mixed code for the Atmega MCUs... I suggest to leave this PR as is, since just fixes the pin, I will open a new one refactoring these definition board based to start discussion on that.

Copy link
Member

@smlng smlng left a comment

Choose a reason for hiding this comment

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

Untested ACK, but looks good according to 328p data sheet. I agree with both of you, this should got into cpu instead of board, but also: atmega config is currently a mess and needs improvement.

@roberthartung
Copy link
Member

@smlng True! Maybe we can work something out with #7610 as the context swap makes pin change interrupts unusable at the moment?

@lebrush lebrush added the CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR label Sep 18, 2017
@lebrush
Copy link
Member Author

lebrush commented Sep 18, 2017

And go!

@lebrush lebrush merged commit 81bfb0c into RIOT-OS:master Sep 18, 2017
@lebrush lebrush deleted the fix/atmega-context-switch branch September 18, 2017 13:09
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: AVR Platform: This PR/issue effects AVR-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.

3 participants