suikan4github / murasaki

STM32 HAL class library
MIT License
17 stars 3 forks source link

Add Nucleo G0B1RE Support to murasaki_platform.cpp.tmp #145

Closed suikan4github closed 2 years ago

suikan4github commented 2 years ago

Is your feature request related to a problem? Please describe. At this moment, Nucleo G0B1RE is not supported by murasaki_platform.cpp.tmp. As result, compile error happens at demonstration.

Describe the solution you'd like Insert following code to the template.

#elif defined(STM32G0B1xx)
// For Nucleo G01B1RE (48pin)
#define UART_PORT huart2
#define LED_PORT LED_GREEN_GPIO_Port
#define LED_PIN LED_GREEN_Pin
extern UART_HandleTypeDef UART_PORT;

The insertion point is following :

https://github.com/suikan4github/murasaki/blob/bc53f436ee9e44ddafd540489d945d9e3afdaca4/template/murasaki_platform.cpp.tmp#L116

Describe alternatives you've considered None.

Additional context None.

suikan4github commented 2 years ago

Merged to develop. ready to release.