stmhal - add pin mapping, gpio, exti, usrsw