Just to add a bit more detail to this.
Im using the following block device config
FlashIAPBlockDevice bd(0x49B1E,0x1000);
and i get the following output from the filesystem demo...
I get these value back from blockdevice
bd.size() = 524288
bd.get_read_size() = 1
bd.get_program_size() = 4
bd.get_erase_size() = 4096
and this is output from demo.
- Mbed OS filesystem example -
Mounting the filesystem... Fail :(
No filesystem found, formatting... Fail :(
error: EDOM - function argument out of range (-1)
Opening "/fs/numbers.txt"... Fail :(
No file found, creating a new file... Fail :(
Any input, surely someone is creating filesystem on internal flash?
Is it possible to use FlashIAPBlockDevice as a source for LittleFIleSystem on NRF52?
Im trying but keep getting the following error...
No filesystem found, formatting... Fail :( error: EDOM - function argument out of range (-1)
Also my size always seems to come back as 524288 even though i am specifiying a start location and size of 64
Any ideas?