Skip to content

Add support for Adafruit MatrixPortal M4 - #1193

Merged
kriegsman merged 1 commit into
FastLED:masterfrom
Hevi-dev:matrixportal-m4
Mar 15, 2021
Merged

kriegsman merged 1 commit into
FastLED:masterfrom
Hevi-dev:matrixportal-m4

Conversation

@Talljoe

@Talljoe Talljoe commented Feb 22, 2021

Copy link
Copy Markdown
Contributor

Pulled the definitions from the variants file. Tested working (for pin 4/PIN_NEOPIXEL, at least). For SPI I chose the secondary SPI port, since the first is in use by the ESP32 coprocessor. It's rather academic as neither of the SPI ports are broken out to the board.

As one of the pins is bit 31, I needed to change the definition of the macro to unisgned long. I hopefully did so in a manner that is compatible with other boards/compilers.

@kriegsman
kriegsman merged commit d3383df into FastLED:master Mar 15, 2021
@kriegsman

Copy link
Copy Markdown
Member

Thank you for the help and for your contribution to FastLED !

@Talljoe
Talljoe deleted the matrixportal-m4 branch October 13, 2022 18:05
zackees added a commit that referenced this pull request Aug 1, 2026
163 commits upstream since the version the previous `>=1.12.15`
constraint was resolving to. Three map onto build failures seen during
long local sessions:

  #1151  warm-cache deadlock + perf watchdog
         -> "embedded zccache compile timed out after 300s"
  #1180  shorten artifact locks, defer metadata GC
  #1193  embedded-cache durability; daemon drains the index-writer WAL
         before shutdown aborts it
         -> "daemon did not become healthy after 3 spawn attempts"

Both symptoms recurred while running `bash compile` across several
boards, to the point that an unmodified-master control build failed
identically -- environmental rather than source-caused, but they blocked
verification work.

Separately worth noting, #1166 puts the C/C++ compiler binary identity
into the cache key. Previously a toolchain swap could serve objects
built by the previous compiler -- a wrong-output bug, not a slow-build
one, and relevant here because FastLED drives avr-gcc, arm-none-eabi-gcc,
xtensa and host clang out of one cache.

Security: journal environments no longer persist secrets (#1179) and
daemon-owned artifact retention is bounded (#1169).

fbuild stays at 2.5.5; it embeds its own zccache copy and realigning
that is an upstream concern.

uv.lock is gitignored here, so the floor in pyproject.toml is what
actually moves resolution.

Verified after `uv lock && uv sync` (zccache reports 1.13.0):
  bash test --cpp --clean   359/359
  bash compile uno          5036 B   (this was the build that wedged)
  bash compile esp8266      269475 B
  bash lint                 clean

Closes #3819

Co-Authored-By: Claude <[email protected]>
zackees added a commit that referenced this pull request Aug 1, 2026
163 commits upstream since the version the previous `>=1.12.15`
constraint was resolving to. Three map onto build failures seen during
long local sessions:

  #1151  warm-cache deadlock + perf watchdog
         -> "embedded zccache compile timed out after 300s"
  #1180  shorten artifact locks, defer metadata GC
  #1193  embedded-cache durability; daemon drains the index-writer WAL
         before shutdown aborts it
         -> "daemon did not become healthy after 3 spawn attempts"

Both symptoms recurred while running `bash compile` across several
boards, to the point that an unmodified-master control build failed
identically -- environmental rather than source-caused, but they blocked
verification work.

Separately worth noting, #1166 puts the C/C++ compiler binary identity
into the cache key. Previously a toolchain swap could serve objects
built by the previous compiler -- a wrong-output bug, not a slow-build
one, and relevant here because FastLED drives avr-gcc, arm-none-eabi-gcc,
xtensa and host clang out of one cache.

Security: journal environments no longer persist secrets (#1179) and
daemon-owned artifact retention is bounded (#1169).

fbuild stays at 2.5.5; it embeds its own zccache copy and realigning
that is an upstream concern.

uv.lock is gitignored here, so the floor in pyproject.toml is what
actually moves resolution.

Verified after `uv lock && uv sync` (zccache reports 1.13.0):
  bash test --cpp --clean   359/359
  bash compile uno          5036 B   (this was the build that wedged)
  bash compile esp8266      269475 B
  bash lint                 clean

Closes #3819

Co-authored-by: Claude <[email protected]>
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.

2 participants