before try standby

This commit is contained in:
Yunhorn 2024-02-28 15:57:18 +08:00
parent 0f33d71eb8
commit 1c05456854
17 changed files with 101 additions and 48 deletions

View File

@ -47,12 +47,12 @@ extern "C" {
/**
* @brief Verbose level for all trace logs
*/
#define VERBOSE_LEVEL VLEVEL_H
#define VERBOSE_LEVEL VLEVEL_OFF
/**
* @brief Enable trace logs
*/
#define APP_LOG_ENABLED 1
#define APP_LOG_ENABLED 0
/**
* @brief Activate monitoring (probes) of some internal RF signals for debug purpose

View File

@ -85,6 +85,59 @@ int main(void)
/* Initialize all configured peripherals */
MX_GPIO_Init();
// ############################################
// HAL_GPIO_WritePin(LED1_GPIO_Port, LED1_Pin, GPIO_PIN_RESET); /* LED_BLUE */
// HAL_GPIO_WritePin(LED2_GPIO_Port, LED2_Pin, GPIO_PIN_RESET); /* LED_GREEN */
// HAL_GPIO_WritePin(LED3_GPIO_Port, LED3_Pin, GPIO_PIN_RESET); /* LED_RED */
// HAL_GPIO_WritePin(LED1_GPIO_Port, LED1_Pin, GPIO_PIN_SET); /* LED_BLUE */
// HAL_GPIO_WritePin(LED2_GPIO_Port, LED2_Pin, GPIO_PIN_SET); /* LED_GREEN */
// HAL_GPIO_WritePin(LED3_GPIO_Port, LED3_Pin, GPIO_PIN_SET); /* LED_RED */
// HAL_GPIO_TogglePin(LED3_GPIO_Port, LED3_Pin); /* LED_RED */
// HAL_GPIO_TogglePin(LED2_GPIO_Port, LED2_Pin); /* LED_GREEN */
// HAL_GPIO_TogglePin(LED1_GPIO_Port, LED1_Pin); /* LED_BLUE */
/* Check and handle if the system was resumed from StandBy mode */
if(__HAL_PWR_GET_FLAG(PWR_FLAG_SB) == RESET)
{
HAL_GPIO_WritePin(LED1_GPIO_Port, LED1_Pin, GPIO_PIN_RESET); /* LED_BLUE */
HAL_GPIO_TogglePin(LED1_GPIO_Port, LED1_Pin); /* LED_BLUE */
HAL_Delay(300);
HAL_GPIO_WritePin(LED1_GPIO_Port, LED1_Pin, GPIO_PIN_RESET); /* LED_BLUE */
}
else
{
/* Clear Standby flag */
//__HAL_PWR_CLEAR_FLAG(PWR_FLAG_SB);
/* Enable access to RTC domain for following wake-up source configuration */
//HAL_PWR_EnableBkUpAccess();
//__HAL_RCC_RTCAPB_CLK_ENABLE();
HAL_GPIO_WritePin(LED2_GPIO_Port, LED2_Pin, GPIO_PIN_RESET); /* LED_GREEN */
HAL_GPIO_TogglePin(LED2_GPIO_Port, LED2_Pin); /* LED_GREEN */
HAL_Delay(300);
HAL_GPIO_WritePin(LED2_GPIO_Port, LED2_Pin, GPIO_PIN_RESET); /* LED_GREEN */
// HAL_GPIO_TogglePin(LED1_GPIO_Port, LED1_Pin); /* LED_BLUE */
// HAL_Delay(300);
// HAL_GPIO_TogglePin(LED1_GPIO_Port, LED1_Pin); /* LED_BLUE */
// HAL_GPIO_TogglePin(LED3_GPIO_Port, LED3_Pin); /* LED_RED */
// HAL_Delay(400);
// HAL_GPIO_TogglePin(LED3_GPIO_Port, LED3_Pin); /* LED_RED */
}
//__HAL_PWR_CLEAR_FLAG(PWR_FLAG_SB);
//HAL_RTCEx_DeactivateWakeUpTimer(&hrtc);
// __HAL_PWR_CLEAR_FLAG(PWR_FLAG_WU);
//HAL_RTCEx_SetWakeUpTimer_IT(&hrtc, 0xFFFF, RTC_WAKEUPCLOCK_RTCCLK_DIV16, 0);
//HAL_PWR_EnterSTANDBYMode();
// #############################################
MX_LoRaWAN_Init();
/* USER CODE BEGIN 2 */

View File

@ -290,7 +290,7 @@ static LmHandlerParams_t LmHandlerParams =
/**
* @brief Type of Event to generate application Tx
*/
static TxEventType_t EventType = TX_ON_TIMER;
static TxEventType_t EventType = TX_ON_EVENT;
/**
* @brief Timer to handle the application Tx

View File

@ -5,7 +5,7 @@
<provider copy-of="extension" id="org.eclipse.cdt.ui.UserLanguageSettingsProvider"/>
<provider-reference id="org.eclipse.cdt.core.ReferencedProjectsLanguageSettingsProvider" ref="shared-provider"/>
<provider-reference id="org.eclipse.cdt.managedbuilder.core.MBSLanguageSettingsProvider" ref="shared-provider"/>
<provider class="com.st.stm32cube.ide.mcu.toolchain.armnone.setup.CrossBuiltinSpecsDetector" console="false" env-hash="1478721304516500601" id="com.st.stm32cube.ide.mcu.toolchain.armnone.setup.CrossBuiltinSpecsDetector" keep-relative-paths="false" name="MCU ARM GCC Built-in Compiler Settings" parameter="${COMMAND} ${FLAGS} -E -P -v -dD &quot;${INPUTS}&quot;" prefer-non-shared="true">
<provider class="com.st.stm32cube.ide.mcu.toolchain.armnone.setup.CrossBuiltinSpecsDetector" console="false" env-hash="1553454923168292746" id="com.st.stm32cube.ide.mcu.toolchain.armnone.setup.CrossBuiltinSpecsDetector" keep-relative-paths="false" name="MCU ARM GCC Built-in Compiler Settings" parameter="${COMMAND} ${FLAGS} -E -P -v -dD &quot;${INPUTS}&quot;" prefer-non-shared="true">
<language-scope id="org.eclipse.cdt.core.gcc"/>
<language-scope id="org.eclipse.cdt.core.g++"/>
</provider>
@ -16,7 +16,7 @@
<provider copy-of="extension" id="org.eclipse.cdt.ui.UserLanguageSettingsProvider"/>
<provider-reference id="org.eclipse.cdt.core.ReferencedProjectsLanguageSettingsProvider" ref="shared-provider"/>
<provider-reference id="org.eclipse.cdt.managedbuilder.core.MBSLanguageSettingsProvider" ref="shared-provider"/>
<provider class="com.st.stm32cube.ide.mcu.toolchain.armnone.setup.CrossBuiltinSpecsDetector" console="false" env-hash="1478721304516500601" id="com.st.stm32cube.ide.mcu.toolchain.armnone.setup.CrossBuiltinSpecsDetector" keep-relative-paths="false" name="MCU ARM GCC Built-in Compiler Settings" parameter="${COMMAND} ${FLAGS} -E -P -v -dD &quot;${INPUTS}&quot;" prefer-non-shared="true">
<provider class="com.st.stm32cube.ide.mcu.toolchain.armnone.setup.CrossBuiltinSpecsDetector" console="false" env-hash="1553454923168292746" id="com.st.stm32cube.ide.mcu.toolchain.armnone.setup.CrossBuiltinSpecsDetector" keep-relative-paths="false" name="MCU ARM GCC Built-in Compiler Settings" parameter="${COMMAND} ${FLAGS} -E -P -v -dD &quot;${INPUTS}&quot;" prefer-non-shared="true">
<language-scope id="org.eclipse.cdt.core.gcc"/>
<language-scope id="org.eclipse.cdt.core.g++"/>
</provider>

View File

@ -1,9 +1,9 @@
################################################################################
# 自动生成的文件。不要编辑!
# Automatically-generated file. Do not edit!
# Toolchain: GNU Tools for STM32 (11.3.rel1)
################################################################################
# 将这些工具调用的输入和输出添加到构建变量
# Add inputs and outputs from these tool invocations to the build variables
C_SRCS += \
D:/ONEDRIVE/STM32WLV13/Projects/STS_AS923_Core/Core/Src/adc.c \
D:/ONEDRIVE/STM32WLV13/Projects/STS_AS923_Core/Core/Src/adc_if.c \
@ -68,7 +68,7 @@ C_DEPS += \
./Application/User/Core/usart_if.d
# 每个子目录必须为构建它所贡献的源提供规则
# Each subdirectory must supply rules for building sources it contributes
Application/User/Core/adc.o: D:/ONEDRIVE/STM32WLV13/Projects/STS_AS923_Core/Core/Src/adc.c Application/User/Core/subdir.mk
arm-none-eabi-gcc "$<" -mcpu=cortex-m4 -std=gnu11 -DCORE_CM4 -DYUNHORN_STS_RANDOM -DUSE_HAL_DRIVER -DSTM32WL55xx -c -I../../Core/Inc -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/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/Core/adc_if.o: D:/ONEDRIVE/STM32WLV13/Projects/STS_AS923_Core/Core/Src/adc_if.c Application/User/Core/subdir.mk

View File

@ -1,9 +1,9 @@
################################################################################
# 自动生成的文件。不要编辑!
# Automatically-generated file. Do not edit!
# Toolchain: GNU Tools for STM32 (11.3.rel1)
################################################################################
# 将这些工具调用的输入和输出添加到构建变量
# Add inputs and outputs from these tool invocations to the build variables
C_SRCS += \
D:/ONEDRIVE/STM32WLV13/Projects/STS_AS923_Core/LoRaWAN/App/CayenneLpp.c \
D:/ONEDRIVE/STM32WLV13/Projects/STS_AS923_Core/LoRaWAN/App/app_lorawan.c \
@ -23,7 +23,7 @@ C_DEPS += \
./Application/User/LoRaWAN/App/lora_info.d
# 每个子目录必须为构建它所贡献的源提供规则
# Each subdirectory must supply rules for building sources it contributes
Application/User/LoRaWAN/App/CayenneLpp.o: D:/ONEDRIVE/STM32WLV13/Projects/STS_AS923_Core/LoRaWAN/App/CayenneLpp.c Application/User/LoRaWAN/App/subdir.mk
arm-none-eabi-gcc "$<" -mcpu=cortex-m4 -std=gnu11 -DCORE_CM4 -DYUNHORN_STS_RANDOM -DUSE_HAL_DRIVER -DSTM32WL55xx -c -I../../Core/Inc -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/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/LoRaWAN/App/app_lorawan.o: D:/ONEDRIVE/STM32WLV13/Projects/STS_AS923_Core/LoRaWAN/App/app_lorawan.c Application/User/LoRaWAN/App/subdir.mk

View File

@ -1,9 +1,9 @@
################################################################################
# 自动生成的文件。不要编辑!
# Automatically-generated file. Do not edit!
# Toolchain: GNU Tools for STM32 (11.3.rel1)
################################################################################
# 将这些工具调用的输入和输出添加到构建变量
# Add inputs and outputs from these tool invocations to the build variables
C_SRCS += \
D:/ONEDRIVE/STM32WLV13/Projects/STS_AS923_Core/LoRaWAN/Target/radio_board_if.c
@ -14,7 +14,7 @@ C_DEPS += \
./Application/User/LoRaWAN/Target/radio_board_if.d
# 每个子目录必须为构建它所贡献的源提供规则
# Each subdirectory must supply rules for building sources it contributes
Application/User/LoRaWAN/Target/radio_board_if.o: D:/ONEDRIVE/STM32WLV13/Projects/STS_AS923_Core/LoRaWAN/Target/radio_board_if.c Application/User/LoRaWAN/Target/subdir.mk
arm-none-eabi-gcc "$<" -mcpu=cortex-m4 -std=gnu11 -DCORE_CM4 -DYUNHORN_STS_RANDOM -DUSE_HAL_DRIVER -DSTM32WL55xx -c -I../../Core/Inc -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/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 "$@"

View File

@ -1,9 +1,9 @@
################################################################################
# 自动生成的文件。不要编辑!
# Automatically-generated file. Do not edit!
# Toolchain: GNU Tools for STM32 (11.3.rel1)
################################################################################
# 将这些工具调用的输入和输出添加到构建变量
# Add inputs and outputs from these tool invocations to the build variables
S_SRCS += \
../Application/User/Startup/startup_stm32wl55jcix.s
@ -14,7 +14,7 @@ S_DEPS += \
./Application/User/Startup/startup_stm32wl55jcix.d
# 每个子目录必须为构建它所贡献的源提供规则
# Each subdirectory must supply rules for building sources it contributes
Application/User/Startup/%.o: ../Application/User/Startup/%.s Application/User/Startup/subdir.mk
arm-none-eabi-gcc -mcpu=cortex-m4 -c -x assembler-with-cpp -MMD -MP -MF"$(@:%.o=%.d)" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@" "$<"

View File

@ -1,9 +1,9 @@
################################################################################
# 自动生成的文件。不要编辑!
# Automatically-generated file. Do not edit!
# Toolchain: GNU Tools for STM32 (11.3.rel1)
################################################################################
# 将这些工具调用的输入和输出添加到构建变量
# Add inputs and outputs from these tool invocations to the build variables
C_SRCS += \
D:/ONEDRIVE/STM32WLV13/Drivers/BSP/STM32WLxx_Nucleo/stm32wlxx_nucleo.c \
D:/ONEDRIVE/STM32WLV13/Drivers/BSP/STM32WLxx_Nucleo/stm32wlxx_nucleo_radio.c
@ -17,7 +17,7 @@ C_DEPS += \
./Drivers/BSP/STM32WLxx_Nucleo/stm32wlxx_nucleo_radio.d
# 每个子目录必须为构建它所贡献的源提供规则
# Each subdirectory must supply rules for building sources it contributes
Drivers/BSP/STM32WLxx_Nucleo/stm32wlxx_nucleo.o: D:/ONEDRIVE/STM32WLV13/Drivers/BSP/STM32WLxx_Nucleo/stm32wlxx_nucleo.c Drivers/BSP/STM32WLxx_Nucleo/subdir.mk
arm-none-eabi-gcc "$<" -mcpu=cortex-m4 -std=gnu11 -DCORE_CM4 -DYUNHORN_STS_RANDOM -DUSE_HAL_DRIVER -DSTM32WL55xx -c -I../../Core/Inc -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/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 "$@"
Drivers/BSP/STM32WLxx_Nucleo/stm32wlxx_nucleo_radio.o: D:/ONEDRIVE/STM32WLV13/Drivers/BSP/STM32WLxx_Nucleo/stm32wlxx_nucleo_radio.c Drivers/BSP/STM32WLxx_Nucleo/subdir.mk

View File

@ -1,9 +1,9 @@
################################################################################
# 自动生成的文件。不要编辑!
# Automatically-generated file. Do not edit!
# Toolchain: GNU Tools for STM32 (11.3.rel1)
################################################################################
# 将这些工具调用的输入和输出添加到构建变量
# Add inputs and outputs from these tool invocations to the build variables
C_SRCS += \
D:/ONEDRIVE/STM32WLV13/Projects/STS_AS923_Core/Core/Src/system_stm32wlxx.c
@ -14,7 +14,7 @@ C_DEPS += \
./Drivers/CMSIS/system_stm32wlxx.d
# 每个子目录必须为构建它所贡献的源提供规则
# Each subdirectory must supply rules for building sources it contributes
Drivers/CMSIS/system_stm32wlxx.o: D:/ONEDRIVE/STM32WLV13/Projects/STS_AS923_Core/Core/Src/system_stm32wlxx.c Drivers/CMSIS/subdir.mk
arm-none-eabi-gcc "$<" -mcpu=cortex-m4 -std=gnu11 -DCORE_CM4 -DYUNHORN_STS_RANDOM -DUSE_HAL_DRIVER -DSTM32WL55xx -c -I../../Core/Inc -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/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 "$@"

View File

@ -1,9 +1,9 @@
################################################################################
# 自动生成的文件。不要编辑!
# Automatically-generated file. Do not edit!
# Toolchain: GNU Tools for STM32 (11.3.rel1)
################################################################################
# 将这些工具调用的输入和输出添加到构建变量
# Add inputs and outputs from these tool invocations to the build variables
C_SRCS += \
D:/ONEDRIVE/STM32WLV13/Drivers/STM32WLxx_HAL_Driver/Src/stm32wlxx_hal.c \
D:/ONEDRIVE/STM32WLV13/Drivers/STM32WLxx_HAL_Driver/Src/stm32wlxx_hal_adc.c \
@ -77,7 +77,7 @@ C_DEPS += \
./Drivers/STM32WLxx_HAL_Driver/stm32wlxx_ll_adc.d
# 每个子目录必须为构建它所贡献的源提供规则
# Each subdirectory must supply rules for building sources it contributes
Drivers/STM32WLxx_HAL_Driver/stm32wlxx_hal.o: D:/ONEDRIVE/STM32WLV13/Drivers/STM32WLxx_HAL_Driver/Src/stm32wlxx_hal.c Drivers/STM32WLxx_HAL_Driver/subdir.mk
arm-none-eabi-gcc "$<" -mcpu=cortex-m4 -std=gnu11 -DCORE_CM4 -DYUNHORN_STS_RANDOM -DUSE_HAL_DRIVER -DSTM32WL55xx -c -I../../Core/Inc -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/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 "$@"
Drivers/STM32WLxx_HAL_Driver/stm32wlxx_hal_adc.o: D:/ONEDRIVE/STM32WLV13/Drivers/STM32WLxx_HAL_Driver/Src/stm32wlxx_hal_adc.c Drivers/STM32WLxx_HAL_Driver/subdir.mk

View File

@ -1,9 +1,9 @@
################################################################################
# 自动生成的文件。不要编辑!
# Automatically-generated file. Do not edit!
# Toolchain: GNU Tools for STM32 (11.3.rel1)
################################################################################
# 将这些工具调用的输入和输出添加到构建变量
# Add inputs and outputs from these tool invocations to the build variables
C_SRCS += \
D:/ONEDRIVE/STM32WLV13/Middlewares/Third_Party/LoRaWAN/LmHandler/LmHandler.c \
D:/ONEDRIVE/STM32WLV13/Middlewares/Third_Party/LoRaWAN/LmHandler/Packages/LmhpCompliance.c \
@ -110,7 +110,7 @@ C_DEPS += \
./Middlewares/LoRaWAN/utilities.d
# 每个子目录必须为构建它所贡献的源提供规则
# Each subdirectory must supply rules for building sources it contributes
Middlewares/LoRaWAN/LmHandler.o: D:/ONEDRIVE/STM32WLV13/Middlewares/Third_Party/LoRaWAN/LmHandler/LmHandler.c Middlewares/LoRaWAN/subdir.mk
arm-none-eabi-gcc "$<" -mcpu=cortex-m4 -std=gnu11 -DCORE_CM4 -DYUNHORN_STS_RANDOM -DUSE_HAL_DRIVER -DSTM32WL55xx -c -I../../Core/Inc -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/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 "$@"
Middlewares/LoRaWAN/LmhpCompliance.o: D:/ONEDRIVE/STM32WLV13/Middlewares/Third_Party/LoRaWAN/LmHandler/Packages/LmhpCompliance.c Middlewares/LoRaWAN/subdir.mk

View File

@ -1,9 +1,9 @@
################################################################################
# 自动生成的文件。不要编辑!
# Automatically-generated file. Do not edit!
# Toolchain: GNU Tools for STM32 (11.3.rel1)
################################################################################
# 将这些工具调用的输入和输出添加到构建变量
# Add inputs and outputs from these tool invocations to the build variables
C_SRCS += \
D:/ONEDRIVE/STM32WLV13/Middlewares/Third_Party/SubGHz_Phy/stm32_radio_driver/radio.c \
D:/ONEDRIVE/STM32WLV13/Middlewares/Third_Party/SubGHz_Phy/stm32_radio_driver/radio_driver.c \
@ -20,7 +20,7 @@ C_DEPS += \
./Middlewares/SubGHz_Phy/radio_fw.d
# 每个子目录必须为构建它所贡献的源提供规则
# Each subdirectory must supply rules for building sources it contributes
Middlewares/SubGHz_Phy/radio.o: D:/ONEDRIVE/STM32WLV13/Middlewares/Third_Party/SubGHz_Phy/stm32_radio_driver/radio.c Middlewares/SubGHz_Phy/subdir.mk
arm-none-eabi-gcc "$<" -mcpu=cortex-m4 -std=gnu11 -DCORE_CM4 -DYUNHORN_STS_RANDOM -DUSE_HAL_DRIVER -DSTM32WL55xx -c -I../../Core/Inc -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/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 "$@"
Middlewares/SubGHz_Phy/radio_driver.o: D:/ONEDRIVE/STM32WLV13/Middlewares/Third_Party/SubGHz_Phy/stm32_radio_driver/radio_driver.c Middlewares/SubGHz_Phy/subdir.mk

View File

@ -1,9 +1,9 @@
################################################################################
# 自动生成的文件。不要编辑!
# Automatically-generated file. Do not edit!
# Toolchain: GNU Tools for STM32 (11.3.rel1)
################################################################################
# 将这些工具调用的输入和输出添加到构建变量
# Add inputs and outputs from these tool invocations to the build variables
C_SRCS += \
D:/ONEDRIVE/STM32WLV13/Utilities/trace/adv_trace/stm32_adv_trace.c \
D:/ONEDRIVE/STM32WLV13/Utilities/lpm/tiny_lpm/stm32_lpm.c \
@ -35,7 +35,7 @@ C_DEPS += \
./Utilities/stm32_tiny_vsnprintf.d
# 每个子目录必须为构建它所贡献的源提供规则
# Each subdirectory must supply rules for building sources it contributes
Utilities/stm32_adv_trace.o: D:/ONEDRIVE/STM32WLV13/Utilities/trace/adv_trace/stm32_adv_trace.c Utilities/subdir.mk
arm-none-eabi-gcc "$<" -mcpu=cortex-m4 -std=gnu11 -DCORE_CM4 -DYUNHORN_STS_RANDOM -DUSE_HAL_DRIVER -DSTM32WL55xx -c -I../../Core/Inc -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/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 "$@"
Utilities/stm32_lpm.o: D:/ONEDRIVE/STM32WLV13/Utilities/lpm/tiny_lpm/stm32_lpm.c Utilities/subdir.mk

View File

@ -1,5 +1,5 @@
################################################################################
# 自动生成的文件。不要编辑!
# Automatically-generated file. Do not edit!
# Toolchain: GNU Tools for STM32 (11.3.rel1)
################################################################################
@ -7,7 +7,7 @@
RM := rm -rf
# 此处定义了参与生成的所有源
# All of the sources participating in the build are defined here
-include sources.mk
-include Utilities/subdir.mk
-include Middlewares/SubGHz_Phy/subdir.mk
@ -46,7 +46,7 @@ BUILD_ARTIFACT_EXTENSION := elf
BUILD_ARTIFACT_PREFIX :=
BUILD_ARTIFACT := $(BUILD_ARTIFACT_PREFIX)$(BUILD_ARTIFACT_NAME)$(if $(BUILD_ARTIFACT_EXTENSION),.$(BUILD_ARTIFACT_EXTENSION),)
# 将这些工具调用的输入和输出添加到构建变量
# Add inputs and outputs from these tool invocations to the build variables
EXECUTABLES += \
STS_AS923_Core.elf \
@ -60,29 +60,29 @@ OBJDUMP_LIST += \
STS_AS923_Core.list \
# 所有目标
# All Target
all: main-build
# 主构建目标
# Main-build Target
main-build: STS_AS923_Core.elf secondary-outputs
# 工具调用
# Tool invocations
STS_AS923_Core.elf STS_AS923_Core.map: $(OBJS) $(USER_OBJS) D:\ONEDRIVE\STM32WLV13\Projects\STS_AS923_Core\STM32CubeIDE\STM32WL55JCIX_FLASH.ld makefile objects.list $(OPTIONAL_TOOL_DEPS)
arm-none-eabi-gcc -o "STS_AS923_Core.elf" @"objects.list" $(USER_OBJS) $(LIBS) -mcpu=cortex-m4 -T"D:\ONEDRIVE\STM32WLV13\Projects\STS_AS923_Core\STM32CubeIDE\STM32WL55JCIX_FLASH.ld" --specs=nosys.specs -Wl,-Map="STS_AS923_Core.map" -Wl,--gc-sections -static --specs=nano.specs -mfloat-abi=soft -mthumb -Wl,--start-group -lc -lm -Wl,--end-group
@echo '已结束构建目标: $@'
@echo 'Finished building target: $@'
@echo ' '
default.size.stdout: $(EXECUTABLES) makefile objects.list $(OPTIONAL_TOOL_DEPS)
arm-none-eabi-size $(EXECUTABLES)
@echo '已结束构建: $@'
@echo 'Finished building: $@'
@echo ' '
STS_AS923_Core.list: $(EXECUTABLES) makefile objects.list $(OPTIONAL_TOOL_DEPS)
arm-none-eabi-objdump -h -S $(EXECUTABLES) > "STS_AS923_Core.list"
@echo '已结束构建: $@'
@echo 'Finished building: $@'
@echo ' '
# 其他目标
# Other Targets
clean:
-$(RM) STS_AS923_Core.elf STS_AS923_Core.list STS_AS923_Core.map default.size.stdout
-@echo ' '

View File

@ -1,5 +1,5 @@
################################################################################
# 自动生成的文件。不要编辑!
# Automatically-generated file. Do not edit!
# Toolchain: GNU Tools for STM32 (11.3.rel1)
################################################################################

View File

@ -1,5 +1,5 @@
################################################################################
# 自动生成的文件。不要编辑!
# Automatically-generated file. Do not edit!
# Toolchain: GNU Tools for STM32 (11.3.rel1)
################################################################################
@ -20,7 +20,7 @@ S_DEPS :=
S_UPPER_DEPS :=
C_DEPS :=
# 此处必须描述包含源文件的每个子目录
# Every subdirectory with source files must be described here
SUBDIRS := \
Application/User/Core \
Application/User/LoRaWAN/App \