From d51cfb5ef7ce7871ce9b8b58848dbde708c42cae Mon Sep 17 00:00:00 2001 From: YunHorn Technology Date: Thu, 18 Apr 2024 19:21:12 +0800 Subject: [PATCH] remove unused code, reached 4.2uA --- Core/Src/dma.c | 2 +- Core/Src/gpio.c | 4 +- Core/Src/main.c | 2 +- Core/Src/stm32wlxx_it.c | 12 ++-- Core/Src/sys_app.c | 4 +- LoRaWAN/App/lora_app.c | 4 +- STM32CubeIDE/.project | 25 -------- .../Application/User/TOF/App/subdir.mk | 37 ------------ .../Application/User/TOF/Target/subdir.mk | 27 --------- .../Application/User/TOF/vl53l0x/subdir.mk | 57 ------------------- STM32CubeIDE/Release/makefile | 3 - STM32CubeIDE/Release/objects.list | 11 ---- STM32CubeIDE/Release/sources.mk | 3 - 13 files changed, 14 insertions(+), 177 deletions(-) delete mode 100644 STM32CubeIDE/Release/Application/User/TOF/App/subdir.mk delete mode 100644 STM32CubeIDE/Release/Application/User/TOF/Target/subdir.mk delete mode 100644 STM32CubeIDE/Release/Application/User/TOF/vl53l0x/subdir.mk diff --git a/Core/Src/dma.c b/Core/Src/dma.c index 60e5f85..47369de 100644 --- a/Core/Src/dma.c +++ b/Core/Src/dma.c @@ -44,7 +44,7 @@ void MX_DMA_Init(void) /* DMA controller clock enable */ __HAL_RCC_DMAMUX1_CLK_ENABLE(); __HAL_RCC_DMA1_CLK_ENABLE(); - __HAL_RCC_DMA2_CLK_ENABLE(); + /* DMA interrupt init */ #if 0 // **** TIM1_CH2 WS2812B @ PA-9 diff --git a/Core/Src/gpio.c b/Core/Src/gpio.c index bb661d7..b6ce667 100644 --- a/Core/Src/gpio.c +++ b/Core/Src/gpio.c @@ -152,7 +152,7 @@ void MX_GPIO_Init(void) GPIO_InitStruct.Pin = MEMS_POWER_Pin; GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP; - GPIO_InitStruct.Pull = GPIO_NOPULL; + GPIO_InitStruct.Pull = GPIO_PULLDOWN; GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW; HAL_GPIO_Init(MEMS_POWER_GPIO_Port, &GPIO_InitStruct); @@ -172,7 +172,7 @@ HAL_GPIO_Init(SOAP_STATUS_GPIO_Port, &GPIO_InitStruct); GPIO_InitStruct.Pin = SOAP_SWITCH_Pin; GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP; -GPIO_InitStruct.Pull = GPIO_NOPULL; +GPIO_InitStruct.Pull = GPIO_PULLDOWN; GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW; HAL_GPIO_Init(SOAP_SWITCH_GPIO_Port, &GPIO_InitStruct); diff --git a/Core/Src/main.c b/Core/Src/main.c index b8f01df..03eff99 100644 --- a/Core/Src/main.c +++ b/Core/Src/main.c @@ -23,7 +23,7 @@ #include "app_lorawan.h" #include "gpio.h" #include -#include "i2c.h" +//#include "i2c.h" #include "dma.h" #include "usart.h" #include "sys_app.h" diff --git a/Core/Src/stm32wlxx_it.c b/Core/Src/stm32wlxx_it.c index 0136ce1..b904524 100644 --- a/Core/Src/stm32wlxx_it.c +++ b/Core/Src/stm32wlxx_it.c @@ -264,7 +264,7 @@ void EXTI1_IRQHandler(void) /* USER CODE END EXTI1_IRQn 1 */ } - +#if 0 /** * @brief This function handles DMA1 Channel 2 Interrupt. */ @@ -336,7 +336,7 @@ void DMA1_Channel6_IRQHandler(void) /* USER CODE END DMA1_Channel6_IRQn 1 */ } - +#endif /** * @brief This function handles DMA1 Channel 7 Interrupt. */ @@ -350,7 +350,7 @@ void DMA1_Channel7_IRQHandler(void) /* USER CODE END DMA1_Channel7_IRQn 1 */ } - +#if 0 /** * @brief This function handles EXTI Lines [4] Interrupt. */ @@ -364,8 +364,8 @@ void EXTI4_IRQHandler(void) /* USER CODE END EXTI9_5_IRQn 1 */ } - - +#endif +#if 0 /** * @brief This function handles EXTI Lines [9:5] Interrupt. */ @@ -401,7 +401,7 @@ void EXTI15_10_IRQHandler(void) /* USER CODE END EXTI15_10_IRQn 1 */ } - +#endif /** diff --git a/Core/Src/sys_app.c b/Core/Src/sys_app.c index b96f606..86d7b46 100644 --- a/Core/Src/sys_app.c +++ b/Core/Src/sys_app.c @@ -101,7 +101,7 @@ void SystemApp_Init(void) UTIL_TIMER_Init(); SYS_TimerInitialisedFlag = 1; /* Initializes the SW probes pins and the monitor RF pins via Alternate Function */ - DBG_Init(); + //DBG_Init(); /*Initialize the terminal */ UTIL_ADV_TRACE_Init(); @@ -119,7 +119,7 @@ void SystemApp_Init(void) /*Initialize the Sensors */ EnvSensors_Init(); -#ifdef SOAP_LEVEL +#ifdef SOAP_LEVEL_SENSOR YUNHORN_STS_R4_SENSOR_Init(); #endif diff --git a/LoRaWAN/App/lora_app.c b/LoRaWAN/App/lora_app.c index 1b233af..bf2eb5a 100644 --- a/LoRaWAN/App/lora_app.c +++ b/LoRaWAN/App/lora_app.c @@ -2109,9 +2109,9 @@ void STS_SENSOR_Function_Test_Process(void) tstbuf[i++] = (uint8_t) sts_hardware_ver; tstbuf[i++] = (uint8_t) (99*GetBatteryLevel()/254)&0xff; - +#ifndef SOAP_LEVEL_SENSOR count = STS_SENSOR_MEMS_Get_ID(mems_Dev_ID); - +#endif // if ((mems_Dev_ID[0]==0X0) && (mems_Dev_ID[1]==0x0)) if (count ==0) { diff --git a/STM32CubeIDE/.project b/STM32CubeIDE/.project index e8fa120..df24725 100644 --- a/STM32CubeIDE/.project +++ b/STM32CubeIDE/.project @@ -487,11 +487,6 @@ 1 copy_PARENT/Core/Src/yunhorn_sts_process.c - - Application/User/TOF/vl53l0x - 2 - copy_PARENT/vl53l0x - Drivers/BSP/STM32WLxx_Nucleo/stm32wlxx_nucleo.c 1 @@ -527,26 +522,6 @@ 1 copy_PARENT/LoRaWAN/Target/radio_board_if.c - - Application/User/TOF/App/X-WL55_WLE5_53L0X.c - 1 - copy_PARENT/TOF/App/X-WL55_WLE5_53L0X.c - - - Application/User/TOF/App/app_tof.c - 1 - copy_PARENT/TOF/App/app_tof.c - - - Application/User/TOF/App/app_tof_vl53l0x_range.c - 1 - copy_PARENT/TOF/App/app_tof_vl53l0x_range.c - - - Application/User/TOF/Target/app_tof_pin_conf.c - 1 - copy_PARENT/TOF/Target/app_tof_pin_conf.c - diff --git a/STM32CubeIDE/Release/Application/User/TOF/App/subdir.mk b/STM32CubeIDE/Release/Application/User/TOF/App/subdir.mk deleted file mode 100644 index b1c01e5..0000000 --- a/STM32CubeIDE/Release/Application/User/TOF/App/subdir.mk +++ /dev/null @@ -1,37 +0,0 @@ -################################################################################ -# Automatically-generated file. Do not edit! -# Toolchain: GNU Tools for STM32 (12.3.rel1) -################################################################################ - -# Add inputs and outputs from these tool invocations to the build variables -C_SRCS += \ -D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/STS_RR_R125/TOF/App/X-WL55_WLE5_53L0X.c \ -D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/STS_RR_R125/TOF/App/app_tof.c \ -D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/STS_RR_R125/TOF/App/app_tof_vl53l0x_range.c - -OBJS += \ -./Application/User/TOF/App/X-WL55_WLE5_53L0X.o \ -./Application/User/TOF/App/app_tof.o \ -./Application/User/TOF/App/app_tof_vl53l0x_range.o - -C_DEPS += \ -./Application/User/TOF/App/X-WL55_WLE5_53L0X.d \ -./Application/User/TOF/App/app_tof.d \ -./Application/User/TOF/App/app_tof_vl53l0x_range.d - - -# Each subdirectory must supply rules for building sources it contributes -Application/User/TOF/App/X-WL55_WLE5_53L0X.o: D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/STS_RR_R125/TOF/App/X-WL55_WLE5_53L0X.c Application/User/TOF/App/subdir.mk - arm-none-eabi-gcc "$<" -mcpu=cortex-m4 -std=gnu11 -DSOAP_LEVEL_SENSOR -DYUNHORN_STS_RANDOM -DCORE_CM4 -DSTM32WLE5xx -DUSE_HAL_DRIVER -c -I../../Core/Inc -I../../vl53l0x -I../../TOF/App -I../../TOF/Target -I../../LoRaWAN/App -I../../LoRaWAN/Target -I../../../../../../../Drivers/STM32WLxx_HAL_Driver/Inc -I../../../../../../../Drivers/STM32WLxx_HAL_Driver/Inc/Legacy -I../../../../../../../Utilities/trace/adv_trace -I../../../../../../../Utilities/misc -I../../../../../../../Utilities/sequencer -I../../../../../../../Utilities/timer -I../../../../../../../Utilities/lpm/tiny_lpm -I../../../../../../../Middlewares/Third_Party/LoRaWAN/LmHandler/Packages -I../../../../../../../Drivers/CMSIS/Device/ST/STM32WLxx/Include -I../../../../../../../Middlewares/Third_Party/LoRaWAN/Crypto -I../../../../../../../Middlewares/Third_Party/LoRaWAN/Mac/Region -I../../../../../../../Middlewares/Third_Party/LoRaWAN/Mac -I../../../../../../../Middlewares/Third_Party/LoRaWAN/LmHandler -I../../../../../../../Middlewares/Third_Party/LoRaWAN/Utilities -I../../../../../../../Middlewares/Third_Party/SubGHz_Phy -I../../../../../../../Middlewares/ST/STM32_Cryptographic/include -I../../../../../../../Middlewares/Third_Party/SubGHz_Phy/stm32_radio_driver -I../../../../../../../Drivers/CMSIS/Include -I../../../../../../../Drivers/BSP/STM32WLxx_Nucleo -Os -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"$(@:%.o=%.d)" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@" -Application/User/TOF/App/app_tof.o: D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/STS_RR_R125/TOF/App/app_tof.c Application/User/TOF/App/subdir.mk - arm-none-eabi-gcc "$<" -mcpu=cortex-m4 -std=gnu11 -DSOAP_LEVEL_SENSOR -DYUNHORN_STS_RANDOM -DCORE_CM4 -DSTM32WLE5xx -DUSE_HAL_DRIVER -c -I../../Core/Inc -I../../vl53l0x -I../../TOF/App -I../../TOF/Target -I../../LoRaWAN/App -I../../LoRaWAN/Target -I../../../../../../../Drivers/STM32WLxx_HAL_Driver/Inc -I../../../../../../../Drivers/STM32WLxx_HAL_Driver/Inc/Legacy -I../../../../../../../Utilities/trace/adv_trace -I../../../../../../../Utilities/misc -I../../../../../../../Utilities/sequencer -I../../../../../../../Utilities/timer -I../../../../../../../Utilities/lpm/tiny_lpm -I../../../../../../../Middlewares/Third_Party/LoRaWAN/LmHandler/Packages -I../../../../../../../Drivers/CMSIS/Device/ST/STM32WLxx/Include -I../../../../../../../Middlewares/Third_Party/LoRaWAN/Crypto -I../../../../../../../Middlewares/Third_Party/LoRaWAN/Mac/Region -I../../../../../../../Middlewares/Third_Party/LoRaWAN/Mac -I../../../../../../../Middlewares/Third_Party/LoRaWAN/LmHandler -I../../../../../../../Middlewares/Third_Party/LoRaWAN/Utilities -I../../../../../../../Middlewares/Third_Party/SubGHz_Phy -I../../../../../../../Middlewares/ST/STM32_Cryptographic/include -I../../../../../../../Middlewares/Third_Party/SubGHz_Phy/stm32_radio_driver -I../../../../../../../Drivers/CMSIS/Include -I../../../../../../../Drivers/BSP/STM32WLxx_Nucleo -Os -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"$(@:%.o=%.d)" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@" -Application/User/TOF/App/app_tof_vl53l0x_range.o: D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/STS_RR_R125/TOF/App/app_tof_vl53l0x_range.c Application/User/TOF/App/subdir.mk - arm-none-eabi-gcc "$<" -mcpu=cortex-m4 -std=gnu11 -DSOAP_LEVEL_SENSOR -DYUNHORN_STS_RANDOM -DCORE_CM4 -DSTM32WLE5xx -DUSE_HAL_DRIVER -c -I../../Core/Inc -I../../vl53l0x -I../../TOF/App -I../../TOF/Target -I../../LoRaWAN/App -I../../LoRaWAN/Target -I../../../../../../../Drivers/STM32WLxx_HAL_Driver/Inc -I../../../../../../../Drivers/STM32WLxx_HAL_Driver/Inc/Legacy -I../../../../../../../Utilities/trace/adv_trace -I../../../../../../../Utilities/misc -I../../../../../../../Utilities/sequencer -I../../../../../../../Utilities/timer -I../../../../../../../Utilities/lpm/tiny_lpm -I../../../../../../../Middlewares/Third_Party/LoRaWAN/LmHandler/Packages -I../../../../../../../Drivers/CMSIS/Device/ST/STM32WLxx/Include -I../../../../../../../Middlewares/Third_Party/LoRaWAN/Crypto -I../../../../../../../Middlewares/Third_Party/LoRaWAN/Mac/Region -I../../../../../../../Middlewares/Third_Party/LoRaWAN/Mac -I../../../../../../../Middlewares/Third_Party/LoRaWAN/LmHandler -I../../../../../../../Middlewares/Third_Party/LoRaWAN/Utilities -I../../../../../../../Middlewares/Third_Party/SubGHz_Phy -I../../../../../../../Middlewares/ST/STM32_Cryptographic/include -I../../../../../../../Middlewares/Third_Party/SubGHz_Phy/stm32_radio_driver -I../../../../../../../Drivers/CMSIS/Include -I../../../../../../../Drivers/BSP/STM32WLxx_Nucleo -Os -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"$(@:%.o=%.d)" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@" - -clean: clean-Application-2f-User-2f-TOF-2f-App - -clean-Application-2f-User-2f-TOF-2f-App: - -$(RM) ./Application/User/TOF/App/X-WL55_WLE5_53L0X.cyclo ./Application/User/TOF/App/X-WL55_WLE5_53L0X.d ./Application/User/TOF/App/X-WL55_WLE5_53L0X.o ./Application/User/TOF/App/X-WL55_WLE5_53L0X.su ./Application/User/TOF/App/app_tof.cyclo ./Application/User/TOF/App/app_tof.d ./Application/User/TOF/App/app_tof.o ./Application/User/TOF/App/app_tof.su ./Application/User/TOF/App/app_tof_vl53l0x_range.cyclo ./Application/User/TOF/App/app_tof_vl53l0x_range.d ./Application/User/TOF/App/app_tof_vl53l0x_range.o ./Application/User/TOF/App/app_tof_vl53l0x_range.su - -.PHONY: clean-Application-2f-User-2f-TOF-2f-App - diff --git a/STM32CubeIDE/Release/Application/User/TOF/Target/subdir.mk b/STM32CubeIDE/Release/Application/User/TOF/Target/subdir.mk deleted file mode 100644 index 8a7abdd..0000000 --- a/STM32CubeIDE/Release/Application/User/TOF/Target/subdir.mk +++ /dev/null @@ -1,27 +0,0 @@ -################################################################################ -# Automatically-generated file. Do not edit! -# Toolchain: GNU Tools for STM32 (12.3.rel1) -################################################################################ - -# Add inputs and outputs from these tool invocations to the build variables -C_SRCS += \ -D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/STS_RR_R125/TOF/Target/app_tof_pin_conf.c - -OBJS += \ -./Application/User/TOF/Target/app_tof_pin_conf.o - -C_DEPS += \ -./Application/User/TOF/Target/app_tof_pin_conf.d - - -# Each subdirectory must supply rules for building sources it contributes -Application/User/TOF/Target/app_tof_pin_conf.o: D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/STS_RR_R125/TOF/Target/app_tof_pin_conf.c Application/User/TOF/Target/subdir.mk - arm-none-eabi-gcc "$<" -mcpu=cortex-m4 -std=gnu11 -DSOAP_LEVEL_SENSOR -DYUNHORN_STS_RANDOM -DCORE_CM4 -DSTM32WLE5xx -DUSE_HAL_DRIVER -c -I../../Core/Inc -I../../vl53l0x -I../../TOF/App -I../../TOF/Target -I../../LoRaWAN/App -I../../LoRaWAN/Target -I../../../../../../../Drivers/STM32WLxx_HAL_Driver/Inc -I../../../../../../../Drivers/STM32WLxx_HAL_Driver/Inc/Legacy -I../../../../../../../Utilities/trace/adv_trace -I../../../../../../../Utilities/misc -I../../../../../../../Utilities/sequencer -I../../../../../../../Utilities/timer -I../../../../../../../Utilities/lpm/tiny_lpm -I../../../../../../../Middlewares/Third_Party/LoRaWAN/LmHandler/Packages -I../../../../../../../Drivers/CMSIS/Device/ST/STM32WLxx/Include -I../../../../../../../Middlewares/Third_Party/LoRaWAN/Crypto -I../../../../../../../Middlewares/Third_Party/LoRaWAN/Mac/Region -I../../../../../../../Middlewares/Third_Party/LoRaWAN/Mac -I../../../../../../../Middlewares/Third_Party/LoRaWAN/LmHandler -I../../../../../../../Middlewares/Third_Party/LoRaWAN/Utilities -I../../../../../../../Middlewares/Third_Party/SubGHz_Phy -I../../../../../../../Middlewares/ST/STM32_Cryptographic/include -I../../../../../../../Middlewares/Third_Party/SubGHz_Phy/stm32_radio_driver -I../../../../../../../Drivers/CMSIS/Include -I../../../../../../../Drivers/BSP/STM32WLxx_Nucleo -Os -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"$(@:%.o=%.d)" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@" - -clean: clean-Application-2f-User-2f-TOF-2f-Target - -clean-Application-2f-User-2f-TOF-2f-Target: - -$(RM) ./Application/User/TOF/Target/app_tof_pin_conf.cyclo ./Application/User/TOF/Target/app_tof_pin_conf.d ./Application/User/TOF/Target/app_tof_pin_conf.o ./Application/User/TOF/Target/app_tof_pin_conf.su - -.PHONY: clean-Application-2f-User-2f-TOF-2f-Target - diff --git a/STM32CubeIDE/Release/Application/User/TOF/vl53l0x/subdir.mk b/STM32CubeIDE/Release/Application/User/TOF/vl53l0x/subdir.mk deleted file mode 100644 index 405a0e1..0000000 --- a/STM32CubeIDE/Release/Application/User/TOF/vl53l0x/subdir.mk +++ /dev/null @@ -1,57 +0,0 @@ -################################################################################ -# Automatically-generated file. Do not edit! -# Toolchain: GNU Tools for STM32 (12.3.rel1) -################################################################################ - -# Add inputs and outputs from these tool invocations to the build variables -C_SRCS += \ -D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/STS_RR_R125/vl53l0x/vl53l0x_api.c \ -D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/STS_RR_R125/vl53l0x/vl53l0x_api_calibration.c \ -D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/STS_RR_R125/vl53l0x/vl53l0x_api_core.c \ -D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/STS_RR_R125/vl53l0x/vl53l0x_api_ranging.c \ -D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/STS_RR_R125/vl53l0x/vl53l0x_api_strings.c \ -D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/STS_RR_R125/vl53l0x/vl53l0x_platform.c \ -D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/STS_RR_R125/vl53l0x/vl53l0x_platform_log.c - -OBJS += \ -./Application/User/TOF/vl53l0x/vl53l0x_api.o \ -./Application/User/TOF/vl53l0x/vl53l0x_api_calibration.o \ -./Application/User/TOF/vl53l0x/vl53l0x_api_core.o \ -./Application/User/TOF/vl53l0x/vl53l0x_api_ranging.o \ -./Application/User/TOF/vl53l0x/vl53l0x_api_strings.o \ -./Application/User/TOF/vl53l0x/vl53l0x_platform.o \ -./Application/User/TOF/vl53l0x/vl53l0x_platform_log.o - -C_DEPS += \ -./Application/User/TOF/vl53l0x/vl53l0x_api.d \ -./Application/User/TOF/vl53l0x/vl53l0x_api_calibration.d \ -./Application/User/TOF/vl53l0x/vl53l0x_api_core.d \ -./Application/User/TOF/vl53l0x/vl53l0x_api_ranging.d \ -./Application/User/TOF/vl53l0x/vl53l0x_api_strings.d \ -./Application/User/TOF/vl53l0x/vl53l0x_platform.d \ -./Application/User/TOF/vl53l0x/vl53l0x_platform_log.d - - -# Each subdirectory must supply rules for building sources it contributes -Application/User/TOF/vl53l0x/vl53l0x_api.o: D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/STS_RR_R125/vl53l0x/vl53l0x_api.c Application/User/TOF/vl53l0x/subdir.mk - arm-none-eabi-gcc "$<" -mcpu=cortex-m4 -std=gnu11 -DSOAP_LEVEL_SENSOR -DYUNHORN_STS_RANDOM -DCORE_CM4 -DSTM32WLE5xx -DUSE_HAL_DRIVER -c -I../../Core/Inc -I../../vl53l0x -I../../TOF/App -I../../TOF/Target -I../../LoRaWAN/App -I../../LoRaWAN/Target -I../../../../../../../Drivers/STM32WLxx_HAL_Driver/Inc -I../../../../../../../Drivers/STM32WLxx_HAL_Driver/Inc/Legacy -I../../../../../../../Utilities/trace/adv_trace -I../../../../../../../Utilities/misc -I../../../../../../../Utilities/sequencer -I../../../../../../../Utilities/timer -I../../../../../../../Utilities/lpm/tiny_lpm -I../../../../../../../Middlewares/Third_Party/LoRaWAN/LmHandler/Packages -I../../../../../../../Drivers/CMSIS/Device/ST/STM32WLxx/Include -I../../../../../../../Middlewares/Third_Party/LoRaWAN/Crypto -I../../../../../../../Middlewares/Third_Party/LoRaWAN/Mac/Region -I../../../../../../../Middlewares/Third_Party/LoRaWAN/Mac -I../../../../../../../Middlewares/Third_Party/LoRaWAN/LmHandler -I../../../../../../../Middlewares/Third_Party/LoRaWAN/Utilities -I../../../../../../../Middlewares/Third_Party/SubGHz_Phy -I../../../../../../../Middlewares/ST/STM32_Cryptographic/include -I../../../../../../../Middlewares/Third_Party/SubGHz_Phy/stm32_radio_driver -I../../../../../../../Drivers/CMSIS/Include -I../../../../../../../Drivers/BSP/STM32WLxx_Nucleo -Os -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"$(@:%.o=%.d)" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@" -Application/User/TOF/vl53l0x/vl53l0x_api_calibration.o: D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/STS_RR_R125/vl53l0x/vl53l0x_api_calibration.c Application/User/TOF/vl53l0x/subdir.mk - arm-none-eabi-gcc "$<" -mcpu=cortex-m4 -std=gnu11 -DSOAP_LEVEL_SENSOR -DYUNHORN_STS_RANDOM -DCORE_CM4 -DSTM32WLE5xx -DUSE_HAL_DRIVER -c -I../../Core/Inc -I../../vl53l0x -I../../TOF/App -I../../TOF/Target -I../../LoRaWAN/App -I../../LoRaWAN/Target -I../../../../../../../Drivers/STM32WLxx_HAL_Driver/Inc -I../../../../../../../Drivers/STM32WLxx_HAL_Driver/Inc/Legacy -I../../../../../../../Utilities/trace/adv_trace -I../../../../../../../Utilities/misc -I../../../../../../../Utilities/sequencer -I../../../../../../../Utilities/timer -I../../../../../../../Utilities/lpm/tiny_lpm -I../../../../../../../Middlewares/Third_Party/LoRaWAN/LmHandler/Packages -I../../../../../../../Drivers/CMSIS/Device/ST/STM32WLxx/Include -I../../../../../../../Middlewares/Third_Party/LoRaWAN/Crypto -I../../../../../../../Middlewares/Third_Party/LoRaWAN/Mac/Region -I../../../../../../../Middlewares/Third_Party/LoRaWAN/Mac -I../../../../../../../Middlewares/Third_Party/LoRaWAN/LmHandler -I../../../../../../../Middlewares/Third_Party/LoRaWAN/Utilities -I../../../../../../../Middlewares/Third_Party/SubGHz_Phy -I../../../../../../../Middlewares/ST/STM32_Cryptographic/include -I../../../../../../../Middlewares/Third_Party/SubGHz_Phy/stm32_radio_driver -I../../../../../../../Drivers/CMSIS/Include -I../../../../../../../Drivers/BSP/STM32WLxx_Nucleo -Os -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"$(@:%.o=%.d)" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@" -Application/User/TOF/vl53l0x/vl53l0x_api_core.o: D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/STS_RR_R125/vl53l0x/vl53l0x_api_core.c Application/User/TOF/vl53l0x/subdir.mk - arm-none-eabi-gcc "$<" -mcpu=cortex-m4 -std=gnu11 -DSOAP_LEVEL_SENSOR -DYUNHORN_STS_RANDOM -DCORE_CM4 -DSTM32WLE5xx -DUSE_HAL_DRIVER -c -I../../Core/Inc -I../../vl53l0x -I../../TOF/App -I../../TOF/Target -I../../LoRaWAN/App -I../../LoRaWAN/Target -I../../../../../../../Drivers/STM32WLxx_HAL_Driver/Inc -I../../../../../../../Drivers/STM32WLxx_HAL_Driver/Inc/Legacy -I../../../../../../../Utilities/trace/adv_trace -I../../../../../../../Utilities/misc -I../../../../../../../Utilities/sequencer -I../../../../../../../Utilities/timer -I../../../../../../../Utilities/lpm/tiny_lpm -I../../../../../../../Middlewares/Third_Party/LoRaWAN/LmHandler/Packages -I../../../../../../../Drivers/CMSIS/Device/ST/STM32WLxx/Include -I../../../../../../../Middlewares/Third_Party/LoRaWAN/Crypto -I../../../../../../../Middlewares/Third_Party/LoRaWAN/Mac/Region -I../../../../../../../Middlewares/Third_Party/LoRaWAN/Mac -I../../../../../../../Middlewares/Third_Party/LoRaWAN/LmHandler -I../../../../../../../Middlewares/Third_Party/LoRaWAN/Utilities -I../../../../../../../Middlewares/Third_Party/SubGHz_Phy -I../../../../../../../Middlewares/ST/STM32_Cryptographic/include -I../../../../../../../Middlewares/Third_Party/SubGHz_Phy/stm32_radio_driver -I../../../../../../../Drivers/CMSIS/Include -I../../../../../../../Drivers/BSP/STM32WLxx_Nucleo -Os -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"$(@:%.o=%.d)" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@" -Application/User/TOF/vl53l0x/vl53l0x_api_ranging.o: D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/STS_RR_R125/vl53l0x/vl53l0x_api_ranging.c Application/User/TOF/vl53l0x/subdir.mk - arm-none-eabi-gcc "$<" -mcpu=cortex-m4 -std=gnu11 -DSOAP_LEVEL_SENSOR -DYUNHORN_STS_RANDOM -DCORE_CM4 -DSTM32WLE5xx -DUSE_HAL_DRIVER -c -I../../Core/Inc -I../../vl53l0x -I../../TOF/App -I../../TOF/Target -I../../LoRaWAN/App -I../../LoRaWAN/Target -I../../../../../../../Drivers/STM32WLxx_HAL_Driver/Inc -I../../../../../../../Drivers/STM32WLxx_HAL_Driver/Inc/Legacy -I../../../../../../../Utilities/trace/adv_trace -I../../../../../../../Utilities/misc -I../../../../../../../Utilities/sequencer -I../../../../../../../Utilities/timer -I../../../../../../../Utilities/lpm/tiny_lpm -I../../../../../../../Middlewares/Third_Party/LoRaWAN/LmHandler/Packages -I../../../../../../../Drivers/CMSIS/Device/ST/STM32WLxx/Include -I../../../../../../../Middlewares/Third_Party/LoRaWAN/Crypto -I../../../../../../../Middlewares/Third_Party/LoRaWAN/Mac/Region -I../../../../../../../Middlewares/Third_Party/LoRaWAN/Mac -I../../../../../../../Middlewares/Third_Party/LoRaWAN/LmHandler -I../../../../../../../Middlewares/Third_Party/LoRaWAN/Utilities -I../../../../../../../Middlewares/Third_Party/SubGHz_Phy -I../../../../../../../Middlewares/ST/STM32_Cryptographic/include -I../../../../../../../Middlewares/Third_Party/SubGHz_Phy/stm32_radio_driver -I../../../../../../../Drivers/CMSIS/Include -I../../../../../../../Drivers/BSP/STM32WLxx_Nucleo -Os -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"$(@:%.o=%.d)" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@" -Application/User/TOF/vl53l0x/vl53l0x_api_strings.o: D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/STS_RR_R125/vl53l0x/vl53l0x_api_strings.c Application/User/TOF/vl53l0x/subdir.mk - arm-none-eabi-gcc "$<" -mcpu=cortex-m4 -std=gnu11 -DSOAP_LEVEL_SENSOR -DYUNHORN_STS_RANDOM -DCORE_CM4 -DSTM32WLE5xx -DUSE_HAL_DRIVER -c -I../../Core/Inc -I../../vl53l0x -I../../TOF/App -I../../TOF/Target -I../../LoRaWAN/App -I../../LoRaWAN/Target -I../../../../../../../Drivers/STM32WLxx_HAL_Driver/Inc -I../../../../../../../Drivers/STM32WLxx_HAL_Driver/Inc/Legacy -I../../../../../../../Utilities/trace/adv_trace -I../../../../../../../Utilities/misc -I../../../../../../../Utilities/sequencer -I../../../../../../../Utilities/timer -I../../../../../../../Utilities/lpm/tiny_lpm -I../../../../../../../Middlewares/Third_Party/LoRaWAN/LmHandler/Packages -I../../../../../../../Drivers/CMSIS/Device/ST/STM32WLxx/Include -I../../../../../../../Middlewares/Third_Party/LoRaWAN/Crypto -I../../../../../../../Middlewares/Third_Party/LoRaWAN/Mac/Region -I../../../../../../../Middlewares/Third_Party/LoRaWAN/Mac -I../../../../../../../Middlewares/Third_Party/LoRaWAN/LmHandler -I../../../../../../../Middlewares/Third_Party/LoRaWAN/Utilities -I../../../../../../../Middlewares/Third_Party/SubGHz_Phy -I../../../../../../../Middlewares/ST/STM32_Cryptographic/include -I../../../../../../../Middlewares/Third_Party/SubGHz_Phy/stm32_radio_driver -I../../../../../../../Drivers/CMSIS/Include -I../../../../../../../Drivers/BSP/STM32WLxx_Nucleo -Os -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"$(@:%.o=%.d)" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@" -Application/User/TOF/vl53l0x/vl53l0x_platform.o: D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/STS_RR_R125/vl53l0x/vl53l0x_platform.c Application/User/TOF/vl53l0x/subdir.mk - arm-none-eabi-gcc "$<" -mcpu=cortex-m4 -std=gnu11 -DSOAP_LEVEL_SENSOR -DYUNHORN_STS_RANDOM -DCORE_CM4 -DSTM32WLE5xx -DUSE_HAL_DRIVER -c -I../../Core/Inc -I../../vl53l0x -I../../TOF/App -I../../TOF/Target -I../../LoRaWAN/App -I../../LoRaWAN/Target -I../../../../../../../Drivers/STM32WLxx_HAL_Driver/Inc -I../../../../../../../Drivers/STM32WLxx_HAL_Driver/Inc/Legacy -I../../../../../../../Utilities/trace/adv_trace -I../../../../../../../Utilities/misc -I../../../../../../../Utilities/sequencer -I../../../../../../../Utilities/timer -I../../../../../../../Utilities/lpm/tiny_lpm -I../../../../../../../Middlewares/Third_Party/LoRaWAN/LmHandler/Packages -I../../../../../../../Drivers/CMSIS/Device/ST/STM32WLxx/Include -I../../../../../../../Middlewares/Third_Party/LoRaWAN/Crypto -I../../../../../../../Middlewares/Third_Party/LoRaWAN/Mac/Region -I../../../../../../../Middlewares/Third_Party/LoRaWAN/Mac -I../../../../../../../Middlewares/Third_Party/LoRaWAN/LmHandler -I../../../../../../../Middlewares/Third_Party/LoRaWAN/Utilities -I../../../../../../../Middlewares/Third_Party/SubGHz_Phy -I../../../../../../../Middlewares/ST/STM32_Cryptographic/include -I../../../../../../../Middlewares/Third_Party/SubGHz_Phy/stm32_radio_driver -I../../../../../../../Drivers/CMSIS/Include -I../../../../../../../Drivers/BSP/STM32WLxx_Nucleo -Os -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"$(@:%.o=%.d)" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@" -Application/User/TOF/vl53l0x/vl53l0x_platform_log.o: D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/STS_RR_R125/vl53l0x/vl53l0x_platform_log.c Application/User/TOF/vl53l0x/subdir.mk - arm-none-eabi-gcc "$<" -mcpu=cortex-m4 -std=gnu11 -DSOAP_LEVEL_SENSOR -DYUNHORN_STS_RANDOM -DCORE_CM4 -DSTM32WLE5xx -DUSE_HAL_DRIVER -c -I../../Core/Inc -I../../vl53l0x -I../../TOF/App -I../../TOF/Target -I../../LoRaWAN/App -I../../LoRaWAN/Target -I../../../../../../../Drivers/STM32WLxx_HAL_Driver/Inc -I../../../../../../../Drivers/STM32WLxx_HAL_Driver/Inc/Legacy -I../../../../../../../Utilities/trace/adv_trace -I../../../../../../../Utilities/misc -I../../../../../../../Utilities/sequencer -I../../../../../../../Utilities/timer -I../../../../../../../Utilities/lpm/tiny_lpm -I../../../../../../../Middlewares/Third_Party/LoRaWAN/LmHandler/Packages -I../../../../../../../Drivers/CMSIS/Device/ST/STM32WLxx/Include -I../../../../../../../Middlewares/Third_Party/LoRaWAN/Crypto -I../../../../../../../Middlewares/Third_Party/LoRaWAN/Mac/Region -I../../../../../../../Middlewares/Third_Party/LoRaWAN/Mac -I../../../../../../../Middlewares/Third_Party/LoRaWAN/LmHandler -I../../../../../../../Middlewares/Third_Party/LoRaWAN/Utilities -I../../../../../../../Middlewares/Third_Party/SubGHz_Phy -I../../../../../../../Middlewares/ST/STM32_Cryptographic/include -I../../../../../../../Middlewares/Third_Party/SubGHz_Phy/stm32_radio_driver -I../../../../../../../Drivers/CMSIS/Include -I../../../../../../../Drivers/BSP/STM32WLxx_Nucleo -Os -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"$(@:%.o=%.d)" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@" - -clean: clean-Application-2f-User-2f-TOF-2f-vl53l0x - -clean-Application-2f-User-2f-TOF-2f-vl53l0x: - -$(RM) ./Application/User/TOF/vl53l0x/vl53l0x_api.cyclo ./Application/User/TOF/vl53l0x/vl53l0x_api.d ./Application/User/TOF/vl53l0x/vl53l0x_api.o ./Application/User/TOF/vl53l0x/vl53l0x_api.su ./Application/User/TOF/vl53l0x/vl53l0x_api_calibration.cyclo ./Application/User/TOF/vl53l0x/vl53l0x_api_calibration.d ./Application/User/TOF/vl53l0x/vl53l0x_api_calibration.o ./Application/User/TOF/vl53l0x/vl53l0x_api_calibration.su ./Application/User/TOF/vl53l0x/vl53l0x_api_core.cyclo ./Application/User/TOF/vl53l0x/vl53l0x_api_core.d ./Application/User/TOF/vl53l0x/vl53l0x_api_core.o ./Application/User/TOF/vl53l0x/vl53l0x_api_core.su ./Application/User/TOF/vl53l0x/vl53l0x_api_ranging.cyclo ./Application/User/TOF/vl53l0x/vl53l0x_api_ranging.d ./Application/User/TOF/vl53l0x/vl53l0x_api_ranging.o ./Application/User/TOF/vl53l0x/vl53l0x_api_ranging.su ./Application/User/TOF/vl53l0x/vl53l0x_api_strings.cyclo ./Application/User/TOF/vl53l0x/vl53l0x_api_strings.d ./Application/User/TOF/vl53l0x/vl53l0x_api_strings.o ./Application/User/TOF/vl53l0x/vl53l0x_api_strings.su ./Application/User/TOF/vl53l0x/vl53l0x_platform.cyclo ./Application/User/TOF/vl53l0x/vl53l0x_platform.d ./Application/User/TOF/vl53l0x/vl53l0x_platform.o ./Application/User/TOF/vl53l0x/vl53l0x_platform.su ./Application/User/TOF/vl53l0x/vl53l0x_platform_log.cyclo ./Application/User/TOF/vl53l0x/vl53l0x_platform_log.d ./Application/User/TOF/vl53l0x/vl53l0x_platform_log.o ./Application/User/TOF/vl53l0x/vl53l0x_platform_log.su - -.PHONY: clean-Application-2f-User-2f-TOF-2f-vl53l0x - diff --git a/STM32CubeIDE/Release/makefile b/STM32CubeIDE/Release/makefile index e32150c..81f9806 100644 --- a/STM32CubeIDE/Release/makefile +++ b/STM32CubeIDE/Release/makefile @@ -15,9 +15,6 @@ RM := rm -rf -include Drivers/STM32WLxx_HAL_Driver/subdir.mk -include Drivers/CMSIS/subdir.mk -include Drivers/BSP/STM32WLxx_Nucleo/subdir.mk --include Application/User/TOF/vl53l0x/subdir.mk --include Application/User/TOF/Target/subdir.mk --include Application/User/TOF/App/subdir.mk -include Application/User/Startup/subdir.mk -include Application/User/LoRaWAN/Target/subdir.mk -include Application/User/LoRaWAN/App/subdir.mk diff --git a/STM32CubeIDE/Release/objects.list b/STM32CubeIDE/Release/objects.list index 7a66fe6..5db868c 100644 --- a/STM32CubeIDE/Release/objects.list +++ b/STM32CubeIDE/Release/objects.list @@ -27,17 +27,6 @@ "./Application/User/LoRaWAN/App/lora_info.o" "./Application/User/LoRaWAN/Target/radio_board_if.o" "./Application/User/Startup/startup_stm32wle5ccux.o" -"./Application/User/TOF/App/X-WL55_WLE5_53L0X.o" -"./Application/User/TOF/App/app_tof.o" -"./Application/User/TOF/App/app_tof_vl53l0x_range.o" -"./Application/User/TOF/Target/app_tof_pin_conf.o" -"./Application/User/TOF/vl53l0x/vl53l0x_api.o" -"./Application/User/TOF/vl53l0x/vl53l0x_api_calibration.o" -"./Application/User/TOF/vl53l0x/vl53l0x_api_core.o" -"./Application/User/TOF/vl53l0x/vl53l0x_api_ranging.o" -"./Application/User/TOF/vl53l0x/vl53l0x_api_strings.o" -"./Application/User/TOF/vl53l0x/vl53l0x_platform.o" -"./Application/User/TOF/vl53l0x/vl53l0x_platform_log.o" "./Drivers/BSP/STM32WLxx_Nucleo/stm32wlxx_nucleo.o" "./Drivers/BSP/STM32WLxx_Nucleo/stm32wlxx_nucleo_radio.o" "./Drivers/CMSIS/system_stm32wlxx.o" diff --git a/STM32CubeIDE/Release/sources.mk b/STM32CubeIDE/Release/sources.mk index 8cc1ed4..cbf0960 100644 --- a/STM32CubeIDE/Release/sources.mk +++ b/STM32CubeIDE/Release/sources.mk @@ -28,9 +28,6 @@ Application/User/Core \ Application/User/LoRaWAN/App \ Application/User/LoRaWAN/Target \ Application/User/Startup \ -Application/User/TOF/App \ -Application/User/TOF/Target \ -Application/User/TOF/vl53l0x \ Drivers/BSP/STM32WLxx_Nucleo \ Drivers/CMSIS \ Drivers/STM32WLxx_HAL_Driver \