alternate function settings for STM32F303
Posted: Sat Mar 15, 2014 7:49 pm
Hi,
this week I tried to compile my code for STM32F303 which compiles earlier for STM32F103.
Sofar I used this in order to remap AFIO->MAPR |= AFIO_MAPR_CAN_REMAP_REMAP2 my CAN.
What is the correct way to do it so I can compile the code for both platforms?
What is the intended way to do remap with chibios?
Thanks for your help.
Michael
this week I tried to compile my code for STM32F303 which compiles earlier for STM32F103.
Sofar I used this in order to remap AFIO->MAPR |= AFIO_MAPR_CAN_REMAP_REMAP2 my CAN.
What is the correct way to do it so I can compile the code for both platforms?
What is the intended way to do remap with chibios?
Thanks for your help.
Michael