This is a small project i made. It involves TIM14 PWM sinewave (half or fullwave) output on pin PA4, a shell on PA2,3, ADC Sampling of Ch0,1 and internal temperature Sensor and internal reference.
All the necessary files are in the project (linker script, pwm_lld files, ods spreadsheet for calculating the pwm).
I also deactivated some of ChibiOS functions like mutex and messages.
This should help everybody to get started with this small (TSSOP20) chip.
Have fun.
EDIT: I just found out that i forgot the file