Open BryanThiago opened 4 years ago
Hi, take a look: https://github.com/FastLED/FastLED/issues/790
"Official" fix committed below; in the meantime if you need to you're welcome to do your own local work-around by opening arduino/libraries/FastLED/platforms/esp/8266/led_sysdefs_esp8266.h and deleting line 15, the one that says typedef uint8_t boolean;.
Hi, take a look: FastLED/FastLED#790
"Official" fix committed below; in the meantime if you need to you're welcome to do your own local work-around by opening arduino/libraries/FastLED/platforms/esp/8266/led_sysdefs_esp8266.h and deleting line 15, the one that says typedef uint8_t boolean;.
Thanks i fix that problem, but these continues:
In file included from C:\Users\PC\Downloads\Systematic-LEDs-master\Systematic-LEDs-master\arduino\ws2812_controller\ws2812_controller.ino:8:0:
sketch\FastLED.h:17:21: note: #pragma message: FastLED version 3.001.006
In file included from sketch\platforms/esp/8266/fastled_esp8266.h:6:0,
from sketch\platforms.h:27,
from sketch\FastLED.h:55,
from C:\Users\PC\Downloads\Systematic-LEDs-master\Systematic-LEDs-master\arduino\ws2812_controller\ws2812_controller.ino:8:
sketch\platforms/esp/8266/clockless_esp8266_dma.h:17:21: note: #pragma message: Using DMA-based RGBW controller as per FASTLED_RGBW define
In file included from sketch\platforms/esp/8266/fastled_esp8266.h:6:0,
from sketch\platforms.h:27,
from sketch\FastLED.h:55,
from C:\Users\PC\Downloads\Systematic-LEDs-master\Systematic-LEDs-master\arduino\ws2812_controller\ws2812_controller.ino:8:
sketch\platforms/esp/8266/clockless_esp8266_dma.h:39:123: error: declaration of C function 'void rom_i2c_writeReg_Mask(uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t)' conflicts with void rom_i2c_writeReg_Mask(uint32_t block, uint32_t host_id, uint32_t reg_add, uint32_t Msb, uint32_t Lsb, uint32_t indata);
In file included from C:\Users\PC\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.1\cores\esp8266/esp8266_peri.h:25:0, from C:\Users\PC\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.1\cores\esp8266/Arduino.h:38,
from C:\Users\PC\Downloads\Systematic-LEDs-master\Systematic-LEDs-master\arduino\ws2812_controller\ws2812_controller.ino:1:
C:\Users\PC\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.1\cores\esp8266/esp8266_undocumented.h:9:13: error: previous declaration 'void rom_i2c_writeReg_Mask(int, int, int, int, int, int)' here
extern void rom_i2c_writeReg_Mask(int, int, int, int, int, int);
In file included from sketch\FastLED.h:68:0,
from C:\Users\PC\Downloads\Systematic-LEDs-master\Systematic-LEDs-master\arduino\ws2812_controller\ws2812_controller.ino:8:
sketch\fastspi.h:110:23: note: #pragma message: No hardware SPI pins defined. All SPI access will default to bitbanged output
exit status 1
Erro compilando para a placa NodeMCU 1.0 (ESP-12E Module)
Did you use this library? https://github.com/coryking/FastLED
//#define FASTLED_ESP8266_DMA // better control for ESP8266 will output or RX pin requires fork https://github.com/coryking/FastLED
/**** Network Information (CHANGE THESE FOR YOUR SETUP) ****/
YEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEESSSSS! THANKS SO MUCH
Now i try my project and close the comment.
Glad to hear it.
I have this issue, but in the end it uploads the build anyway - does that mean I should ignore those messages?
and Yes, I added your edited code with the error still occurring.
I TRIED EVERYTHING!!
Arduino: 1.8.13 (Windows 7), Placa:"NodeMCU 1.0 (ESP-12E Module), 160 MHz, Flash, Legacy (new can return nullptr), All SSL ciphers (most compatible), 4MB (FS:2MB OTA:~1019KB), 2, v2 Lower Memory, Disabled, None, Only Sketch, 921600"
In file included from sketch\led_sysdefs.h:43:0,
C:\Users\MARIANA\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.1\cores\esp8266/Arduino.h:170:14: error: conflicting declaration 'typedef bool boolean'
typedef bool boolean;
In file included from sketch\led_sysdefs.h:27:0,
sketch\platforms/esp/8266/led_sysdefs_esp8266.h:15:17: error: 'boolean' has a previous declaration as 'typedef uint8_t boolean'
typedef uint8_t boolean;
In file included from sketch\led_sysdefs.h:43:0,
C:\Users\MARIANA\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.1\cores\esp8266/Arduino.h:170:14: error: conflicting declaration 'typedef bool boolean'
typedef bool boolean;
In file included from sketch\led_sysdefs.h:27:0,
sketch\platforms/esp/8266/led_sysdefs_esp8266.h:15:17: error: 'boolean' has a previous declaration as 'typedef uint8_t boolean'
typedef uint8_t boolean;
In file included from sketch\platforms/esp/8266/fastled_esp8266.h:8:0,
sketch\platforms/esp/8266/clockless_esp8266.h:11:21: note: #pragma message: Using RGBW controller as per FASTLED_RGBW define
pragma message "Using RGBW controller as per FASTLED_RGBW define"
In file included from sketch\platforms/esp/8266/fastled_esp8266.h:8:0,
sketch\platforms/esp/8266/clockless_esp8266.h:11:21: note: #pragma message: Using RGBW controller as per FASTLED_RGBW define
pragma message "Using RGBW controller as per FASTLED_RGBW define"
In file included from sketch\led_sysdefs.h:43:0,
C:\Users\MARIANA\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.1\cores\esp8266/Arduino.h:170:14: error: conflicting declaration 'typedef bool boolean'
typedef bool boolean;
In file included from sketch\led_sysdefs.h:27:0,
sketch\platforms/esp/8266/led_sysdefs_esp8266.h:15:17: error: 'boolean' has a previous declaration as 'typedef uint8_t boolean'
typedef uint8_t boolean;
In file included from sketch\platforms/esp/8266/fastled_esp8266.h:8:0,
sketch\platforms/esp/8266/clockless_esp8266.h:11:21: note: #pragma message: Using RGBW controller as per FASTLED_RGBW define
pragma message "Using RGBW controller as per FASTLED_RGBW define"
exit status 1
Erro compilando para a placa NodeMCU 1.0 (ESP-12E Module)
Este relatório teria mais informações com "Mostrar a saida detalhada durante a compilação" opção pode ser ativada em "Arquivo -> Preferências"