[bsp][stm32] delete main.c myself code, modify README.md,add blank line to SConscript
This commit is contained in:
parent
db6cc7d16a
commit
99a41baf71
|
@ -1,4 +1,4 @@
|
|||
# NUCLEO-L053R8 开发板的 BSP 说明
|
||||
# NUCLEO-L053R8 开发板 BSP 说明
|
||||
|
||||
## 简介
|
||||
|
||||
|
|
|
@ -97,17 +97,13 @@ int main(void)
|
|||
MX_GPIO_Init();
|
||||
MX_USART2_UART_Init();
|
||||
/* USER CODE BEGIN 2 */
|
||||
uint32_t hell0;
|
||||
hell0 = HAL_RCC_GetPCLK1Freq();
|
||||
//printf("hell0:%d",hell0);
|
||||
|
||||
/* USER CODE END 2 */
|
||||
|
||||
/* Infinite loop */
|
||||
/* USER CODE BEGIN WHILE */
|
||||
while (1)
|
||||
{
|
||||
HAL_UART_Transmit(&huart2, "hello\r\n", strlen("hello\r\n"), 10);
|
||||
HAL_Delay(1000);
|
||||
/* USER CODE END WHILE */
|
||||
|
||||
/* USER CODE BEGIN 3 */
|
||||
|
|
Loading…
Reference in New Issue