[STM32-Nucleo L152RE]


I think we are very close to complete periph_conf.h [1] implementation. Indeed, we succeed to flash it on the stm32 nucleo L152RE but the programs doesn’t execute well. Maybe the link between define PWM_X_PIN_CH0 x € [0…1] are not good. We don’t understand the concept of pwm channel ! Moreover how can we use the function “int pwm_set(pwm_t dev, int channel, unsigned int value);” . Can you give me an example of this please ?

[1] : http://pastebin.com/pz01U1Ed

Kind Regards