Merge pull request #15080 from jeromecoutant/PR_F407_CAN

STM32F4: CAN issue with F407 target
pull/15116/head
Martin Kojtal 2021-09-28 14:02:50 +01:00 committed by GitHub
commit d93843a694
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -139,7 +139,7 @@ typedef enum {
#endif #endif
} PWMName; } PWMName;
#if DEVICE_CAN #if CAN1_BASE
typedef enum { typedef enum {
CAN_1 = (int)CAN1_BASE, CAN_1 = (int)CAN1_BASE,
#if defined CAN2_BASE #if defined CAN2_BASE

View File

@ -1798,6 +1798,7 @@
], ],
"device_has_add": [ "device_has_add": [
"ANALOGOUT", "ANALOGOUT",
"CAN",
"TRNG" "TRNG"
] ]
}, },
@ -1816,6 +1817,7 @@
"EMAC" "EMAC"
], ],
"device_has_remove": [ "device_has_remove": [
"CAN",
"LPTICKER", "LPTICKER",
"SERIAL_FC" "SERIAL_FC"
], ],