Hi,
Pls refer to table 22 in the data sheet of i.mxrt1060, the current of each I/O cell in push/pull output mode is +/-1mA(sink/source current), so you have to connect a transistor or mosfet to drive led if it requires 4mA current.
Hope it can help you
BR
XiangJun Rong
xiangjun_rong_0-1670484942313.png