Compile these functions only for sam3x.