ESP8266 SDK3.0.4

User avatar
pzygmunt
Posts: 20302
Joined: Tue Jan 19, 2016 9:26 am
Location: Paczków
Been thanked: 59 times

Post

Na githubie pojawił się branch develop-sdk3x
https://github.com/SUPLA/supla-espressi ... elop-sdk3x

Pozwala on na budowanie binarek w oparciu o ESP8266_NONOS_SDK w wersji 3.0.4. (wcześniej była to wersja 1.5.4)
Między innymi rozwiązuje problem współpracy z urządzeniami Tenda.

Przed przełączeniem się na ten branch należy zbudować na nowo kontener Docker-a develop/esp82 zawierający środowisko

docker rmi devel/esp8266 -f
git pull
./build.sh
SUPLA.... Nareszcie w domu.
Patryk
Posts: 2944
Joined: Mon Jan 07, 2019 7:51 pm
Location: Rybnik

Post

Jak zbudować "ten" kontener w IOT SDK ?
User avatar
pzygmunt
Posts: 20302
Joined: Tue Jan 19, 2016 9:26 am
Location: Paczków
Been thanked: 59 times

Post

Użyj dockera poza VM z IOT-SDK.

git clone https://github.com/SUPLA/supla-docker
git checkout espressif
./build.sh
./run.sh
SUPLA.... Nareszcie w domu.
User avatar
lesny8
Posts: 3132
Joined: Mon Dec 11, 2017 9:43 pm
Has thanked: 10 times
Been thanked: 9 times

Post

👍 Chyba dziś nie zasnę 😁
SOP 2023 :heavy_check_mark:
SOP 2024 :heavy_check_mark:
Czekam na kolejne Supla Offline Party :upside_down_face:
🧩: 🔑cz->b ⛴️+ila
Patryk
Posts: 2944
Joined: Mon Jan 07, 2019 7:51 pm
Location: Rybnik

Post

A dla mnie to chyba za "wysokie" progi.
Nie szło by to jakoś prościej zrobić w IOT SDK ?
User avatar
lesny8
Posts: 3132
Joined: Mon Dec 11, 2017 9:43 pm
Has thanked: 10 times
Been thanked: 9 times

Post

@Patryk nie są takie wysokie ;)
Jak kompilujesz teraz soft?
SOP 2023 :heavy_check_mark:
SOP 2024 :heavy_check_mark:
Czekam na kolejne Supla Offline Party :upside_down_face:
🧩: 🔑cz->b ⛴️+ila
Patryk
Posts: 2944
Joined: Mon Jan 07, 2019 7:51 pm
Location: Rybnik

Post

lesny8 wrote: Mon Jan 11, 2021 8:13 pm @Patryk nie są takie wysokie ;)
Jak kompilujesz teraz soft?
Uruchamiam na win10 VirtualBox-a, a później ESP8266 IOT SDK z:
https://www.supla.org/pl/download
You do not have the required permissions to view the files attached to this post.
User avatar
lesny8
Posts: 3132
Joined: Mon Dec 11, 2017 9:43 pm
Has thanked: 10 times
Been thanked: 9 times

Post

Zbudowałem kontener i uruchomiłem
Próba kompilacj i brak pliku

Code: Select all

root@6d5eee631e38:/CProjects/supla-espressif-esp/src# ./build.sh wifisocket
make -C user clean;  make -C driver clean;  make -C supla-dev clean;
make[1]: Entering directory '/CProjects/supla-espressif-esp/src/user'
rm -f -r .output/eagle/debug
make[1]: Leaving directory '/CProjects/supla-espressif-esp/src/user'
make[1]: Entering directory '/CProjects/supla-espressif-esp/src/driver'
rm -f -r .output/eagle/debug
make[1]: Leaving directory '/CProjects/supla-espressif-esp/src/driver'
make[1]: Entering directory '/CProjects/supla-espressif-esp/src/supla-dev'
rm -f -r .output/eagle/debug
make[1]: Leaving directory '/CProjects/supla-espressif-esp/src/supla-dev'
rm -f -r .output/eagle/debug
./build.sh: line 230: [: : integer expression expected
cp: cannot stat './ld/sdk304/1024_eagle.app.v6.ld': No such file or directory

SOP 2023 :heavy_check_mark:
SOP 2024 :heavy_check_mark:
Czekam na kolejne Supla Offline Party :upside_down_face:
🧩: 🔑cz->b ⛴️+ila
User avatar
pzygmunt
Posts: 20302
Joined: Tue Jan 19, 2016 9:26 am
Location: Paczków
Been thanked: 59 times

Post

Spróbuj zbudować coś co ma FOTA włączone.
Np gate_module2_wroom
SUPLA.... Nareszcie w domu.
User avatar
lesny8
Posts: 3132
Joined: Mon Dec 11, 2017 9:43 pm
Has thanked: 10 times
Been thanked: 9 times

Post

Już lepiej bo się kompiluje :) ale rzuca kwiatkami :roll:

Code: Select all

xtensa-lx106-elf-ar ru .output/eagle/debug/lib/libsupladev.a .output/eagle/debug/obj/log.o .output/eagle/debug/obj/lck.o .output/eagle/debug/obj/srpc.o .output/eagle/debug/obj/proto.o 
xtensa-lx106-elf-ar: creating .output/eagle/debug/lib/libsupladev.a
make[1]: Leaving directory '/CProjects/supla-espressif-esp/src/supla-dev'
make[1]: Entering directory '/CProjects/supla-espressif-esp/src/nettle'
make[1]: *** No rule to make target '/hdd2/Espressif/xtensa-lx106-elf/xtensa-lx106-elf/include/ctype.h', needed by '.output/eagle/debug/obj/gmp-glue.o'.  Stop.
make[1]: Leaving directory '/CProjects/supla-espressif-esp/src/nettle'
/hdd2/Espressif/sdk_3x/ESP8266_NONOS_SDK-3.0.4/Makefile:333: recipe for target '.subdirs' failed
make: *** [.subdirs] Error 2

SOP 2023 :heavy_check_mark:
SOP 2024 :heavy_check_mark:
Czekam na kolejne Supla Offline Party :upside_down_face:
🧩: 🔑cz->b ⛴️+ila

Return to “supla-dev”