add pm25 LoRaWAN project

add pm25 LoRaWAN project
This commit is contained in:
supowang
2020-07-30 16:08:08 +08:00
parent e4e2b08363
commit 257a5e9867
33 changed files with 5575 additions and 236 deletions

View File

@@ -25,7 +25,6 @@
#include "main.h"
#include "stm32wlxx_it.h"
#include "tos_k.h"
#include "sensor_parser.h"
/* Private includes ----------------------------------------------------------*/
/* USER CODE BEGIN Includes */
/* USER CODE END Includes */
@@ -234,22 +233,10 @@ void USART2_IRQHandler(void)
/* USER CODE END LPUART1_IRQn 1 */
}
void Radio_IRQHandler(void)
{
HAL_SUBGHZ_IRQHandler(&hsubghz);
}
/* USER CODE BEGIN 1 */
void HAL_UART_RxCpltCallback(UART_HandleTypeDef *huart)
{
extern uint8_t msg;
if(huart ->Instance == USART2)
{
tos_shell_input_byte(msg);
HAL_UART_Receive_IT(&huart2, (uint8_t*)&msg, 1);
}
}
/* USER CODE END 1 */
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/