If you ever wanted to reduce the footprint of your programming interface a good option is to use the SWD port to program your microcontroller instead of the 20 pin JTAG connector, most development boards use the 10 Pin 1.27 mm pitch SWD connector so I design a J-link Segger adaptor board to SWD.
The schematic is very simple as it just re-routes the SWD signals of the SWD, so I have also connected the other JTAG signal to make a reduced footprint JTAG.