Open mpfarr opened 4 years ago
Hi, can you try to rename the HTTP_HEAD in the header to e.g. HTTP_HEAD_PAINTER (and also in ALL handleXXX Functions in the C-File). I might be already used in newer frameworks of ESP
Hi,
WiFi.h does not exist.
Renaming „HTTP_HEAD in the header to e.g. HTTP_HEAD_PAINTER“ does compile and link.
But if I’ll connect tot he ESP, it crashes…
--------------- CUT HERE FOR EXCEPTION DECODER ---------------
Exception (28):
epc1=0x4021cf96 epc2=0x00000000 epc3=0x00000000 excvaddr=0x00000000 depc=0x00000000
stack>>>
ctx: cont
sp: 3ffffcb0 end: 3fffffc0 offset: 0190
3ffffe40: 00002708 000004e1 000004e1 40100973
3ffffe50: 00000000 00000002 3ffffe90 4020eac3
3ffffe60: 3ffee9ec 3ffe8967 3ffffe90 4020eafc
3ffffe70: 00000002 3ffffe90 3ffee93c 4020e5d0
3ffffe80: 00000001 3ffe8967 3ffee93c 40205675
3ffffe90: 69746300 3f006e6f 80fee93c 00000000
3ffffea0: 3fff0ff8 80fffef0 00000000 4020eeac
3ffffeb0: 3fffff10 3fffff10 3ffffef0 40201b80
3ffffec0: 00000001 00000001 3fff0fac 40205838
3ffffed0: 3fffff10 3ffee97c 3fff0fac 401000e1
3ffffee0: 3fff0fac 3ffee97c 3fff0fac 40201bb8
3ffffef0: 6e6f6300 00676966 80000000 40100973
3fffff00: 3fff0fac 3ffee97c 3ffee93c 40204ce2
3fffff10: 6e6f632f 00676966 87c6a7f0 3fff1900
3fffff20: 0000008f 80006966 40100480 000154d3
3fffff30: 3ffee97c 00000000 3ffee93c 00000001
3fffff40: 00000001 3fff0fac 00001388 3ffeeba0
3fffff50: 00000000 3fff1534 3ffee93c 3ffeeba0
3fffff60: 00000001 3ffee960 3ffee93c 40205f67
3fffff70: 402193d8 00000000 00001388 80efeffe
3fffff80: 00000000 3fff1534 00000001 401003d4
3fffff90: 3fffdad0 00000000 3ffeeb60 40206011
3fffffa0: 3fffdad0 00000000 3ffeeb60 4020f848
3fffffb0: feefeffe feefeffe 3ffe8604 40100361
<<<stack<<<
--------------- CUT HERE FOR EXCEPTION DECODER ---------------
ets Jan 8 2013,rst cause:2, boot mode:(3,6)
load 0x4010f000, len 3584, room 16
tail 0
chksum 0xb0
csum 0xb0
v2843a5ac
~ld
Von: TheMasterFX notifications@github.com Gesendet: Sonntag, 9. August 2020 17:56 An: TheMasterFX/LED-Lightpainter LED-Lightpainter@noreply.github.com Cc: mpfarr matthias@pfarrdrescher.de; Author author@noreply.github.com Betreff: Re: [TheMasterFX/LED-Lightpainter] Coud not compile (#3)
Hi,
can you try to replace "#include
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/TheMasterFX/LED-Lightpainter/issues/3#issuecomment-671068741 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AOAEDPXRPA5W6TMFZ7LVNDTR73BKLANCNFSM4PZH3LYQ .
can you try the fix branch?
While compiling I got: ependency Graph |-- 1.5.0
|-- 5.13.4
|-- 1.2
| |-- 1.0
|-- 1.0
| |-- 1.0
|-- 1.0
Building in release mode
Warning! '-Wl,-T' option for specifying linker scripts is deprecated. Please use 'board_build.ldscript' option in your 'platformio.ini' file.
Compiling .pio\build\nodemcuv2\src\main.cpp.o
Compiling .pio\build\nodemcuv2\lib275\ESP8266WiFi\ESP8266WiFiAP.cpp.o
Compiling .pio\build\nodemcuv2\lib275\ESP8266WiFi\ESP8266WiFiGeneric.cpp.o
Compiling .pio\build\nodemcuv2\lib275\ESP8266WiFi\ESP8266WiFiGratuitous.cpp.o
Compiling .pio\build\nodemcuv2\lib275\ESP8266WiFi\ESP8266WiFiMulti.cpp.o
In file included from C:\Users\Matthias.platformio\packages\framework-arduinoespressif8266\tools\sdk\libc\xtensa-lx106-elf\include/sys/ctype.h:7:0,
from C:\Users\Matthias.platformio\packages\framework-arduinoespressif8266\tools\sdk\libc\xtensa-lx106-elf\include/ctype.h:5,
from C:\Users\Matthias.platformio\packages\framework-arduinoespressif8266\cores\esp8266/WString.h:28,
from C:\Users\Matthias.platformio\packages\framework-arduinoespressif8266\cores\esp8266/IPAddress.h:24,
from C:\Users\Matthias.platformio\packages\framework-arduinoespressif8266\libraries\ESP8266WiFi\src/ESP8266WiFi.h:31,
from src\main.cpp:23:
C:\Users\Matthias.platformio\packages\framework-arduinoespressif8266\tools\sdk\libc\xtensa-lx106-elf\include/sys/pgmspace.h:25:130: error: 'const char HTTP_HEAD []' redeclared as different kind of symbol
define PROGMEM attribute((section( "\".irom.text." FILE "." STRINGIZE(LINE) "." STRINGIZE(COUNTER) "\"")))
include/LED_Painter.h:6:24: note: in expansion of macro 'PROGMEM' const char HTTP_HEAD[] PROGMEM = "<!DOCTYPE html><html lang=\"en\">
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1, user-scalable=no\"/>ANY Hint?