This take up space on the board but is only used for flashing. Flashing over UART or just the SWD interface is also an option.