diff --git a/STM32CubeIDE/Release/WL55JC_AS923.elf b/STM32CubeIDE/Release/WL55JC_AS923.elf index f1b5eae..53bffe3 100644 Binary files a/STM32CubeIDE/Release/WL55JC_AS923.elf and b/STM32CubeIDE/Release/WL55JC_AS923.elf differ diff --git a/TOF/Target/app_tof_pin_conf.h b/TOF/Target/app_tof_pin_conf.h index 320f0fc..0aefc45 100644 --- a/TOF/Target/app_tof_pin_conf.h +++ b/TOF/Target/app_tof_pin_conf.h @@ -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 }