cesanta / mos-tool

The Mongoose OS command line tool
https://mongoose-os.com/software.html
24 stars 15 forks source link

Can no longer build for platform CC3220 #14

Closed ulso closed 6 years ago

ulso commented 6 years ago

When issuing the following command (which worked fine up to mos v2.2) mos build --platform cc3220 --local --libs-dir ./mos-libs --repo ../mongoose-os --clean --verbose I eventually get the following error message: Error: can't build for the platform cc3220; only those platforms are supported: [cc3200 esp32 esp8266]

rojer commented 6 years ago

i'll need list of libs from your app's mos.yml.

ulso commented 6 years ago

These are the libs used:

libs:
  - origin: https://github.com/mongoose-os-libs/ca-bundle
  - origin: https://github.com/mongoose-os-libs/aws
#  - origin: https://github.com/mongoose-os-libs/dash
  - origin: https://github.com/mongoose-os-libs/http-server
  - origin: https://github.com/mongoose-os-libs/ota-http-client
  - origin: https://github.com/mongoose-os-libs/ota-http-server
#  - origin: https://github.com/mongoose-os-libs/ota-shadow
  - origin: https://github.com/mongoose-os-libs/rpc-loopback
  - origin: https://github.com/mongoose-os-libs/rpc-mqtt
  - origin: https://github.com/mongoose-os-libs/rpc-service-config
  - origin: https://github.com/mongoose-os-libs/rpc-service-fs
  - origin: https://github.com/mongoose-os-libs/rpc-service-gpio
  - origin: https://github.com/mongoose-os-libs/rpc-service-i2c
  - origin: https://github.com/mongoose-os-libs/rpc-service-ota
  - origin: https://github.com/mongoose-os-libs/rpc-service-wifi
  - origin: https://github.com/mongoose-os-libs/rpc-uart
  - origin: https://github.com/mongoose-os-libs/sntp
  - origin: https://github.com/mongoose-os-libs/spi
  - origin: https://github.com/mongoose-os-libs/i2c
  - origin: https://github.com/mongoose-os-libs/vfs-dev-spi-flash
  - origin: https://github.com/mongoose-os-libs/wifi
rojer commented 6 years ago

ok, that makes sense. in a recent change the list of platforms that actually support OTA was specified. cc3220 does not supprot OTA yet. you should remove ota-* libs for now. previously it would compile but not actually work, now it won't compile, making the lack of support more obvious (which is a good thing).