HAL CRC: Move STM32 implementation to common folder and add targets

pull/6708/head
Steven Cartmell 2018-05-11 17:07:20 +01:00
parent 6b5dabe08b
commit a92ac70e82
2 changed files with 4 additions and 5 deletions

View File

@ -1,11 +1,10 @@
#include "crc_api.h"
#include "device.h"
#include "platform/mbed_assert.h"
#ifdef DEVICE_CRC
#include "stm32f0xx_hal.h"
static CRC_HandleTypeDef current_state;
static uint32_t final_xor;

View File

@ -1011,7 +1011,7 @@
}
},
"detect_code": ["0745"],
"device_has_add": ["ANALOGOUT", "CAN", "LOWPOWERTIMER", "SERIAL_ASYNCH", "SERIAL_FC", "FLASH"],
"device_has_add": ["ANALOGOUT", "CAN", "CRC", "LOWPOWERTIMER", "SERIAL_ASYNCH", "SERIAL_FC", "FLASH"],
"release_versions": ["2", "5"],
"device_name": "STM32F303RE"
},
@ -1028,7 +1028,7 @@
}
},
"detect_code": ["0747"],
"device_has_add": ["ANALOGOUT", "CAN", "LOWPOWERTIMER", "FLASH"],
"device_has_add": ["ANALOGOUT", "CAN", "CRC", "LOWPOWERTIMER", "FLASH"],
"release_versions": ["2", "5"],
"device_name": "STM32F303ZE"
},
@ -1064,7 +1064,7 @@
},
"detect_code": ["0720"],
"macros_add": ["USB_STM_HAL", "USBHOST_OTHER"],
"device_has_add": ["CRC", "SERIAL_ASYNCH", "SERIAL_FC", "FLASH", "LOWPOWERTIMER"],
"device_has_add": ["SERIAL_ASYNCH", "SERIAL_FC", "FLASH", "LOWPOWERTIMER"],
"release_versions": ["2", "5"],
"device_name": "STM32F401RE"
},