Resizing OpenWrt file space on boot device

I'm starting this topic because I had a hard time finding this answer to my question about how to resize a squashfs file system on a microSD card (in this case, for a Banana Pi R2-Pro).

This worked for me:
https://openwrt.org/docs/guide-user/advanced/expand_root