A compilation issue popped up when I included the V3.4.0 $1 file in my project and started accessing Timer 2 using the TIM library.
It looks like there is a problem with the library AFIO_TypeDef structure not including MAPR2 register, but still trying to access it. Has anyone else had the same problem? Is there an easy solution?
From the V3.4.0 $1 file:
There are two lines in the above code the same as this:
Looking at the AFIO definition in V3.4.0 $1:
...there is no MAPR2 register, only MAPR. Is this an error or have I done something wrong? Is there a different file I should be using? If it matters, I'm writing code for the STM32 Primer2.
Also, is there a file I can download which contains all the latest library files? I feel like I'm always unsure about which version is the newest.