Some STM32-based boards may use multiplexed JTAG pins as IO. Up to now the `DISABLE_JTAG` option (defined in pins files) was only supported for AT90-based boards. This commit generalizes the code and adds support for boards based on STM32F1 and STM32F4.
This HAL is for the STM32F407 MCU used with STM32Generic Arduino core by danieleff.
Arduino core is located at:
https://github.com/danieleff/STM32GENERIC
Unzip it into [Arduino]/hardware folder
This HAL is in development.
This HAL is a modified version of Chris Barr's Picoprint STM32F4 HAL.