Here's some reference: http://stackoverflow.com/questions/13519648/how-to-configure-the-stm32103-for-can-and-remapping-the-pins-to-pb8-and-pb9 http://www.keil.com/download/docs/351.asp (contains code) http://www.keil.com/appnotes/files/apnt_236.pdf
@alexanderbrevig started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Here's some reference:
http://stackoverflow.com/questions/13519648/how-to-configure-the-stm32103-for-can-and-remapping-the-pins-to-pb8-and-pb9
http://www.keil.com/download/docs/351.asp (contains code)
http://www.keil.com/appnotes/files/apnt_236.pdf