Background :
-
I have researched this topic for a few months to not much avail to a solution but i have learned about the problem to a large degree.
-
I do understand that this is just an Output Message
and not actually an error -
From what i have researched i have found stuff all over the place so i figured i'd create 1 post that merges that information
-
I have searched the forum and found no other posts like this expect for 1 in german.
All SPI access will default to bitbanged output
MY GOAL : I'm hoping someone can tell me how to silence this message so i don't see it, (unless of course i use SPI in the future, so knowing how to revert to the messaage showing would also be helpful
-
This message only occurs when using ESP32
-
This Message only Occurs when using the FastLED,h Library (By Daniel Garcia)
The version does not seem to matter.
Hardware Information
ESP32 Wroom Dev Board
(i doubt a schematic is required for this problem)
WS2812B LED Strip
https://www.jaycar.com.au/duinotech-arduino-compatible-w2812b-rgb-led-strip-2m/p/XC4390
Software Environment
Arduino IDE 2.1.1
Library - freertos/FreeRTOS.h
Library - freertos/task.h
Library - EspSoftwareSerial - SoftwareSerial.h (By Dirk Kaar) Version 8.1.0
Library - DFRobotDFPlayerMini - DFRobotDFPlayerMini.h (By DFRobot) Version 1.0.6
Library - IRremoteESP8266 - IRremoteESP8266.h (By David Conran) Version 2.8.6
Only This Library is Relevant (in my opinion)
Library - FastLED - FastLED.h (By Daniel Garcia) Version 3.6.0
Here is the irritating Message of Death
In file included from c:\Users\BTO Electronics\Documents\Arduino\Arduino Sketches\libraries\FastLED\src/FastLED.h:75:0,
from C:\Users\BTO Electronics\Documents\Arduino\Arduino Sketches\FLUX_SINGLE_BENCHTEST\SIMPLIFIED\ESP32\PLUTONIUM_and_Audio\PLUTONIUM_and_Audio.ino:34:
c:\Users\BTO Electronics\Documents\Arduino\Arduino Sketches\libraries\FastLED\src/fastspi.h:157:23: note: #pragma message: No hardware SPI pins defined. All SPI access will default to bitbanged output
# pragma message "No hardware SPI pins defined. All SPI access will default to bitbanged output"
Troubleshooting Conducted
- I have uninstalled all of the above mentioned libraries
- Uninstalled the ESP32 board from Preferences
- Uninstalled the drivers
- Uninstalled the IDE
- Manually removed Arduino IDE from the windows Computer registry
- Re installed different versions of the IDE finally coming to the current one
(Obviously i know now it didn't make a difference) - Then ran a basic blink sketch
- Then installed 1 library at a time and compiled
- Then with each Library installation ran a basic sketch for that library
CONCLUSION :
The error only occurs when using ESP32 (Not Arduino Boards)
The error only occurs with the FastLED Library
For the benefit of others getting this for the first time
-
This is not an Error
-
The ESP32 Supports S.P.I. Protocol (SERIAL PERIPHERAL INTERFACE PROTOCL)
-
It is happening because the ESP32 is detecting that you are not using your S.P.I. Pins
-
But also it only happens with the FastLED Library as that library supports S.P.I. Communication between your ESP32 and LED Strips
-
However, This only becomes relevant if your L.E.D. Strip has a "Clock Pin".
See even though the library supports the protocol the LED Strip does not.
Reference ...
What exactly does the clock pin on LED strips like the APA102 do?
Quick Snapshot
-
Most of the time we end up using a 3 Pin Strip (I'm Using WS2812B)
As you can see, No 4th Clock Pin
-
So.. The board is basically saying "I Noticed you're not using the S.P.I. Pins on your board to control the LED strip so just letting you know i'm going to BITBANG the communication from here ."
Reference : Bit Banging
https://en.wikipedia.org/wiki/Bit_banging
OK , so..
Option 1 - We can just ignore the message.
it's not that it irritates me, it's that it sucks up 4 or 5 lines of my output terminal and i'd like to see the other stuff that actually matters.
How do we shut this message up, Any Ideas ?
Research Locations thus far
Source : forum.arduino.cc
What exactly does the clock pin on LED strips like the APA102 do?
Source : Github
# ESP32 - No hardware SPI pins defined. #1169
Source : Reddit
FastLED v3.2.9 with ESP32 shows a warning about no hardware SPI pins defined
Source : Maker Forums
pragma message “No hardware SPI pins defined. All SPI access will default to bitbanged output”
And you can keep going on and on like this only to find a few basic answers repeated
- It's not an Error
- Don't worry about it, it's just informational
- SPI is not supported , don't worry about it
- Just ignore it
well I'm looking for Option 5 - Let's silence the thing
So, Any ideas ?
Thanks in advance
and i also live in the anticipation that we are going to be messing with .config and perhps .json files here so i'm looking forward to that ![]()


