Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I NEED HELP PLZ #81

Open
BryanThiago opened this issue Jun 20, 2020 · 7 comments
Open

I NEED HELP PLZ #81

BryanThiago opened this issue Jun 20, 2020 · 7 comments

Comments

@BryanThiago
Copy link

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,

             from sketch\FastLED.h:44,

             from sketch\bitswap.cpp:2:

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,

             from sketch\FastLED.h:44,

             from sketch\bitswap.cpp:2:

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,

             from sketch\FastLED.h:44,

             from sketch\FastLED.cpp:2:

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,

             from sketch\FastLED.h:44,

             from sketch\FastLED.cpp:2:

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,

             from sketch\platforms.h:27,

             from sketch\FastLED.h:55,

             from sketch\bitswap.cpp:2:

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,

             from sketch\platforms.h:27,

             from sketch\FastLED.h:55,

             from sketch\FastLED.cpp:2:

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,

             from sketch\FastLED.h:44,

             from sketch\colorpalettes.cpp:4:

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,

             from sketch\FastLED.h:44,

             from sketch\colorpalettes.cpp:4:

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,

             from sketch\platforms.h:27,

             from sketch\FastLED.h:55,

             from sketch\colorpalettes.cpp:4:

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"

@Zyqmen
Copy link

Zyqmen commented Jun 20, 2020

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;.

@BryanThiago
Copy link
Author

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

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

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

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)

@Zyqmen
Copy link

Zyqmen commented Jun 20, 2020

Did you use this library?
https://github.com/coryking/FastLED

  1. Try paste this instead yours code.

#define FASTLED_ESP8266_RAW_PIN_ORDER
#define FASTLED_RGBW
#include <Arduino.h>
#include <ArduinoOTA.h>
#include <ESP8266WiFi.h>
#include <WiFiUdp.h>

//#define FASTLED_ESP8266_DMA // better control for ESP8266 will output or RX pin requires fork https://github.com/coryking/FastLED
#include "FastLED.h"
#define FASTLED_ALLOW_INTERRUPTS 0 // Reduce flickering

/************ Network Information (CHANGE THESE FOR YOUR SETUP) ************************/

@BryanThiago
Copy link
Author

YEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEESSSSS! THANKS SO MUCH

@BryanThiago
Copy link
Author

Now i try my project and close the comment.

@Zyqmen
Copy link

Zyqmen commented Jun 22, 2020

Glad to hear it.

@CalebRorty
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants