Added SAM3 and STM32 code