Working fork to test F0 application

Dependents:   ppCANOpen_Example

Fork of CANnucleo by Zoltan Hudak

Revision:
14:0344705e6fb8
Parent:
6:c5a40d5fd9f1
Child:
16:f4c8f45bded9
--- a/can_api.h	Wed Dec 23 10:37:01 2015 +0000
+++ b/can_api.h	Sun Dec 27 09:02:47 2015 +0000
@@ -24,7 +24,19 @@
 #include "PeripheralNames.h"
 #include "can_helper.h"
 
-#define DEBUG 1
+//#define DEBUG 1
+
+#undef CAN
+
+#if defined(TARGET_NUCLEO_F103RB)
+    #include "stm32f1xx_hal_msp.h"
+#elif defined(TARGET_NUCLEO_F302R8) || \
+    defined(TARGET_NUCLEO_F303RE) || \
+    defined(TARGET_NUCLEO_F303K8) || \
+    defined(TARGET_NUCLEO_F334R8) || \
+    defined(TARGET_DISCO_F334C8)
+    #include "stm32f3xx_hal_msp.h"
+#endif
 
 #ifdef __cplusplus
 extern "C" {
@@ -85,3 +97,4 @@
 #endif
 
 #endif    // MBED_CAN_API_H
+