From 7a8e9591e324637d80e4bfd18f1b75774c521dda Mon Sep 17 00:00:00 2001 From: bondus Date: Thu, 25 Jun 2020 00:59:38 +0200 Subject: stm32: Improved CAN support for STM32 (#2976) Reworked the STM32F0 CAN bus implementation. It's more robust and higher performance. Added support for function remapping to different pins. API is emulating an STM32F0. Improved and ported CAN bus to STM32F0, F1 and F4. Signed-off-by: Pontus Borg --- src/stm32/stm32f0.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/stm32/stm32f0.c') diff --git a/src/stm32/stm32f0.c b/src/stm32/stm32f0.c index 9c536915..a6d5e069 100644 --- a/src/stm32/stm32f0.c +++ b/src/stm32/stm32f0.c @@ -219,7 +219,7 @@ armcm_main(void) // Turn on hsi14 oscillator for ADC hsi14_setup(); - // Support alternate USB/CAN pins on stm32f042 + // Support pin remapping USB/CAN pins on low pinout stm32f042 #ifdef SYSCFG_CFGR1_PA11_PA12_RMP if (CONFIG_STM32F042_PIN_SWAP) { enable_pclock(SYSCFG_BASE); -- cgit v1.2.3-70-g09d2