ninharp / ninESP

ninHOME Node - Web Configurable Modular ESP8266 Firmware
https://ninharp.github.io/ninESP/
26 stars 10 forks source link

new firmware binary and compile docs #8

Closed fragolinux closed 4 years ago

fragolinux commented 6 years ago

hi, 2 requests:

  1. can you share an updated firmware as the one in the firmware folder is still 0.1? Do you think that the espeasy flasher can be used with your firmware? It's easy but it accepts a single bin file, afaik...
  2. otherwise, can you publish more detailed compile info? How to setup the environment, if use eclipse or make or arduino ide or whatelse, what esp release to use (2.3? 2.4? 2.4.1?)

thanks in advance

fragolinux commented 6 years ago

oh, i see you shared compile instructions on your site, sorry about question 2 :)

ninharp commented 6 years ago

Im currently in vacation and back in around 2 weeks. If it is possible for me to compile it inbetween i will update this ticket. Same reason why the documentation isnt completely ready, too much work too few time... BTW: I still receive emails so i could answer any question about compiling

fragolinux commented 6 years ago

don't worry, thanks for your work :) i'll try following the instructions on your site, eventually i'll ask :)

fragolinux commented 6 years ago

i changed the 2 HOME needed in Makefile-user.mk |grep HOME

ESP_HOME = /home/mrshark/esp-open-sdk
SMING_HOME = /home/mrshark/ninESP/Sming/Sming

but running make all brings an error:

/bin/sh: 1: /opt/esp-open-sdk/xtensa-lx106-elf/bin/xtensa-lx106-elf-gcc: not found
Makefile:557: recipe for target 'out/build/system/irq_check.o' failed
make[2]: *** [out/build/system/irq_check.o] Error 127
make[2]: Leaving directory '/home/mrshark/ninESP/Sming/Sming'
Makefile:512: recipe for target 'reload' failed
make[1]: *** [reload] Error 2
make[1]: Leaving directory '/home/mrshark/ninESP/Sming/Sming'
/home/mrshark/ninESP/Sming/Sming/Makefile-project.mk:493: recipe for target '/home/mrshark/ninESP/Sming/Sming/compiler/lib//libsming.a' failed
make: *** [/home/mrshark/ninESP/Sming/Sming/compiler/lib//libsming.a] Error 2

as that path is fixed elsewhere, too, but info on your site does not say that other files need to be changed... how to change that, correctly? can i edit Makefile in Sming/Sming directly or what else (if Makefile is produced by some other script)?

fragolinux commented 6 years ago

i manually modified all occurrenced of /opt/something in Sming/Sming makefiles but it fails anyway:

mrshark@penguin:~/ninESP$ make clean
mrshark@penguin:~/ninESP$  make all
(Re)compiling Sming. Enabled features: none. This may take some time
make[1]: Entering directory '/home/mrshark/ninESP/Sming/Sming'
make[2]: Entering directory '/home/mrshark/ninESP/Sming/Sming/third-party/esp-open-lwip'
rm -f lwip/core/def.o lwip/core/dhcp.o lwip/core/dns.o lwip/core/init.o lwip/core/mem.o lwip/core/memp.o lwip/core/netif.o lwip/core/pbuf.o lwip/core/raw.o lwip/core/sntp.o lwip/core/stats.o lwip/core/sys_arch.o lwip/core/sys.o lwip/core/tcp.o lwip/core/tcp_in.o lwip/core/tcp_out.o lwip/core/timers.o lwip/core/udp.o lwip/core/ipv4/autoip.o lwip/core/ipv4/icmp.o lwip/core/ipv4/igmp.o lwip/core/ipv4/inet.o lwip/core/ipv4/inet_chksum.o lwip/core/ipv4/ip_addr.o lwip/core/ipv4/ip.o lwip/core/ipv4/ip_frag.o lwip/netif/etharp.o lwip/app/dhcpserver.o espconn_dummy.o  liblwip_open.a
make[2]: Leaving directory '/home/mrshark/ninESP/Sming/Sming/third-party/esp-open-lwip'
make[1]: Leaving directory '/home/mrshark/ninESP/Sming/Sming'
make[1]: Entering directory '/home/mrshark/ninESP/Sming/Sming'
make[2]: Entering directory '/home/mrshark/ninESP/Sming/Sming'
make[3]: Entering directory '/home/mrshark/ninESP/Sming/Sming/third-party/esp-open-lwip'
xtensa-lx106-elf-gcc -DLWIP_OPEN_SRC -DPBUF_RSV_FOR_WLAN -DEBUF_LWIP -DICACHE_FLASH -Os -Iinclude -Wl,-EL -mlongcalls -mtext-section-literals -I../../system/include -I../../Wiring   -c -o lwip/core/def.o lwip/core/def.c
xtensa-lx106-elf-gcc -DLWIP_OPEN_SRC -DPBUF_RSV_FOR_WLAN -DEBUF_LWIP -DICACHE_FLASH -Os -Iinclude -Wl,-EL -mlongcalls -mtext-section-literals -I../../system/include -I../../Wiring   -c -o lwip/core/dhcp.o lwip/core/dhcp.c
xtensa-lx106-elf-gcc -DLWIP_OPEN_SRC -DPBUF_RSV_FOR_WLAN -DEBUF_LWIP -DICACHE_FLASH -Os -Iinclude -Wl,-EL -mlongcalls -mtext-section-literals -I../../system/include -I../../Wiring   -c -o lwip/core/dns.o lwip/core/dns.c
xtensa-lx106-elf-gcc -DLWIP_OPEN_SRC -DPBUF_RSV_FOR_WLAN -DEBUF_LWIP -DICACHE_FLASH -Os -Iinclude -Wl,-EL -mlongcalls -mtext-section-literals -I../../system/include -I../../Wiring   -c -o lwip/core/init.o lwip/core/init.c
xtensa-lx106-elf-gcc -DLWIP_OPEN_SRC -DPBUF_RSV_FOR_WLAN -DEBUF_LWIP -DICACHE_FLASH -Os -Iinclude -Wl,-EL -mlongcalls -mtext-section-literals -I../../system/include -I../../Wiring   -c -o lwip/core/mem.o lwip/core/mem.c
xtensa-lx106-elf-gcc -DLWIP_OPEN_SRC -DPBUF_RSV_FOR_WLAN -DEBUF_LWIP -DICACHE_FLASH -Os -Iinclude -Wl,-EL -mlongcalls -mtext-section-literals -I../../system/include -I../../Wiring   -c -o lwip/core/memp.o lwip/core/memp.c
xtensa-lx106-elf-gcc -DLWIP_OPEN_SRC -DPBUF_RSV_FOR_WLAN -DEBUF_LWIP -DICACHE_FLASH -Os -Iinclude -Wl,-EL -mlongcalls -mtext-section-literals -I../../system/include -I../../Wiring   -c -o lwip/core/netif.o lwip/core/netif.c
xtensa-lx106-elf-gcc -DLWIP_OPEN_SRC -DPBUF_RSV_FOR_WLAN -DEBUF_LWIP -DICACHE_FLASH -Os -Iinclude -Wl,-EL -mlongcalls -mtext-section-literals -I../../system/include -I../../Wiring   -c -o lwip/core/pbuf.o lwip/core/pbuf.c
xtensa-lx106-elf-gcc -DLWIP_OPEN_SRC -DPBUF_RSV_FOR_WLAN -DEBUF_LWIP -DICACHE_FLASH -Os -Iinclude -Wl,-EL -mlongcalls -mtext-section-literals -I../../system/include -I../../Wiring   -c -o lwip/core/raw.o lwip/core/raw.c
xtensa-lx106-elf-gcc -DLWIP_OPEN_SRC -DPBUF_RSV_FOR_WLAN -DEBUF_LWIP -DICACHE_FLASH -Os -Iinclude -Wl,-EL -mlongcalls -mtext-section-literals -I../../system/include -I../../Wiring   -c -o lwip/core/sntp.o lwip/core/sntp.c
xtensa-lx106-elf-gcc -DLWIP_OPEN_SRC -DPBUF_RSV_FOR_WLAN -DEBUF_LWIP -DICACHE_FLASH -Os -Iinclude -Wl,-EL -mlongcalls -mtext-section-literals -I../../system/include -I../../Wiring   -c -o lwip/core/stats.o lwip/core/stats.c
xtensa-lx106-elf-gcc -DLWIP_OPEN_SRC -DPBUF_RSV_FOR_WLAN -DEBUF_LWIP -DICACHE_FLASH -Os -Iinclude -Wl,-EL -mlongcalls -mtext-section-literals -I../../system/include -I../../Wiring   -c -o lwip/core/sys_arch.o lwip/core/sys_arch.c
xtensa-lx106-elf-gcc -DLWIP_OPEN_SRC -DPBUF_RSV_FOR_WLAN -DEBUF_LWIP -DICACHE_FLASH -Os -Iinclude -Wl,-EL -mlongcalls -mtext-section-literals -I../../system/include -I../../Wiring   -c -o lwip/core/sys.o lwip/core/sys.c
xtensa-lx106-elf-gcc -DLWIP_OPEN_SRC -DPBUF_RSV_FOR_WLAN -DEBUF_LWIP -DICACHE_FLASH -Os -Iinclude -Wl,-EL -mlongcalls -mtext-section-literals -I../../system/include -I../../Wiring   -c -o lwip/core/tcp.o lwip/core/tcp.c
xtensa-lx106-elf-gcc -DLWIP_OPEN_SRC -DPBUF_RSV_FOR_WLAN -DEBUF_LWIP -DICACHE_FLASH -Os -Iinclude -Wl,-EL -mlongcalls -mtext-section-literals -I../../system/include -I../../Wiring   -c -o lwip/core/tcp_in.o lwip/core/tcp_in.c
xtensa-lx106-elf-gcc -DLWIP_OPEN_SRC -DPBUF_RSV_FOR_WLAN -DEBUF_LWIP -DICACHE_FLASH -Os -Iinclude -Wl,-EL -mlongcalls -mtext-section-literals -I../../system/include -I../../Wiring   -c -o lwip/core/tcp_out.o lwip/core/tcp_out.c
xtensa-lx106-elf-gcc -DLWIP_OPEN_SRC -DPBUF_RSV_FOR_WLAN -DEBUF_LWIP -DICACHE_FLASH -Os -Iinclude -Wl,-EL -mlongcalls -mtext-section-literals -I../../system/include -I../../Wiring   -c -o lwip/core/timers.o lwip/core/timers.c
xtensa-lx106-elf-gcc -DLWIP_OPEN_SRC -DPBUF_RSV_FOR_WLAN -DEBUF_LWIP -DICACHE_FLASH -Os -Iinclude -Wl,-EL -mlongcalls -mtext-section-literals -I../../system/include -I../../Wiring   -c -o lwip/core/udp.o lwip/core/udp.c
xtensa-lx106-elf-gcc -DLWIP_OPEN_SRC -DPBUF_RSV_FOR_WLAN -DEBUF_LWIP -DICACHE_FLASH -Os -Iinclude -Wl,-EL -mlongcalls -mtext-section-literals -I../../system/include -I../../Wiring   -c -o lwip/core/ipv4/autoip.o lwip/core/ipv4/autoip.c
xtensa-lx106-elf-gcc -DLWIP_OPEN_SRC -DPBUF_RSV_FOR_WLAN -DEBUF_LWIP -DICACHE_FLASH -Os -Iinclude -Wl,-EL -mlongcalls -mtext-section-literals -I../../system/include -I../../Wiring   -c -o lwip/core/ipv4/icmp.o lwip/core/ipv4/icmp.c
xtensa-lx106-elf-gcc -DLWIP_OPEN_SRC -DPBUF_RSV_FOR_WLAN -DEBUF_LWIP -DICACHE_FLASH -Os -Iinclude -Wl,-EL -mlongcalls -mtext-section-literals -I../../system/include -I../../Wiring   -c -o lwip/core/ipv4/igmp.o lwip/core/ipv4/igmp.c
xtensa-lx106-elf-gcc -DLWIP_OPEN_SRC -DPBUF_RSV_FOR_WLAN -DEBUF_LWIP -DICACHE_FLASH -Os -Iinclude -Wl,-EL -mlongcalls -mtext-section-literals -I../../system/include -I../../Wiring   -c -o lwip/core/ipv4/inet.o lwip/core/ipv4/inet.c
xtensa-lx106-elf-gcc -DLWIP_OPEN_SRC -DPBUF_RSV_FOR_WLAN -DEBUF_LWIP -DICACHE_FLASH -Os -Iinclude -Wl,-EL -mlongcalls -mtext-section-literals -I../../system/include -I../../Wiring   -c -o lwip/core/ipv4/inet_chksum.o lwip/core/ipv4/inet_chksum.c
xtensa-lx106-elf-gcc -DLWIP_OPEN_SRC -DPBUF_RSV_FOR_WLAN -DEBUF_LWIP -DICACHE_FLASH -Os -Iinclude -Wl,-EL -mlongcalls -mtext-section-literals -I../../system/include -I../../Wiring   -c -o lwip/core/ipv4/ip_addr.o lwip/core/ipv4/ip_addr.c
xtensa-lx106-elf-gcc -DLWIP_OPEN_SRC -DPBUF_RSV_FOR_WLAN -DEBUF_LWIP -DICACHE_FLASH -Os -Iinclude -Wl,-EL -mlongcalls -mtext-section-literals -I../../system/include -I../../Wiring   -c -o lwip/core/ipv4/ip.o lwip/core/ipv4/ip.c
xtensa-lx106-elf-gcc -DLWIP_OPEN_SRC -DPBUF_RSV_FOR_WLAN -DEBUF_LWIP -DICACHE_FLASH -Os -Iinclude -Wl,-EL -mlongcalls -mtext-section-literals -I../../system/include -I../../Wiring   -c -o lwip/core/ipv4/ip_frag.o lwip/core/ipv4/ip_frag.c
xtensa-lx106-elf-gcc -DLWIP_OPEN_SRC -DPBUF_RSV_FOR_WLAN -DEBUF_LWIP -DICACHE_FLASH -Os -Iinclude -Wl,-EL -mlongcalls -mtext-section-literals -I../../system/include -I../../Wiring   -c -o lwip/netif/etharp.o lwip/netif/etharp.c
xtensa-lx106-elf-gcc -DLWIP_OPEN_SRC -DPBUF_RSV_FOR_WLAN -DEBUF_LWIP -DICACHE_FLASH -Os -Iinclude -Wl,-EL -mlongcalls -mtext-section-literals -I../../system/include -I../../Wiring   -c -o lwip/app/dhcpserver.o lwip/app/dhcpserver.c
xtensa-lx106-elf-gcc -DLWIP_OPEN_SRC -DPBUF_RSV_FOR_WLAN -DEBUF_LWIP -DICACHE_FLASH -Os -Iinclude -Wl,-EL -mlongcalls -mtext-section-literals -I../../system/include -I../../Wiring   -c -o espconn_dummy.o espconn_dummy.c
xtensa-lx106-elf-ar rcs liblwip_open.a lwip/core/def.o lwip/core/dhcp.o lwip/core/dns.o lwip/core/init.o lwip/core/mem.o lwip/core/memp.o lwip/core/netif.o lwip/core/pbuf.o lwip/core/raw.o lwip/core/sntp.o lwip/core/stats.o lwip/core/sys_arch.o lwip/core/sys.o lwip/core/tcp.o lwip/core/tcp_in.o lwip/core/tcp_out.o lwip/core/timers.o lwip/core/udp.o lwip/core/ipv4/autoip.o lwip/core/ipv4/icmp.o lwip/core/ipv4/igmp.o lwip/core/ipv4/inet.o lwip/core/ipv4/inet_chksum.o lwip/core/ipv4/ip_addr.o lwip/core/ipv4/ip.o lwip/core/ipv4/ip_frag.o lwip/netif/etharp.o lwip/app/dhcpserver.o espconn_dummy.o
make[3]: Leaving directory '/home/mrshark/ninESP/Sming/Sming/third-party/esp-open-lwip'
AS system/irq_check.s
AS gdb/gdbstub-entry.s
CC system/flashmem.c
In file included from include/user_config.h:33:0,
                 from system/flashmem.h:11,
                 from system/flashmem.c:1:
system/include/esp_systemapi.h:48:13: error: conflicting types for 'ets_timer_arm_new'
 extern void ets_timer_arm_new(ETSTimer *ptimer, uint32_t milliseconds, bool repeat_flag, int isMstimer);
             ^
In file included from system/include/esp_systemapi.h:7:0,
                 from include/user_config.h:33,
                 from system/flashmem.h:11,
                 from system/flashmem.c:1:
/home/mrshark/esp-open-sdk/sdk/include/osapi.h:65:6: note: previous declaration of 'ets_timer_arm_new' was here
 void ets_timer_arm_new(os_timer_t *ptimer, uint32_t time, bool repeat_flag, bool ms_flag);
      ^
In file included from include/user_config.h:33:0,
                 from system/flashmem.h:11,
                 from system/flashmem.c:1:
system/include/esp_systemapi.h:57:13: error: conflicting types for 'ets_delay_us'
 extern void ets_delay_us(uint32_t us);
             ^
In file included from system/include/esp_systemapi.h:7:0,
                 from include/user_config.h:33,
                 from system/flashmem.h:11,
                 from system/flashmem.c:1:
/home/mrshark/esp-open-sdk/sdk/include/osapi.h:33:6: note: previous declaration of 'ets_delay_us' was here
 void ets_delay_us(uint16_t us);
      ^
Makefile:557: recipe for target 'out/build/system/flashmem.o' failed
fragolinux commented 6 years ago

this is what i did before previous post, following your site:

#installed prerequisites
cd
sudo apt-get install libtool-bin make unrar-free autoconf automake libtool gcc g++ gperf     flex bison texinfo gawk ncurses-dev libexpat-dev python-dev python python-serial sed git unzip bash help2man wget bzip2 build-essential
git clone --recursive https://github.com/pfalcon/esp-open-sdk.git
cd esp-open-sdk/
make
# esp sdk compiled without errors
cd ..
nano .bashrc
. .bashrc
# added esp sdk path to my env and checked to see if path was ok, all fine
git clone --recurse-submodules https://github.com/ninharp/ninESP.git
cd ninESP
cd Sming/Sming
git checkout develop --recurse-submodules
git submodule update --init --recursive
make dist-clean
cd ../..
./patch-linux.sh
nano Makefile-user.mk
# made the required mods to paths, as already stated in previous comment
#ESP_HOME = /home/mrshark/esp-open-sdk
#SMING_HOME = /home/mrshark/ninESP/Sming/Sming
fragolinux commented 6 years ago

previous attempts were make on ubuntu 18.04, today i tried on a fresh ubuntu 16.04, same errors... what environment do you use?

ninharp commented 6 years ago

The problem wirh ets delay is a common problem with the SDK you use. Try to change to an other SDK, then it should work. I cant help you more at the moment from here. Next week is my vacation over then i can upload a updated firmware if your compiling wont work.

fragolinux commented 6 years ago

no problem, enjoy your vacation :)

fragolinux commented 6 years ago

i don't know how to pull down an older sdk... i'll wait for you, thanks anyway :)

noiznirvana commented 6 years ago

pls share the compiled / bin , as im not that technical to compile it . Thanks for sharing.

Jeroendeeerste commented 6 years ago

Would also love a single .bin file.... Seems like a great project, thanks!

ninharp commented 6 years ago

Hey,

excuse the late abstinence ;) I did a longer vacation as originally planned... Now im back home and need 1-2 days to be back in matter and then i will upload a fresh binary with the latest additions from the dev branch.

filipemurias commented 6 years ago

@fragolinux I had the same problem as you. The solution is to use Espressif Systems SDK version 2.0.0. Just edit the Makefile inside esp-open-sdk and replace VENDOR_SDK = 2.1.0-18-g61248df with VENDOR_SDK = 2.0.0.

Jeroendeeerste commented 6 years ago

@ninharp Any update on this? Don't mean to nag, just enthusiastic. :-)

ninharp commented 6 years ago

Yes, i will post this evening binaries of the master and the dev branch. And have you tried the solution @filipemurias has written?

vader722 commented 5 years ago

@ninharp Any updates on the new binaries ? Tried 0.1 yesterday and it worked great, using the animations with 0.2 would be awesome :)

ninharp commented 5 years ago

@ninharp Any updates on the new binaries ? Tried 0.1 yesterday and it worked great, using the animations with 0.2 would be awesome :)

Hey, sorry for the late answer. I would upload the 0.2 binary with the new animations, the only problem is that you have to define the different display areas in json config file directly cause my skills in html5/js is very rudmentary so my implementation on setting the areas in webinterface lack due to this. Maybe anyone could help out on this problem.

ninharp commented 5 years ago

Im back in project these days so maybe we can fix some issues and also finally upload the v0.2

fragolinux commented 5 years ago

happy new year... hoping it brings this binary firmware, finally :)

bnharvey commented 5 years ago

Hi, Love the project so far but also would love the v0.2 firmware. Did you manage to progress any further?. Would be cool to get the additional features..... Thanks

ninharp commented 5 years ago

Workin version with stable Sming and newest MD Libraries is actual in the dev branch. While the webinterface won't let you set the zones for the displays you had to put the json by hand. I reenabled in the development version the ftp server again with credentials ftpuser:123, if you need help i attached a sample json config file with enabled zones. I will merge back to master if i finished the webinterface so far... gosh i hate javascript. Maybe someone got js skills. And.. finally i got time to push this project back to live.

.periph_settings.conf

periph_settings.conf.txt

ninharp commented 5 years ago

I commited some new changes with the ability to change the zones dynamically on the webinterface. dont worry about the wrong displaying of the size of the zones. It will be saved correctly, but my javascript skills are bad ;P But not its working so that you can set it directly on runtime.

fragolinux commented 5 years ago

sorry to be rude, but how it's supposed we get a binary firmware compiling from sources, if you promised for months to compile one for us and still nothing? We can help in debugging, but right now we can't even compile your firmware, and no binary are available...

ninharp commented 5 years ago

I haven published the binarys yet cause its still in the devel branch. i surely can share here the binary of the dev state if you want. and btw the compiling is now much easier cause you can build against the newest sming and so on

bnharvey commented 5 years ago

That would be awsome if you could. I spent about 3 hours over the weekend just tring to learn how to compile your project. I did not get very far. Thanks for your efforts so far.

florian-asche commented 5 years ago

me neither

florian-asche commented 5 years ago

With dev branch:

(Re)compiling Sming. Enabled features: none. This may take some time
make[1]: Verzeichnis „/home/florian/Downloads/ninESP/Sming/Sming“ wird betreten
make[2]: Verzeichnis „/home/florian/Downloads/ninESP/Sming/Sming/third-party/esp-open-lwip“ wird betreten
rm -f lwip/core/def.o lwip/core/dhcp.o lwip/core/dns.o lwip/core/init.o lwip/core/mem.o lwip/core/memp.o lwip/core/netif.o lwip/core/pbuf.o lwip/core/raw.o lwip/core/sntp.o lwip/core/stats.o lwip/core/sys_arch.o lwip/core/sys.o lwip/core/tcp.o lwip/core/tcp_in.o lwip/core/tcp_out.o lwip/core/timers.o lwip/core/udp.o lwip/core/ipv4/autoip.o lwip/core/ipv4/icmp.o lwip/core/ipv4/igmp.o lwip/core/ipv4/inet.o lwip/core/ipv4/inet_chksum.o lwip/core/ipv4/ip_addr.o lwip/core/ipv4/ip.o lwip/core/ipv4/ip_frag.o lwip/netif/etharp.o lwip/app/dhcpserver.o espconn_dummy.o /home/florian/Downloads/ninESP/Sming/Sming/compiler/lib/liblwip_open.a
make[2]: Verzeichnis „/home/florian/Downloads/ninESP/Sming/Sming/third-party/esp-open-lwip“ wird verlassen
make[1]: Verzeichnis „/home/florian/Downloads/ninESP/Sming/Sming“ wird verlassen
make[1]: Verzeichnis „/home/florian/Downloads/ninESP/Sming/Sming“ wird betreten
Fetching Arduino Library Libraries/Adafruit_SSD1306/ ...
Submodul-Pfad: 'Libraries/Adafruit_SSD1306': 'ddfec78fa15f0ff8dfc8a76524077ba6bb5fc6f3' ausgecheckt
Prüfe Patch Adafruit_SSD1306.cpp ...
Prüfe Patch Adafruit_SSD1306.h ...
Patch Adafruit_SSD1306.cpp sauber angewendet
Patch Adafruit_SSD1306.h sauber angewendet
Fetching Arduino Library Libraries/Adafruit_ST7735/ ...
Submodul-Pfad: 'Libraries/Adafruit_ST7735': '591fa4165d95c33ba13bfad2f09758852fe1282a' ausgecheckt
error: nicht erkannte Eingabe
Makefile:468: recipe for target 'Libraries/Adafruit_ST7735/library.properties' failed
make[1]: [Libraries/Adafruit_ST7735/library.properties] Error 128 (ignoriert)
make[2]: Verzeichnis „/home/florian/Downloads/ninESP/Sming/Sming“ wird betreten
make[3]: Verzeichnis „/home/florian/Downloads/ninESP/Sming/Sming/third-party/esp-open-lwip“ wird betreten
/opt/esp-open-sdk/xtensa-lx106-elf/bin/xtensa-lx106-elf-gcc -DLWIP_OPEN_SRC -DPBUF_RSV_FOR_WLAN -DEBUF_LWIP -DICACHE_FLASH -Os -Iinclude -I/opt/esp-open-sdk/sdk/include -Wl,-EL -mlongcalls -mtext-section-literals -I../../system/include -I../../Wiring   -c -o lwip/core/def.o lwip/core/def.c
In file included from include/arch/cc.h:40:0,
                 from include/lwip/arch.h:43,
                 from include/lwip/debug.h:35,
                 from include/lwip/opt.h:46,
                 from lwip/core/def.c:39:
/opt/esp-open-sdk/sdk/include/osapi.h:32:6: error: conflicting types for 'ets_bzero'
 void ets_bzero(void *s, size_t n);
      ^
In file included from /opt/esp-open-sdk/sdk/include/osapi.h:30:0,
                 from include/arch/cc.h:40,
                 from include/lwip/arch.h:43,
                 from include/lwip/debug.h:35,
                 from include/lwip/opt.h:46,
                 from lwip/core/def.c:39:
include/user_config.h:10:7: note: previous declaration of 'ets_bzero' was here
 void *ets_bzero(void *block, size_t size);
       ^
In file included from include/lwip/arch.h:43:0,
                 from include/lwip/debug.h:35,
                 from include/lwip/opt.h:46,
                 from lwip/core/def.c:39:
include/arch/cc.h:49:15: error: conflicting types for 'ets_strlen'
 extern size_t ets_strlen(const char *s);
               ^
In file included from include/arch/cc.h:40:0,
                 from include/lwip/arch.h:43,
                 from include/lwip/debug.h:35,
                 from include/lwip/opt.h:46,
                 from lwip/core/def.c:39:
/opt/esp-open-sdk/sdk/include/osapi.h:47:5: note: previous declaration of 'ets_strlen' was here
 int ets_strlen(const char *s);
     ^
In file included from include/lwip/arch.h:43:0,
                 from include/lwip/debug.h:35,
                 from include/lwip/opt.h:46,
                 from lwip/core/def.c:39:
include/arch/cc.h:52:13: error: conflicting types for 'ets_timer_arm_new'
 extern void ets_timer_arm_new(ETSTimer *ptimer, uint32_t milliseconds, bool repeat_flag, int isMstimer);
             ^
In file included from include/arch/cc.h:40:0,
                 from include/lwip/arch.h:43,
                 from include/lwip/debug.h:35,
                 from include/lwip/opt.h:46,
                 from lwip/core/def.c:39:
/opt/esp-open-sdk/sdk/include/osapi.h:65:6: note: previous declaration of 'ets_timer_arm_new' was here
 void ets_timer_arm_new(os_timer_t *ptimer, uint32_t time, bool repeat_flag, bool ms_flag);
      ^
<eingebaut>: recipe for target 'lwip/core/def.o' failed
make[3]: *** [lwip/core/def.o] Error 1
make[3]: Verzeichnis „/home/florian/Downloads/ninESP/Sming/Sming/third-party/esp-open-lwip“ wird verlassen
Makefile:385: recipe for target 'compiler/lib/liblwip_open.a' failed
make[2]: *** [compiler/lib/liblwip_open.a] Error 2
make[2]: Verzeichnis „/home/florian/Downloads/ninESP/Sming/Sming“ wird verlassen
Makefile:478: recipe for target 'reload' failed
make[1]: *** [reload] Error 2
make[1]: Verzeichnis „/home/florian/Downloads/ninESP/Sming/Sming“ wird verlassen
/home/florian/Downloads/ninESP/Sming/Sming/Makefile-rboot.mk:496: recipe for target '/home/florian/Downloads/ninESP/Sming/Sming/compiler/lib//libsming.a' failed
make: *** [/home/florian/Downloads/ninESP/Sming/Sming/compiler/lib//libsming.a] Error 2
florian-asche commented 5 years ago

I did try alot of different ways...

export ESP_HOME=/opt/esp-open-sdk
cd /opt/
git clone --recursive https://github.com/pfalcon/esp-open-sdk.git
cd esp-open-sdk
make VENDOR_SDK=1.5.4 STANDALONE=y

cd  $ESP_HOME
git clone https://github.com/raburton/esptool2
cd esptool2
make
export PATH=$PATH:$ESP_HOME/esptool2

#cd /opt/
#git clone https://github.com/SmingHub/Sming.git
#cd Sming && git checkout origin/master
#cd Sming
#make

cd /opt/
git clone --recurse-submodules https://github.com/ninharp/ninESP.git
cd ninESP
#git checkout dev --recurse-submodules

cd Sming/Sming
git checkout develop --recurse-submodules
git submodule update --init
make dist-clean
cd ../..

#cd Sming/Sming
#git checkout master --recurse-submodules
#git submodule update --init --recursive
#make dist-clean
#cd ../..

./patch-linux.sh
export SMING_HOME=/opt/ninESP/Sming/Sming
export PATH=/opt/esp-open-sdk/xtensa-lx106-elf/bin:$PATH
make clean

#rm -rf Sming
#git clone https://github.com/SmingHub/Sming.git
#cd Sming && git checkout origin/master
#cd Sming
#make
#cd ../../

# Compile
make all

# Erase the ESP8266 flash
make flashinit

# Flash the firmware
make flash
fragolinux commented 5 years ago

I haven published the binarys yet cause its still in the devel branch. i surely can share here the binary of the dev state if you want. and btw the compiling is now much easier cause you can build against the newest sming and so on

any chance for an update? a binary? anything? as you can see others complain about it's difficult to compile and get anything usable... thanks...

florian-asche commented 5 years ago

It whould be cool to automate it with travis like https://github.com/verybadsoldier/esp_rgbww_firmware/blob/master/.travis.yml.

martonmodis13 commented 4 years ago

Hi! I tring to use ninesp with max2719. I have an fc-16 module, so the uploded Binary is not good for me. I tried to compile a new binary,but i can't do it... My question: Can someone please make me the binaries/firmware? One with Ic station hw and one more with fc-16 hw(definied in max27xx.h) Thanks,

fragolinux commented 4 years ago

Hi! I tring to use ninesp with max2719. I have an fc-16 module, so the uploded Binary is not good for me. I tried to compile a new binary,but i can't do it... My question: Can someone please make me the binaries/firmware? One with Ic station hw and one more with fc-16 hw(definied in max27xx.h) Thanks,

i think this project is dead, 2 years without updates... promises of new binary firmware are dead, too

martonmodis13 commented 4 years ago

Hi! I tring to use ninesp with max2719. I have an fc-16 module, so the uploded Binary is not good for me. I tried to compile a new binary,but i can't do it... My question: Can someone please make me the binaries/firmware? One with Ic station hw and one more with fc-16 hw(definied in max27xx.h) Thanks,

i think this project is dead, 2 years without updates... promises of new binary firmware are dead, too

Ohh sad. If i able to make the binary firmware ,the ninesp should be great for me .I don't find an useable firmware with mqtt and max72xx support.

fragolinux commented 4 years ago

If i able to make the binary firmware ,the ninesp should be great for me .I don't find an useable firmware with mqtt and max72xx support.

same here, but as you can see many were unable to compile it by themselves and no binary, even if asked many times, were built...