You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm currently working on porting the FastLED library to the TI CC3200, for part of my undergraduate EE senior project. I'm really impressed with the level of support available for the CC3200 and it's wide range of networking functions. It's like a bigger, more flexible ESP8266, and it even includes cool features like OTA updates.
If anyone has any experience working with the TI compiler (or a lot of these low-level C macros similar to Teensy LC/KL26 support is done), I would love the assistance!
Right now I'm mostly having troubles working through the following compiler errors dealing with templates & specialization. Any help would be appreciated
"C:\Users\[...]\FastLED\platforms\arm\cc3200\fastpin_arm_cc3200.h", line 76: error #793:
explicit specialization is not allowed in the current scope
template<> class FastPin<0> : public _ARMPIN<0, (1 << 0), _R(L, GPIO_O_GPIO_DATA), _R(L, GPIO_O_GPIO_DIR)> {};
^
"C:\Users\[...]\FastLED\platforms\arm\cc3200\fastpin_arm_cc3200.h", line 76: error #505:
class "FastPin<(uint8_t)'\000'>" cannot be specialized in the
current scope
template<> class FastPin<0> : public _ARMPIN<0, (1 << 0), _R(L, GPIO_O_GPIO_DATA), _R(L, GPIO_O_GPIO_DIR)> {};
You haven't checked in fastpin_arm_cc3200.h - so I can't see what it is you're trying to do. My guess is you don't quite have the gpio registers set up/defined correctly.
(and wow, looking at the datasheet for the cc3200 - they actually managed to come up with a sloppier gpio register setup than STM! I'm impressed...)
I suppose that it would help if I checked in the actual file, but the lines that were causing errors are included in above file. I got their GPIO register setup worked out (at least for just setting/clearing bits), using the register assignment that TI uses in their Hardware Abstraction Layer.
For the templates, I'm basically using the same model that was used in the Teensy 3/LC ports, using macro expansions to expand the _DEFPIN_ARM macro and extend/specialize the FastPin class.
I'm still getting the following error (after switching to the G++ compiler from TI's compiler), using the following two lines of code (not in the file I checked in, I just manually expanded the _DEFPIN_ARM macro to eliminate that as a source of error). [SEE EDIT BELOW]
template<>
class FastPin<0> : public _ARMPIN<0, (1 << 0), _R(L, GPIO_O_GPIO_DATA), _R(L, GPIO_O_GPIO_DIR)> {};
Compiler error (G++, std=c++11)
C:/[...]/FastLED/platforms/arm/cc3200/fastpin_arm_cc3200.h:76:10: error: explicit specialization in non-namespace scope 'struct __gen_struct_A0_GPIO_O_GPIO_DATA::__gen_struct_A0_GPIO_O_GPIO_DIR::__gen_struct_A1_GPIO_O_GPIO_DATA::__gen_struct_A1_GPIO_O_GPIO_DIR::__gen_struct_A2_GPIO_O_GPIO_DATA::__gen_struct_A2_GPIO_O_GPIO_DIR::__gen_struct_A3_GPIO_O_GPIO_DATA::__gen_struct_A3_GPIO_O_GPIO_DIR'
template<>
^
C:/[...]/FastLED/platforms/arm/cc3200/fastpin_arm_cc3200.h:77:7: error: specialization of 'template<unsigned char PIN> class FastPin' must appear at namespace scope
class FastPin<0> : public _ARMPIN<0, (1 << 0), _R(L, GPIO_O_GPIO_DATA), _R(L, GPIO_O_GPIO_DIR)> {};
EDIT: I solved this problem. I was missing a "}" at the end of the register definitions. Just fixed it.
Tracked in FastLED/fbuild#391 for TI CC3200 fbuild platform support assessment.
That fbuild issue is scoped to board metadata, toolchain/backend support, and FastLED smoke-build evidence. Any remaining FastLED source/platform-code blocker should stay linked from both sides.
Investigated the fbuild backend for CC3200 build support. Not feasible to implement right now; no useful pieces exist on the fbuild side.
fbuild state
Board metadata: No cc3200, lp_cc3200, lpcc3200, or tilaunchpad-cc3200 JSON exists in crates/fbuild-config/assets/boards/json/. fbuild only ships TI MSP430 and TM4C/Stellaris board JSON (16 boards across timsp430 and titiva PlatformIO platform IDs).
Toolchain / orchestrator:crates/fbuild-build/src/ has zero references to cc3200, titiva, timsp430, tisp, or energia. The Rust workspace has orchestrators for AVR, ESP32, ESP8266, RP2040, STM32, SAM, Teensy, nRF52, CH32V, Renesas, Silabs, Apollo3, and generic_arm only. No Energia/TI ARM Cortex-M4 path exists.
External board sources:uv run python ci/board_sources.py --search cc3200 against Arduino package indices and Zephyr returns zero hits. Zephyr never carried CC3200; Arduino package indices never carried CC3200.
The TM4C JSON entries that do exist also have no orchestrator backing them, so even the "closest cousin" platform is not buildable through fbuild today.
Upstream platform state
TI CC3200 is an EOL part. The PlatformIO tisp / titiva Energia platforms have been unmaintained for years (last meaningful CC3200 work in PlatformIO predates the 3.x core).
The Energia core itself has been effectively abandoned upstream.
Author a lpcc3200BoardConfig JSON with MCU spec (Cortex-M4F, 80 MHz, 256 KB flash, 256 KB RAM), framework set (energia only - no Arduino core), and TI CC3200 SDK references.
Add a new platform orchestrator under crates/fbuild-build/src/cc3200/ modeled on generic_arm but with the Energia/CC3200 SDK include layout, link script, and the bootloader image step needed for the CC3200 (servicepack + MCU image, formatted via cc3200tool or similar, not a normal arm-none-eabi-objcopy hex/bin flow).
Source/host a CC3200 SDK + arm-none-eabi-gcc toolchain package URL set for fbuild-packages (TI no longer hosts the Energia CC3200 core in a stable place).
Add deploy support: CC3200 uses a UART-based "FTDI strapping then cc3200tool" flow, not the existing esptool/avrdude/picotool/bossac paths in fbuild-deploy.
Author a tests/platform/cc3200/ fixture and prove end-to-end build.
Each of those is substantial. Combined cost is much higher than the demand: one stale FastLED port that never reached master, on a part TI has effectively retired.
Recommendation
Closing FastLED/fbuild#391 as not planned. If anyone shows up with an active CC3200 FastLED branch and is willing to drive the toolchain/SDK packaging, we can reopen and revisit. This FastLED issue can stay open for the source-level template work, but the build-system half is parked.
@
Closing as not planned — the WIP never landed, and there's no viable build path for CC3200 today.
Thanks @drewrisinger for the effort here, and for posting the resolution to your own template error (the missing } at the end of the register definitions, which was cascading into explicit specialization in non-namespace scope — a genuinely confusing failure mode, since the real error was nowhere near where the compiler pointed). The fork is still up at drewrisinger/FastLED-CC3200 for anyone who wants to pick it up.
Why this is being closed rather than left open (2026-06-03 assessment, fbuild#391):
No board metadata. No cc3200, lp_cc3200, lpcc3200, or tilaunchpad-cc3200 JSON in crates/fbuild-config/assets/boards/json/. The only TI boards shipped are MSP430 and TM4C/Stellaris (16 boards across timsp430 and titiva).
No toolchain path.crates/fbuild-build/src/ has zero references to cc3200, titiva, timsp430, tisp, or energia. Orchestrators exist for AVR, ESP32, ESP8266, RP2040, STM32, SAM, Teensy, nRF52, CH32V, Renesas, Silabs, Apollo3, and generic_arm — there is no Energia / TI Cortex-M4 route.
So this isn't "needs a bit more work on the port" — it needs a build backend built first, for a 2013-era part whose networking advantages over an ESP32 no longer exist. The undergrad project this came from wrapped up a decade ago.
If someone does want CC3200: the port work itself is the smaller half. Open a fresh issue with the fbuild backend as the first milestone, and agents/docs/platform-port.md plus the platform-port skill are the current starting points — note especially the halt-on-phantom rule in agents/docs/peripheral-existence.md, which exists precisely because ports like this one stall on peripherals assumed rather than verified.
(And @focalintent's 2016 assessment of the CC3200's GPIO register layout — "they actually managed to come up with a sloppier gpio register setup than STM" — is preserved here for posterity.)
Activity
focalintent commentedon Mar 24, 2016
You haven't checked in fastpin_arm_cc3200.h - so I can't see what it is you're trying to do. My guess is you don't quite have the gpio registers set up/defined correctly.
(and wow, looking at the datasheet for the cc3200 - they actually managed to come up with a sloppier gpio register setup than STM! I'm impressed...)
drewrisinger commentedon Mar 26, 2016
I suppose that it would help if I checked in the actual file, but the lines that were causing errors are included in above file. I got their GPIO register setup worked out (at least for just setting/clearing bits), using the register assignment that TI uses in their Hardware Abstraction Layer.
For the templates, I'm basically using the same model that was used in the Teensy 3/LC ports, using macro expansions to expand the _DEFPIN_ARM macro and extend/specialize the FastPin class.
I'm still getting the following error (after switching to the G++ compiler from TI's compiler), using the following two lines of code (not in the file I checked in, I just manually expanded the _DEFPIN_ARM macro to eliminate that as a source of error). [SEE EDIT BELOW]
Compiler error (G++, std=c++11)
EDIT: I solved this problem. I was missing a "}" at the end of the register definitions. Just fixed it.
zackees commentedon Jun 3, 2026
Tracked in FastLED/fbuild#391 for TI CC3200 fbuild platform support assessment.
That fbuild issue is scoped to board metadata, toolchain/backend support, and FastLED smoke-build evidence. Any remaining FastLED source/platform-code blocker should stay linked from both sides.
zackees commentedon Jun 3, 2026
@
fbuild platform-support assessment for TI CC3200 (FastLED/fbuild#391)
Investigated the fbuild backend for CC3200 build support. Not feasible to implement right now; no useful pieces exist on the fbuild side.
fbuild state
cc3200,lp_cc3200,lpcc3200, ortilaunchpad-cc3200JSON exists incrates/fbuild-config/assets/boards/json/. fbuild only ships TI MSP430 and TM4C/Stellaris board JSON (16 boards acrosstimsp430andtitivaPlatformIO platform IDs).crates/fbuild-build/src/has zero references tocc3200,titiva,timsp430,tisp, orenergia. The Rust workspace has orchestrators for AVR, ESP32, ESP8266, RP2040, STM32, SAM, Teensy, nRF52, CH32V, Renesas, Silabs, Apollo3, andgeneric_armonly. No Energia/TI ARM Cortex-M4 path exists.uv run python ci/board_sources.py --search cc3200against Arduino package indices and Zephyr returns zero hits. Zephyr never carried CC3200; Arduino package indices never carried CC3200.Upstream platform state
tisp/titivaEnergia platforms have been unmaintained for years (last meaningful CC3200 work in PlatformIO predates the 3.x core).What it would take to add CC3200 to fbuild
lpcc3200BoardConfigJSON with MCU spec (Cortex-M4F, 80 MHz, 256 KB flash, 256 KB RAM), framework set (energiaonly - no Arduino core), and TI CC3200 SDK references.crates/fbuild-build/src/cc3200/modeled ongeneric_armbut with the Energia/CC3200 SDK include layout, link script, and the bootloader image step needed for the CC3200 (servicepack + MCU image, formatted viacc3200toolor similar, not a normalarm-none-eabi-objcopyhex/bin flow).arm-none-eabi-gcctoolchain package URL set forfbuild-packages(TI no longer hosts the Energia CC3200 core in a stable place).cc3200tool" flow, not the existingesptool/avrdude/picotool/bossacpaths infbuild-deploy.tests/platform/cc3200/fixture and prove end-to-end build.Each of those is substantial. Combined cost is much higher than the demand: one stale FastLED port that never reached
master, on a part TI has effectively retired.Recommendation
Closing FastLED/fbuild#391 as
not planned. If anyone shows up with an active CC3200 FastLED branch and is willing to drive the toolchain/SDK packaging, we can reopen and revisit. This FastLED issue can stay open for the source-level template work, but the build-system half is parked.@
zackees commentedon Aug 1, 2026
Closing as not planned — the WIP never landed, and there's no viable build path for CC3200 today.
Thanks @drewrisinger for the effort here, and for posting the resolution to your own template error (the missing
}at the end of the register definitions, which was cascading intoexplicit specialization in non-namespace scope— a genuinely confusing failure mode, since the real error was nowhere near where the compiler pointed). The fork is still up at drewrisinger/FastLED-CC3200 for anyone who wants to pick it up.Why this is being closed rather than left open (2026-06-03 assessment, fbuild#391):
cc3200,lp_cc3200,lpcc3200, ortilaunchpad-cc3200JSON incrates/fbuild-config/assets/boards/json/. The only TI boards shipped are MSP430 and TM4C/Stellaris (16 boards acrosstimsp430andtitiva).crates/fbuild-build/src/has zero references tocc3200,titiva,timsp430,tisp, orenergia. Orchestrators exist for AVR, ESP32, ESP8266, RP2040, STM32, SAM, Teensy, nRF52, CH32V, Renesas, Silabs, Apollo3, andgeneric_arm— there is no Energia / TI Cortex-M4 route.So this isn't "needs a bit more work on the port" — it needs a build backend built first, for a 2013-era part whose networking advantages over an ESP32 no longer exist. The undergrad project this came from wrapped up a decade ago.
If someone does want CC3200: the port work itself is the smaller half. Open a fresh issue with the fbuild backend as the first milestone, and
agents/docs/platform-port.mdplus theplatform-portskill are the current starting points — note especially the halt-on-phantom rule inagents/docs/peripheral-existence.md, which exists precisely because ports like this one stall on peripherals assumed rather than verified.(And @focalintent's 2016 assessment of the CC3200's GPIO register layout — "they actually managed to come up with a sloppier gpio register setup than STM" — is preserved here for posterity.)