cesanta / mongoose-os

Mongoose OS - an IoT Firmware Development Framework. Supported microcontrollers: ESP32, ESP8266, CC3220, CC3200, STM32F4, STM32L4, STM32F7. Amazon AWS IoT, Microsoft Azure, Google IoT Core integrated. Code in C or JavaScript.
https://mongoose-os.com
Other
2.49k stars 430 forks source link

BUILD FAILS for ESP esp8266 1M and 2M #478

Closed virgil-av closed 5 years ago

virgil-av commented 5 years ago

1. Describe your goal

I want to be able to build the demo firmware for ESP8266 1M

2. Show what you do to achieve the goal - the code, commands, etc

Followed all the steps in the guide page of your website

3. Show the result you see - logs, output, observed behavior

Build fails and reading the very long log I can see the following

Fetching libmbedtls-esp8266-esp8266-1M.a (2.11.0) from https://github.com/mongoose-os-libs/mbedtls/releases/download/2.11.0/libmbedtls-esp8266-esp8266-1M.a...
E0204 11:18:23.197655       1 swmodule.go:349] GitHub asset libmbedtls-esp8266-esp8266-1M.a download failed (attempt 3): mongoose-os-libs/mbedtls: no asset libmbedtls-esp8266-esp8266-1M.a found in release 2.11.0
Fetching libmongoose-esp8266-esp8266-1M.a (2.11.0) from https://github.com/mongoose-os-libs/mongoose/releases/download/2.11.0/libmongoose-esp8266-esp8266-1M.a...
E0204 11:18:32.163173       1 swmodule.go:349] GitHub asset libmongoose-esp8266-esp8266-1M.a download failed (attempt 3): mongoose-os-libs/mongoose: no asset libmongoose-esp8266-esp8266-1M.a found in release 2.11.0
Fetching libota-common-esp8266-esp8266-1M.a (2.11.0) from https://github.com/mongoose-os-libs/ota-common/releases/download/2.11.0/libota-common-esp8266-esp8266-1M.a...
E0204 11:18:36.896865       1 swmodule.go:349] GitHub asset libota-common-esp8266-esp8266-1M.a download failed (attempt 3): mongoose-os-libs/ota-common: no asset libota-common-esp8266-esp8266-1M.a found in release 2.11.0
Fetching libota-http-client-esp8266-esp8266-1M.a (2.11.0) from https://github.com/mongoose-os-libs/ota-http-client/releases/download/2.11.0/libota-http-client-esp8266-esp8266-1M.a...
E0204 11:18:41.446644       1 swmodule.go:349] GitHub asset libota-http-client-esp8266-esp8266-1M.a download failed (attempt 3): mongoose-os-libs/ota-http-client: no asset libota-http-client-esp8266-esp8266-1M.a found in release 2.11.0
Fetching libota-shadow-esp8266-esp8266-1M.a (2.11.0) from https://github.com/mongoose-os-libs/ota-shadow/releases/download/2.11.0/libota-shadow-esp8266-esp8266-1M.a...
E0204 11:18:45.965938       1 swmodule.go:349] GitHub asset libota-shadow-esp8266-esp8266-1M.a download failed (attempt 3): mongoose-os-libs/ota-shadow: no asset libota-shadow-esp8266-esp8266-1M.a found in release 2.11.0
Fetching libdash-esp8266-esp8266-1M.a (2.11.0) from https://github.com/mongoose-os-libs/dash/releases/download/2.11.0/libdash-esp8266-esp8266-1M.a...
E0204 11:18:50.570515       1 swmodule.go:349] GitHub asset libdash-esp8266-esp8266-1M.a download failed (attempt 3): mongoose-os-libs/dash: no asset libdash-esp8266-esp8266-1M.a found in release 2.11.0
Fetching libota-http-server-esp8266-esp8266-1M.a (2.11.0) from https://github.com/mongoose-os-libs/ota-http-server/releases/download/2.11.0/libota-http-server-esp8266-esp8266-1M.a...
E0204 11:18:55.288322       1 swmodule.go:349] GitHub asset libota-http-server-esp8266-esp8266-1M.a download failed (attempt 3): mongoose-os-libs/ota-http-server: no asset libota-http-server-esp8266-esp8266-1M.a found in release 2.11.0
Fetching librpc-service-ota-esp8266-esp8266-1M.a (2.11.0) from https://github.com/mongoose-os-libs/rpc-service-ota/releases/download/2.11.0/librpc-service-ota-esp8266-esp8266-1M.a...
E0204 11:18:59.528353       1 swmodule.go:349] GitHub asset librpc-service-ota-esp8266-esp8266-1M.a download failed (attempt 3): mongoose-os-libs/rpc-service-ota: no asset librpc-service-ota-esp8266-esp8266-1M.a found in release 2.11.0
Adding api_rpc.js: SPIFFS_write failed: -10001
*** Out of space, tried to write 2792 bytes ***
/mongoose-os/fw/platforms/esp8266/Makefile.build:468: recipe for target '/fwbuild-volumes/2.11.0/apps/app1/esp8266/build_contexts/build_ctx_496953371/build/objs/fw_temp/fs.bin' failed
make: *** [/fwbuild-volumes/2.11.0/apps/app1/esp8266/build_contexts/build_ctx_496953371/build/objs/fw_temp/fs.bin] Error 1
make: *** Waiting for unfinished jobs....
make: Leaving directory '/app'
Error: exit status 2
/go/src/cesanta.com/mos/build_local.go:653: 
/go/src/cesanta.com/mos/build_local.go:640: 
/go/src/cesanta.com/mos/build_local.go:401: 
/go/src/cesanta.com/mos/build.go:205: 
/go/src/cesanta.com/mos/build.go:148: 
/go/src/cesanta.com/mos/main.go:176: build failed
Error: /go/src/cesanta.com/mos/build_remote.go:309: build failed
/go/src/cesanta.com/mos/build.go:205: 
/go/src/cesanta.com/mos/build.go:148: 
/go/src/cesanta.com/mos/main.go:176: build failed
exit status 1

4. Describe the result you expect I want to be able to build the firmware for ESP8266 1M

virgil-av commented 5 years ago

demo app is too big for esp-01 memory, please close