You are reading a single comment by @MaBe and its replies.
Click here to read the full conversation.
-
Hi @MaBe I read this file and got stuck in make.
I downloaded all the necessary files, create compile.sh file with some vars exports and make. First libs colpiles correctly but make stuck in neopixel lib.#! /bin/bash export FAMILY=ESP8266 export BOARD=ESP8266_BOARD export FLASH_4MB=1 export USE_NET=1 export USE_CRYPTO=1 export USE_TELNET=1 export USE_FILESYSTEM=1 export USE_GRAPHICS=1 export ESP8266_SDK_ROOT=/github/espressif export PATH=$PATH:/github/espopensdk/esp-open-sdk/xtensa-lx106-elf/bin export COMPORT=/dev/ttyUSB0 make clean && make $*
This is terminal output.
In file included from /home/noface/source/repos/github/espopensdk/esp-open-sdk/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.5/include/stdint.h:9:0, from /home/noface/source/repos/github/espruino/Espruino/src/jsutils.h:23, from /home/noface/source/repos/github/espruino/Espruino/src/jspin.h:18, from /home/noface/source/repos/github/espruino/Espruino/libs/neopixel/jswrap_neopixel.h:15, from libs/neopixel/jswrap_neopixel.c:28: /home/noface/source/repos/github/espopensdk/esp-open-sdk/xtensa-lx106-elf/xtensa-lx106-elf/include/stdint.h:80:20: error: conflicting types for 'int32_t' typedef signed int int32_t; ^ In file included from libs/neopixel/jswrap_neopixel.c:21:0: /home/noface/source/repos/github/espressif/include/c_types.h:17:29: note: previous declaration of 'int32_t' was here typedef signed long int32_t; ^ In file included from /home/noface/source/repos/github/espopensdk/esp-open-sdk/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.5/include/stdint.h:9:0, from /home/noface/source/repos/github/espruino/Espruino/src/jsutils.h:23, from /home/noface/source/repos/github/espruino/Espruino/src/jspin.h:18, from /home/noface/source/repos/github/espruino/Espruino/libs/neopixel/jswrap_neopixel.h:15, from libs/neopixel/jswrap_neopixel.c:28: /home/noface/source/repos/github/espopensdk/esp-open-sdk/xtensa-lx106-elf/xtensa-lx106-elf/include/stdint.h:81:22: error: conflicting types for 'uint32_t' typedef unsigned int uint32_t; ^ In file included from libs/neopixel/jswrap_neopixel.c:21:0: /home/noface/source/repos/github/espressif/include/c_types.h:15:29: note: previous declaration of 'uint32_t' was here typedef unsigned long uint32_t; ^ cc1: warning: unrecognized command line option "-Wno-float-conversion" [enabled by default] cc1: warning: unrecognized command line option "-Wno-discarded-qualifiers" [enabled by default] Makefile:744: error«libs/neopixel/jswrap_neopixel.o»
Hi @PressAnyKey this is a good point to start https://github.com/espruino/Espruino/blob/master/README_Building.md#for-esp8266