logo elektroda
logo elektroda
X
logo elektroda

How to fix a compilation error? ESP8266 problem.

sweter_007 879 1
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 16954587
    sweter_007
    Level 14  
    Hello.
    After playing around with the stm32-esp8266 tandem, I decided to program the esp directly. After an hour it did not start, also please help.
    I installed http://gnutoolchains.com/esp8266/
    First better example to run : IoT-SDK/examples/at
    First error :
    C:\SysGCC\esp8266\esp8266-bsp\IoT-SDK\examples\at>C:\SysGCC\esp8266\bin\make.exe
    COMPILE=gcc BOOT=new APP=1 SPI_SPEED=40 SPI_MODE=QIO SPI_SIZE_MAP=0
    make: Nothing to be done for `FORCE'.
    .
    Moving the directory with the example above helped.
    Next error I stand on :
    C:\SysGCC\esp8266\esp8266-bsp\IoT-SDK\at>set SDK_PATH=C:\SysGCC\esp8266\esp8266-
    bsp\IoT-SDK
    
    C:\SysGCC\esp8266\esp8266-bsp\IoT-SDK\at>set BIN_PATH=C:\SysGCC\esp8266\esp8266-
    bsp\IoT-SDK\bin
    
    C:\SysGCC\esp8266\esp8266-bsp\IoT-SDK\at>C:\SysGCC\esp8266\bin\make.exe COMPILE=
    gcc BOOT=new APP=1 SPI_SPEED=40 SPI_MODE=QIO SPI_SIZE_MAP=0
    Nie została zdefiniowana zmienna środowiskowa -e; C:/SysGCC/esp8266/bin/make -C
    user;
    make: *** [.subdirs] Error 1
    .
  • ADVERTISEMENT
  • #2 16956388
    JacekCz
    Level 42  
    On a point of order, the first message from make "nothing to do" is not even an error.
    The second is certainly not, as you write, a compilation error. There was not even an attempt to compile the program sources.

    The expectation of the environment variable -e is quite specific. Nevertheless, you post some small snippets, it's hard to help anything. It smells as if you manually moved files to "enhance" something, didn't follow the procedure etc....
ADVERTISEMENT