Repository navigation
Support on ATmega4809 with minimal changes - #1050
Merged
Merged
Conversation
- Credit to @Jueff (FastLED#716 (comment)) - `fastpin_avr.h`: SPI support is commented out, due to no test case - SPI_DATA, SPI_CLOCK, SPI_SELECT pins in the comments are updated according to (FastLED#716 (comment)) - Logic flipped for `// Register name equivalent (using flat names)` to avoid changes in `#define _FL_IO` and `#define _FL_DEFPIN` for avr platforms that are not explicitly mentioned - changes in `platform.cpp` shifted to `leds_sysdefs_avr.h`, absorbing @david-nc 's comment (FastLED#716 (comment))
jtq
reviewed
Jul 17, 2020
- RX/TX pin is swapped when using the definition for __AVR_ATmega4809__ #2 - Pin mappings used came from working branch https://github.com/FastLED/FastLED/blob/avrmega/platforms/avrmega/fastpin_avrmega.h
ngyl88
marked this pull request as ready for review
July 25, 2020 06:11
Contributor
Author
|
@kriegsman Following #716 (comment) , would you be able to review this PR and hopefully merge these changes ? The main changes are done according to #716 (comment) . |
Member
|
Thank you so very much for the help with this, and for the contributions! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The changes in PR is expecting no other behavioural changes, except on the support to ATmega4809 platform.
Changes was ported over in the zipfile in threads in #716, with some minimal changes detailed in the commit messages.
Pushing this forward as the changes is minimal, although I'm aware of the other working branch
avrmegathat commits are behind master. We can probably do the improvements (eg. refactoring/organizations of files) over there. Suggesting rebase master in the branch when possible. Related thread for work-in-progress on the same platform: #858.