Repository navigation
feat(nxplpc): bump ArduinoCore-LPC8xx pin to 50d76e0d — full NXP CMSIS PAL - #785
Conversation
…S PAL
Updates ACLPC_COMMIT, ACLPC_VERSION, ACLPC_URL, and ACLPC_CHECKSUM in
crates/fbuild-packages/src/library/arduino_core_lpc8xx.rs:
COMMIT: 195a2eddd31eba8472ceaffa6a1a1902f72439ae
-> 50d76e0d63c2d2a2b365b29de47100d93c530c83
VERSION: 0.1.0+g195a2ed -> 0.2.0+g50d76e0
URL: bumped tarball URL to new SHA
CHECKSUM: 366de74b93179ba4b5e8ac9e527f15f189d9e26bcedd030fe11c11a2c907f3e4
-> e6bbcc3392ae9da44c5c92268d7cd953770e0011fcf285561104633e36087428
FastLED/framework-arduino-lpc8xx#34 ships the full NXP CMSIS Peripheral Access
Layer in variants/lpc845/LPC845.h (~10K lines) and variants/lpc804/
LPC804.h (~7K lines), replacing the previous 54/49-line IRQn-only stubs.
The vendor headers (rev. 1.2, BSD-3-Clause from nxp-mcuxpresso/mcux-sdk)
provide canonical peripheral typedefs (SCT_Type, DMA_Type, SYSCON_Type,
SPI_Type, GPIO_Type, SWM_Type, IOCON_Type, PINT_Type, INPUTMUX_Type,
PLU_Type for LPC804, etc.) plus pointer macros (SCT0, DMA0, SYSCON,
SPI0/1, PLU, IOCON, SWM0, ...).
Unblocks downstream FastLED #3437 which migrated FastLED's LPC drivers
to vendor typedefs (FastLED/FastLED#3438 merged today). After this
fbuild pin bump, the fbuild backend will pull the same upstream commit
that the platformio backend now pulls via platform-nxplpc-arduino
v0.2.0 (FastLED/platform-nxp-lpc8xx#9, also pinned at the same
ArduinoCore-LPC8xx SHA).
Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
|
Warning Review limit reached
More reviews will be available in 26 minutes and 2 seconds. Learn how PR review limits work. Your organization has used up its prepaid credits, and credit purchases are no longer available. Enable the review add-on in the billing tab to keep reviews running — you're only billed for reviews past your plan's rate limits ($0.25/file). ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based credits. 🚦 How do rate limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
Bumps the pinned ArduinoCore-LPC8xx commit (consumed by fbuild's nxplpc backend) from
195a2edto50d76e0d— the merge of zackees/ArduinoCore-LPC8xx#34, which ships the full NXP CMSIS Peripheral Access Layer.This is the fbuild counterpart to:
After this merges, all three backends (arduino-cli, fbuild, platformio) pull the same ArduinoCore-LPC8xx commit with the full NXP CMSIS PAL.
Changes
Single file:
crates/fbuild-packages/src/library/arduino_core_lpc8xx.rsChecksum was recomputed locally via
curl -sSL <new-url> | sha256sum.What the new pin brings in
The new ArduinoCore-LPC8xx ships:
variants/lpc845/LPC845.h— full NXP CMSIS PAL (~10,200 lines, BSD-3-Clause, rev. 1.2) replacing the prior 54-line stubvariants/lpc804/LPC804.h— full PAL (~7,400 lines) replacing the prior 49-line stubvariants/lpc{845,804}/system_LPC{845,804}.h— full NXP system headers replacing the prior 18-line stubscores/lpc8xx/fsl_device_registers.hupdated to pull inlpc8xx_registers.hafter the chip header, preserving Arduino-flavored aliases (LPC8XX_SYSCON,LPC8XX_SPI0, etc.) for backward compatibilityPeripheral typedefs now available downstream:
SCT_Type,DMA_Type,SYSCON_Type,SPI_Type,GPIO_Type,SWM_Type,IOCON_Type,PINT_Type,INPUTMUX_Type,WKT_Type,MRT_Type,ADC_Type,ACOMP_Type,CAPT_Type,CRC_Type,CTIMER_Type,DAC_Type,FLASH_CTRL_Type,I2C_Type,MTB_Type,PMU_Type,USART_Type,WWDT_Type, plusPLU_Typefor LPC804.Pointer macros:
SCT0,DMA0,SYSCON,SPI0,SPI1,GPIO,SWM0,IOCON,INPUTMUX,PINT,PLU(LPC804), etc.Compatibility note — IRQn renames
The new vendor headers use chip-accurate IRQn names that differ from the old stub:
SCT_IRQnSCT0_IRQnDMA_IRQnDMA0_IRQnMRT_IRQnMRT0_IRQnCMP_IRQnCMP_CAPT_IRQnADC_SEQA_IRQnADC0_SEQA_IRQn(LPC845 only)PIN_INT{5,6,7}_IRQnPIN_INT5_DAC1_IRQn/PIN_INT6_USART3_IRQn/PIN_INT7_USART4_IRQn(LPC845 only)The Arduino LPC8xx core's vector table (
cores/lpc8xx/startup_lpc8xx.c) uses positionalDefault_Handlerslots — no named IRQn references — so the core is unaffected. Downstream code that referenced the old IRQn names directly will need to update. Search results in this repo for the old names returned empty.Test plan
cargo test -p fbuild-packages— verify checksum validation workscargo test -p fbuild-build --test nxplpc_build_flags(existing test) — compile-flags-and-includes integrationcargo test -p fbuild-build --test nxplpc_core_compile_commands(existing test) — per-source compile_commands.jsonCross-references
50d76e0d12265f76defbb345(closes FastLED meta #3437)🤖 Generated with Claude Code