STM32: Define CAN handle as part of can object
Instead of a static object, this will make driver
instantiation more robust and allow to re-use init
configuration on a need basis.

The CANName struct member is actually the CAN registers base address,
which is now available in the CanHandle.Instance field, so we don't need
CANName anymore.
ls
1 parent 66162c6 commit 759642af8e2504408432cf8ee5b1f6d41cb40938
@Laurent MEUNIER Laurent MEUNIER authored on 17 Aug 2017
Showing 8 changed files
View
targets/TARGET_STM/TARGET_STM32F0/common_objects.h
View
targets/TARGET_STM/TARGET_STM32F1/common_objects.h
View
targets/TARGET_STM/TARGET_STM32F2/objects.h
View
targets/TARGET_STM/TARGET_STM32F3/common_objects.h
View
targets/TARGET_STM/TARGET_STM32F4/common_objects.h
View
targets/TARGET_STM/TARGET_STM32F7/common_objects.h
View
targets/TARGET_STM/TARGET_STM32L4/common_objects.h
View
targets/TARGET_STM/can_api.c