L8 #4

Merged
sundp merged 3 commits from L8 into master 2024-11-13 21:39:57 +08:00
2 changed files with 16 additions and 0 deletions
Showing only changes of commit 09ffc123f1 - Show all commits

View File

@ -28,6 +28,8 @@ extern "C" {
#include "stm32wlxx_hal.h"
/* Exported symbols ----------------------------------------------------------*/
// for NUCLEO DEV 55JCIX
#if 0
#define TOF_INT_EXTI_PIN (GPIO_PIN_10) //(GPIO_PIN_4)
#define TOF_INT_EXTI_PORT (GPIOA) //(GPIOA)
#define TOF_INT_EXTI_IRQn EXTI15_10_IRQn
@ -37,7 +39,21 @@ extern "C" {
#define VL53L8A1_LPn_C_PIN (GPIO_PIN_4) //(GPIO_PIN_0)
#define VL53L8A1_LPn_C_PORT (GPIOB) //(GPIOB)
#endif
// for Yunhorn STS RM1.3
#if 1
#define TOF_INT_EXTI_PIN (GPIO_PIN_15) //(GPIO_PIN_4)
#define TOF_INT_EXTI_PORT (GPIOA) //(GPIOA)
#define TOF_INT_EXTI_IRQn EXTI15_10_IRQn
#define VL53L8A1_PWR_EN_C_PIN (GPIO_PIN_4) //(GPIO_PIN_7)
#define VL53L8A1_PWR_EN_C_PORT (GPIOB) //(GPIOA)
#define VL53L8A1_LPn_C_PIN (GPIO_PIN_10) //(GPIO_PIN_0)
#define VL53L8A1_LPn_C_PORT (GPIOA) //(GPIOB)
#endif
#ifdef __cplusplus
}