已经完成了网络,DI口,RS485的数据透传,可通过RS485接收数据

This commit is contained in:
2026-05-06 10:55:55 +08:00
parent 0eea5c1424
commit 61530dccec
258 changed files with 40311 additions and 4851 deletions

File diff suppressed because one or more lines are too long

8
Core/Inc/data_source.h Normal file
View File

@ -0,0 +1,8 @@
#ifndef __DATA_SOURCE_H
#define __DATA_SOURCE_H
/* 数据源标识 */
#define SOURCE_RS485 0x01
#define SOURCE_DI 0x02
#endif /* __DATA_SOURCE_H */

View File

@ -37,6 +37,7 @@ extern "C" {
/* Exported types ------------------------------------------------------------*/ /* Exported types ------------------------------------------------------------*/
/* USER CODE BEGIN ET */ /* USER CODE BEGIN ET */
/* USER CODE END ET */ /* USER CODE END ET */
/* Exported constants --------------------------------------------------------*/ /* Exported constants --------------------------------------------------------*/
@ -47,6 +48,15 @@ extern "C" {
/* Exported macro ------------------------------------------------------------*/ /* Exported macro ------------------------------------------------------------*/
/* USER CODE BEGIN EM */ /* USER CODE BEGIN EM */
/* 硬件模块启用/禁用宏定义 */
#ifndef USE_W5500
#define USE_W5500 1 /* 默认启用W5500以太网模块 */
#endif
#ifndef USE_RS485
#define USE_RS485 1 /* 默认启用RS485通信模块 */
#endif
/* USER CODE END EM */ /* USER CODE END EM */
/* Exported functions prototypes ---------------------------------------------*/ /* Exported functions prototypes ---------------------------------------------*/

View File

@ -64,7 +64,7 @@
/*#define HAL_SMARTCARD_MODULE_ENABLED */ /*#define HAL_SMARTCARD_MODULE_ENABLED */
#define HAL_SPI_MODULE_ENABLED #define HAL_SPI_MODULE_ENABLED
/*#define HAL_SRAM_MODULE_ENABLED */ /*#define HAL_SRAM_MODULE_ENABLED */
/*#define HAL_TIM_MODULE_ENABLED */ #define HAL_TIM_MODULE_ENABLED
#define HAL_UART_MODULE_ENABLED #define HAL_UART_MODULE_ENABLED
/*#define HAL_USART_MODULE_ENABLED */ /*#define HAL_USART_MODULE_ENABLED */
/*#define HAL_WWDG_MODULE_ENABLED */ /*#define HAL_WWDG_MODULE_ENABLED */

View File

@ -55,6 +55,7 @@ void SVC_Handler(void);
void DebugMon_Handler(void); void DebugMon_Handler(void);
void PendSV_Handler(void); void PendSV_Handler(void);
void SysTick_Handler(void); void SysTick_Handler(void);
void TIM2_IRQHandler(void);
void USART1_IRQHandler(void); void USART1_IRQHandler(void);
void USART2_IRQHandler(void); void USART2_IRQHandler(void);
void USART3_IRQHandler(void); void USART3_IRQHandler(void);

54
Core/Inc/tim.h Normal file
View File

@ -0,0 +1,54 @@
/* USER CODE BEGIN Header */
/**
******************************************************************************
* @file : tim.h
* @brief : Header for tim.c file.
* This file contains the common defines of the application.
******************************************************************************
* @attention
*
* Copyright (c) 2024 STMicroelectronics.
* All rights reserved.
*
* This software is licensed under terms that can be found in the LICENSE file
* in the root directory of this software component.
* If no LICENSE file comes with this software, it is provided AS-IS.
*
******************************************************************************
*/
/* USER CODE END Header */
/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef __TIM_H__
#define __TIM_H__
#ifdef __cplusplus
extern "C" {
#endif
/* Includes ------------------------------------------------------------------*/
#include "main.h"
/* USER CODE BEGIN Includes */
/* USER CODE END Includes */
extern TIM_HandleTypeDef htim2;
/* USER CODE BEGIN Private defines */
/* USER CODE END Private defines */
void MX_TIM2_Init(void);
/* USER CODE BEGIN Prototypes */
void MX_TIM2_Init(void);
/* USER CODE END Prototypes */
#ifdef __cplusplus
}
#endif
#endif /* __TIM_H__ */

View File

@ -23,7 +23,7 @@ extern "C" {
#include <stdarg.h> #include <stdarg.h>
#include <stdbool.h> #include <stdbool.h>
#define UART2_TX_BUFFER_SIZE 256 #define UART2_TX_BUFFER_SIZE 512
/** /**
* @brief 初始化UART2打印模块 * @brief 初始化UART2打印模块

View File

@ -86,7 +86,7 @@
* 可通过此开关快速切换新旧逻辑 * 可通过此开关快速切换新旧逻辑
*/ */
#ifndef UART3_SMART_ROUTING_ENABLED #ifndef UART3_SMART_ROUTING_ENABLED
#define UART3_SMART_ROUTING_ENABLED 1 #define UART3_SMART_ROUTING_ENABLED 0
#endif #endif
/** /**

View File

@ -31,7 +31,7 @@
* 调试宏定义 * 调试宏定义
*============================================================================*/ *============================================================================*/
/* DEBUG_CMD_PARSER: 调试日志开关置1时启用解析过程日志输出 */ /* DEBUG_CMD_PARSER: 调试日志开关置1时启用解析过程日志输出 */
#define DEBUG_CMD_PARSER 1 #define DEBUG_CMD_PARSER 0
#if DEBUG_CMD_PARSER #if DEBUG_CMD_PARSER
/* 调试日志宏,带模块前缀"[CMD]"方便过滤 */ /* 调试日志宏,带模块前缀"[CMD]"方便过滤 */

View File

@ -27,6 +27,8 @@
#include "cmd_parser.h" #include "cmd_parser.h"
#include "uart2_print.h" #include "uart2_print.h"
#include "debug_log.h" #include "debug_log.h"
#include "data_source.h"
#include "uart3_protocol_discriminator.h"
#include "uart3_protocol_discriminator.h" #include "uart3_protocol_discriminator.h"
#include "uart3_passthrough.h" #include "uart3_passthrough.h"
#include "uart3_smart_router_config.h" #include "uart3_smart_router_config.h"
@ -36,7 +38,7 @@
* 调试宏定义 * 调试宏定义
*============================================================================*/ *============================================================================*/
/* DEBUG_CMD_ROUTER: 调试日志开关置1时启用路由过程日志输出 */ /* DEBUG_CMD_ROUTER: 调试日志开关置1时启用路由过程日志输出 */
#define DEBUG_CMD_ROUTER 1 #define DEBUG_CMD_ROUTER 0
#if DEBUG_CMD_ROUTER #if DEBUG_CMD_ROUTER
/* 路由模块日志宏,带模块前缀"[ROUTER]"方便过滤 */ /* 路由模块日志宏,带模块前缀"[ROUTER]"方便过滤 */
@ -375,6 +377,7 @@ void CmdRouter_Task(void)
*----------------------------------------------------------*/ *----------------------------------------------------------*/
#if UART3_SMART_ROUTING_ENABLED #if UART3_SMART_ROUTING_ENABLED
{ {
LOG_DEBUG("UART3", "Protocol state: %d", UART3_Protocol_GetState());
uint8_t byte; uint8_t byte;
while (MultiUART_ReadByte(PORT_UART3, &byte) > 0) { while (MultiUART_ReadByte(PORT_UART3, &byte) > 0) {
@ -387,6 +390,7 @@ void CmdRouter_Task(void)
break; break;
case ROUTE_PASSTHROUGH: case ROUTE_PASSTHROUGH:
// 透传数据暂时不加包头由timeout处理时统一加
Passthrough_PushByte(byte); Passthrough_PushByte(byte);
LOG_DEBUG("UART3", "PTX byte: 0x%02X", byte); LOG_DEBUG("UART3", "PTX byte: 0x%02X", byte);
break; break;
@ -397,11 +401,31 @@ void CmdRouter_Task(void)
} }
if (UART3_Protocol_CheckTimeout(current_tick)) { if (UART3_Protocol_CheckTimeout(current_tick)) {
LOG_DEBUG("UART3", "CheckTimeout triggered");
uint8_t buffer[128]; uint8_t buffer[128];
uint16_t length; uint16_t length;
if (UART3_Protocol_GetPassthroughData(buffer, &length)) { if (UART3_Protocol_GetPassthroughData(buffer, &length)) {
Passthrough_PushBuffer(buffer, length); LOG_DEBUG("UART3", "Got passthrough data, length=%d", length);
LOG_INFO("UART3", "PASSTHROUGH: %d bytes queued", (int)length); // 构造ASCII格式的RS485数据消息
char msg[512]; // 足够容纳128字节数据 + 消息头
int msg_len = snprintf(msg, sizeof(msg), "$RS485_DATA,");
// 直接追加原始数据假设ASCII可打印
memcpy(msg + msg_len, buffer, length);
msg_len += length;
msg[msg_len] = '\0'; // 确保字符串结束
// 计算校验和(跳过'$'
uint8_t cs = 0;
for (int i = 1; i < msg_len; i++) {
cs ^= (uint8_t)msg[i];
}
// 追加校验和和结束符
int appended = snprintf(msg + msg_len, sizeof(msg) - msg_len, "*%02X\r\n", cs);
LOG_DEBUG("UART3", "Constructed message: %s", msg);
// 发送ASCII消息
MultiUART_SendString(PORT_UART1, msg);
LOG_INFO("UART3", "PASSTHROUGH: %d bytes sent as ASCII message", (int)length);
} else {
LOG_DEBUG("UART3", "No passthrough data");
} }
} }

View File

@ -19,7 +19,7 @@
#include <stdarg.h> #include <stdarg.h>
#include <string.h> #include <string.h>
#include <stdio.h> #include <stdio.h>
#include "multi_uart_router.h"
#define MAX_MODULES 16 #define MAX_MODULES 16
#define MODULE_NAME_LEN 16 #define MODULE_NAME_LEN 16
@ -144,5 +144,6 @@ void DebugLog_Output(log_level_t level, const char *module, const char *fmt, ...
if (len > 0) { if (len > 0) {
UART2_Print_Send((const uint8_t *)buffer, len); UART2_Print_Send((const uint8_t *)buffer, len);
MultiUART_Send(PORT_UART3, (const uint8_t *)buffer, len); /* 增加:同时将日志发给 UART3 */
} }
} }

View File

@ -23,6 +23,7 @@
#include "multi_uart_router.h" #include "multi_uart_router.h"
#include "main.h" #include "main.h"
#include <string.h> #include <string.h>
#include "data_source.h"
/*============================================================================== /*==============================================================================
* 调试宏定义 * 调试宏定义
@ -196,7 +197,7 @@ static void send_di_event(uint8_t channel, uint8_t state)
uint8_t cs; uint8_t cs;
/* 构造消息主体channel+1将0-base转换为1-base的用户可见编号 */ /* 构造消息主体channel+1将0-base转换为1-base的用户可见编号 */
int len = snprintf(msg, sizeof(msg), "$DI_EVENT,%d,%d*", channel + 1, state); int len = snprintf(msg, sizeof(msg), "$DI_EVENT,%d,%d,%d*", channel + 1, state, SOURCE_DI);
/* 计算异或校验和,跳过'$'符号只对正文部分计算 */ /* 计算异或校验和,跳过'$'符号只对正文部分计算 */
cs = calc_checksum(msg + 1, len - 1); cs = calc_checksum(msg + 1, len - 1);

View File

@ -19,6 +19,7 @@
/* Includes ------------------------------------------------------------------*/ /* Includes ------------------------------------------------------------------*/
#include "main.h" #include "main.h"
#include "spi.h" #include "spi.h"
#include "tim.h"
#include "usart.h" #include "usart.h"
#include "gpio.h" #include "gpio.h"
@ -39,6 +40,15 @@
#include "cmd_router.h" #include "cmd_router.h"
#include "debug_log.h" #include "debug_log.h"
/* W5500 Ethernet模块头文件 */
#if USE_W5500
#include "user_main.h"
#include "wiz_platform.h"
#include "wiz_interface.h"
#include "wizchip_conf.h"
#include "loopback.h"
#endif
extern void wiz_timer_handler(void);
#if (RF433_MODE == RF433_MODE_TX) || (RF433_MODE == RF433_MODE_BOTH) #if (RF433_MODE == RF433_MODE_TX) || (RF433_MODE == RF433_MODE_BOTH)
#include "rf433_tx_app.h" #include "rf433_tx_app.h"
#endif #endif
@ -64,12 +74,30 @@
/* USER CODE END PM */ /* USER CODE END PM */
/* Private variables ---------------------------------------------------------*/ /* Private variables ---------------------------------------------------------*/
/* Private variables ---------------------------------------------------------*/
/* Private variables ---------------------------------------------------------*/
/* USER CODE BEGIN PV */ /* USER CODE BEGIN PV */
static uint8_t uart2_rx_byte = 0; static uint8_t uart2_rx_byte = 0;
static uint8_t uart3_rx_byte = 0; static uint8_t uart3_rx_byte = 0;
/* USER CODE END PV */
/* === 433 模块的接收缓存 (UART1) === */
static uint8_t u1_rx_buffer[256];
static volatile uint16_t u1_rx_len = 0;
static volatile uint32_t u1_last_rx_time = 0;
/* === 485 设备的接收缓存 (UART3) 增加这三行!=== */
static uint8_t u3_rx_buffer[512];
static volatile uint16_t u3_rx_len = 0;
static volatile uint32_t u3_last_rx_time = 0;
/* W5500 variables */
#if USE_W5500
#define SOCKET_ID 0
#define ETHERNET_BUF_MAX_SIZE 2048
static uint8_t ethernet_buf[ETHERNET_BUF_MAX_SIZE] = {0};
static uint16_t local_port = 8000;
#endif
/* USER CODE END PV */
/* Private function prototypes -----------------------------------------------*/ /* Private function prototypes -----------------------------------------------*/
void SystemClock_Config(void); void SystemClock_Config(void);
/* USER CODE BEGIN PFP */ /* USER CODE BEGIN PFP */
@ -109,9 +137,13 @@ int main(void)
MX_USART1_UART_Init(); MX_USART1_UART_Init();
MX_SPI2_Init(); MX_SPI2_Init();
MX_USART2_UART_Init(); MX_USART2_UART_Init();
MX_USART3_UART_Init(); MX_USART3_UART_Init();
MX_TIM2_Init();
/* USER CODE BEGIN 2 */ /* USER CODE BEGIN 2 */
HAL_TIM_Base_Start_IT(&htim2);
/* 初始化应用层模块 */ /* 初始化应用层模块 */
UART2_Print_Init(); UART2_Print_Init();
IO_Monitor_Init(); IO_Monitor_Init();
@ -123,18 +155,45 @@ int main(void)
CmdRouter_Init(); CmdRouter_Init();
DebugLog_Init(); DebugLog_Init();
/* ============================================================== */
/* 🚀 【核心修复】将全局日志门槛提高到 INFO 级别,屏蔽所有底层 DEBUG 噪音 */
DebugLog_SetLevel(LOG_LEVEL_INFO);
/* ============================================================== */
printf("\r\n[DEBUG] 1. 启动 TIM2 中断\r\n");
HAL_TIM_Base_Start_IT(&htim2);
/* 启动UART2接收中断 */ /* 启动UART2接收中断 */
HAL_UART_Receive_IT(&huart2, &uart2_rx_byte, 1); HAL_UART_Receive_IT(&huart2, &uart2_rx_byte, 1);
/* 启动UART3接收中断 - RS485接口 */ /* 启动UART3接收中断 - RS485接口 */
#if USE_RS485
HAL_UART_Receive_IT(&huart3, &uart3_rx_byte, 1); HAL_UART_Receive_IT(&huart3, &uart3_rx_byte, 1);
#endif
/* 初始化RF433模块 - 使用默认配置 */ /* 初始化RF433模块 - 使用默认配置 */
rf433_init(NULL); rf433_init(NULL);
/* 启动UART1接收 - 使用rf433_hal中的临时变量 */ /* 启动UART1接收 - 使用rf433_hal中的临时变量 */
HAL_UART_Receive_IT(&huart1, &rf433_uart_rx_tmp, 1); HAL_UART_Receive_IT(&huart1, &rf433_uart_rx_tmp, 1);
#if USE_W5500
printf("[DEBUG] 2. 进入 wizchip_initialize()\r\n");
wizchip_initialize();
printf("[DEBUG] 3. wizchip_initialize() 成功返回!\r\n");
printf("[DEBUG] 4. 进入 network_init()\r\n");
network_init(ethernet_buf, &default_net_info);
printf("[DEBUG] 5. network_init() 成功返回!\r\n");
printf("wizchip UDP example started\r\n");
#endif
/* ======================================= */
/* 根据配置模式初始化TX/RX应用层 */ /* 根据配置模式初始化TX/RX应用层 */
#if (RF433_MODE == RF433_MODE_TX) || (RF433_MODE == RF433_MODE_BOTH) #if (RF433_MODE == RF433_MODE_TX) || (RF433_MODE == RF433_MODE_BOTH)
/* TX模式初始化 */ /* TX模式初始化 */
@ -154,24 +213,11 @@ int main(void)
printf("System Clock: %d MHz\r\n", SystemCoreClock / 1000000); printf("System Clock: %d MHz\r\n", SystemCoreClock / 1000000);
printf("========================================\r\n"); printf("========================================\r\n");
/* USER CODE END 2 */ /* USER CODE END 2 */
/* Infinite loop */ /* Infinite loop */
/* USER CODE BEGIN WHILE */ /* USER CODE BEGIN WHILE */
while (1)
{
/* USER CODE END WHILE */
/* USER CODE BEGIN 3 */
/* 应用层任务处理 */
UART2_Print_Task();
IO_Monitor_Task();
CmdParser_Task();
/* 多通信接口统一指令处理系统任务 */
MultiUART_Task();
CmdRouter_Task();
#if (RF433_MODE == RF433_MODE_TX) || (RF433_MODE == RF433_MODE_BOTH) #if (RF433_MODE == RF433_MODE_TX) || (RF433_MODE == RF433_MODE_BOTH)
/* TX任务 */ /* TX任务 */
@ -183,10 +229,73 @@ int main(void)
rf433_rx_app_task(); rf433_rx_app_task();
#endif #endif
/* W5500 UDP回环任务 */
#if USE_W5500
loopback_udps(SOCKET_ID, ethernet_buf, local_port);
#endif
// /* 强行拉低 M0 和 M1叫醒 433 模块处于透传模式! */
// HAL_GPIO_WritePin(M0_GPIO_Port, M0_Pin, GPIO_PIN_RESET);
// HAL_GPIO_WritePin(GPIOB, M1_Pin, GPIO_PIN_RESET);
// /* ⚠️ 致命修复:网络被注释后,单片机启动太快。
// 433模块从休眠到唤醒至少需要几百毫秒。
// 必须改成 1000 毫秒,给硬件足够的缓冲时间! */
// HAL_Delay(1000);
/* Infinite loop */
/* USER CODE BEGIN WHILE */
while (1)
{
/* ==========================================================
第一部分:恢复系统的核心驱动引擎 (解决网络和端口不传数据的问题)
========================================================== */
UART2_Print_Task(); // 引擎负责把串口2的缓存发出去
MultiUART_Task(); // 引擎:负责网络分发、多串口异步发送 (极其重要!)
IO_Monitor_Task();
/* 如果你的网络指令需要解析,取消下面两行的注释 */
// CmdRouter_Task();
// CmdParser_Task();
/* ==========================================================
第二部分:网络轮询任务
========================================================== */
#if USE_W5500
loopback_udps(SOCKET_ID, ethernet_buf, local_port);
#endif
/* ==========================================================
第三部分:非阻塞无乱码透传 (解决485卡顿漏数据的问题)
========================================================== */
/* 1. 从 433 收到无线数据 -> 发给 485 */
if (u1_rx_len > 0 && (HAL_GetTick() - u1_last_rx_time > 20))
{
/* 改用 MultiUART_Send它会把数据瞬间丢进发送队列耗时0毫秒绝不卡顿单片机 */
MultiUART_Send(PORT_UART3, (uint8_t*)u1_rx_buffer, u1_rx_len);
/* 顺便发给串口2监控 */
MultiUART_Send(PORT_UART2, (uint8_t*)u1_rx_buffer, u1_rx_len);
u1_rx_len = 0; /* 清空缓存 */
}
/* 2. 从 485 收到设备数据 -> 通过 433 无线发射 */
if (u3_rx_len > 0 && (HAL_GetTick() - u3_last_rx_time > 20))
{
MultiUART_Send(PORT_UART1, (uint8_t*)u3_rx_buffer, u3_rx_len);
/* 【可选进阶】如果你希望网络端比如电脑上的UDP助手也能收到485传来的数据
你可以在这里调用你的网络发送函数,把 u3_rx_buffer 发给网口 */
u3_rx_len = 0; /* 清空缓存 */
}
/* USER CODE END WHILE */
} }
/* USER CODE END 3 */ /* USER CODE END 3 */
/* USER CODE END 3 */
} }
/** /**
* @brief System Clock Configuration * @brief System Clock Configuration
* @retval None * @retval None
@ -234,37 +343,45 @@ void SystemClock_Config(void)
* @param huart: UART句柄指针 * @param huart: UART句柄指针
* @retval 无 * @retval 无
*/ */
/* USER CODE BEGIN 4 */
/* USER CODE BEGIN 4 */
/* USER CODE BEGIN 4 */
/* USER CODE BEGIN 4 */
void HAL_UART_RxCpltCallback(UART_HandleTypeDef *huart) void HAL_UART_RxCpltCallback(UART_HandleTypeDef *huart)
{ {
if (huart->Instance == USART1) if (huart->Instance == USART1) {
{ if (u1_rx_len < sizeof(u1_rx_buffer)) u1_rx_buffer[u1_rx_len++] = rf433_uart_rx_tmp;
/* 先保存接收到的字节避免被rf433_hal回调覆盖 */ u1_last_rx_time = HAL_GetTick();
uint8_t rx_byte = rf433_uart_rx_tmp; HAL_UART_Receive_IT(&huart1, &rf433_uart_rx_tmp, 1);
/* 调用RF433模块的UART接收回调内部会重启接收 */
rf433_hal_uart_rxcplt_callback();
/* 喂入多UART路由器支持RF433指令接收 */
MultiUART_FeedByte(PORT_UART1, rx_byte);
} }
else if (huart->Instance == USART2) else if (huart->Instance == USART3) {
{ if (u3_rx_len < sizeof(u3_rx_buffer)) u3_rx_buffer[u3_rx_len++] = uart3_rx_byte;
/* 喂入指令解析器 - UART2保持原有处理方式 */ u3_last_rx_time = HAL_GetTick();
CmdParser_FeedByte(uart2_rx_byte, HAL_GetTick());
/* 重新启动接收 */
HAL_UART_Receive_IT(&huart2, &uart2_rx_byte, 1);
}
else if (huart->Instance == USART3)
{
/* 喂入多UART路由器 - RS485接口 */
MultiUART_FeedByte(PORT_UART3, uart3_rx_byte);
/* 重新启动接收 */
HAL_UART_Receive_IT(&huart3, &uart3_rx_byte, 1); HAL_UART_Receive_IT(&huart3, &uart3_rx_byte, 1);
} }
else if (huart->Instance == USART2) {
HAL_UART_Receive_IT(&huart2, &uart2_rx_byte, 1);
}
} }
void HAL_UART_ErrorCallback(UART_HandleTypeDef *huart)
{
/* 彻底清除所有硬件锁死标志 */
__HAL_UART_CLEAR_OREFLAG(huart);
__HAL_UART_CLEAR_NEFLAG(huart);
__HAL_UART_CLEAR_FEFLAG(huart);
if (huart->Instance == USART1) HAL_UART_Receive_IT(&huart1, &rf433_uart_rx_tmp, 1);
else if (huart->Instance == USART3) HAL_UART_Receive_IT(&huart3, &uart3_rx_byte, 1);
else if (huart->Instance == USART2) HAL_UART_Receive_IT(&huart2, &uart2_rx_byte, 1);
}
/* USER CODE END 4 */
/* 后面原有的 HAL_UART_TxCpltCallback 保留不动... */
/** /**
* @brief UART发送完成中断回调函数 * @brief UART发送完成中断回调函数
* @note 处理UART1/UART2/UART3发送完成触发下一次发送 * @note 处理UART1/UART2/UART3发送完成触发下一次发送
@ -285,8 +402,10 @@ void HAL_UART_TxCpltCallback(UART_HandleTypeDef *huart)
} }
else if (huart->Instance == USART3) else if (huart->Instance == USART3)
{ {
/* 调用多UART路由器的UART3发送完成回调 */ /* 调用多UART路由器的UART3发送完成回调 */
MultiUART_TxCpltCallback(PORT_UART3); MultiUART_TxCpltCallback(PORT_UART3);
} }
} }

View File

@ -32,7 +32,7 @@
* 调试宏定义 * 调试宏定义
*============================================================================*/ *============================================================================*/
/* DEBUG_MULTI_UART: 多UART路由调试日志开关 */ /* DEBUG_MULTI_UART: 多UART路由调试日志开关 */
#define DEBUG_MULTI_UART 1 #define DEBUG_MULTI_UART 0
#if DEBUG_MULTI_UART #if DEBUG_MULTI_UART
/* 多UART模块日志宏带前缀"[MUART]" */ /* 多UART模块日志宏带前缀"[MUART]" */

View File

@ -83,17 +83,19 @@ static void tx_led_control(uint8_t state)
rf433_error_t rf433_tx_app_init(const rf433_register_t *config) rf433_error_t rf433_tx_app_init(const rf433_register_t *config)
{ {
if (config == NULL) {
return RF433_ERROR;
}
// 初始化TX应用结构体 // 初始化TX应用结构体
memset(&g_tx_app, 0, sizeof(rf433_tx_app_t)); memset(&g_tx_app, 0, sizeof(rf433_tx_app_t));
g_tx_app.state = TX_STATE_INIT; g_tx_app.state = TX_STATE_INIT;
g_tx_app.is_running = false; g_tx_app.is_running = false;
// 保存配置 // 保存配置
if (config == NULL) {
// 使用默认配置
extern const rf433_register_t rf433_default_config;
memcpy(&g_tx_app.config, &rf433_default_config, sizeof(rf433_register_t));
} else {
memcpy(&g_tx_app.config, config, sizeof(rf433_register_t)); memcpy(&g_tx_app.config, config, sizeof(rf433_register_t));
}
// 配置RF433模块 // 配置RF433模块
rf433_error_t ret = rf433_set_config(&g_tx_app.config); rf433_error_t ret = rf433_set_config(&g_tx_app.config);

View File

@ -55,6 +55,7 @@
/* USER CODE END 0 */ /* USER CODE END 0 */
/* External variables --------------------------------------------------------*/ /* External variables --------------------------------------------------------*/
extern TIM_HandleTypeDef htim2;
extern UART_HandleTypeDef huart1; extern UART_HandleTypeDef huart1;
extern UART_HandleTypeDef huart2; extern UART_HandleTypeDef huart2;
extern UART_HandleTypeDef huart3; extern UART_HandleTypeDef huart3;
@ -199,6 +200,20 @@ void SysTick_Handler(void)
/* please refer to the startup file (startup_stm32f1xx.s). */ /* please refer to the startup file (startup_stm32f1xx.s). */
/******************************************************************************/ /******************************************************************************/
/**
* @brief This function handles TIM2 global interrupt.
*/
void TIM2_IRQHandler(void)
{
/* USER CODE BEGIN TIM2_IRQn 0 */
/* USER CODE END TIM2_IRQn 0 */
HAL_TIM_IRQHandler(&htim2);
/* USER CODE BEGIN TIM2_IRQn 1 */
/* USER CODE END TIM2_IRQn 1 */
}
/** /**
* @brief This function handles USART1 global interrupt. * @brief This function handles USART1 global interrupt.
*/ */

111
Core/Src/tim.c Normal file
View File

@ -0,0 +1,111 @@
/* USER CODE BEGIN Header */
/**
******************************************************************************
* @file : tim.c
* @brief : This file provides code for the configuration
* of the TIM instances.
******************************************************************************
* @attention
*
* Copyright (c) 2024 STMicroelectronics.
* All rights reserved.
*
* This software is licensed under terms that can be found in the LICENSE file
* in the root directory of this software component.
* If no LICENSE file comes with this software, it is provided AS-IS.
*
******************************************************************************
*/
/* USER CODE END Header */
/* Includes ------------------------------------------------------------------*/
#include "tim.h"
/* USER CODE BEGIN 0 */
/* USER CODE END 0 */
TIM_HandleTypeDef htim2;
/* TIM2 init function */
void MX_TIM2_Init(void)
{
/* USER CODE BEGIN TIM2_Init 0 */
/* USER CODE END TIM2_Init 0 */
TIM_ClockConfigTypeDef sClockSourceConfig = {0};
TIM_MasterConfigTypeDef sMasterConfig = {0};
/* USER CODE BEGIN TIM2_Init 1 */
/* USER CODE END TIM2_Init 1 */
htim2.Instance = TIM2;
htim2.Init.Prescaler = 72-1;
htim2.Init.CounterMode = TIM_COUNTERMODE_UP;
htim2.Init.Period = 65535;
htim2.Init.ClockDivision = TIM_CLOCKDIVISION_DIV1;
htim2.Init.AutoReloadPreload = TIM_AUTORELOAD_PRELOAD_DISABLE;
if (HAL_TIM_Base_Init(&htim2) != HAL_OK)
{
Error_Handler();
}
sClockSourceConfig.ClockSource = TIM_CLOCKSOURCE_INTERNAL;
if (HAL_TIM_ConfigClockSource(&htim2, &sClockSourceConfig) != HAL_OK)
{
Error_Handler();
}
sMasterConfig.MasterOutputTrigger = TIM_TRGO_RESET;
sMasterConfig.MasterSlaveMode = TIM_MASTERSLAVEMODE_DISABLE;
if (HAL_TIMEx_MasterConfigSynchronization(&htim2, &sMasterConfig) != HAL_OK)
{
Error_Handler();
}
/* USER CODE BEGIN TIM2_Init 2 */
/* USER CODE END TIM2_Init 2 */
}
void HAL_TIM_Base_MspInit(TIM_HandleTypeDef* tim_baseHandle)
{
if(tim_baseHandle->Instance==TIM2)
{
/* USER CODE BEGIN TIM2_MspInit 0 */
/* USER CODE END TIM2_MspInit 0 */
/* TIM2 clock enable */
__HAL_RCC_TIM2_CLK_ENABLE();
/* TIM2 interrupt Init */
HAL_NVIC_SetPriority(TIM2_IRQn, 0, 0);
HAL_NVIC_EnableIRQ(TIM2_IRQn);
/* USER CODE BEGIN TIM2_MspInit 1 */
/* USER CODE END TIM2_MspInit 1 */
}
}
void HAL_TIM_Base_MspDeInit(TIM_HandleTypeDef* tim_baseHandle)
{
if(tim_baseHandle->Instance==TIM2)
{
/* USER CODE BEGIN TIM2_MspDeInit 0 */
/* USER CODE END TIM2_MspDeInit 0 */
/* Peripheral clock disable */
__HAL_RCC_TIM2_CLK_DISABLE();
/* TIM2 interrupt Deinit */
HAL_NVIC_DisableIRQ(TIM2_IRQn);
/* USER CODE BEGIN TIM2_MspDeInit 1 */
/* USER CODE END TIM2_MspDeInit 1 */
}
}
/* USER CODE BEGIN 1 */
/* USER CODE END 1 */

View File

@ -21,7 +21,7 @@
#include "usart.h" #include "usart.h"
#include <string.h> #include <string.h>
#include <stdio.h> #include <stdio.h>
#include "multi_uart_router.h"
/*============================================================================== /*==============================================================================
* 调试宏定义 * 调试宏定义
*============================================================================*/ *============================================================================*/
@ -460,50 +460,26 @@ uint16_t UART2_Print_GetOverflowCount(void)
#if defined(__CC_ARM) || defined(__ARMCC_VERSION) #if defined(__CC_ARM) || defined(__ARMCC_VERSION)
int fputc(int ch, FILE *f) int fputc(int ch, FILE *f)
{ {
(void)f; /* 未使用参数,避免编译器警告 */ (void)f;
UART2_Print_Send((uint8_t *)&ch, 1); UART2_Print_Send((uint8_t *)&ch, 1);
MultiUART_Send(PORT_UART3, (uint8_t *)&ch, 1); /* 增加:同时发给 UART3 */
return ch; return ch;
} }
#endif #endif
/**
* @brief printf重定向函数 (GCC编译器 - 单字符版本)
* @note 将标准库printf输出重定向到UART2
*
* @param ch: 待发送字符(输入)
* @return int: 发送的字符
*
* 编译器条件编译:
* 此函数仅在__GNUC__定义时编译即GCC/Clang编译器环境下生效
*
* 实现说明:
* 新一代ARM GCC使用__io_putchar作为printf输出目标
* 此处将其重定向到UART2_Print_Send
*/
#if defined(__GNUC__) #if defined(__GNUC__)
int __io_putchar(int ch) int __io_putchar(int ch)
{ {
UART2_Print_Send((uint8_t *)&ch, 1); UART2_Print_Send((uint8_t *)&ch, 1);
MultiUART_Send(PORT_UART3, (uint8_t *)&ch, 1); /* 增加:同时发给 UART3 */
return ch; return ch;
} }
/**
* @brief write系统调用重定向 (GCC编译器)
* @note 将文件系统write调用重定向到UART2
*
* @param file: 文件描述符(未使用,仅为兼容标准接口)
* @param ptr: 数据缓冲区指针(输入)
* @param len: 数据长度(输入)
* @return int: 已发送的字节数
*
* 实现说明:
* 有些GCC配置下printf会调用_write而非__io_putchar
* 此函数提供完整的write接口兼容
*/
int _write(int file, char *ptr, int len) int _write(int file, char *ptr, int len)
{ {
(void)file; /* 忽略文件描述符,只处理标准输出 */ (void)file;
UART2_Print_Send((uint8_t *)ptr, len); UART2_Print_Send((uint8_t *)ptr, len);
MultiUART_Send(PORT_UART3, (uint8_t *)ptr, len); /* 增加:同时发给 UART3 */
return len; return len;
} }
#endif #endif

View File

@ -39,6 +39,10 @@
#define DEBUG_LOG(fmt, ...) #define DEBUG_LOG(fmt, ...)
#endif #endif
/* 数据源标识 */
#define SOURCE_RS485 0x01
#define SOURCE_DI 0x02
/*============================================================================== /*==============================================================================
* 全局变量定义 * 全局变量定义
* 设计依据文档第3.2.2节 * 设计依据文档第3.2.2节

View File

@ -100,7 +100,7 @@ void MX_USART3_UART_Init(void)
/* USER CODE END USART3_Init 1 */ /* USER CODE END USART3_Init 1 */
huart3.Instance = USART3; huart3.Instance = USART3;
huart3.Init.BaudRate = 9600; huart3.Init.BaudRate = 115200; /* 从 9600 修改为 115200 */
huart3.Init.WordLength = UART_WORDLENGTH_8B; huart3.Init.WordLength = UART_WORDLENGTH_8B;
huart3.Init.StopBits = UART_STOPBITS_1; huart3.Init.StopBits = UART_STOPBITS_1;
huart3.Init.Parity = UART_PARITY_NONE; huart3.Init.Parity = UART_PARITY_NONE;

View File

@ -20,7 +20,7 @@ static bool rf433_initialized = false;
static rf433_register_t rf433_current_config; static rf433_register_t rf433_current_config;
/* E32-433T30S 默认配置与原register_default保持一致 */ /* E32-433T30S 默认配置与原register_default保持一致 */
static const rf433_register_t rf433_default_config = const rf433_register_t rf433_default_config =
{ {
.register_1 = { .register_1 = {
.address_h = 0x00, .address_h = 0x00,

File diff suppressed because one or more lines are too long

View File

@ -157,6 +157,54 @@
<Bp> <Bp>
<Number>0</Number> <Number>0</Number>
<Type>0</Type> <Type>0</Type>
<LineNumber>264</LineNumber>
<EnabledFlag>1</EnabledFlag>
<Address>0</Address>
<ByteObject>0</ByteObject>
<HtxType>0</HtxType>
<ManyObjects>0</ManyObjects>
<SizeOfObject>0</SizeOfObject>
<BreakByAccess>0</BreakByAccess>
<BreakIfRCount>0</BreakIfRCount>
<Filename>../Core/Src/main.c</Filename>
<ExecCommand></ExecCommand>
<Expression></Expression>
</Bp>
<Bp>
<Number>1</Number>
<Type>0</Type>
<LineNumber>267</LineNumber>
<EnabledFlag>1</EnabledFlag>
<Address>0</Address>
<ByteObject>0</ByteObject>
<HtxType>0</HtxType>
<ManyObjects>0</ManyObjects>
<SizeOfObject>0</SizeOfObject>
<BreakByAccess>0</BreakByAccess>
<BreakIfRCount>0</BreakIfRCount>
<Filename>../Core/Src/main.c</Filename>
<ExecCommand></ExecCommand>
<Expression></Expression>
</Bp>
<Bp>
<Number>2</Number>
<Type>0</Type>
<LineNumber>265</LineNumber>
<EnabledFlag>1</EnabledFlag>
<Address>0</Address>
<ByteObject>0</ByteObject>
<HtxType>0</HtxType>
<ManyObjects>0</ManyObjects>
<SizeOfObject>0</SizeOfObject>
<BreakByAccess>0</BreakByAccess>
<BreakIfRCount>0</BreakIfRCount>
<Filename>../Core/Src/main.c</Filename>
<ExecCommand></ExecCommand>
<Expression></Expression>
</Bp>
<Bp>
<Number>3</Number>
<Type>0</Type>
<LineNumber>188</LineNumber> <LineNumber>188</LineNumber>
<EnabledFlag>1</EnabledFlag> <EnabledFlag>1</EnabledFlag>
<Address>0</Address> <Address>0</Address>
@ -445,7 +493,7 @@
<GroupNumber>2</GroupNumber> <GroupNumber>2</GroupNumber>
<FileNumber>18</FileNumber> <FileNumber>18</FileNumber>
<FileType>1</FileType> <FileType>1</FileType>
<tvExp>0</tvExp> <tvExp>1</tvExp>
<tvExpOptDlg>0</tvExpOptDlg> <tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2> <bDave2>0</bDave2>
<PathWithFileName>..\Core\Src\uart3_passthrough.c</PathWithFileName> <PathWithFileName>..\Core\Src\uart3_passthrough.c</PathWithFileName>
@ -457,7 +505,7 @@
<GroupNumber>2</GroupNumber> <GroupNumber>2</GroupNumber>
<FileNumber>19</FileNumber> <FileNumber>19</FileNumber>
<FileType>1</FileType> <FileType>1</FileType>
<tvExp>0</tvExp> <tvExp>1</tvExp>
<tvExpOptDlg>0</tvExpOptDlg> <tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2> <bDave2>0</bDave2>
<PathWithFileName>..\Core\Src\uart3_protocol_discriminator.c</PathWithFileName> <PathWithFileName>..\Core\Src\uart3_protocol_discriminator.c</PathWithFileName>
@ -465,6 +513,18 @@
<RteFlg>0</RteFlg> <RteFlg>0</RteFlg>
<bShared>0</bShared> <bShared>0</bShared>
</File> </File>
<File>
<GroupNumber>2</GroupNumber>
<FileNumber>20</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\Core\Src\tim.c</PathWithFileName>
<FilenameWithoutPath>tim.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
</Group> </Group>
<Group> <Group>
@ -475,7 +535,7 @@
<RteFlg>0</RteFlg> <RteFlg>0</RteFlg>
<File> <File>
<GroupNumber>3</GroupNumber> <GroupNumber>3</GroupNumber>
<FileNumber>20</FileNumber> <FileNumber>21</FileNumber>
<FileType>1</FileType> <FileType>1</FileType>
<tvExp>0</tvExp> <tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg> <tvExpOptDlg>0</tvExpOptDlg>
@ -487,7 +547,7 @@
</File> </File>
<File> <File>
<GroupNumber>3</GroupNumber> <GroupNumber>3</GroupNumber>
<FileNumber>21</FileNumber> <FileNumber>22</FileNumber>
<FileType>1</FileType> <FileType>1</FileType>
<tvExp>0</tvExp> <tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg> <tvExpOptDlg>0</tvExpOptDlg>
@ -499,7 +559,7 @@
</File> </File>
<File> <File>
<GroupNumber>3</GroupNumber> <GroupNumber>3</GroupNumber>
<FileNumber>22</FileNumber> <FileNumber>23</FileNumber>
<FileType>1</FileType> <FileType>1</FileType>
<tvExp>0</tvExp> <tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg> <tvExpOptDlg>0</tvExpOptDlg>
@ -511,7 +571,7 @@
</File> </File>
<File> <File>
<GroupNumber>3</GroupNumber> <GroupNumber>3</GroupNumber>
<FileNumber>23</FileNumber> <FileNumber>24</FileNumber>
<FileType>1</FileType> <FileType>1</FileType>
<tvExp>0</tvExp> <tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg> <tvExpOptDlg>0</tvExpOptDlg>
@ -523,7 +583,7 @@
</File> </File>
<File> <File>
<GroupNumber>3</GroupNumber> <GroupNumber>3</GroupNumber>
<FileNumber>24</FileNumber> <FileNumber>25</FileNumber>
<FileType>1</FileType> <FileType>1</FileType>
<tvExp>0</tvExp> <tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg> <tvExpOptDlg>0</tvExpOptDlg>
@ -535,7 +595,7 @@
</File> </File>
<File> <File>
<GroupNumber>3</GroupNumber> <GroupNumber>3</GroupNumber>
<FileNumber>25</FileNumber> <FileNumber>26</FileNumber>
<FileType>1</FileType> <FileType>1</FileType>
<tvExp>0</tvExp> <tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg> <tvExpOptDlg>0</tvExpOptDlg>
@ -547,7 +607,7 @@
</File> </File>
<File> <File>
<GroupNumber>3</GroupNumber> <GroupNumber>3</GroupNumber>
<FileNumber>26</FileNumber> <FileNumber>27</FileNumber>
<FileType>1</FileType> <FileType>1</FileType>
<tvExp>0</tvExp> <tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg> <tvExpOptDlg>0</tvExpOptDlg>
@ -559,7 +619,7 @@
</File> </File>
<File> <File>
<GroupNumber>3</GroupNumber> <GroupNumber>3</GroupNumber>
<FileNumber>27</FileNumber> <FileNumber>28</FileNumber>
<FileType>1</FileType> <FileType>1</FileType>
<tvExp>0</tvExp> <tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg> <tvExpOptDlg>0</tvExpOptDlg>
@ -571,7 +631,7 @@
</File> </File>
<File> <File>
<GroupNumber>3</GroupNumber> <GroupNumber>3</GroupNumber>
<FileNumber>28</FileNumber> <FileNumber>29</FileNumber>
<FileType>1</FileType> <FileType>1</FileType>
<tvExp>0</tvExp> <tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg> <tvExpOptDlg>0</tvExpOptDlg>
@ -583,7 +643,7 @@
</File> </File>
<File> <File>
<GroupNumber>3</GroupNumber> <GroupNumber>3</GroupNumber>
<FileNumber>29</FileNumber> <FileNumber>30</FileNumber>
<FileType>1</FileType> <FileType>1</FileType>
<tvExp>0</tvExp> <tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg> <tvExpOptDlg>0</tvExpOptDlg>
@ -595,7 +655,7 @@
</File> </File>
<File> <File>
<GroupNumber>3</GroupNumber> <GroupNumber>3</GroupNumber>
<FileNumber>30</FileNumber> <FileNumber>31</FileNumber>
<FileType>1</FileType> <FileType>1</FileType>
<tvExp>0</tvExp> <tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg> <tvExpOptDlg>0</tvExpOptDlg>
@ -607,7 +667,7 @@
</File> </File>
<File> <File>
<GroupNumber>3</GroupNumber> <GroupNumber>3</GroupNumber>
<FileNumber>31</FileNumber> <FileNumber>32</FileNumber>
<FileType>1</FileType> <FileType>1</FileType>
<tvExp>0</tvExp> <tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg> <tvExpOptDlg>0</tvExpOptDlg>
@ -619,7 +679,7 @@
</File> </File>
<File> <File>
<GroupNumber>3</GroupNumber> <GroupNumber>3</GroupNumber>
<FileNumber>32</FileNumber> <FileNumber>33</FileNumber>
<FileType>1</FileType> <FileType>1</FileType>
<tvExp>0</tvExp> <tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg> <tvExpOptDlg>0</tvExpOptDlg>
@ -631,7 +691,7 @@
</File> </File>
<File> <File>
<GroupNumber>3</GroupNumber> <GroupNumber>3</GroupNumber>
<FileNumber>33</FileNumber> <FileNumber>34</FileNumber>
<FileType>1</FileType> <FileType>1</FileType>
<tvExp>0</tvExp> <tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg> <tvExpOptDlg>0</tvExpOptDlg>
@ -643,7 +703,7 @@
</File> </File>
<File> <File>
<GroupNumber>3</GroupNumber> <GroupNumber>3</GroupNumber>
<FileNumber>34</FileNumber> <FileNumber>35</FileNumber>
<FileType>1</FileType> <FileType>1</FileType>
<tvExp>0</tvExp> <tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg> <tvExpOptDlg>0</tvExpOptDlg>
@ -663,7 +723,7 @@
<RteFlg>0</RteFlg> <RteFlg>0</RteFlg>
<File> <File>
<GroupNumber>4</GroupNumber> <GroupNumber>4</GroupNumber>
<FileNumber>35</FileNumber> <FileNumber>36</FileNumber>
<FileType>1</FileType> <FileType>1</FileType>
<tvExp>0</tvExp> <tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg> <tvExpOptDlg>0</tvExpOptDlg>
@ -683,7 +743,7 @@
<RteFlg>0</RteFlg> <RteFlg>0</RteFlg>
<File> <File>
<GroupNumber>5</GroupNumber> <GroupNumber>5</GroupNumber>
<FileNumber>36</FileNumber> <FileNumber>37</FileNumber>
<FileType>1</FileType> <FileType>1</FileType>
<tvExp>0</tvExp> <tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg> <tvExpOptDlg>0</tvExpOptDlg>
@ -695,7 +755,7 @@
</File> </File>
<File> <File>
<GroupNumber>5</GroupNumber> <GroupNumber>5</GroupNumber>
<FileNumber>37</FileNumber> <FileNumber>38</FileNumber>
<FileType>1</FileType> <FileType>1</FileType>
<tvExp>0</tvExp> <tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg> <tvExpOptDlg>0</tvExpOptDlg>
@ -707,7 +767,7 @@
</File> </File>
<File> <File>
<GroupNumber>5</GroupNumber> <GroupNumber>5</GroupNumber>
<FileNumber>38</FileNumber> <FileNumber>39</FileNumber>
<FileType>5</FileType> <FileType>5</FileType>
<tvExp>0</tvExp> <tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg> <tvExpOptDlg>0</tvExpOptDlg>
@ -719,7 +779,7 @@
</File> </File>
<File> <File>
<GroupNumber>5</GroupNumber> <GroupNumber>5</GroupNumber>
<FileNumber>39</FileNumber> <FileNumber>40</FileNumber>
<FileType>5</FileType> <FileType>5</FileType>
<tvExp>0</tvExp> <tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg> <tvExpOptDlg>0</tvExpOptDlg>
@ -731,7 +791,7 @@
</File> </File>
<File> <File>
<GroupNumber>5</GroupNumber> <GroupNumber>5</GroupNumber>
<FileNumber>40</FileNumber> <FileNumber>41</FileNumber>
<FileType>5</FileType> <FileType>5</FileType>
<tvExp>0</tvExp> <tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg> <tvExpOptDlg>0</tvExpOptDlg>
@ -743,6 +803,122 @@
</File> </File>
</Group> </Group>
<Group>
<GroupName>user</GroupName>
<tvExp>1</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<cbSel>0</cbSel>
<RteFlg>0</RteFlg>
<File>
<GroupNumber>6</GroupNumber>
<FileNumber>42</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\User\wiz_platform\wiz_platform.c</PathWithFileName>
<FilenameWithoutPath>wiz_platform.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>6</GroupNumber>
<FileNumber>43</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\User\wiz_interface\wiz_interface.c</PathWithFileName>
<FilenameWithoutPath>wiz_interface.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>6</GroupNumber>
<FileNumber>44</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\User\user_main\user_main.c</PathWithFileName>
<FilenameWithoutPath>user_main.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>6</GroupNumber>
<FileNumber>45</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\User\Loopback\loopback.c</PathWithFileName>
<FilenameWithoutPath>loopback.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>6</GroupNumber>
<FileNumber>46</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\User\ioLibrary_Driver\Application\multicast\multicast.c</PathWithFileName>
<FilenameWithoutPath>multicast.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>6</GroupNumber>
<FileNumber>47</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\User\ioLibrary_Driver\Ethernet\W5500\w5500.c</PathWithFileName>
<FilenameWithoutPath>w5500.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>6</GroupNumber>
<FileNumber>48</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\User\ioLibrary_Driver\Ethernet\socket.c</PathWithFileName>
<FilenameWithoutPath>socket.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>6</GroupNumber>
<FileNumber>49</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\User\ioLibrary_Driver\Ethernet\wizchip_conf.c</PathWithFileName>
<FilenameWithoutPath>wizchip_conf.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>6</GroupNumber>
<FileNumber>50</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\User\ioLibrary_Driver\Internet\DHCP\dhcp.c</PathWithFileName>
<FilenameWithoutPath>dhcp.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
</Group>
<Group> <Group>
<GroupName>::CMSIS</GroupName> <GroupName>::CMSIS</GroupName>
<tvExp>0</tvExp> <tvExp>0</tvExp>

View File

@ -340,7 +340,7 @@
<MiscControls></MiscControls> <MiscControls></MiscControls>
<Define>USE_HAL_DRIVER,STM32F103xB</Define> <Define>USE_HAL_DRIVER,STM32F103xB</Define>
<Undefine></Undefine> <Undefine></Undefine>
<IncludePath>../Core/Inc;../Drivers/STM32F1xx_HAL_Driver/Inc;../Drivers/STM32F1xx_HAL_Driver/Inc/Legacy;../Drivers/CMSIS/Device/ST/STM32F1xx/Include;../Drivers/CMSIS/Include;../Middlewares/u8g2Lib/inc;../Middlewares/MultMenu/application;../Middlewares/MultMenu/disp;../Middlewares/MultMenu/menu;../Driver_RF433;../Driver_RF433/Inc;../Driver_RF433/Src</IncludePath> <IncludePath>../Core/Inc;../Drivers/STM32F1xx_HAL_Driver/Inc;../Drivers/STM32F1xx_HAL_Driver/Inc/Legacy;../Drivers/CMSIS/Device/ST/STM32F1xx/Include;../Drivers/CMSIS/Include;../Middlewares/u8g2Lib/inc;../Middlewares/MultMenu/application;../Middlewares/MultMenu/disp;../Middlewares/MultMenu/menu;../Driver_RF433;../Driver_RF433/Inc;../Driver_RF433/Src;..\User\wiz_platform;..\User\wiz_interface;..\User\user_main;..\User\Loopback;..\User\ioLibrary_Driver\Internet\DHCP;..\User\ioLibrary_Driver\Ethernet\W5500;..\User\ioLibrary_Driver\Ethernet;..\User\ioLibrary_Driver\Application\loopback;..\User\ioLibrary_Driver\Application\multicast</IncludePath>
</VariousControls> </VariousControls>
</Cads> </Cads>
<Aads> <Aads>
@ -535,6 +535,11 @@
<FileType>1</FileType> <FileType>1</FileType>
<FilePath>..\Core\Src\uart3_protocol_discriminator.c</FilePath> <FilePath>..\Core\Src\uart3_protocol_discriminator.c</FilePath>
</File> </File>
<File>
<FileName>tim.c</FileName>
<FileType>1</FileType>
<FilePath>..\Core\Src\tim.c</FilePath>
</File>
</Files> </Files>
</Group> </Group>
<Group> <Group>
@ -708,6 +713,56 @@
</File> </File>
</Files> </Files>
</Group> </Group>
<Group>
<GroupName>user</GroupName>
<Files>
<File>
<FileName>wiz_platform.c</FileName>
<FileType>1</FileType>
<FilePath>..\User\wiz_platform\wiz_platform.c</FilePath>
</File>
<File>
<FileName>wiz_interface.c</FileName>
<FileType>1</FileType>
<FilePath>..\User\wiz_interface\wiz_interface.c</FilePath>
</File>
<File>
<FileName>user_main.c</FileName>
<FileType>1</FileType>
<FilePath>..\User\user_main\user_main.c</FilePath>
</File>
<File>
<FileName>loopback.c</FileName>
<FileType>1</FileType>
<FilePath>..\User\Loopback\loopback.c</FilePath>
</File>
<File>
<FileName>multicast.c</FileName>
<FileType>1</FileType>
<FilePath>..\User\ioLibrary_Driver\Application\multicast\multicast.c</FilePath>
</File>
<File>
<FileName>w5500.c</FileName>
<FileType>1</FileType>
<FilePath>..\User\ioLibrary_Driver\Ethernet\W5500\w5500.c</FilePath>
</File>
<File>
<FileName>socket.c</FileName>
<FileType>1</FileType>
<FilePath>..\User\ioLibrary_Driver\Ethernet\socket.c</FilePath>
</File>
<File>
<FileName>wizchip_conf.c</FileName>
<FileType>1</FileType>
<FilePath>..\User\ioLibrary_Driver\Ethernet\wizchip_conf.c</FilePath>
</File>
<File>
<FileName>dhcp.c</FileName>
<FileType>1</FileType>
<FilePath>..\User\ioLibrary_Driver\Internet\DHCP\dhcp.c</FilePath>
</File>
</Files>
</Group>
<Group> <Group>
<GroupName>::CMSIS</GroupName> <GroupName>::CMSIS</GroupName>
</Group> </Group>

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -30,12 +30,15 @@ project\cmd_router.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h
project\cmd_router.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h project\cmd_router.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h
project\cmd_router.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h project\cmd_router.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h
project\cmd_router.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h project\cmd_router.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h
project\cmd_router.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h
project\cmd_router.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h
project\cmd_router.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h project\cmd_router.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h
project\cmd_router.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdio.h project\cmd_router.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdio.h
project\cmd_router.o: ../Core/Inc/cmd_parser.h project\cmd_router.o: ../Core/Inc/cmd_parser.h
project\cmd_router.o: ../Core/Inc/uart2_print.h project\cmd_router.o: ../Core/Inc/uart2_print.h
project\cmd_router.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdarg.h project\cmd_router.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdarg.h
project\cmd_router.o: ../Core/Inc/debug_log.h project\cmd_router.o: ../Core/Inc/debug_log.h
project\cmd_router.o: ../Core/Inc/data_source.h
project\cmd_router.o: ../Core/Inc/uart3_protocol_discriminator.h project\cmd_router.o: ../Core/Inc/uart3_protocol_discriminator.h
project\cmd_router.o: ../Core/Inc/uart3_passthrough.h project\cmd_router.o: ../Core/Inc/uart3_passthrough.h
project\cmd_router.o: ../Core/Inc/uart3_smart_router_config.h project\cmd_router.o: ../Core/Inc/uart3_smart_router_config.h

Binary file not shown.

Binary file not shown.

View File

@ -6,3 +6,34 @@ project\debug_log.o: ../Core/Inc/uart2_print.h
project\debug_log.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdarg.h project\debug_log.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdarg.h
project\debug_log.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\string.h project\debug_log.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\string.h
project\debug_log.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdio.h project\debug_log.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdio.h
project\debug_log.o: ../Core/Inc/multi_uart_router.h
project\debug_log.o: ../Core/Inc/usart.h
project\debug_log.o: ../Core/Inc/main.h
project\debug_log.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h
project\debug_log.o: ../Core/Inc/stm32f1xx_hal_conf.h
project\debug_log.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h
project\debug_log.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h
project\debug_log.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h
project\debug_log.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xb.h
project\debug_log.o: ../Drivers/CMSIS/Include/core_cm3.h
project\debug_log.o: ../Drivers/CMSIS/Include/cmsis_version.h
project\debug_log.o: ../Drivers/CMSIS/Include/cmsis_compiler.h
project\debug_log.o: ../Drivers/CMSIS/Include/cmsis_armcc.h
project\debug_log.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h
project\debug_log.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h
project\debug_log.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h
project\debug_log.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stddef.h
project\debug_log.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h
project\debug_log.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h
project\debug_log.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h
project\debug_log.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h
project\debug_log.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h
project\debug_log.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h
project\debug_log.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h
project\debug_log.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h
project\debug_log.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h
project\debug_log.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h
project\debug_log.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h
project\debug_log.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h
project\debug_log.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h
project\debug_log.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h

Binary file not shown.

BIN
MDK-ARM/project/dhcp.crf Normal file

Binary file not shown.

7
MDK-ARM/project/dhcp.d Normal file
View File

@ -0,0 +1,7 @@
project\dhcp.o: ..\User\ioLibrary_Driver\Internet\DHCP\dhcp.c
project\dhcp.o: ..\User\ioLibrary_Driver\Ethernet\socket.h
project\dhcp.o: ..\User\ioLibrary_Driver\Ethernet\wizchip_conf.h
project\dhcp.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h
project\dhcp.o: ..\User\ioLibrary_Driver\Ethernet\W5500/w5500.h
project\dhcp.o: ..\User\ioLibrary_Driver\Ethernet\wizchip_conf.h
project\dhcp.o: ..\User\ioLibrary_Driver\Internet\DHCP\dhcp.h

BIN
MDK-ARM/project/dhcp.o Normal file

Binary file not shown.

BIN
MDK-ARM/project/dns.crf Normal file

Binary file not shown.

9
MDK-ARM/project/dns.d Normal file
View File

@ -0,0 +1,9 @@
project\dns.o: ..\User\ioLibrary_Driver\Internet\DNS\dns.c
project\dns.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\string.h
project\dns.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdlib.h
project\dns.o: ../User/ioLibrary_Driver/Ethernet/socket.h
project\dns.o: ../User/ioLibrary_Driver/Ethernet/wizchip_conf.h
project\dns.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h
project\dns.o: ../User/ioLibrary_Driver/Ethernet/W5500/w5500.h
project\dns.o: ../User/ioLibrary_Driver/Ethernet/wizchip_conf.h
project\dns.o: ..\User\ioLibrary_Driver\Internet\DNS\dns.h

BIN
MDK-ARM/project/dns.o Normal file

Binary file not shown.

Binary file not shown.

View File

@ -27,6 +27,8 @@ project\gpio.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h
project\gpio.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h project\gpio.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h
project\gpio.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h project\gpio.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h
project\gpio.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h project\gpio.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h
project\gpio.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h
project\gpio.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h
project\gpio.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h project\gpio.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h
project\gpio.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdbool.h project\gpio.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdbool.h
project\gpio.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdio.h project\gpio.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdio.h

Binary file not shown.

Binary file not shown.

View File

@ -32,6 +32,9 @@ project\io_monitor.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h
project\io_monitor.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h project\io_monitor.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h
project\io_monitor.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h project\io_monitor.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h
project\io_monitor.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h project\io_monitor.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h
project\io_monitor.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h
project\io_monitor.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h
project\io_monitor.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h project\io_monitor.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h
project\io_monitor.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdio.h project\io_monitor.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdio.h
project\io_monitor.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\string.h project\io_monitor.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\string.h
project\io_monitor.o: ../Core/Inc/data_source.h

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,40 @@
project\loopback.o: ..\User\Loopback\loopback.c
project\loopback.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdio.h
project\loopback.o: ..\User\Loopback\loopback.h
project\loopback.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h
project\loopback.o: ..\User\ioLibrary_Driver\Ethernet\socket.h
project\loopback.o: ..\User\ioLibrary_Driver\Ethernet\wizchip_conf.h
project\loopback.o: ..\User\ioLibrary_Driver\Ethernet\W5500/w5500.h
project\loopback.o: ..\User\ioLibrary_Driver\Ethernet\wizchip_conf.h
project\loopback.o: ../Core/Inc/multi_uart_router.h
project\loopback.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdbool.h
project\loopback.o: ../Core/Inc/usart.h
project\loopback.o: ../Core/Inc/main.h
project\loopback.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h
project\loopback.o: ../Core/Inc/stm32f1xx_hal_conf.h
project\loopback.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h
project\loopback.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h
project\loopback.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h
project\loopback.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xb.h
project\loopback.o: ../Drivers/CMSIS/Include/core_cm3.h
project\loopback.o: ../Drivers/CMSIS/Include/cmsis_version.h
project\loopback.o: ../Drivers/CMSIS/Include/cmsis_compiler.h
project\loopback.o: ../Drivers/CMSIS/Include/cmsis_armcc.h
project\loopback.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h
project\loopback.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h
project\loopback.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h
project\loopback.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stddef.h
project\loopback.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h
project\loopback.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h
project\loopback.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h
project\loopback.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h
project\loopback.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h
project\loopback.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h
project\loopback.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h
project\loopback.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h
project\loopback.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h
project\loopback.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h
project\loopback.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h
project\loopback.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h
project\loopback.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h
project\loopback.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h

BIN
MDK-ARM/project/loopback.o Normal file

Binary file not shown.

Binary file not shown.

View File

Binary file not shown.

View File

@ -26,10 +26,13 @@ project\main.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h
project\main.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h project\main.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h
project\main.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h project\main.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h
project\main.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h project\main.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h
project\main.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h
project\main.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h
project\main.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h project\main.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h
project\main.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdbool.h project\main.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdbool.h
project\main.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdio.h project\main.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdio.h
project\main.o: ../Core/Inc/spi.h project\main.o: ../Core/Inc/spi.h
project\main.o: ../Core/Inc/tim.h
project\main.o: ../Core/Inc/usart.h project\main.o: ../Core/Inc/usart.h
project\main.o: ../Core/Inc/gpio.h project\main.o: ../Core/Inc/gpio.h
project\main.o: ../Driver_RF433/Inc/rf433.h project\main.o: ../Driver_RF433/Inc/rf433.h
@ -43,5 +46,12 @@ project\main.o: ../Core/Inc/relay_control.h
project\main.o: ../Core/Inc/multi_uart_router.h project\main.o: ../Core/Inc/multi_uart_router.h
project\main.o: ../Core/Inc/cmd_router.h project\main.o: ../Core/Inc/cmd_router.h
project\main.o: ../Core/Inc/debug_log.h project\main.o: ../Core/Inc/debug_log.h
project\main.o: ..\User\user_main\user_main.h
project\main.o: ..\User\ioLibrary_Driver\Ethernet\wizchip_conf.h
project\main.o: ..\User\ioLibrary_Driver\Ethernet\W5500/w5500.h
project\main.o: ..\User\ioLibrary_Driver\Ethernet\wizchip_conf.h
project\main.o: ..\User\wiz_platform\wiz_platform.h
project\main.o: ..\User\wiz_interface\wiz_interface.h
project\main.o: ..\User\Loopback\loopback.h
project\main.o: ../Core/Inc/rf433_tx_app.h project\main.o: ../Core/Inc/rf433_tx_app.h
project\main.o: ../Core/Inc/rf433_rx_app.h project\main.o: ../Core/Inc/rf433_rx_app.h

Binary file not shown.

View File

@ -29,6 +29,8 @@ project\multi_uart_router.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_f
project\multi_uart_router.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h project\multi_uart_router.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h
project\multi_uart_router.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h project\multi_uart_router.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h
project\multi_uart_router.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h project\multi_uart_router.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h
project\multi_uart_router.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h
project\multi_uart_router.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h
project\multi_uart_router.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h project\multi_uart_router.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h
project\multi_uart_router.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdio.h project\multi_uart_router.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdio.h
project\multi_uart_router.o: ../Core/Inc/uart2_print.h project\multi_uart_router.o: ../Core/Inc/uart2_print.h

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,8 @@
project\multicast.o: ..\User\ioLibrary_Driver\Application\multicast\multicast.c
project\multicast.o: ..\User\ioLibrary_Driver\Application\multicast\multicast.h
project\multicast.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h
project\multicast.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdio.h
project\multicast.o: ..\User\ioLibrary_Driver\Ethernet\socket.h
project\multicast.o: ..\User\ioLibrary_Driver\Ethernet\wizchip_conf.h
project\multicast.o: ..\User\ioLibrary_Driver\Ethernet\W5500/w5500.h
project\multicast.o: ..\User\ioLibrary_Driver\Ethernet\wizchip_conf.h

BIN
MDK-ARM/project/multicast.o Normal file

Binary file not shown.

Binary file not shown.

View File

@ -21,55 +21,60 @@ Target DLL: CMSIS_AGDI.dll V1.33.24.0
Dialog DLL: TCM.DLL V1.56.6.0 Dialog DLL: TCM.DLL V1.56.6.0
<h2>Project:</h2> <h2>Project:</h2>
C:\workfile\E32-433\software\E32-433TBH-SC\MDK-ARM\project.uvprojx C:\workfile\E32-433\software\TARGET_BOARD_E32-433TBH-SC\MDK-ARM\project.uvprojx
Project File Date: 03/27/2026 Project File Date: 05/05/2026
<h2>Output:</h2> <h2>Output:</h2>
*** Using Compiler 'V5.06 update 7 (build 960)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin' *** Using Compiler 'V5.06 update 7 (build 960)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin'
Rebuild target 'project' Rebuild target 'project'
assembling startup_stm32f103xb.s... assembling startup_stm32f103xb.s...
compiling systick.c...
compiling spi.c...
compiling rf433_rx_app.c...
..\Core\Src\rf433_rx_app.c(23): warning: #188-D: enumerated type mixed with another type
static rf433_rx_app_t g_rx_app = {0};
..\Core\Src\rf433_rx_app.c: 1 warning, 0 errors
compiling rf433_tx_app.c... compiling rf433_tx_app.c...
..\Core\Src\rf433_tx_app.c(28): warning: #188-D: enumerated type mixed with another type ..\Core\Src\rf433_tx_app.c(28): warning: #188-D: enumerated type mixed with another type
static rf433_tx_app_t g_tx_app = {0}; static rf433_tx_app_t g_tx_app = {0};
..\Core\Src\rf433_tx_app.c: 1 warning, 0 errors ..\Core\Src\rf433_tx_app.c: 1 warning, 0 errors
compiling usart.c...
compiling gpio.c... compiling gpio.c...
compiling spi.c...
compiling systick.c...
compiling main.c... compiling main.c...
../Core/Src/main.c(96): warning: #47-D: incompatible redefinition of macro "ETHERNET_BUF_MAX_SIZE" (declared at line 9 of "..\User\user_main\user_main.h")
#define ETHERNET_BUF_MAX_SIZE 2048
../Core/Src/main.c: 1 warning, 0 errors
compiling rf433_rx_app.c...
..\Core\Src\rf433_rx_app.c(23): warning: #188-D: enumerated type mixed with another type
static rf433_rx_app_t g_rx_app = {0};
..\Core\Src\rf433_rx_app.c: 1 warning, 0 errors
compiling cmd_parser.c... compiling cmd_parser.c...
compiling usart.c...
compiling uart2_print.c...
..\Core\Src\uart2_print.c(485): warning: #1-D: last line of file ends without a newline
#endif
..\Core\Src\uart2_print.c: 1 warning, 0 errors
compiling debug_log.c... compiling debug_log.c...
compiling stm32f1xx_it.c...
compiling io_monitor.c... compiling io_monitor.c...
../Core/Inc/data_source.h(8): warning: #1-D: last line of file ends without a newline
#endif /* __DATA_SOURCE_H */
..\Core\Src\io_monitor.c: 1 warning, 0 errors
compiling stm32f1xx_hal_msp.c...
compiling cmd_router.c... compiling cmd_router.c...
../Core/Inc/data_source.h(8): warning: #1-D: last line of file ends without a newline
#endif /* __DATA_SOURCE_H */
../Core/Inc/uart3_protocol_discriminator.h(150): warning: #1-D: last line of file ends without a newline ../Core/Inc/uart3_protocol_discriminator.h(150): warning: #1-D: last line of file ends without a newline
#endif #endif
../Core/Inc/uart3_passthrough.h(207): warning: #1-D: last line of file ends without a newline ../Core/Inc/uart3_passthrough.h(207): warning: #1-D: last line of file ends without a newline
#endif #endif
../Core/Inc/uart3_smart_router_config.h(143): warning: #1-D: last line of file ends without a newline ../Core/Inc/uart3_smart_router_config.h(143): warning: #1-D: last line of file ends without a newline
#endif #endif
..\Core\Src\cmd_router.c(284): warning: #188-D: enumerated type mixed with another type ..\Core\Src\cmd_router.c(286): warning: #188-D: enumerated type mixed with another type
for (port_id_t i = 0; i < PORT_COUNT; i++) { for (port_id_t i = 0; i < PORT_COUNT; i++) {
..\Core\Src\cmd_router.c(440): warning: #188-D: enumerated type mixed with another type ..\Core\Src\cmd_router.c(463): warning: #188-D: enumerated type mixed with another type
for (port_id_t port_id = 0; port_id < PORT_COUNT; port_id++) { for (port_id_t port_id = 0; port_id < PORT_COUNT; port_id++) {
..\Core\Src\cmd_router.c(531): warning: #188-D: enumerated type mixed with another type ..\Core\Src\cmd_router.c(554): warning: #188-D: enumerated type mixed with another type
for (port_id_t port = 0; port < PORT_COUNT; port++) { for (port_id_t port = 0; port < PORT_COUNT; port++) {
..\Core\Src\cmd_router.c(114): warning: #550-D: variable "g_current_parsing_port" was set but never used ..\Core\Src\cmd_router.c(116): warning: #550-D: variable "g_current_parsing_port" was set but never used
static uint8_t g_current_parsing_port = PORT_UART2; static uint8_t g_current_parsing_port = PORT_UART2;
..\Core\Src\cmd_router.c: 7 warnings, 0 errors ..\Core\Src\cmd_router.c: 8 warnings, 0 errors
compiling stm32f1xx_it.c... compiling relay_control.c...
compiling multi_uart_router.c...
..\Core\Src\multi_uart_router.c(273): warning: #188-D: enumerated type mixed with another type
for (port_id_t i = 0; i < PORT_COUNT; i++) {
..\Core\Src\multi_uart_router.c(354): warning: #188-D: enumerated type mixed with another type
for (port_id_t i = 0; i < PORT_COUNT; i++) {
..\Core\Src\multi_uart_router.c(158): warning: #177-D: function "rx_ring_pop" was declared but never referenced
static uint16_t rx_ring_pop(uart_rx_ring_t *ring, uint8_t *byte)
..\Core\Src\multi_uart_router.c: 3 warnings, 0 errors
compiling stm32f1xx_hal_msp.c...
compiling uart3_protocol_discriminator.c... compiling uart3_protocol_discriminator.c...
../Core/Inc/uart3_protocol_discriminator.h(150): warning: #1-D: last line of file ends without a newline ../Core/Inc/uart3_protocol_discriminator.h(150): warning: #1-D: last line of file ends without a newline
#endif #endif
@ -100,29 +105,48 @@ compiling uart3_protocol_discriminator.c...
..\Core\Src\uart3_protocol_discriminator.c(58): warning: #177-D: function "check_scan_timeout" was declared but never referenced ..\Core\Src\uart3_protocol_discriminator.c(58): warning: #177-D: function "check_scan_timeout" was declared but never referenced
static bool check_scan_timeout(uint32_t current_tick) static bool check_scan_timeout(uint32_t current_tick)
..\Core\Src\uart3_protocol_discriminator.c: 14 warnings, 0 errors ..\Core\Src\uart3_protocol_discriminator.c: 14 warnings, 0 errors
compiling relay_control.c... compiling stm32f1xx_hal_spi.c...
compiling uart2_print.c...
compiling stm32f1xx_hal_rcc_ex.c...
compiling stm32f1xx_hal_gpio_ex.c...
compiling stm32f1xx_hal.c... compiling stm32f1xx_hal.c...
compiling stm32f1xx_hal_gpio.c... compiling multi_uart_router.c...
..\Core\Src\multi_uart_router.c(273): warning: #188-D: enumerated type mixed with another type
for (port_id_t i = 0; i < PORT_COUNT; i++) {
..\Core\Src\multi_uart_router.c(354): warning: #188-D: enumerated type mixed with another type
for (port_id_t i = 0; i < PORT_COUNT; i++) {
..\Core\Src\multi_uart_router.c(158): warning: #177-D: function "rx_ring_pop" was declared but never referenced
static uint16_t rx_ring_pop(uart_rx_ring_t *ring, uint8_t *byte)
..\Core\Src\multi_uart_router.c: 3 warnings, 0 errors
compiling stm32f1xx_hal_gpio_ex.c...
compiling uart3_passthrough.c... compiling uart3_passthrough.c...
../Core/Inc/uart3_passthrough.h(207): warning: #1-D: last line of file ends without a newline ../Core/Inc/uart3_passthrough.h(207): warning: #1-D: last line of file ends without a newline
#endif #endif
../Core/Inc/uart3_smart_router_config.h(143): warning: #1-D: last line of file ends without a newline ../Core/Inc/uart3_smart_router_config.h(143): warning: #1-D: last line of file ends without a newline
#endif #endif
..\Core\Src\uart3_passthrough.c(269): warning: #1-D: last line of file ends without a newline ..\Core\Src\uart3_passthrough.c(273): warning: #1-D: last line of file ends without a newline
} }
..\Core\Src\uart3_passthrough.c: 3 warnings, 0 errors ..\Core\Src\uart3_passthrough.c: 3 warnings, 0 errors
compiling tim.c...
compiling stm32f1xx_hal_rcc.c... compiling stm32f1xx_hal_rcc.c...
compiling stm32f1xx_hal_spi.c... compiling stm32f1xx_hal_rcc_ex.c...
compiling stm32f1xx_hal_flash_ex.c...
compiling stm32f1xx_hal_tim.c...
compiling stm32f1xx_hal_cortex.c... compiling stm32f1xx_hal_cortex.c...
compiling stm32f1xx_hal_flash.c... compiling stm32f1xx_hal_flash.c...
compiling stm32f1xx_hal_exti.c...
compiling stm32f1xx_hal_pwr.c... compiling stm32f1xx_hal_pwr.c...
compiling stm32f1xx_hal_dma.c... compiling stm32f1xx_hal_dma.c...
compiling stm32f1xx_hal_flash_ex.c...
compiling stm32f1xx_hal_gpio.c...
compiling stm32f1xx_hal_exti.c...
compiling stm32f1xx_hal_tim_ex.c...
compiling stm32f1xx_hal_tim.c...
compiling user_main.c...
compiling wiz_interface.c...
..\User\wiz_interface\wiz_interface.c(201): warning: #870-D: invalid multibyte character sequence
printf(" -> [WIZ] 硬件复位通过<EFBC81><E8AFB4>? TIM2 定时器工作完全正常!\r\n");
..\User\wiz_interface\wiz_interface.c: 1 warning, 0 errors
compiling multicast.c...
compiling w5500.c...
compiling socket.c...
compiling stm32f1xx_hal_uart.c...
compiling wizchip_conf.c...
compiling dhcp.c...
compiling system_stm32f1xx.c... compiling system_stm32f1xx.c...
compiling rf433.c... compiling rf433.c...
..\Driver_RF433\Src\rf433.c(209): warning: #188-D: enumerated type mixed with another type ..\Driver_RF433\Src\rf433.c(209): warning: #188-D: enumerated type mixed with another type
@ -135,12 +159,17 @@ compiling rf433.c...
static bool rf433_response_command_check(rf433_request_cmd_t cmd, uint8_t *buffer, uint8_t length) static bool rf433_response_command_check(rf433_request_cmd_t cmd, uint8_t *buffer, uint8_t length)
..\Driver_RF433\Src\rf433.c: 4 warnings, 0 errors ..\Driver_RF433\Src\rf433.c: 4 warnings, 0 errors
compiling rf433_hal.c... compiling rf433_hal.c...
compiling stm32f1xx_hal_tim_ex.c... compiling wiz_platform.c...
compiling stm32f1xx_hal_uart.c... compiling loopback.c...
..\User\Loopback\loopback.c(249): warning: #9-D: nested comment is not allowed
/* 只在数据前加一<E58AA0><E4B880>? [NET] 标识,直接透传 */
..\User\Loopback\loopback.c(256): warning: #223-D: function "memcpy" declared implicitly
memcpy(tx_buf + tag_len, buf, size);
..\User\Loopback\loopback.c: 2 warnings, 0 errors
linking... linking...
Program Size: Code=23672 RO-data=572 RW-data=192 ZI-data=6520 Program Size: Code=32896 RO-data=936 RW-data=392 ZI-data=9480
FromELF: creating hex file... FromELF: creating hex file...
"project\project.axf" - 0 Error(s), 33 Warning(s). "project\project.axf" - 0 Error(s), 40 Warning(s).
<h2>Software Packages used:</h2> <h2>Software Packages used:</h2>
@ -164,7 +193,7 @@ Package Vendor: Keil
* Component: ARM::CMSIS:CORE@6.1.1 * Component: ARM::CMSIS:CORE@6.1.1
Include file: CMSIS/Core/Include/tz_context.h Include file: CMSIS/Core/Include/tz_context.h
Build Time Elapsed: 00:00:17 Build Time Elapsed: 00:00:22
</pre> </pre>
</body> </body>
</html> </html>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -18,6 +18,7 @@
"project\multi_uart_router.o" "project\multi_uart_router.o"
"project\uart3_passthrough.o" "project\uart3_passthrough.o"
"project\uart3_protocol_discriminator.o" "project\uart3_protocol_discriminator.o"
"project\tim.o"
"project\stm32f1xx_hal_gpio_ex.o" "project\stm32f1xx_hal_gpio_ex.o"
"project\stm32f1xx_hal_spi.o" "project\stm32f1xx_hal_spi.o"
"project\stm32f1xx_hal.o" "project\stm32f1xx_hal.o"
@ -36,6 +37,15 @@
"project\system_stm32f1xx.o" "project\system_stm32f1xx.o"
"project\rf433.o" "project\rf433.o"
"project\rf433_hal.o" "project\rf433_hal.o"
"project\wiz_platform.o"
"project\wiz_interface.o"
"project\user_main.o"
"project\loopback.o"
"project\multicast.o"
"project\w5500.o"
"project\socket.o"
"project\wizchip_conf.o"
"project\dhcp.o"
--library_type=microlib --strict --scatter "project\project.sct" --library_type=microlib --strict --scatter "project\project.sct"
--summary_stderr --info summarysizes --map --load_addr_map_info --xref --callgraph --symbols --summary_stderr --info summarysizes --map --load_addr_map_info --xref --callgraph --symbols
--info sizes --info totals --info unused --info veneers --info sizes --info totals --info unused --info veneers

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

Binary file not shown.

View File

@ -30,5 +30,7 @@ project\relay_control.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash
project\relay_control.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h project\relay_control.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h
project\relay_control.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h project\relay_control.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h
project\relay_control.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h project\relay_control.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h
project\relay_control.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h
project\relay_control.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h
project\relay_control.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h project\relay_control.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h
project\relay_control.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdio.h project\relay_control.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdio.h

Binary file not shown.

Binary file not shown.

View File

@ -31,4 +31,6 @@ project\rf433.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h
project\rf433.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h project\rf433.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h
project\rf433.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h project\rf433.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h
project\rf433.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h project\rf433.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h
project\rf433.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h
project\rf433.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h
project\rf433.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h project\rf433.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h

Binary file not shown.

Binary file not shown.

View File

@ -28,6 +28,8 @@ project\rf433_hal.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h
project\rf433_hal.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h project\rf433_hal.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h
project\rf433_hal.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h project\rf433_hal.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h
project\rf433_hal.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h project\rf433_hal.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h
project\rf433_hal.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h
project\rf433_hal.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h
project\rf433_hal.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h project\rf433_hal.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h
project\rf433_hal.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdio.h project\rf433_hal.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdio.h
project\rf433_hal.o: ../Core/Inc/gpio.h project\rf433_hal.o: ../Core/Inc/gpio.h

Binary file not shown.

Binary file not shown.

View File

@ -31,6 +31,8 @@ project\rf433_rx_app.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.
project\rf433_rx_app.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h project\rf433_rx_app.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h
project\rf433_rx_app.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h project\rf433_rx_app.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h
project\rf433_rx_app.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h project\rf433_rx_app.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h
project\rf433_rx_app.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h
project\rf433_rx_app.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h
project\rf433_rx_app.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h project\rf433_rx_app.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h
project\rf433_rx_app.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdio.h project\rf433_rx_app.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdio.h
project\rf433_rx_app.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\string.h project\rf433_rx_app.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\string.h

Binary file not shown.

Binary file not shown.

View File

@ -31,6 +31,8 @@ project\rf433_tx_app.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.
project\rf433_tx_app.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h project\rf433_tx_app.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h
project\rf433_tx_app.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h project\rf433_tx_app.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h
project\rf433_tx_app.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h project\rf433_tx_app.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h
project\rf433_tx_app.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h
project\rf433_tx_app.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h
project\rf433_tx_app.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h project\rf433_tx_app.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h
project\rf433_tx_app.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdio.h project\rf433_tx_app.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdio.h
project\rf433_tx_app.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\string.h project\rf433_tx_app.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\string.h

Binary file not shown.

BIN
MDK-ARM/project/socket.crf Normal file

Binary file not shown.

6
MDK-ARM/project/socket.d Normal file
View File

@ -0,0 +1,6 @@
project\socket.o: ..\User\ioLibrary_Driver\Ethernet\socket.c
project\socket.o: ..\User\ioLibrary_Driver\Ethernet\socket.h
project\socket.o: ..\User\ioLibrary_Driver\Ethernet\wizchip_conf.h
project\socket.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h
project\socket.o: ..\User\ioLibrary_Driver\Ethernet\W5500/w5500.h
project\socket.o: ..\User\ioLibrary_Driver\Ethernet\wizchip_conf.h

BIN
MDK-ARM/project/socket.o Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -27,6 +27,8 @@ project\spi.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h
project\spi.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h project\spi.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h
project\spi.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h project\spi.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h
project\spi.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h project\spi.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h
project\spi.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h
project\spi.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h
project\spi.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h project\spi.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h
project\spi.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdbool.h project\spi.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdbool.h
project\spi.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdio.h project\spi.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdio.h

Binary file not shown.

Binary file not shown.

View File

@ -25,4 +25,6 @@ project\stm32f1xx_hal.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash
project\stm32f1xx_hal.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h project\stm32f1xx_hal.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h
project\stm32f1xx_hal.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h project\stm32f1xx_hal.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h
project\stm32f1xx_hal.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h project\stm32f1xx_hal.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h
project\stm32f1xx_hal.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h
project\stm32f1xx_hal.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h
project\stm32f1xx_hal.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h project\stm32f1xx_hal.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h

Binary file not shown.

View File

@ -25,4 +25,6 @@ project\stm32f1xx_hal_cortex.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ha
project\stm32f1xx_hal_cortex.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h project\stm32f1xx_hal_cortex.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h
project\stm32f1xx_hal_cortex.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h project\stm32f1xx_hal_cortex.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h
project\stm32f1xx_hal_cortex.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h project\stm32f1xx_hal_cortex.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h
project\stm32f1xx_hal_cortex.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h
project\stm32f1xx_hal_cortex.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h
project\stm32f1xx_hal_cortex.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h project\stm32f1xx_hal_cortex.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h

View File

@ -25,4 +25,6 @@ project\stm32f1xx_hal_dma.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_f
project\stm32f1xx_hal_dma.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h project\stm32f1xx_hal_dma.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h
project\stm32f1xx_hal_dma.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h project\stm32f1xx_hal_dma.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h
project\stm32f1xx_hal_dma.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h project\stm32f1xx_hal_dma.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h
project\stm32f1xx_hal_dma.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h
project\stm32f1xx_hal_dma.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h
project\stm32f1xx_hal_dma.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h project\stm32f1xx_hal_dma.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h

Binary file not shown.

View File

@ -25,4 +25,6 @@ project\stm32f1xx_hal_exti.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_
project\stm32f1xx_hal_exti.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h project\stm32f1xx_hal_exti.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h
project\stm32f1xx_hal_exti.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h project\stm32f1xx_hal_exti.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h
project\stm32f1xx_hal_exti.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h project\stm32f1xx_hal_exti.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h
project\stm32f1xx_hal_exti.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h
project\stm32f1xx_hal_exti.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h
project\stm32f1xx_hal_exti.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h project\stm32f1xx_hal_exti.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More