fix compile on F3/F4 boards