Affine 7-brane backgrounds and five-dimensional EN theories on S1