I’m new to the mongoose OS platform and I’ve got some issues with the “mos wifi” command.
I’m using a ESP8266-01 module with 1Mb of flash memory.
As test I’ve created the demo app (mos clone https://github.com/mongoose-os-apps/demo-js app1).
I’ve added the FLASH_SIZE: 1048576 to the mos.yml file before making a build of the app.
Afterwards I’ve flashed to ESP8266 module.
Everything works fine but when I try to configure the wifi connection with the command: mos wifi WIFI_NETWORK_NAME WIFI_PASSWORD, I’ve receive the following message:
$ mos wifi
Error: /private/tmp/mos-20200204-9510-12i29jp/mos-18c19395db3292985b1d067c4188efd91eea62d3/go/src/github.com/mongoose-os/mos/cli/wifi.go:33: Usage: /usr/local/bin/mos wifi WIFI_NETWORK_NAME WIFI_PASSWORD
/private/tmp/mos-20200204-9510-12i29jp/mos-18c19395db3292985b1d067c4188efd91eea62d3/go/src/github.com/mongoose-os/mos/cli/main.go:197: wifi failed
exit status 1
Does anyone have an idea what could cause this issue?