mirror of https://github.com/ARMmbed/mbed-os.git
add NUCLEO_G031K8 target
parent
e3d26ed888
commit
25ea7be2ff
|
@ -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)
|
__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;
|
tmp = &(TAMPx->BKP0R) + BackupRegister;
|
||||||
|
|
||||||
|
|
|
@ -155,7 +155,6 @@ typedef enum {
|
||||||
D10 = PB_9,
|
D10 = PB_9,
|
||||||
D11 = PB_5,
|
D11 = PB_5,
|
||||||
D12 = PB_4,
|
D12 = PB_4,
|
||||||
D13 = PB_3,
|
|
||||||
|
|
||||||
// STDIO for console print
|
// STDIO for console print
|
||||||
#ifdef MBED_CONF_TARGET_STDIO_UART_TX
|
#ifdef MBED_CONF_TARGET_STDIO_UART_TX
|
||||||
|
|
|
@ -24,7 +24,6 @@
|
||||||
#define USART3_4_LPUART1_IRQn LPUART1_IRQn
|
#define USART3_4_LPUART1_IRQn LPUART1_IRQn
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
uint32_t serial_irq_ids[UART_NUM] = {0};
|
uint32_t serial_irq_ids[UART_NUM] = {0};
|
||||||
UART_HandleTypeDef uart_handlers[UART_NUM];
|
UART_HandleTypeDef uart_handlers[UART_NUM];
|
||||||
|
|
||||||
|
|
|
@ -2403,16 +2403,25 @@
|
||||||
],
|
],
|
||||||
"device_name": "STM32G071RBTx"
|
"device_name": "STM32G071RBTx"
|
||||||
},
|
},
|
||||||
"NUCLEO_G031K8": {
|
"MCU_STM32G031xx": {
|
||||||
"inherits": [
|
"inherits": [
|
||||||
"MCU_STM32G0"
|
"MCU_STM32G0"
|
||||||
],
|
],
|
||||||
|
"public": false,
|
||||||
"extra_labels_add": [
|
"extra_labels_add": [
|
||||||
"STM32G031xx"
|
"STM32G031xx"
|
||||||
],
|
],
|
||||||
"macros_add": [
|
"macros_add": [
|
||||||
"STM32G031xx"
|
"STM32G031xx"
|
||||||
],
|
],
|
||||||
|
"device_has_remove": [
|
||||||
|
"ANALOGOUT"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"NUCLEO_G031K8": {
|
||||||
|
"inherits": [
|
||||||
|
"MCU_STM32G031xx"
|
||||||
|
],
|
||||||
"detect_code": [
|
"detect_code": [
|
||||||
"0852"
|
"0852"
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in New Issue