Skip to content

Support on ATmega4809 with minimal changes - #1050

Merged
kriegsman merged 5 commits into
FastLED:masterfrom
ngyl88-arduino:master
Nov 2, 2020
Merged

kriegsman merged 5 commits into
FastLED:masterfrom
ngyl88-arduino:master

Conversation

@ngyl88

@ngyl88 ngyl88 commented Jul 11, 2020

Copy link
Copy Markdown
Contributor

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 avrmega that 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.

ngyl88 added 2 commits July 11, 2020 13:34
…tended for avr

- See commits
  - 5387b84
    (unsilence without context, perhaps debugging for work-in-progress?)
  - b7e9672
    (silence compiler warnings that is intended for fall through)
- 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))
Comment thread platforms/avr/led_sysdefs_avr.h Resolved
@ngyl88
ngyl88 marked this pull request as ready for review July 25, 2020 06:11
@ngyl88

ngyl88 commented Oct 25, 2020

Copy link
Copy Markdown
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) .

@kriegsman
kriegsman merged commit a3e1478 into FastLED:master Nov 2, 2020
@kriegsman

Copy link
Copy Markdown
Member

Thank you so very much for the help with this, and for the contributions!

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.

3 participants