Did clean build on latest and found my ext_fs was not mounting for some reason … dug into this and found the problem is related to the 2.13.0+ versions of MOS, which for some reason is dropping (or not adding) the sys.mount
defined in my mos.yml
file.
Build using 2.12.1 and it works fine … so anybody using 2.13.0+ and trying to use ext_fs as defined in the docs:
https://mongoose-os.com/docs/mongoose-os/howtos/fs.md
It will NOT work.
conf0.json
in 2.13.0+:
"sys": {
"atca": {
"i2c_addr": 96,
"ecdh_slots_mask": 12
},
"tz_spec": "EST5EDT4,M3.2.0/02:00:00,M11.1.0/02:00:00",
"wdt_timeout": 30
},
conf0.json
in 2.12.1
"sys": {
"mount": {
"path": "/data",
"dev_type": "esp32part",
"dev_opts": "{\"label\": \"data\"}",
"fs_type": "SPIFFS"
},
"tz_spec": "EST5EDT4,M3.2.0/02:00:00,M11.1.0/02:00:00",
"wdt_timeout": 30,
"atca": {
"i2c_addr": 96,
"ecdh_slots_mask": 12
}
},