Please be advised while NXP has an Azure IoTEdge example implementation that builds for yocto zeus on different i.MX platforms but you will probably sooner or later run into a permission bug that will cause your edge module to error out.
I do not believe NXP did a very good job testing their port.
The problem is that default kernel build for various NXP linux bsp releases do NOT enable security on the file system which is required for iotedge. See issue description here.
To correct make sure kernel has "CONFIG_EXT4_FS_SECURITY=y" or "CONFIG_EXT3_FS_SECURITY" set.
@JunZhu