grytole / stm8builder

Simple build system for stm8s chips with SDCC toolchain, Stm8_StdPeriph_Driver and stm8flash flasher
MIT License
15 stars 0 forks source link

Warnings #1

Open hoopsurfer opened 5 years ago

hoopsurfer commented 5 years ago

Thanks for the help getting started, I see the following warnings generated by your copy of std periph:

~/STM8/blink $ make make[1]: Entering directory '/home/pi/STM8/blink/stm8builder/stdperiph_driver' /home/pi/STM8/blink/stm8builder/stdperiph_driver/src/stm8s_itc.itc_getsoftintstatus.c:60: warning 59: function 'ITC_GetCPUCC' must return value /home/pi/STM8/blink/stm8builder/stdperiph_driver/src/stm8s_tim2.c:1110: warning 116: right shifting more than size of object changed to zero make[1]: Leaving directory '/home/pi/STM8/blink/stm8builder/stdperiph_driver'

Is your expectation they should compile cleanly? Thx.

grytole commented 5 years ago

Hi, it is the same issue as was in the clean ST code and I have no idea how to fix this warning. Please feel free to add a pull request if you have a solution for this.