Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions platforms/platformio.lpc804.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
; PlatformIO Project Configuration File
;
; Bare NXP LPC804M101 (no dev-kit-specific pin mapping).
; Cortex-M0+ @ 15 MHz, 4 KB SRAM / 32 KB Flash.
;
; IMPORTANT: at 15 MHz the bit-bang clockless driver does NOT meet WS2812
; protocol timing. To drive WS2812-class LEDs from an LPC804 you must opt
; into the PLU (Programmable Logic Unit) fast path
; (clockless_arm_lpc_plu.h) by uncommenting -DFASTLED_LPC_PLU below. The
; PLU synthesizes the bitstream in the chip's 26-LUT hardware fabric.
;
; The platform package is NOT in the upstream PlatformIO registry. We use
; the zackees/platform-nxplpc-arduino fork (adds the Arduino framework
; binding via ArduinoCore-LPC8xx). The SHA below is pinned to match
; FastLED master's own platformio.ini.

[env:lpc804]
platform = https://github.com/zackees/platform-nxplpc-arduino.git#2ee527ae80de98e9105329a7260edb003289dfda
board = lpc804
framework = arduino

build_flags =
; -DFASTLED_LPC_PLU ; uncomment for WS2812-class LED output

lib_deps =
FastLED
21 changes: 21 additions & 0 deletions platforms/platformio.lpc845.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
; PlatformIO Project Configuration File
;
; Bare NXP LPC845M301 (no dev-kit-specific pin mapping).
; Cortex-M0+ @ 24 MHz, 16 KB SRAM / 64 KB Flash.
;
; FastLED uses the bit-bang clockless driver (clockless_arm_lpc.h /
; m0clockless_c.h) by default. For the SCT+DMA fast path see the
; lpc845brk env (-DFASTLED_LPC_PWM_DMA=1).
;
; The platform package is NOT in the upstream PlatformIO registry. We use
; the zackees/platform-nxplpc-arduino fork (adds the Arduino framework
; binding via ArduinoCore-LPC8xx). The SHA below is pinned to match
; FastLED master's own platformio.ini.

[env:lpc845]
platform = https://github.com/zackees/platform-nxplpc-arduino.git#2ee527ae80de98e9105329a7260edb003289dfda
board = lpc845
framework = arduino

lib_deps =
FastLED
24 changes: 24 additions & 0 deletions platforms/platformio.lpc845brk.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
; PlatformIO Project Configuration File
;
; NXP LPC845-BRK breakout — recommended starting point for LPC845.
; Cortex-M0+ @ 24 MHz, 16 KB SRAM / 64 KB Flash.
;
; This env opts into the FastLED LPC845 fast path
; (clockless_arm_lpc_pwm_dma.h — SCT + 3-channel DMA-to-GPIO). Drop the
; FASTLED_LPC_PWM_DMA flag if you'd rather use the plain bit-bang driver.
;
; The platform package is NOT in the upstream PlatformIO registry. We use
; the zackees/platform-nxplpc-arduino fork (adds the Arduino framework
; binding via ArduinoCore-LPC8xx). The SHA below is pinned to match
; FastLED master's own platformio.ini.

[env:lpc845brk]
platform = https://github.com/zackees/platform-nxplpc-arduino.git#2ee527ae80de98e9105329a7260edb003289dfda
board = lpc845brk
framework = arduino

build_flags =
-DFASTLED_LPC_PWM_DMA=1

lib_deps =
FastLED
25 changes: 25 additions & 0 deletions platforms/platformio.lpcxpresso804.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
; PlatformIO Project Configuration File
;
; NXP LPCXpresso804 development board (LPC804-based).
; Cortex-M0+ @ 15 MHz, 4 KB SRAM / 32 KB Flash.
;
; IMPORTANT: same 15 MHz constraint as [env:lpc804]. To drive WS2812-class
; LEDs you must opt into the PLU fast path (clockless_arm_lpc_plu.h) by
; uncommenting -DFASTLED_LPC_PLU below — the plain bit-bang driver cannot
; meet WS2812 timing at this clock speed.
;
; The platform package is NOT in the upstream PlatformIO registry. We use
; the zackees/platform-nxplpc-arduino fork (adds the Arduino framework
; binding via ArduinoCore-LPC8xx). The SHA below is pinned to match
; FastLED master's own platformio.ini.

[env:lpcxpresso804]
platform = https://github.com/zackees/platform-nxplpc-arduino.git#2ee527ae80de98e9105329a7260edb003289dfda
board = lpcxpresso804
framework = arduino

build_flags =
; -DFASTLED_LPC_PLU ; uncomment for WS2812-class LED output

lib_deps =
FastLED
20 changes: 20 additions & 0 deletions platforms/platformio.lpcxpresso845max.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
; PlatformIO Project Configuration File
;
; NXP LPCXpresso845MAX development board (LPC845-based).
; Cortex-M0+ @ 24 MHz, 16 KB SRAM / 64 KB Flash.
;
; FastLED uses the bit-bang clockless driver by default on this env.
; To opt into the SCT+DMA fast path add: -DFASTLED_LPC_PWM_DMA=1
;
; The platform package is NOT in the upstream PlatformIO registry. We use
; the zackees/platform-nxplpc-arduino fork (adds the Arduino framework
; binding via ArduinoCore-LPC8xx). The SHA below is pinned to match
; FastLED master's own platformio.ini.

[env:lpcxpresso845max]
platform = https://github.com/zackees/platform-nxplpc-arduino.git#2ee527ae80de98e9105329a7260edb003289dfda
board = lpcxpresso845max
framework = arduino

lib_deps =
FastLED
Loading