pub
Fork of CANnucleo by
Diff: can_api.h
- Revision:
- 16:f4c8f45bded9
- Parent:
- 14:0344705e6fb8
- Child:
- 20:bcd8161f8f6c
diff -r 5123ead7b002 -r f4c8f45bded9 can_api.h --- a/can_api.h Sun Dec 27 09:36:47 2015 +0000 +++ b/can_api.h Wed Dec 30 08:23:30 2015 +0000 @@ -28,7 +28,10 @@ #undef CAN -#if defined(TARGET_NUCLEO_F103RB) +#if defined(TARGET_NUCLEO_F072RB) || \ + defined(TARGET_NUCLEO_F091RC) + #include "stm32f0xx_hal_msp.h" +#elif defined(TARGET_NUCLEO_F103RB) #include "stm32f1xx_hal_msp.h" #elif defined(TARGET_NUCLEO_F302R8) || \ defined(TARGET_NUCLEO_F303RE) || \ @@ -36,6 +39,8 @@ defined(TARGET_NUCLEO_F334R8) || \ defined(TARGET_DISCO_F334C8) #include "stm32f3xx_hal_msp.h" +#elif defined(TARGET_NUCLEO_F446RE) + #include "stm32f4xx_hal_msp.h" #endif #ifdef __cplusplus @@ -98,3 +103,4 @@ #endif // MBED_CAN_API_H +