SQUASHME: add barrier to stm32f3discovery board