PlatformIO Community

Suddenly can't build or upload

EDIT2 st.h:3:6: error: redefinition of playwav (char, int) now its stuck on that…and there is no other function like it. thats the only void playwav…any ideas?
EDIT: Forgive me, it was my mistake. I removed adafruit led library like 2 days ago, never complained about it, but noticing the warning for pixels i tried putting it back in (even though my ino file has no pixel functions left, it worked. once the old library was put back it built…)

I’ve been using vscode just fine for Many builds and uploads. Now all of a sudden I can’t do anything… It works two ways right now.

  1. Throws errors declaring a problem with my code usually it says something In audio h can’t be defined (it’s definition is in the main file. I know this isn’t true. Nothing in that regard has even been touched.

  2. No errors but collector2 exit with code 1.

Here is the output from the terminal (i used a code block but it apparently didn’t work)
Edit none of these show as errors all are yellow warning

Processing m5stack-core2 (platform: espressif32; board: m5stack-core2; framework: arduino)
-------------------------------------------------------------------------------------------------------Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/m5stack-core2.html
PLATFORM: Espressif 32 (3.3.2) > M5Stack Core2
HARDWARE: ESP32 240MHz, 4.31MB RAM, 16MB Flash
DEBUG: Current (esp-prog) External (esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)
PACKAGES:
 - framework-arduinoespressif32 3.10006.210326 (1.0.6)
 - tool-esptoolpy 1.30100.210531 (3.1.0)
 - toolchain-xtensa32 2.50200.97 (5.2.0)
Converting pa-ci1.ino
LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 71 compatible libraries
Scanning dependencies...
Dependency Graph
|-- <arduino-timer> 2.3.0
|-- <Wire> 1.0.1
|-- <SD(esp32)> 1.0.5
|   |-- <FS> 1.0
|   |-- <SPI> 1.0
|-- <ArduinoJson> 6.18.4
|-- <ESPmDNS> 1.0
|   |-- <WiFi> 1.0
|-- <HTTPClient> 1.2
|   |-- <WiFi> 1.0
|   |-- <WiFiClientSecure> 1.0
|   |   |-- <WiFi> 1.0
|-- <HTTPUpdate> 1.3
|   |-- <HTTPClient> 1.2
|   |   |-- <WiFi> 1.0
|   |   |-- <WiFiClientSecure> 1.0
|   |   |   |-- <WiFi> 1.0
|   |-- <Update> 1.0
|   |-- <WiFi> 1.0
|-- <M5Core2> 0.0.5
|   |-- <Wire> 1.0.1
|   |-- <SPIFFS> 1.0
|   |   |-- <FS> 1.0
|   |-- <FS> 1.0
|   |-- <SPI> 1.0
|   |-- <HTTPClient> 1.2
|   |   |-- <WiFi> 1.0
|   |   |-- <WiFiClientSecure> 1.0
|   |   |   |-- <WiFi> 1.0
|   |-- <SD(esp32)> 1.0.5
|   |   |-- <FS> 1.0
|   |   |-- <SPI> 1.0
|-- <Preferences> 1.0
|-- <WebServer> 1.0
|   |-- <WiFi> 1.0
|   |-- <FS> 1.0
|-- <WiFi> 1.0
|-- <Adafruit NeoPixel> 1.8.7
|-- <ESP8266Audio> 1.9.2
|   |-- <SD(esp32)> 1.0.5
|   |   |-- <FS> 1.0
|   |   |-- <SPI> 1.0
|   |-- <FS> 1.0
|   |-- <SPIFFS> 1.0
|   |   |-- <FS> 1.0
|   |-- <HTTPClient> 1.2
|   |   |-- <WiFi> 1.0
|   |   |-- <WiFiClientSecure> 1.0
|   |   |   |-- <WiFi> 1.0
|   |-- <SPI> 1.0
|-- <FastLED> 3.4.0
|   |-- <SPI> 1.0
|-- <DNSServer> 1.1.0
|   |-- <WiFi> 1.0
|-- <EEPROM> 1.0.3
Building in release mode
Compiling .pio\build\m5stack-core2\src\pa-ci1.ino.cpp.o
In file included from C:/Users/Administrator.MYTDS/Documents/PlatformIO/Projects/pa-ci1/src/pa-ci1.ino:53:0:
C:/Users/Administrator.MYTDS/Documents/Arduino/libraries/FastLED/src/FastLED.h:14:21: note: #pragma message: FastLED version 3.004.000
 #    pragma message "FastLED version 3.004.000"
                     ^
In file included from C:/Users/Administrator.MYTDS/Documents/Arduino/libraries/FastLED/src/FastLED.h:65:0,
                 from C:/Users/Administrator.MYTDS/Documents/PlatformIO/Projects/pa-ci1/src/pa-ci1.ino:53:
C:/Users/Administrator.MYTDS/Documents/Arduino/libraries/FastLED/src/fastspi.h:135: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"                       ^
C:/Users/Administrator.MYTDS/Documents/PlatformIO/Projects/pa-ci1/src/pa-ci1.ino: In function 'void play_tone(uint16_t, uint32_t, uint8_t)':
C:/Users/Administrator.MYTDS/Documents/PlatformIO/Projects/pa-ci1/src/pa-ci1.ino:584:10: warning: unused variable 'bytes_written' [-Wunused-variable]
   size_t bytes_written = 0;
          ^
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libmad\layer3.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\celt\bands.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\celt\celt_decoder.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\celt\celt_encoder.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\celt\pitch.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\celt\quant_bands.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\celt\rate.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\celt\vq.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\mapping_matrix.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\opus.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\opus_decoder.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\opus_encoder.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\opus_multistream.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\opus_multistream_decoder.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\opus_projection_decoder.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\opus_projection_encoder.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\repacketizer.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\silk\A2NLSF.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\silk\CNG.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\silk\HP_variable_cutoff.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\silk\LPC_analysis_filter.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\silk\LPC_fit.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\silk\LPC_inv_pred_gain.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\silk\LP_variable_cutoff.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\silk\NLSF2A.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\silk\NLSF_VQ.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\silk\NLSF_VQ_weights_laroia.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\silk\NLSF_decode.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\silk\NLSF_del_dec_quant.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\silk\NLSF_encode.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\silk\NLSF_stabilize.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\silk\NLSF_unpack.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\silk\NSQ.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\silk\NSQ_del_dec.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\silk\PLC.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\silk\VAD.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\silk\VQ_WMat_EC.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\silk\ana_filt_bank_1.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\silk\biquad_alt.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\silk\bwexpander.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\silk\bwexpander_32.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\silk\check_control_input.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\silk\code_signs.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\silk\control_SNR.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\silk\control_audio_bandwidth.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\silk\control_codec.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\silk\debug.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\silk\dec_API.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\silk\decode_core.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\silk\decode_frame.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\silk\decode_indices.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\silk\decode_parameters.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\silk\decode_pitch.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\silk\decode_pulses.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\silk\decoder_set_fs.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\silk\enc_API.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\silk\encode_indices.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\silk\encode_pulses.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\silk\fixed\LTP_analysis_filter_FIX.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\silk\fixed\LTP_scale_ctrl_FIX.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\silk\fixed\apply_sine_window_FIX.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\silk\fixed\autocorr_FIX.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\silk\fixed\burg_modified_FIX.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\silk\fixed\corrMatrix_FIX.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\silk\fixed\encode_frame_FIX.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\silk\fixed\find_LPC_FIX.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\silk\fixed\find_LTP_FIX.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\silk\fixed\find_pitch_lags_FIX.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\silk\fixed\find_pred_coefs_FIX.c.o      
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\silk\fixed\k2a_FIX.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\silk\fixed\k2a_Q16_FIX.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\silk\fixed\noise_shape_analysis_FIX.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\silk\fixed\pitch_analysis_core_FIX.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\silk\fixed\process_gains_FIX.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\silk\fixed\regularize_correlations_FIX.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\silk\fixed\residual_energy16_FIX.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\silk\fixed\residual_energy_FIX.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\silk\fixed\schur64_FIX.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\silk\fixed\schur_FIX.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\silk\fixed\vector_ops_FIX.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\silk\fixed\warped_autocorrelation_FIX.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\silk\gain_quant.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\silk\init_decoder.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\silk\init_encoder.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\silk\inner_prod_aligned.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\silk\interpolate.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\silk\lin2log.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\silk\log2lin.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\silk\pitch_est_tables.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\silk\process_NLSFs.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\silk\quant_LTP_gains.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\silk\resampler.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\silk\resampler_down2.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\silk\resampler_down2_3.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\silk\resampler_private_AR2.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\silk\resampler_private_IIR_FIR.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\silk\resampler_private_down_FIR.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\silk\resampler_private_up2_HQ.c.o       
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\silk\resampler_rom.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\silk\shell_coder.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\silk\sigm_Q15.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\silk\sort.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\silk\stereo_LR_to_MS.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\silk\stereo_MS_to_LR.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\silk\stereo_decode_pred.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\silk\stereo_encode_pred.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\silk\stereo_find_predictor.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\silk\stereo_quant_pred.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\silk\sum_sqr_shift.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\silk\table_LSF_cos.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\silk\tables_LTP.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\silk\tables_NLSF_CB_NB_MB.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\silk\tables_NLSF_CB_WB.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\silk\tables_gain.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\silk\tables_other.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\silk\tables_pitch_lag.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\libopus\silk\tables_pulses_per_block.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\opusfile\info.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\opusfile\internal.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\opusfile\opusfile.c.o
Compiling .pio\build\m5stack-core2\lib409\ESP8266Audio\opusfile\stream.c.o
Compiling .pio\build\m5stack-core2\lib353\DNSServer\DNSServer.cpp.o
Compiling .pio\build\m5stack-core2\lib262\EEPROM\EEPROM.cpp.o
Archiving .pio\build\m5stack-core2\libFrameworkArduinoVariant.a
Compiling .pio\build\m5stack-core2\FrameworkArduino\Esp.cpp.o
Compiling .pio\build\m5stack-core2\FrameworkArduino\FunctionalInterrupt.cpp.o
Compiling .pio\build\m5stack-core2\FrameworkArduino\HardwareSerial.cpp.o
Compiling .pio\build\m5stack-core2\FrameworkArduino\IPAddress.cpp.o
Compiling .pio\build\m5stack-core2\FrameworkArduino\IPv6Address.cpp.o
Compiling .pio\build\m5stack-core2\FrameworkArduino\MD5Builder.cpp.o
Compiling .pio\build\m5stack-core2\FrameworkArduino\Print.cpp.o
Compiling .pio\build\m5stack-core2\FrameworkArduino\Stream.cpp.o
Compiling .pio\build\m5stack-core2\FrameworkArduino\StreamString.cpp.o
Compiling .pio\build\m5stack-core2\FrameworkArduino\WMath.cpp.o
Compiling .pio\build\m5stack-core2\FrameworkArduino\WString.cpp.o
Compiling .pio\build\m5stack-core2\FrameworkArduino\base64.cpp.o
Compiling .pio\build\m5stack-core2\FrameworkArduino\cbuf.cpp.o
Compiling .pio\build\m5stack-core2\FrameworkArduino\esp32-hal-adc.c.o
C:/Users/Administrator.MYTDS/Documents/Arduino/libraries/ESP8266Audio/src/opusfile/opusfile.c: In function 'op_pcm_seek':
C:/Users/Administrator.MYTDS/Documents/Arduino/libraries/ESP8266Audio/src/opusfile/opusfile.c:2406:16: 
warning: 'li' may be used uninitialized in this function [-Wmaybe-uninitialized]
   _of->cur_link=_li;
                ^
C:/Users/Administrator.MYTDS/Documents/Arduino/libraries/ESP8266Audio/src/opusfile/opusfile.c:2607:22: 
note: 'li' was declared here
   int                li;
                      ^
Compiling .pio\build\m5stack-core2\FrameworkArduino\esp32-hal-bt.c.o
Compiling .pio\build\m5stack-core2\FrameworkArduino\esp32-hal-cpu.c.o
Archiving .pio\build\m5stack-core2\lib409\libESP8266Audio.a
Compiling .pio\build\m5stack-core2\FrameworkArduino\esp32-hal-dac.c.o
Compiling .pio\build\m5stack-core2\FrameworkArduino\esp32-hal-gpio.c.o
Compiling .pio\build\m5stack-core2\FrameworkArduino\esp32-hal-i2c.c.o
Compiling .pio\build\m5stack-core2\FrameworkArduino\esp32-hal-ledc.c.o
Compiling .pio\build\m5stack-core2\FrameworkArduino\esp32-hal-log.c.o
Compiling .pio\build\m5stack-core2\FrameworkArduino\esp32-hal-matrix.c.o
Compiling .pio\build\m5stack-core2\FrameworkArduino\esp32-hal-misc.c.o
Archiving .pio\build\m5stack-core2\lib262\libEEPROM.a
Compiling .pio\build\m5stack-core2\FrameworkArduino\esp32-hal-psram.c.o
Compiling .pio\build\m5stack-core2\FrameworkArduino\esp32-hal-rmt.c.o
Compiling .pio\build\m5stack-core2\FrameworkArduino\esp32-hal-sigmadelta.c.o
Archiving .pio\build\m5stack-core2\lib353\libDNSServer.a
Compiling .pio\build\m5stack-core2\FrameworkArduino\esp32-hal-spi.c.o
Compiling .pio\build\m5stack-core2\FrameworkArduino\esp32-hal-time.c.o
Compiling .pio\build\m5stack-core2\FrameworkArduino\esp32-hal-timer.c.o
Compiling .pio\build\m5stack-core2\FrameworkArduino\esp32-hal-touch.c.o
Compiling .pio\build\m5stack-core2\FrameworkArduino\esp32-hal-uart.c.o
Compiling .pio\build\m5stack-core2\FrameworkArduino\libb64\cdecode.c.o
Compiling .pio\build\m5stack-core2\FrameworkArduino\libb64\cencode.c.o
Compiling .pio\build\m5stack-core2\FrameworkArduino\main.cpp.o
C:/Users/Administrator.MYTDS/.platformio/packages/framework-arduinoespressif32/cores/esp32/esp32-hal-spi.c: In function 'spiTransferBytesNL':
C:/Users/Administrator.MYTDS/.platformio/packages/framework-arduinoespressif32/cores/esp32/esp32-hal-spi.c:922:39: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]      
                 uint8_t * last_out8 = &result[c_longs-1];
                                       ^
C:/Users/Administrator.MYTDS/.platformio/packages/framework-arduinoespressif32/cores/esp32/esp32-hal-spi.c:923:40: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]      
                 uint8_t * last_data8 = &last_data;
                                        ^
Compiling .pio\build\m5stack-core2\FrameworkArduino\stdlib_noniso.c.o
Compiling .pio\build\m5stack-core2\FrameworkArduino\wiring_pulse.c.o
Compiling .pio\build\m5stack-core2\FrameworkArduino\wiring_shift.c.o
Archiving .pio\build\m5stack-core2\libFrameworkArduino.a
Linking .pio\build\m5stack-core2\firmware.elf
.pio\build\m5stack-core2\src\M5NSWebConfig.cpp.o:(.literal._Z10handleRootv+0x320): undefined reference 
to `pixels'
collect2.exe: error: ld returned 1 exit status
*** [.pio\build\m5stack-core2\firmware.elf] Error 1
===================================== [FAILED] Took 28.68 seconds =====================================The terminal process "C:\Users\Administrator.MYTDS\.platformio\penv\Scripts\platformio.exe 'run', '--environment', 'm5stack-core2'" terminated with exit code: 1.

Terminal will be reused by tasks, press any key to close it.

This error stemms from your source code – it says the existance of the pixels object was declared, but never defined. This is usally the case when a header does

#include <FastLED.h>

extern CRGB pixels[10]; 

but without there being

CRGB pixels[10]; 

in a .cpp file anywhere.

What is the exact code that declared and defines the pixels object in the firmware?

To make the block of log data into a “code block”, select the text and then click the “Preformatted text” button (shortcut: Ctril+Shift+C).

Maybe you tried the single backtick instead of the triple backticks?

I got the issue resolved I forgot I had put some elements for the adafruit?? Neopixel library effects and such. They were on a header file I forgot about when I started changing to use the fastled library…

You would be correct! My bad :slight_smile: