выбрал user_config.h #define PROGECT_NUMBER 2
и словил вот такие ошибки:
------------------------------------------------------------------------------
Section| Description| Start (hex)| End (hex)|Used space
------------------------------------------------------------------------------
data| Initialized Data (RAM)| 3FFE8000| 3FFE837C| 892
rodata| ReadOnly Data (RAM)| 3FFE837C| 3FFE89AC| 1584
bss| Uninitialized Data (RAM)| 3FFE89B0| 3FFEE8C8| 24344
lit4| Uninitialized Data (IRAM)| 40105110| 40105CF0| 3040
text| Uncached Code (IRAM)| 40100000| 40105110| 20752
irom0_text| Cached Code (SPI)| 40207000| 4023C089| 217225
------------------------------------------------------------------------------
Entry Point : 4010013C call_user_start()
Total Used RAM : 50612
Free IRam : 8976 or 25360 (option 48k IRAM)
Free Heap : 55100
Total Free RAM : 80460
------------------------------------------------------------------------------
Add rapid_loader...
0+1 records in
0+1 records out
176 bytes (176 B) copied, 0 seconds, Infinity B/s
45+1 records in
45+1 records out
23264 bytes (23 kB) copied, 0.001 seconds, 23 MB/s
C:/Python27/python.exe D:/projects/eclipse/pvvx/esp8266web/ovls.py .output/eagle/image/eagle.app.v6.out ../ld/labels.ld
mingw32-make[1]: Leaving directory 'D:/projects/eclipse/pvvx/esp8266web/app'
mingw32-make[1]: Entering directory 'D:/projects/eclipse/pvvx/esp8266web/ovls'
mingw32-make[2]: Entering directory 'D:/projects/eclipse/pvvx/esp8266web/ovls/10dof'
mingw32-make[3]: Entering directory 'D:/projects/eclipse/pvvx/esp8266web/ovls/10dof/main'
c:/Espressif/xtensa-lx106-elf/bin/xtensa-lx106-elf-gcc -Os -Wall -Wno-pointer-sign -fno-tree-ccp -mno-target-align -mno-serialize-volatile -foptimize-register-move -Wundef -Wall -Wstrict-aliasing -Wpointer-arith -Werror -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -DICACHE_FLASH -DPBUF_RSV_FOR_WLAN -DLWIP_OPEN_SRC -DEBUF_LWIP -I ./include -I ../include -I ../../include -I D:/projects/eclipse/pvvx/esp8266web/include -I D:/projects/eclipse/pvvx/esp8266web/app/include -o .output/eagle/obj/mpu9250.o -c mpu9250.c
c:/Espressif/xtensa-lx106-elf/bin/xtensa-lx106-elf-gcc -Os -Wall -Wno-pointer-sign -fno-tree-ccp -mno-target-align -mno-serialize-volatile -foptimize-register-move -Wundef -Wall -Wstrict-aliasing -Wpointer-arith -Werror -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -DICACHE_FLASH -DPBUF_RSV_FOR_WLAN -DLWIP_OPEN_SRC -DEBUF_LWIP -I ./include -I ../include -I ../../include -I D:/projects/eclipse/pvvx/esp8266web/include -I D:/projects/eclipse/pvvx/esp8266web/app/include -o .output/eagle/obj/hspi_master.o -c hspi_master.c
c:/Espressif/xtensa-lx106-elf/bin/xtensa-lx106-elf-gcc -Os -Wall -Wno-pointer-sign -fno-tree-ccp -mno-target-align -mno-serialize-volatile -foptimize-register-move -Wundef -Wall -Wstrict-aliasing -Wpointer-arith -Werror -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -DICACHE_FLASH -DPBUF_RSV_FOR_WLAN -DLWIP_OPEN_SRC -DEBUF_LWIP -I ./include -I ../include -I ../../include -I D:/projects/eclipse/pvvx/esp8266web/include -I D:/projects/eclipse/pvvx/esp8266web/app/include -o .output/eagle/obj/main.o -c main.c
c:/Espressif/xtensa-lx106-elf/bin/xtensa-lx106-elf-gcc -Os -Wall -Wno-pointer-sign -fno-tree-ccp -mno-target-align -mno-serialize-volatile -foptimize-register-move -Wundef -Wall -Wstrict-aliasing -Wpointer-arith -Werror -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -DICACHE_FLASH -DPBUF_RSV_FOR_WLAN -DLWIP_OPEN_SRC -DEBUF_LWIP -I ./include -I ../include -I ../../include -I D:/projects/eclipse/pvvx/esp8266web/include -I D:/projects/eclipse/pvvx/esp8266web/app/include -o .output/eagle/obj/bmp280.o -c bmp280.c
c:/Espressif/xtensa-lx106-elf/bin/xtensa-lx106-elf-ar ru .output/eagle/lib/libmain.a .output/eagle/obj/mpu9250.o .output/eagle/obj/hspi_master.o .output/eagle/obj/main.o .output/eagle/obj/bmp280.o
Самуил Германович Арканум, [06.10.19 18:05]
c:/Espressif/xtensa-lx106-elf/bin/xtensa-lx106-elf-ar: creating .output/eagle/lib/libmain.a
mingw32-make[3]: Leaving directory 'D:/projects/eclipse/pvvx/esp8266web/ovls/10dof/main'
c:/Espressif/xtensa-lx106-elf/bin/xtensa-lx106-elf-gcc -nostartfiles -nodefaultlibs -nostdlib -LD:/projects/eclipse/pvvx/esp8266web//lib -TD:/projects/eclipse/pvvx/esp8266web//ld/overlay.ld -Wl,--no-check-sections -u call_user_start -Wl,-static -Wl,-Map -Wl,.output/eagle/image/eagle.app.v6.map -Wl,--start-group -lmgcc main/.output/eagle/lib/libmain.a -Wl,--end-group -o .output/eagle/image/eagle.app.v6.out
main/.output/eagle/lib/libmain.a(main.o)
.text+0x4): undefined reference to `mdb_buf'
main/.output/eagle/lib/libmain.a(main.o): In function `drv_recv':
main.c
.text+0x174): undefined reference to `mdb_buf'
main/.output/eagle/lib/libmain.a(hspi_master.o)
.text+0x24): undefined reference to `copy_s1d4'
main/.output/eagle/lib/libmain.a(hspi_master.o): In function `hspi_cmd_write':
hspi_master.c
.text+0x82): undefined reference to `copy_s1d4'
collect2.exe: error: ld returned 1 exit status
mingw32-make[2]: Leaving directory 'D:/projects/eclipse/pvvx/esp8266web/ovls/10dof'
mingw32-make[2]: *** [../Makefile:181: .output/eagle/image/eagle.app.v6.out] Error 1
mingw32-make[1]: *** [Makefile:128: .subdirs] Error 2
mingw32-make[1]: Leaving directory 'D:/projects/eclipse/pvvx/esp8266web/ovls'
mingw32-make.exe: *** [D:/projects/eclipse/pvvx/esp8266web/Makefile:276: .subdirs] Error 2
17:58:35 Build Finished (took 53s.9ms)
то есть что-то есть но с ошибками
если выбрать user_config.h #define PROGECT_NUMBER 0
то собирается всё без ошибок