Setting pulse_type for stm32 architecture doesn't do anything. Fixed this now.