Local changes to increase sample rate

Fork of X_NUCLEO_COMMON by ST