# SLN-IOT Utility Scripts

## File Format

To take any file and format it for use with the sln_flash_mgmt file system:

```
(env) user@host:~/sln_imx_rt_prog_and_test $ cd Scripts/sln_iot_utils
(env) user@host:~/sln_imx_rt_prog_and_test/Scripts/sln_iot_utils $ python file_format.py foo.txt foo.bin
File size 12
File CRC 0xa8e797c
(env) user@host:~/sln_imx_rt_prog_and_test/Scripts/sln_iot_utils $ ls -l
-rwxrwxrwx 1 user user  904 Jan  1 11:05 README.md
-rwxrwxrwx 1 user user  692 Jan  1 10:33 file_format.py
-rwxrwxrwx 1 user user  532 Jan  1 11:04 foo.bin
-rwxrwxrwx 1 user user   11 Jan  1 11:04 foo.txt
(env) user@host:~/sln_imx_rt_prog_and_test/Scripts/sln_iot_utils $
```

