add NUCLEO_G031K8 target

pull/13006/head
Pavel Slama 2020-07-31 13:01:45 +02:00 committed by George Beckstein
parent e3d26ed888
commit 25ea7be2ff
4 changed files with 11 additions and 4 deletions

View File

@ -3074,7 +3074,7 @@ __STATIC_INLINE void LL_RTC_BKP_SetRegister(TAMP_TypeDef *TAMPx, uint32_t Backup
*/
__STATIC_INLINE uint32_t LL_RTC_BKP_GetRegister(TAMP_TypeDef *TAMPx, uint32_t BackupRegister)
{
const register __IO uint32_t *tmp;
register __IO uint32_t *tmp;
tmp = &(TAMPx->BKP0R) + BackupRegister;

View File

@ -155,7 +155,6 @@ typedef enum {
D10 = PB_9,
D11 = PB_5,
D12 = PB_4,
D13 = PB_3,
// STDIO for console print
#ifdef MBED_CONF_TARGET_STDIO_UART_TX

View File

@ -24,7 +24,6 @@
#define USART3_4_LPUART1_IRQn LPUART1_IRQn
#endif
uint32_t serial_irq_ids[UART_NUM] = {0};
UART_HandleTypeDef uart_handlers[UART_NUM];

View File

@ -2403,16 +2403,25 @@
],
"device_name": "STM32G071RBTx"
},
"NUCLEO_G031K8": {
"MCU_STM32G031xx": {
"inherits": [
"MCU_STM32G0"
],
"public": false,
"extra_labels_add": [
"STM32G031xx"
],
"macros_add": [
"STM32G031xx"
],
"device_has_remove": [
"ANALOGOUT"
]
},
"NUCLEO_G031K8": {
"inherits": [
"MCU_STM32G031xx"
],
"detect_code": [
"0852"
],