With the help of the given configuration file, I managed to get it work. The problem was with my PWM configuration structure, but now it chirps perfectly
I have some difficulties to make your kakapo library to work with my STM32F401 Nucleo based board. It successfully executes buzzer_init() but gets stuck at buzzer_melody, _ring, or _beep. If you kindly provide your main.c together with appropriate configuration files, e.g., halconf ...