Open mikolajrode opened 6 years ago
Is the ask here to only check the speed against MIN/MAX when the interface is JTAG?
I'd refactor MAX_JTAG_SPEED into MAX_INTERFACE_SPEED (as it actually refers to SWD or JTAG) and push it to 50000 (50 MHz). Second option, making less sense is to define separately MAX_JTAG_SPEED and MAX_SWD_SPEED and check them according to selected TIF (interface). However those max speeds would still be equal to 50 MHz.