add stm32L053r8 support

add stm32L053r8 support
This commit is contained in:
supowang
2019-09-30 11:37:22 +08:00
parent 446b341232
commit 414dccf119
27 changed files with 5837 additions and 4 deletions

View File

@@ -5,13 +5,13 @@ void lorawan_demo(void)
int count = 1;
extern int rhf76_lora_init(hal_uart_port_t uart_port);
rhf76_lora_init(HAL_UART_PORT_0);
rhf76_lora_init(HAL_UART_PORT_1);
tos_lora_module_join();
while (1) {
if (count % 20 == 0) {
// printf("############task1 count is %d \r\n",count++);
printf("############task1 count is %d \r\n",count++);
tos_lora_module_send("test data",sizeof("test data"));
}
count++;