Hey, I have tryed that, but I get a lot of compiler fault.
So it is over my head at the moment.
I only seems that could be nice, with a message if it took too long.
In file included from /home/poul/Programmer/ESP8266_NONOS_SDK_V1.5.3_16_04_18/ESP8266_NONOS_SDK/include/ets_sys.h:11:0,
from targets/esp8266/i2c_master.c:35:
/home/poul/Programmer/ESP8266_NONOS_SDK_V1.5.3_16_04_18/ESP8266_NONOS_SDK/include/c_types.h:15:29: error: conflicting types for 'uint32_t'
typedef unsigned long uint32_t;
^
In file included from /home/poul/Programmer/uPython/esp-open-sdk/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/stdint.h:9:0,
from /home/poul/Programmer/Espruino/tve/Espruino/src/jsutils.h:23,
from targets/esp8266/i2c_master.c:34:
/home/poul/Programmer/uPython/esp-open-sdk/xtensa-lx106-elf/xtensa-lx106-elf/include/stdint.h:81:22: note: previous declaration of 'uint32_t' was here
typedef unsigned int uint32_t;
^
In file included from /home/poul/Programmer/ESP8266_NONOS_SDK_V1.5.3_16_04_18/ESP8266_NONOS_SDK/include/ets_sys.h:11:0,
from targets/esp8266/i2c_master.c:35:
/home/poul/Programmer/ESP8266_NONOS_SDK_V1.5.3_16_04_18/ESP8266_NONOS_SDK/include/c_types.h:17:29: error: conflicting types for 'int32_t'
typedef signed long int32_t;
^
In file included from /home/poul/Programmer/uPython/esp-open-sdk/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/stdint.h:9:0,
from /home/poul/Programmer/Espruino/tve/Espruino/src/jsutils.h:23,
from targets/esp8266/i2c_master.c:34:
/home/poul/Programmer/uPython/esp-open-sdk/xtensa-lx106-elf/xtensa-lx106-elf/include/stdint.h:80:20: note: previous declaration of 'int32_t' was here
typedef signed int int32_t;
^
In file included from /home/poul/Programmer/Espruino/tve/Espruino/src/jsutils.h:24:0,
from targets/esp8266/i2c_master.c:34:
/home/poul/Programmer/ESP8266_NONOS_SDK_V1.5.3_16_04_18/ESP8266_NONOS_SDK/include/c_types.h:85:25: error: two or more data types in declaration specifiers
typedef unsigned char bool;
^
In file included from /home/poul/Programmer/ESP8266_NONOS_SDK_V1.5.3_16_04_18/ESP8266_NONOS_SDK/include/ets_sys.h:11:0,
from targets/esp8266/i2c_master.c:35:
/home/poul/Programmer/ESP8266_NONOS_SDK_V1.5.3_16_04_18/ESP8266_NONOS_SDK/include/c_types.h:85:1: warning: useless type name in empty declaration [enabled by default]
typedef unsigned char bool;
^
/home/poul/Programmer/ESP8266_NONOS_SDK_V1.5.3_16_04_18/ESP8266_NONOS_SDK/include/c_types.h:87:0: warning: "true" redefined [enabled by default]
[#define](https://forum.espruino.com/search/?q=%23define) true (1)
^
In file included from /home/poul/Programmer/Espruino/tve/Espruino/src/jsutils.h:24:0,
from targets/esp8266/i2c_master.c:34:
/home/poul/Programmer/uPython/esp-open-sdk/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/stdbool.h:34:0: note: this is the location of the previous definition
[#define](https://forum.espruino.com/search/?q=%23define) true 1
^
In file included from /home/poul/Programmer/ESP8266_NONOS_SDK_V1.5.3_16_04_18/ESP8266_NONOS_SDK/include/ets_sys.h:11:0,
from targets/esp8266/i2c_master.c:35:
/home/poul/Programmer/ESP8266_NONOS_SDK_V1.5.3_16_04_18/ESP8266_NONOS_SDK/include/c_types.h:88:0: warning: "false" redefined [enabled by default]
[#define](https://forum.espruino.com/search/?q=%23define) false (0)
^
In file included from /home/poul/Programmer/Espruino/tve/Espruino/src/jsutils.h:24:0,
from targets/esp8266/i2c_master.c:34:
/home/poul/Programmer/uPython/esp-open-sdk/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/stdbool.h:35:0: note: this is the location of the previous definition
[#define](https://forum.espruino.com/search/?q=%23define) false 0
^
In file included from /home/poul/Programmer/ESP8266_NONOS_SDK_V1.5.3_16_04_18/ESP8266_NONOS_SDK/include/ets_sys.h:11:0,
from targets/esp8266/i2c_master.c:35:
/home/poul/Programmer/ESP8266_NONOS_SDK_V1.5.3_16_04_18/ESP8266_NONOS_SDK/include/c_types.h:89:0: warning: "TRUE" redefined [enabled by default]
[#define](https://forum.espruino.com/search/?q=%23define) TRUE true
^
In file included from targets/esp8266/i2c_master.c:34:0:
/home/poul/Programmer/Espruino/tve/Espruino/src/jsutils.h:116:0: note: this is the location of the previous definition
[#define](https://forum.espruino.com/search/?q=%23define) TRUE (1)
^
In file included from /home/poul/Programmer/ESP8266_NONOS_SDK_V1.5.3_16_04_18/ESP8266_NONOS_SDK/include/ets_sys.h:11:0,
from targets/esp8266/i2c_master.c:35:
/home/poul/Programmer/ESP8266_NONOS_SDK_V1.5.3_16_04_18/ESP8266_NONOS_SDK/include/c_types.h:90:0: warning: "FALSE" redefined [enabled by default]
[#define](https://forum.espruino.com/search/?q=%23define) FALSE false
^
In file included from targets/esp8266/i2c_master.c:34:0:
/home/poul/Programmer/Espruino/tve/Espruino/src/jsutils.h:115:0: note: this is the location of the previous definition
[#define](https://forum.espruino.com/search/?q=%23define) FALSE (0)
^
cc1: warning: unrecognized command line option "-Wno-float-conversion" [enabled by default]
cc1: warning: unrecognized command line option "-Wno-discarded-qualifiers" [enabled by default]
make: *** [targets/esp8266/i2c_master.o] Fejl 1
make: *** Venter på uafsluttede job....
make: *** wait: Ingen børneprocesser. Stop.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Hey, I have tryed that, but I get a lot of compiler fault.
So it is over my head at the moment.
I only seems that could be nice, with a message if it took too long.