fix pin types on SAM3X
remove extra PWRFLAG; ERC now passes