Compare commits
20 Commits
0eea5c1424
...
v2026.05.2
| Author | SHA1 | Date | |
|---|---|---|---|
| 9a4fb66b51 | |||
| f56367b9b3 | |||
| d2c3c6c8cb | |||
| 984be481c9 | |||
| 5318c35d37 | |||
|
|
0bc39b7944 | ||
|
|
7171f11534 | ||
|
|
aed62f7bb4 | ||
|
|
485fb32a72 | ||
|
|
ee67076ec7 | ||
| 6e2b13dbb3 | |||
| 6c56fe8a60 | |||
|
|
878379f101 | ||
| de67b86952 | |||
| 3b86e38f48 | |||
| d8cdd4c5f7 | |||
| 621fa4e71c | |||
| c9989b3e6a | |||
| f05c3106f1 | |||
| 61530dccec |
12
.gitignore
vendored
Normal file
12
.gitignore
vendored
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
*.o
|
||||||
|
*.obj
|
||||||
|
*.axf
|
||||||
|
*.hex
|
||||||
|
*.htm
|
||||||
|
*.map
|
||||||
|
*.dep
|
||||||
|
*.crf
|
||||||
|
*.uvguix.*
|
||||||
|
*.uvoptx
|
||||||
|
*.d
|
||||||
|
.build_log.htm
|
||||||
26
.mxproject
26
.mxproject
File diff suppressed because one or more lines are too long
8
Core/Inc/data_source.h
Normal file
8
Core/Inc/data_source.h
Normal 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 */
|
||||||
@@ -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,72 @@ extern "C" {
|
|||||||
/* Exported macro ------------------------------------------------------------*/
|
/* Exported macro ------------------------------------------------------------*/
|
||||||
/* USER CODE BEGIN EM */
|
/* USER CODE BEGIN EM */
|
||||||
|
|
||||||
|
// 基准年份
|
||||||
|
#define XTELL_BASE_YEAR 2026
|
||||||
|
/**
|
||||||
|
* 宏定义:3-4-5-4 固件版本编码
|
||||||
|
* y: Year (2026-2033)
|
||||||
|
* m: Month (1-12)
|
||||||
|
* d: Day (1-31)
|
||||||
|
* b: Build (0-15)
|
||||||
|
*/
|
||||||
|
#define MAKE_XTELL_CODE(y, m, d, b) ( \
|
||||||
|
((( (y) - XTELL_BASE_YEAR ) & 0x07) << 13) | \
|
||||||
|
(((m) & 0x0F) << 9) | \
|
||||||
|
(((d) & 0x1F) << 4) | \
|
||||||
|
(((b) & 0x0F) << 0) \
|
||||||
|
)
|
||||||
|
|
||||||
|
// 举例:2026年3月19日,第10次编译 (b=9)
|
||||||
|
// 计算过程: (0 << 13) | (3 << 9) | (19 << 4) | 9 = 0x0600 | 0x0130 | 0x0009
|
||||||
|
#define XTELL_FIRMWARE_CODE MAKE_XTELL_CODE(2026, 5, 28, 1)
|
||||||
|
// ---- - -- -
|
||||||
|
// | | | |
|
||||||
|
// | | | 编译次数
|
||||||
|
// | | 日
|
||||||
|
// | 月
|
||||||
|
// 年
|
||||||
|
|
||||||
|
#ifndef HEARTBEAT_PACKET
|
||||||
|
#define HEARTBEAT_PACKET 1 /* 启用心跳包上报 */
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef USE_W5500
|
||||||
|
#define USE_W5500 1 /* 默认启用W5500以太网模块 */
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef USE_RS485
|
||||||
|
#define USE_RS485 1 /* 默认启用RS485通信模块 */
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef USE_IO_MONITOR
|
||||||
|
#define USE_IO_MONITOR 1 /* 启用IO监控与心跳上报 */
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* =========================================================
|
||||||
|
🚀 核心协议常量定义 (RF433)
|
||||||
|
========================================================= */
|
||||||
|
#define PROTO_START_BYTE 0xAA
|
||||||
|
#define PROTO_TYPE_IO 0x10
|
||||||
|
#define PROTO_TYPE_NET 0x55
|
||||||
|
#define PROTO_TYPE_485 0x48
|
||||||
|
#define PROTO_TYPE_MODBUS_RTU 0x4D
|
||||||
|
#define PROTO_TYPE_HB 0xAA
|
||||||
|
|
||||||
|
/* =========================================================
|
||||||
|
🚀 核心身份标识:烧录不同设备时,请务必修改这个数字!
|
||||||
|
比如:设备A烧录时改为 0x01,设备B烧录时改为 0x02
|
||||||
|
========================================================= */
|
||||||
|
#define MY_DEVICE_ID 105
|
||||||
|
|
||||||
|
/* =========================================================
|
||||||
|
🚀 开发调试开关
|
||||||
|
TEST_A701:
|
||||||
|
- 1: 测试环境 (A701室/本地测试),使用 192.168.6.x 网段
|
||||||
|
- 0: 生产环境 (实船/现场部署),使用 192.168.0.x 网段
|
||||||
|
========================================================= */
|
||||||
|
#define TEST_A701 0
|
||||||
|
|
||||||
/* USER CODE END EM */
|
/* USER CODE END EM */
|
||||||
|
|
||||||
/* Exported functions prototypes ---------------------------------------------*/
|
/* Exported functions prototypes ---------------------------------------------*/
|
||||||
|
|||||||
143
Core/Inc/modbus_rtu_master.h
Normal file
143
Core/Inc/modbus_rtu_master.h
Normal file
@@ -0,0 +1,143 @@
|
|||||||
|
/**
|
||||||
|
******************************************************************************
|
||||||
|
* @file modbus_rtu_master.h
|
||||||
|
* @brief Modbus RTU Master 模块头文件
|
||||||
|
* @note 本模块通过 RS485 (UART3) 以 Modbus RTU 协议轮询 Noris AMS 从站设备,
|
||||||
|
* 读取寄存器 41161 (偏移地址 1160) 中的报警状态,
|
||||||
|
* 提取 Bit4-7 (火灾/水密门/舱底水/气体检测) 映射为紧凑报警字节。
|
||||||
|
*
|
||||||
|
* 报警状态供 main.c 中的两种上报机制使用:
|
||||||
|
* 1. 变化通知 (Type 0x10): 报警状态变化时,通过 PROTO_TYPE_IO 上报,
|
||||||
|
* 格式与原 DI 变化通知完全一致,上位机代码无需修改。
|
||||||
|
* 2. 心跳包 (Type 0xAA): 每 30 秒定时上报当前报警状态。
|
||||||
|
*
|
||||||
|
* @version 1.1
|
||||||
|
******************************************************************************
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef __MODBUS_RTU_MASTER_H
|
||||||
|
#define __MODBUS_RTU_MASTER_H
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include "stm32f1xx_hal.h"
|
||||||
|
|
||||||
|
/* ================================================================
|
||||||
|
* Modbus RTU 通信参数配置
|
||||||
|
* 修改以下宏定义可适配不同的从站设备和通信需求
|
||||||
|
* ================================================================ */
|
||||||
|
|
||||||
|
/** 从站设备地址 (Noris AMS 默认地址 = 1) */
|
||||||
|
#define MODBUS_RTU_SLAVE_ADDR 1
|
||||||
|
|
||||||
|
/** 目标寄存器偏移地址 (1160 对应 Noris 协议中的寄存器 41161) */
|
||||||
|
#define MODBUS_RTU_TARGET_REG 1160
|
||||||
|
|
||||||
|
/** 单次读取的寄存器数量 (当前只读取 1 个报警寄存器) */
|
||||||
|
#define MODBUS_RTU_REG_QTY 1
|
||||||
|
|
||||||
|
/** 轮询间隔 (毫秒),每隔此时间发送一次 Read Holding Registers 请求 */
|
||||||
|
#define MODBUS_RTU_POLL_INTERVAL 1000
|
||||||
|
|
||||||
|
/** 响应超时 (毫秒),发送请求后等待从站响应的最长时间,超时则丢弃本次轮询 */
|
||||||
|
#define MODBUS_RTU_RESP_TIMEOUT 500
|
||||||
|
|
||||||
|
/** 帧内字符间隔超时 (毫秒),接收过程中两个相邻字节的最大间隔时间,
|
||||||
|
* 超过此时间认为一帧数据接收完成 */
|
||||||
|
#define MODBUS_RTU_INTER_CHAR_TIMEOUT 10
|
||||||
|
|
||||||
|
/** 发送回波屏蔽时间 (毫秒),UART3 发送后屏蔽自身回波的时间窗口,
|
||||||
|
* 防止将自身发送的数据误判为从站响应 */
|
||||||
|
#define MODBUS_RTU_TX_ECHO_MARGIN 10
|
||||||
|
|
||||||
|
/* ================================================================
|
||||||
|
* Noris AMS 报警位提取宏
|
||||||
|
* 从 16 位寄存器值中提取各个报警标志位
|
||||||
|
*
|
||||||
|
* 寄存器 41161 的位布局:
|
||||||
|
* Bit4: 火灾综合报警 (Fire)
|
||||||
|
* Bit5: 水密门综合报警 (Door)
|
||||||
|
* Bit6: 舱底水综合报警 (Bilge)
|
||||||
|
* Bit7: 气体检测综合报警 (Gas)
|
||||||
|
*
|
||||||
|
* 提取后映射到紧凑报警字节:
|
||||||
|
* Bit0 ← Bit4 (火灾)
|
||||||
|
* Bit1 ← Bit5 (水密门)
|
||||||
|
* Bit2 ← Bit6 (舱底水)
|
||||||
|
* Bit3 ← Bit7 (气体检测)
|
||||||
|
* ================================================================ */
|
||||||
|
|
||||||
|
/** 提取火灾综合报警 (寄存器 Bit4) */
|
||||||
|
#define NORIS_FIRE_ALARM(reg) (((reg) >> 4) & 0x01)
|
||||||
|
|
||||||
|
/** 提取水密门综合报警 (寄存器 Bit5) */
|
||||||
|
#define NORIS_DOOR_ALARM(reg) (((reg) >> 5) & 0x01)
|
||||||
|
|
||||||
|
/** 提取舱底水综合报警 (寄存器 Bit6) */
|
||||||
|
#define NORIS_BILGE_ALARM(reg) (((reg) >> 6) & 0x01)
|
||||||
|
|
||||||
|
/** 提取气体检测综合报警 (寄存器 Bit7) */
|
||||||
|
#define NORIS_GAS_ALARM(reg) (((reg) >> 7) & 0x01)
|
||||||
|
|
||||||
|
/* ================================================================
|
||||||
|
* 接收缓冲区配置
|
||||||
|
* ================================================================ */
|
||||||
|
|
||||||
|
/** Modbus RTU 接收缓冲区最大长度 (字节),
|
||||||
|
* 正常响应帧为 7 字节,64 字节足够容纳各种响应 */
|
||||||
|
#define MODBUS_RTU_MAX_RX_BUF 64
|
||||||
|
|
||||||
|
/* ================================================================
|
||||||
|
* 公共函数接口
|
||||||
|
* ================================================================ */
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Modbus RTU Master 模块初始化
|
||||||
|
* @note 在系统启动时调用,将状态机重置为 IDLE 状态,
|
||||||
|
* 清空接收缓冲区和报警状态变量
|
||||||
|
* @retval 无
|
||||||
|
*/
|
||||||
|
void ModbusRTU_Master_Init(void);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Modbus RTU Master 主任务函数
|
||||||
|
* @note 在主循环中周期性调用,实现状态机驱动的轮询逻辑:
|
||||||
|
* IDLE → WAIT_POLL → WAIT_RESPONSE → PROCESS → IDLE
|
||||||
|
*
|
||||||
|
* 状态说明:
|
||||||
|
* - IDLE: 等待轮询间隔到达 (1000ms)
|
||||||
|
* - WAIT_POLL: 发送 Modbus RTU 请求帧
|
||||||
|
* - WAIT_RESPONSE: 等待从站响应或超时
|
||||||
|
* - PROCESS: 解析响应帧,提取寄存器值和报警位
|
||||||
|
*
|
||||||
|
* @retval 无
|
||||||
|
*/
|
||||||
|
void ModbusRTU_Master_Task(void);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief 向 Modbus RTU 接收缓冲区送入一个字节
|
||||||
|
* @note 在 UART3 接收中断回调中调用 (HAL_UART_RxCpltCallback),
|
||||||
|
* 仅在 WAIT_RESPONSE 状态且不在回波屏蔽期内才接收数据
|
||||||
|
* @param byte: 从 UART3 接收到的原始字节
|
||||||
|
* @retval 无
|
||||||
|
*/
|
||||||
|
void ModbusRTU_FeedRxByte(uint8_t byte);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief 获取当前 Modbus RTU 报警状态
|
||||||
|
* @note 返回紧凑报警字节,位定义如下:
|
||||||
|
* Bit0: 火灾报警
|
||||||
|
* Bit1: 水密门报警
|
||||||
|
* Bit2: 舱底水报警
|
||||||
|
* Bit3: 气体检测报警
|
||||||
|
* @retval 报警状态字节 (uint8_t)
|
||||||
|
*/
|
||||||
|
uint8_t ModbusRTU_GetAlarmState(void);
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif
|
||||||
55
Core/Inc/modbus_tcp_client.h
Normal file
55
Core/Inc/modbus_tcp_client.h
Normal file
@@ -0,0 +1,55 @@
|
|||||||
|
/**
|
||||||
|
******************************************************************************
|
||||||
|
* @file modbus_tcp_client.h
|
||||||
|
* @brief Modbus TCP 客户端模块头文件 (基于 W5500)
|
||||||
|
******************************************************************************
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef __MODBUS_TCP_CLIENT_H
|
||||||
|
#define __MODBUS_TCP_CLIENT_H
|
||||||
|
|
||||||
|
#include <stdint.h>
|
||||||
|
#include <stdbool.h>
|
||||||
|
#include "main.h"
|
||||||
|
|
||||||
|
/* Modbus TCP 配置 */
|
||||||
|
#if TEST_A701
|
||||||
|
#define MODBUS_SERVER_IP {192, 168, 6, 156} /* A701 测试服务器 */
|
||||||
|
#else
|
||||||
|
#define MODBUS_SERVER_IP {192, 168, 0, 1} /* 现场生产服务器 */
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#define MODBUS_SERVER_PORT 502
|
||||||
|
#define MODBUS_UNIT_ID 1
|
||||||
|
#define MODBUS_POLL_INTERVAL 2000 /* 轮询间隔 (ms) */
|
||||||
|
|
||||||
|
/* 寄存器定义 */
|
||||||
|
#define TARGET_REG_ADDR 30 /* 逻辑 40031 */
|
||||||
|
|
||||||
|
/* 客户端状态枚举 */
|
||||||
|
typedef enum {
|
||||||
|
MODBUS_STATE_IDLE,
|
||||||
|
MODBUS_STATE_CONNECTING,
|
||||||
|
MODBUS_STATE_SEND_QUERY,
|
||||||
|
MODBUS_STATE_WAIT_RESPONSE,
|
||||||
|
MODBUS_STATE_ERROR_RETRY
|
||||||
|
} modbus_client_state_t;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief 初始化 Modbus TCP 客户端
|
||||||
|
* @param sn: W5500 Socket 编号
|
||||||
|
*/
|
||||||
|
void ModbusTCP_Client_Init(uint8_t sn);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Modbus TCP 客户端任务处理 (主循环调用)
|
||||||
|
*/
|
||||||
|
void ModbusTCP_Client_Task(void);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief 获取最新成功读取的 Modbus 寄存器值
|
||||||
|
* @retval 16位寄存器值 (未读到时默认返回 0xFFFF)
|
||||||
|
*/
|
||||||
|
uint16_t ModbusTCP_Get_LastRegVal(void);
|
||||||
|
|
||||||
|
#endif
|
||||||
@@ -31,9 +31,9 @@ extern "C" {
|
|||||||
#define UART_TX_BUFFER_SIZE 256
|
#define UART_TX_BUFFER_SIZE 256
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
PORT_UART1 = 0,
|
PORT_433 = 0, /* UART1 */
|
||||||
PORT_UART2 = 1,
|
PORT_DEBUG = 1, /* UART2 */
|
||||||
PORT_UART3 = 2,
|
PORT_RS485 = 2, /* UART3 */
|
||||||
PORT_COUNT
|
PORT_COUNT
|
||||||
} port_id_t;
|
} port_id_t;
|
||||||
|
|
||||||
@@ -64,6 +64,8 @@ typedef struct {
|
|||||||
uint32_t tx_count;
|
uint32_t tx_count;
|
||||||
uint32_t error_count;
|
uint32_t error_count;
|
||||||
bool initialized;
|
bool initialized;
|
||||||
|
volatile bool csma_backoff_active;
|
||||||
|
volatile uint32_t csma_backoff_until;
|
||||||
} uart_port_context_t;
|
} uart_port_context_t;
|
||||||
|
|
||||||
void MultiUART_Init(void);
|
void MultiUART_Init(void);
|
||||||
@@ -89,6 +91,7 @@ uint16_t MultiUART_ReadByte(port_id_t port_id, uint8_t *byte);
|
|||||||
uint16_t MultiUART_GetTxAvailable(port_id_t port_id);
|
uint16_t MultiUART_GetTxAvailable(port_id_t port_id);
|
||||||
|
|
||||||
uint32_t MultiUART_GetOverflowCount(port_id_t port_id);
|
uint32_t MultiUART_GetOverflowCount(port_id_t port_id);
|
||||||
|
bool MultiUART_IsBusy(uint8_t port_id);
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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 */
|
||||||
|
|||||||
@@ -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
54
Core/Inc/tim.h
Normal 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__ */
|
||||||
|
|
||||||
@@ -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打印模块
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -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]"方便过滤 */
|
||||||
|
|||||||
@@ -27,8 +27,7 @@
|
|||||||
#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 "uart3_protocol_discriminator.h"
|
#include "data_source.h"
|
||||||
#include "uart3_passthrough.h"
|
|
||||||
#include "uart3_smart_router_config.h"
|
#include "uart3_smart_router_config.h"
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
@@ -36,7 +35,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]"方便过滤 */
|
||||||
@@ -111,7 +110,7 @@ static uint32_t g_routed_count = 0;
|
|||||||
* @brief 当前正在解析的端口ID
|
* @brief 当前正在解析的端口ID
|
||||||
* @note 用于在多端口环境下跟踪当前处理哪个端口的数据
|
* @note 用于在多端口环境下跟踪当前处理哪个端口的数据
|
||||||
*/
|
*/
|
||||||
static uint8_t g_current_parsing_port = PORT_UART2;
|
static uint8_t g_current_parsing_port = PORT_DEBUG;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief 接收原始字节日志缓冲区
|
* @brief 接收原始字节日志缓冲区
|
||||||
@@ -273,7 +272,7 @@ static void cmd_parser_response_callback(uint8_t source_port, const char *respon
|
|||||||
* 1. 重置所有端口的解析状态
|
* 1. 重置所有端口的解析状态
|
||||||
* 2. 清零所有日志缓冲区
|
* 2. 清零所有日志缓冲区
|
||||||
* 3. 重置统计计数器
|
* 3. 重置统计计数器
|
||||||
* 4. 设置默认解析端口为PORT_UART2
|
* 4. 设置默认解析端口为PORT_DEBUG
|
||||||
* 5. 注册响应回调函数到解析器
|
* 5. 注册响应回调函数到解析器
|
||||||
*/
|
*/
|
||||||
void CmdRouter_Init(void)
|
void CmdRouter_Init(void)
|
||||||
@@ -297,7 +296,7 @@ void CmdRouter_Init(void)
|
|||||||
g_response_handler = NULL;
|
g_response_handler = NULL;
|
||||||
g_processed_count = 0;
|
g_processed_count = 0;
|
||||||
g_routed_count = 0;
|
g_routed_count = 0;
|
||||||
g_current_parsing_port = PORT_UART2;
|
g_current_parsing_port = PORT_DEBUG;
|
||||||
|
|
||||||
/*----------------------------------------------------------
|
/*----------------------------------------------------------
|
||||||
* 注册响应回调函数
|
* 注册响应回调函数
|
||||||
@@ -346,7 +345,7 @@ void CmdRouter_Task(void)
|
|||||||
* 第一阶段:UART1处理(保持原有逻辑)
|
* 第一阶段:UART1处理(保持原有逻辑)
|
||||||
*----------------------------------------------------------*/
|
*----------------------------------------------------------*/
|
||||||
{
|
{
|
||||||
port_id_t port_id = PORT_UART1;
|
port_id_t port_id = PORT_433;
|
||||||
|
|
||||||
uint16_t rx_count = MultiUART_GetRxCount(port_id);
|
uint16_t rx_count = MultiUART_GetRxCount(port_id);
|
||||||
|
|
||||||
@@ -375,18 +374,20 @@ 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_RS485, &byte) > 0) {
|
||||||
route_result_t route = UART3_Protocol_FeedByte(byte, current_tick);
|
route_result_t route = UART3_Protocol_FeedByte(byte, current_tick);
|
||||||
switch (route) {
|
switch (route) {
|
||||||
case ROUTE_CMD:
|
case ROUTE_CMD:
|
||||||
CmdParser_SetSourcePort(PORT_UART3);
|
CmdParser_SetSourcePort(PORT_RS485);
|
||||||
CmdParser_FeedByte(byte, current_tick);
|
CmdParser_FeedByte(byte, current_tick);
|
||||||
LOG_DEBUG("UART3", "CMD byte: 0x%02X", byte);
|
LOG_DEBUG("UART3", "CMD byte: 0x%02X", byte);
|
||||||
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 +398,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_433, msg);
|
||||||
|
LOG_INFO("UART3", "PASSTHROUGH: %d bytes sent as ASCII message", (int)length);
|
||||||
|
} else {
|
||||||
|
LOG_DEBUG("UART3", "No passthrough data");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -409,7 +430,7 @@ void CmdRouter_Task(void)
|
|||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
{
|
{
|
||||||
port_id_t port_id = PORT_UART3;
|
port_id_t port_id = PORT_RS485;
|
||||||
|
|
||||||
uint16_t rx_count = MultiUART_GetRxCount(port_id);
|
uint16_t rx_count = MultiUART_GetRxCount(port_id);
|
||||||
|
|
||||||
@@ -437,7 +458,7 @@ void CmdRouter_Task(void)
|
|||||||
* 第三阶段:检查各端口日志缓冲区的超时状态
|
* 第三阶段:检查各端口日志缓冲区的超时状态
|
||||||
*----------------------------------------------------------*/
|
*----------------------------------------------------------*/
|
||||||
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++) {
|
||||||
if (port_id == PORT_UART2) {
|
if (port_id == PORT_DEBUG) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -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_RS485, (const uint8_t *)buffer, len); /* 增加:同时将日志发给 RS485 */
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|
||||||
/*==============================================================================
|
/*==============================================================================
|
||||||
* 调试宏定义
|
* 调试宏定义
|
||||||
@@ -195,31 +196,28 @@ static void send_di_event(uint8_t channel, uint8_t state)
|
|||||||
char msg[32];
|
char msg[32];
|
||||||
uint8_t cs;
|
uint8_t cs;
|
||||||
|
|
||||||
/* 构造消息主体,channel+1将0-base转换为1-base的用户可见编号 */
|
int len = snprintf(msg, sizeof(msg), "$DI_EVENT,%d,%d,%d*", channel + 1, state, SOURCE_DI);
|
||||||
int len = snprintf(msg, sizeof(msg), "$DI_EVENT,%d,%d*", channel + 1, state);
|
|
||||||
|
|
||||||
/* 计算异或校验和,跳过'$'符号只对正文部分计算 */
|
|
||||||
cs = calc_checksum(msg + 1, len - 1);
|
cs = calc_checksum(msg + 1, len - 1);
|
||||||
|
|
||||||
/* 将校验和追加到消息末尾,格式为两位十六进制数 */
|
|
||||||
snprintf(msg + len, sizeof(msg) - len, "%02X\r\n", cs);
|
snprintf(msg + len, sizeof(msg) - len, "%02X\r\n", cs);
|
||||||
|
|
||||||
/* 输出调试日志到UART2,记录状态变化 */
|
|
||||||
DEBUG_LOG("CH%d -> %s", channel + 1, state ? "HIGH" : "LOW");
|
DEBUG_LOG("CH%d -> %s", channel + 1, state ? "HIGH" : "LOW");
|
||||||
|
|
||||||
/*----------------------------------------------------------
|
/* ==========================================================
|
||||||
* 向UART1(RF433模块)发送状态变化事件
|
🚀 核心修改:不再直接发送 msg,而是套上 [0xAA] 和 [ID] 的外衣
|
||||||
* 这是IO事件的主要路由通道,用于无线上报到上位机
|
========================================================== */
|
||||||
*----------------------------------------------------------*/
|
uint8_t rf_tx_buf[64];
|
||||||
MultiUART_SendString(PORT_UART1, msg);
|
rf_tx_buf[0] = 0xAA; // 贴上魔法帧头
|
||||||
|
rf_tx_buf[1] = MY_DEVICE_ID; // 贴上本机的身份证号 (来自 main.h)
|
||||||
|
|
||||||
|
uint16_t msg_len = strlen(msg);
|
||||||
|
memcpy(&rf_tx_buf[2], msg, msg_len); // 把真正的 DI 消息塞到第 2 个字节后面
|
||||||
|
|
||||||
|
/* 将带 ID 的完整包裹发送给 433 模块 */
|
||||||
|
MultiUART_Send(PORT_433, rf_tx_buf, msg_len + 2);
|
||||||
|
/* ========================================================== */
|
||||||
|
|
||||||
/* 输出完整消息到UART2,方便调试查看 */
|
|
||||||
DEBUG_LOG("RF433 TX: \"%s\"", msg);
|
DEBUG_LOG("RF433 TX: \"%s\"", msg);
|
||||||
|
|
||||||
/*----------------------------------------------------------
|
|
||||||
* 如果设置了回调函数,也通过回调发送
|
|
||||||
* 用于支持额外的自定义处理逻辑
|
|
||||||
*----------------------------------------------------------*/
|
|
||||||
if (g_event_callback != NULL) {
|
if (g_event_callback != NULL) {
|
||||||
g_event_callback(channel, state, msg);
|
g_event_callback(channel, state, msg);
|
||||||
}
|
}
|
||||||
@@ -263,8 +261,8 @@ void IO_Monitor_Init(void)
|
|||||||
|
|
||||||
/* 初始化扫描时间戳为0,确保首次扫描立即执行 */
|
/* 初始化扫描时间戳为0,确保首次扫描立即执行 */
|
||||||
last_scan_tick = 0;
|
last_scan_tick = 0;
|
||||||
/* 使能自动上报功能 */
|
/* 禁用旧的自动上报功能,改用 main.c 中的新协议上报 */
|
||||||
report_enabled = true;
|
report_enabled = false;
|
||||||
|
|
||||||
/* 输出初始化完成日志,显示初始各通道状态掩码 */
|
/* 输出初始化完成日志,显示初始各通道状态掩码 */
|
||||||
DEBUG_LOG("Init OK, initial states: 0x%02X", IO_Monitor_GetAllStates());
|
DEBUG_LOG("Init OK, initial states: 0x%02X", IO_Monitor_GetAllStates());
|
||||||
|
|||||||
319
Core/Src/main.c
319
Core/Src/main.c
@@ -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,19 @@
|
|||||||
#include "cmd_router.h"
|
#include "cmd_router.h"
|
||||||
#include "debug_log.h"
|
#include "debug_log.h"
|
||||||
|
|
||||||
|
/* Modbus RTU Master 模块头文件 */
|
||||||
|
#include "modbus_rtu_master.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"
|
||||||
|
#include "modbus_tcp_client.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 +78,104 @@
|
|||||||
/* 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;
|
||||||
|
|
||||||
|
/* === 协议处理全局变量 === */
|
||||||
|
static uint16_t g_hb_seq = 0; /* 心跳序列号 */
|
||||||
|
static uint32_t g_last_hb_tick = 0; /* 上次心跳时间 */
|
||||||
|
static uint8_t g_last_alarm_state = 0xFF; /* 上次 Modbus RTU 报警状态,用于变化检测 */
|
||||||
|
|
||||||
|
/* === W5500 外部变量声明 === */
|
||||||
|
#if USE_W5500
|
||||||
|
extern uint16_t local_port;
|
||||||
|
extern uint8_t ethernet_buf[];
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief 判断单片机与 433 模块连接的串口是否正忙于传输
|
||||||
|
* @return bool: true=串口引擎忙(需避让), false=串口空闲
|
||||||
|
*/
|
||||||
|
bool RF433_UART_Is_Busy(void)
|
||||||
|
{
|
||||||
|
// 仅查询 UART1 的引擎状态,不关心模块 AUX
|
||||||
|
return MultiUART_IsBusy(PORT_433);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief 计算并发送 RF433 协议数据包
|
||||||
|
|
||||||
|
* @param type: 协议类型 (0x10, 0x55, 0x48, 0xAA)
|
||||||
|
* @param payload: 载荷数据指针
|
||||||
|
* @param len: 载荷长度
|
||||||
|
*/
|
||||||
|
void RF433_SendPacket(uint8_t type, const uint8_t *payload, uint8_t len)
|
||||||
|
{
|
||||||
|
uint8_t frame[260];
|
||||||
|
uint16_t frame_idx = 0;
|
||||||
|
uint8_t checksum = 0;
|
||||||
|
|
||||||
|
frame[frame_idx++] = PROTO_START_BYTE; // AA
|
||||||
|
frame[frame_idx++] = type; // TYPE
|
||||||
|
frame[frame_idx++] = (uint8_t)(len + 1 + 1); // LEN (ID + Payload + SUM)
|
||||||
|
frame[frame_idx++] = MY_DEVICE_ID; // ID
|
||||||
|
|
||||||
|
if (len > 0 && payload != NULL) {
|
||||||
|
memcpy(&frame[frame_idx], payload, len);
|
||||||
|
frame_idx += len;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 计算校验和 (Sum8) */
|
||||||
|
for (uint16_t i = 0; i < frame_idx; i++) {
|
||||||
|
checksum += frame[i];
|
||||||
|
}
|
||||||
|
frame[frame_idx++] = checksum;
|
||||||
|
|
||||||
|
/* 通过 MultiUART 发送 */
|
||||||
|
MultiUART_Send(PORT_433, frame, frame_idx);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief 检查 433 无线信道是否忙碌 (发送保护区)
|
||||||
|
* @return bool: true=忙碌(需避让), false=空闲
|
||||||
|
*/
|
||||||
|
bool RF433_Is_Air_Busy(void)
|
||||||
|
{
|
||||||
|
return (HAL_GPIO_ReadPin(AUX_GPIO_Port, AUX_Pin) == GPIO_PIN_RESET);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief 读取当前 4 路 DI 的合并状态
|
||||||
|
* @return uint8_t: Bit0-3 对应 DI1-4
|
||||||
|
*/
|
||||||
|
uint8_t IO_Get_Current_State(void)
|
||||||
|
{
|
||||||
|
uint8_t state = 0;
|
||||||
|
if (HAL_GPIO_ReadPin(MCU_DI1_GPIO_Port, MCU_DI1_Pin) == GPIO_PIN_SET) state |= (1 << 0);
|
||||||
|
if (HAL_GPIO_ReadPin(MCU_DI2_GPIO_Port, MCU_DI2_Pin) == GPIO_PIN_SET) state |= (1 << 1);
|
||||||
|
if (HAL_GPIO_ReadPin(MCU_DI3_GPIO_Port, MCU_DI3_Pin) == GPIO_PIN_SET) state |= (1 << 2);
|
||||||
|
if (HAL_GPIO_ReadPin(MCU_DI4_GPIO_Port, MCU_DI4_Pin) == GPIO_PIN_SET) state |= (1 << 3);
|
||||||
|
return state;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* W5500 variables */
|
||||||
|
#if USE_W5500
|
||||||
|
#define SOCKET_ID 0
|
||||||
|
#ifndef ETHERNET_BUF_MAX_SIZE
|
||||||
|
#define ETHERNET_BUF_MAX_SIZE 2048
|
||||||
|
#endif
|
||||||
|
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 +215,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 +233,54 @@ 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);
|
||||||
|
ModbusRTU_Master_Init();
|
||||||
|
#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() 成功返回!\n");
|
||||||
|
|
||||||
|
printf("--- Socket Status Diagnostic ---\n");
|
||||||
|
for (int i=0; i<8; i++) {
|
||||||
|
printf("Socket %d SR: 0x%02X\n", i, getSn_SR(i));
|
||||||
|
}
|
||||||
|
printf("--------------------------------\n");
|
||||||
|
|
||||||
|
printf("Modbus TCP Client starting\n");
|
||||||
|
ModbusTCP_Client_Init(1); // 暂时使用 Socket 1 进行测试,避开可能被污染的 Socket 0
|
||||||
|
#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模式初始化 */
|
||||||
@@ -158,20 +304,7 @@ int main(void)
|
|||||||
|
|
||||||
/* 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 +316,100 @@ int main(void)
|
|||||||
rf433_rx_app_task();
|
rf433_rx_app_task();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* W5500 UDP回环任务(为了测试 PING 功能,放到了单独的 Socket 2) */
|
||||||
|
#if USE_W5500
|
||||||
|
loopback_udps(2, ethernet_buf, local_port);
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/* Infinite loop */
|
||||||
|
/* USER CODE BEGIN WHILE */
|
||||||
|
while (1)
|
||||||
|
{
|
||||||
|
/* === 1. 核心通信驱动引擎 (最高优先级) === */
|
||||||
|
UART2_Print_Task();
|
||||||
|
MultiUART_Task();
|
||||||
|
|
||||||
|
/* === 2. 无线接收透传 (433 -> Debug) === */
|
||||||
|
#if (RF433_MODE == RF433_MODE_RX) || (RF433_MODE == RF433_MODE_BOTH)
|
||||||
|
if (u1_rx_len > 0 && (HAL_GetTick() - u1_last_rx_time > 20))
|
||||||
|
{
|
||||||
|
__disable_irq();
|
||||||
|
uint16_t len = u1_rx_len;
|
||||||
|
u1_rx_len = 0;
|
||||||
|
__enable_irq();
|
||||||
|
|
||||||
|
MultiUART_Send(PORT_DEBUG, (uint8_t*)u1_rx_buffer, len);
|
||||||
}
|
}
|
||||||
/* USER CODE END 3 */
|
#endif
|
||||||
|
|
||||||
|
/* === 3. 核心发送保护区 (TX 优先调度) === */
|
||||||
|
// 只有当我们单片机正在往 433 模块灌数时,才进行避让
|
||||||
|
// 只要单片机串口引擎一空闲,主循环就立刻开始处理后续采集任务
|
||||||
|
if (RF433_UART_Is_Busy()) {
|
||||||
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* === 4. 实时数据采集与上报 (仅在非发射状态运行) === */
|
||||||
|
|
||||||
|
// (A) Modbus RTU 轮询任务
|
||||||
|
#if USE_RS485
|
||||||
|
ModbusRTU_Master_Task();
|
||||||
|
#endif
|
||||||
|
|
||||||
|
// (B) Modbus RTU 报警状态变化上报 (Type 0x10,与原 DI 格式兼容)
|
||||||
|
#if USE_RS485
|
||||||
|
{
|
||||||
|
uint8_t alarm_state = ModbusRTU_GetAlarmState();
|
||||||
|
if (alarm_state != g_last_alarm_state) {
|
||||||
|
if (g_last_alarm_state != 0xFF) {
|
||||||
|
g_last_alarm_state = alarm_state;
|
||||||
|
RF433_SendPacket(PROTO_TYPE_IO, &alarm_state, 1);
|
||||||
|
} else {
|
||||||
|
g_last_alarm_state = alarm_state;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
#if HEARTBEAT_PACKET
|
||||||
|
// (C) 30秒系统心跳包 (Type 0xAA)
|
||||||
|
if (HAL_GetTick() - g_last_hb_tick >= 30000) {
|
||||||
|
g_last_hb_tick = HAL_GetTick();
|
||||||
|
uint8_t hb_payload[7];
|
||||||
|
|
||||||
|
hb_payload[0] = (uint8_t)(g_hb_seq >> 8);
|
||||||
|
hb_payload[1] = (uint8_t)(g_hb_seq & 0xFF);
|
||||||
|
|
||||||
|
hb_payload[2] = (uint8_t)(XTELL_FIRMWARE_CODE >> 8);
|
||||||
|
hb_payload[3] = (uint8_t)(XTELL_FIRMWARE_CODE & 0xFF);
|
||||||
|
|
||||||
|
hb_payload[4] = ModbusRTU_GetAlarmState();
|
||||||
|
|
||||||
|
uint16_t modbus_val = 0xFFFF;
|
||||||
|
#if USE_W5500
|
||||||
|
modbus_val = ModbusTCP_Get_LastRegVal();
|
||||||
|
#endif
|
||||||
|
hb_payload[5] = (uint8_t)(modbus_val >> 8);
|
||||||
|
hb_payload[6] = (uint8_t)(modbus_val & 0xFF);
|
||||||
|
|
||||||
|
g_hb_seq++;
|
||||||
|
|
||||||
|
RF433_SendPacket(PROTO_TYPE_HB, hb_payload, sizeof(hb_payload));
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
#if USE_W5500
|
||||||
|
ModbusTCP_Client_Task();
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* USER CODE END WHILE */
|
||||||
|
}
|
||||||
|
}
|
||||||
|
/* USER CODE END 3 */
|
||||||
/**
|
/**
|
||||||
* @brief System Clock Configuration
|
* @brief System Clock Configuration
|
||||||
* @retval None
|
* @retval None
|
||||||
@@ -234,36 +457,44 @@ 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 */
|
||||||
|
|
||||||
|
/* 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) {
|
||||||
{
|
ModbusRTU_FeedRxByte(uart3_rx_byte);
|
||||||
/* 喂入指令解析器 - UART2保持原有处理方式 */
|
|
||||||
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发送完成中断回调函数
|
||||||
@@ -276,18 +507,12 @@ void HAL_UART_TxCpltCallback(UART_HandleTypeDef *huart)
|
|||||||
if (huart->Instance == USART1)
|
if (huart->Instance == USART1)
|
||||||
{
|
{
|
||||||
/* 调用多UART路由器的UART1发送完成回调 */
|
/* 调用多UART路由器的UART1发送完成回调 */
|
||||||
MultiUART_TxCpltCallback(PORT_UART1);
|
MultiUART_TxCpltCallback(PORT_433);
|
||||||
}
|
}
|
||||||
else if (huart->Instance == USART2)
|
else if (huart->Instance == USART2)
|
||||||
{
|
{
|
||||||
/* 调用UART2打印模块的发送完成回调 */
|
|
||||||
UART2_Print_TxCpltCallback();
|
UART2_Print_TxCpltCallback();
|
||||||
}
|
}
|
||||||
else if (huart->Instance == USART3)
|
|
||||||
{
|
|
||||||
/* 调用多UART路由器的UART3发送完成回调 */
|
|
||||||
MultiUART_TxCpltCallback(PORT_UART3);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* USER CODE END 4 */
|
/* USER CODE END 4 */
|
||||||
|
|||||||
380
Core/Src/modbus_rtu_master.c
Normal file
380
Core/Src/modbus_rtu_master.c
Normal file
@@ -0,0 +1,380 @@
|
|||||||
|
/**
|
||||||
|
******************************************************************************
|
||||||
|
* @file modbus_rtu_master.c
|
||||||
|
* @brief Modbus RTU Master 模块实现
|
||||||
|
* @note 本模块通过 RS485 (UART3) 以 Modbus RTU 协议轮询 Noris AMS 从站,
|
||||||
|
* 读取寄存器 41161 中的报警状态位,并提取为紧凑报警字节。
|
||||||
|
*
|
||||||
|
* 工作原理:
|
||||||
|
* 1. 每 1000ms 发送一次 Read Holding Registers (FC=0x03) 请求
|
||||||
|
* 2. 等待从站响应,支持帧内字符超时检测和响应总超时
|
||||||
|
* 3. 解析响应帧并进行 CRC16 校验
|
||||||
|
* 4. 从寄存器值中提取 Bit4-7 的报警位,映射为紧凑报警字节
|
||||||
|
* 5. 报警状态由 main.c 负责上报 (变化通知 + 心跳包)
|
||||||
|
*
|
||||||
|
* 状态机流转:
|
||||||
|
* IDLE → WAIT_POLL → WAIT_RESPONSE → PROCESS → IDLE
|
||||||
|
*
|
||||||
|
* @version 1.1
|
||||||
|
******************************************************************************
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "modbus_rtu_master.h"
|
||||||
|
#include "usart.h"
|
||||||
|
#include "main.h"
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
|
/* ================================================================
|
||||||
|
* CRC16-Modbus 查找表 (256 项)
|
||||||
|
* 多项式: 0xA001 (反转形式),初始值: 0xFFFF
|
||||||
|
* 用于 Modbus RTU 帧的 CRC 校验计算,采用查表法加速运算
|
||||||
|
* ================================================================ */
|
||||||
|
static const uint16_t crc16_table[256] = {
|
||||||
|
0x0000, 0xC0C1, 0xC181, 0x0140, 0xC301, 0x03C0, 0x0280, 0xC241,
|
||||||
|
0xC601, 0x06C0, 0x0780, 0xC741, 0x0500, 0xC5C1, 0xC481, 0x0440,
|
||||||
|
0xCC01, 0x0CC0, 0x0D80, 0xCD41, 0x0F00, 0xCFC1, 0xCE81, 0x0E40,
|
||||||
|
0x0A00, 0xCAC1, 0xCB81, 0x0B40, 0xC901, 0x09C0, 0x0880, 0xC841,
|
||||||
|
0xD801, 0x18C0, 0x1980, 0xD941, 0x1B00, 0xDBC1, 0xDA81, 0x1A40,
|
||||||
|
0x1E00, 0xDEC1, 0xDF81, 0x1F40, 0xDD01, 0x1DC0, 0x1C80, 0xDC41,
|
||||||
|
0x1400, 0xD4C1, 0xD581, 0x1540, 0xD701, 0x17C0, 0x1680, 0xD641,
|
||||||
|
0xD201, 0x12C0, 0x1380, 0xD341, 0x1100, 0xD1C1, 0xD081, 0x1040,
|
||||||
|
0xF001, 0x30C0, 0x3180, 0xF141, 0x3300, 0xF3C1, 0xF281, 0x3240,
|
||||||
|
0x3600, 0xF6C1, 0xF781, 0x3740, 0xF501, 0x35C0, 0x3480, 0xF441,
|
||||||
|
0x3C00, 0xFCC1, 0xFD81, 0x3D40, 0xFF01, 0x3FC0, 0x3E80, 0xFE41,
|
||||||
|
0xFA01, 0x3AC0, 0x3B80, 0xFB41, 0x3900, 0xF9C1, 0xF881, 0x3840,
|
||||||
|
0x2800, 0xE8C1, 0xE981, 0x2940, 0xEB01, 0x2BC0, 0x2A80, 0xEA41,
|
||||||
|
0xEE01, 0x2EC0, 0x2F80, 0xEF41, 0x2D00, 0xEDC1, 0xEC81, 0x2C40,
|
||||||
|
0xE401, 0x24C0, 0x2580, 0xE541, 0x2700, 0xE7C1, 0xE681, 0x2640,
|
||||||
|
0x2200, 0xE2C1, 0xE381, 0x2340, 0xE101, 0x21C0, 0x2080, 0xE041,
|
||||||
|
0xA001, 0x60C0, 0x6180, 0xA141, 0x6300, 0xA3C1, 0xA281, 0x6240,
|
||||||
|
0x6600, 0xA6C1, 0xA781, 0x6740, 0xA501, 0x65C0, 0x6480, 0xA441,
|
||||||
|
0x6C00, 0xACC1, 0xAD81, 0x6D40, 0xAF01, 0x6FC0, 0x6E80, 0xAE41,
|
||||||
|
0xAA01, 0x6AC0, 0x6B80, 0xAB41, 0x6900, 0xA9C1, 0xA881, 0x6840,
|
||||||
|
0x7800, 0xB8C1, 0xB981, 0x7940, 0xBB01, 0x7BC0, 0x7A80, 0xBA41,
|
||||||
|
0xBE01, 0x7EC0, 0x7F80, 0xBF41, 0x7D00, 0xBDC1, 0xBC81, 0x7C40,
|
||||||
|
0xB401, 0x74C0, 0x7580, 0xB541, 0x7700, 0xB7C1, 0xB681, 0x7640,
|
||||||
|
0x7200, 0xB2C1, 0xB381, 0x7340, 0xB101, 0x71C0, 0x7080, 0xB041,
|
||||||
|
0x5000, 0x90C1, 0x9181, 0x5140, 0x9301, 0x53C0, 0x5280, 0x9241,
|
||||||
|
0x9601, 0x56C0, 0x5780, 0x9741, 0x5500, 0x95C1, 0x9481, 0x5440,
|
||||||
|
0x9C01, 0x5CC0, 0x5D80, 0x9D41, 0x5F00, 0x9FC1, 0x9E81, 0x5E40,
|
||||||
|
0x5A00, 0x9AC1, 0x9B81, 0x5B40, 0x9901, 0x59C0, 0x5880, 0x9841,
|
||||||
|
0x8801, 0x48C0, 0x4980, 0x8941, 0x4B00, 0x8BC1, 0x8A81, 0x4A40,
|
||||||
|
0x4E00, 0x8EC1, 0x8F81, 0x4F40, 0x8D01, 0x4DC0, 0x4C80, 0x8C41,
|
||||||
|
0x4400, 0x84C1, 0x8581, 0x4540, 0x8701, 0x47C0, 0x4680, 0x8641,
|
||||||
|
0x8201, 0x42C0, 0x4380, 0x8341, 0x4100, 0x81C1, 0x8081, 0x4040
|
||||||
|
};
|
||||||
|
|
||||||
|
/* ================================================================
|
||||||
|
* 状态机枚举定义
|
||||||
|
* Modbus RTU Master 使用四状态状态机驱动轮询过程
|
||||||
|
* ================================================================ */
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Modbus RTU 轮询状态机状态枚举
|
||||||
|
* - MB_STATE_IDLE: 空闲状态,等待轮询间隔到达
|
||||||
|
* - MB_STATE_WAIT_POLL: 准备发送,立即发送请求帧
|
||||||
|
* - MB_STATE_WAIT_RESPONSE: 已发送请求,等待从站响应
|
||||||
|
* - MB_STATE_PROCESS: 帧接收完成,解析响应数据
|
||||||
|
*/
|
||||||
|
typedef enum {
|
||||||
|
MB_STATE_IDLE,
|
||||||
|
MB_STATE_WAIT_POLL,
|
||||||
|
MB_STATE_WAIT_RESPONSE,
|
||||||
|
MB_STATE_PROCESS
|
||||||
|
} mb_state_t;
|
||||||
|
|
||||||
|
/* ================================================================
|
||||||
|
* 模块内部静态变量
|
||||||
|
* ================================================================ */
|
||||||
|
|
||||||
|
/** 当前状态机状态 */
|
||||||
|
static mb_state_t mb_state = MB_STATE_IDLE;
|
||||||
|
|
||||||
|
/** 当前状态的进入时刻 (用于超时判断) */
|
||||||
|
static uint32_t mb_state_tick = 0;
|
||||||
|
|
||||||
|
/** 上一次轮询的时刻 (用于计算轮询间隔) */
|
||||||
|
static uint32_t mb_last_poll_tick = 0;
|
||||||
|
|
||||||
|
/** 回波屏蔽截止时间 (发送后忽略自身回波的时间点) */
|
||||||
|
static uint32_t ignore_echo_until = 0;
|
||||||
|
|
||||||
|
/** 接收缓冲区: 存储从站响应的原始字节 */
|
||||||
|
static uint8_t mb_rx_buf[MODBUS_RTU_MAX_RX_BUF];
|
||||||
|
|
||||||
|
/** 接收缓冲区当前写入索引 */
|
||||||
|
static uint8_t mb_rx_idx = 0;
|
||||||
|
|
||||||
|
/** 最后一次接收到字节的时刻 (用于帧间超时判断) */
|
||||||
|
static uint32_t mb_rx_last_byte_tick = 0;
|
||||||
|
|
||||||
|
/** 当前报警状态字节 (紧凑格式,Bit0-3 对应 4 种报警) */
|
||||||
|
static uint8_t mb_alarm_state = 0;
|
||||||
|
|
||||||
|
/** 上一次报警状态 (用于变化检测,初始值 0xFF 表示首次轮询) */
|
||||||
|
static uint8_t mb_alarm_last = 0xFF;
|
||||||
|
|
||||||
|
/** 最近一次成功读取的寄存器原始值 (16-bit,大端序解析) */
|
||||||
|
static uint16_t mb_reg_val = 0;
|
||||||
|
|
||||||
|
/* ================================================================
|
||||||
|
* 内部静态函数实现
|
||||||
|
* ================================================================ */
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief 计算 Modbus CRC16 校验值
|
||||||
|
* @note 采用查表法,多项式 0xA001,初始值 0xFFFF
|
||||||
|
* CRC16-Modbus 算法: 低字节在前 (Little-Endian)
|
||||||
|
* @param data: 待计算的数据缓冲区指针
|
||||||
|
* @param len: 数据长度 (字节)
|
||||||
|
* @retval CRC16 校验值
|
||||||
|
*/
|
||||||
|
static uint16_t modbus_crc16(const uint8_t *data, uint16_t len)
|
||||||
|
{
|
||||||
|
uint16_t crc = 0xFFFF;
|
||||||
|
for (uint16_t i = 0; i < len; i++) {
|
||||||
|
crc = (crc >> 8) ^ crc16_table[(crc ^ data[i]) & 0xFF];
|
||||||
|
}
|
||||||
|
return crc;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief 从 16 位寄存器值中提取报警位,映射为紧凑报警字节
|
||||||
|
* @note 映射关系:
|
||||||
|
* 寄存器 Bit4 → 报警字节 Bit0 (火灾)
|
||||||
|
* 寄存器 Bit5 → 报警字节 Bit1 (水密门)
|
||||||
|
* 寄存器 Bit6 → 报警字节 Bit2 (舱底水)
|
||||||
|
* 寄存器 Bit7 → 报警字节 Bit3 (气体检测)
|
||||||
|
* @param reg: 16 位寄存器原始值
|
||||||
|
* @retval 紧凑报警字节 (Bit0-3 有效)
|
||||||
|
*/
|
||||||
|
static uint8_t extract_alarm_bits(uint16_t reg)
|
||||||
|
{
|
||||||
|
uint8_t alarm = 0;
|
||||||
|
if (NORIS_FIRE_ALARM(reg)) alarm |= (1 << 0);
|
||||||
|
if (NORIS_DOOR_ALARM(reg)) alarm |= (1 << 1);
|
||||||
|
if (NORIS_BILGE_ALARM(reg)) alarm |= (1 << 2);
|
||||||
|
if (NORIS_GAS_ALARM(reg)) alarm |= (1 << 3);
|
||||||
|
return alarm;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief 构造并发送 Modbus RTU Read Holding Registers 请求帧
|
||||||
|
* @note 帧格式: [从站地址][FC=0x03][起始地址H][起始地址L][数量H][数量L][CRC_L][CRC_H]
|
||||||
|
* 发送完成后设置回波屏蔽窗口,并清空接收缓冲区
|
||||||
|
* @retval 无
|
||||||
|
*/
|
||||||
|
static void send_modbus_request(void)
|
||||||
|
{
|
||||||
|
uint8_t tx[8];
|
||||||
|
|
||||||
|
/* 构造请求帧 PDU */
|
||||||
|
tx[0] = MODBUS_RTU_SLAVE_ADDR; /* 从站地址 */
|
||||||
|
tx[1] = 0x03; /* 功能码: Read Holding Registers */
|
||||||
|
tx[2] = (uint8_t)(MODBUS_RTU_TARGET_REG >> 8); /* 寄存器起始地址高字节 */
|
||||||
|
tx[3] = (uint8_t)(MODBUS_RTU_TARGET_REG & 0xFF); /* 寄存器起始地址低字节 */
|
||||||
|
tx[4] = (uint8_t)(MODBUS_RTU_REG_QTY >> 8); /* 读取数量高字节 */
|
||||||
|
tx[5] = (uint8_t)(MODBUS_RTU_REG_QTY & 0xFF); /* 读取数量低字节 */
|
||||||
|
|
||||||
|
/* 计算并附加 CRC16 (低字节在前) */
|
||||||
|
uint16_t crc = modbus_crc16(tx, 6);
|
||||||
|
tx[6] = (uint8_t)(crc & 0xFF); /* CRC 低字节 */
|
||||||
|
tx[7] = (uint8_t)(crc >> 8); /* CRC 高字节 */
|
||||||
|
|
||||||
|
/* 设置回波屏蔽窗口: 发送后 MODBUS_RTU_TX_ECHO_MARGIN 毫秒内忽略接收数据 */
|
||||||
|
ignore_echo_until = HAL_GetTick() + MODBUS_RTU_TX_ECHO_MARGIN;
|
||||||
|
|
||||||
|
/* 清空接收缓冲区,准备接收新响应 */
|
||||||
|
mb_rx_idx = 0;
|
||||||
|
|
||||||
|
/* 通过 UART3 (RS485) 阻塞发送请求帧 */
|
||||||
|
HAL_UART_Transmit(&huart3, tx, 8, HAL_MAX_DELAY);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief 解析 Modbus RTU 响应帧
|
||||||
|
* @note 校验流程:
|
||||||
|
* 1. 最小帧长度检查 (≥5 字节: 地址 + FC + 字节数 + CRC×2)
|
||||||
|
* 2. 从站地址匹配检查
|
||||||
|
* 3. 功能码检查 (FC=0x03 为正常响应,FC=0x83 为异常响应,静默丢弃)
|
||||||
|
* 4. 数据字节数与期望值匹配检查
|
||||||
|
* 5. 实际帧长度与期望长度匹配检查
|
||||||
|
* 6. CRC16 校验
|
||||||
|
* 7. 提取寄存器值 (大端序)
|
||||||
|
* @retval true: 解析成功,mb_reg_val 已更新
|
||||||
|
* false: 解析失败 (帧不完整/地址不匹配/CRC错误等)
|
||||||
|
*/
|
||||||
|
static bool parse_modbus_response(void)
|
||||||
|
{
|
||||||
|
/* 检查最小帧长度: 地址(1) + FC(1) + 字节数(1) + CRC(2) = 5 */
|
||||||
|
if (mb_rx_idx < 5) return false;
|
||||||
|
|
||||||
|
/* 检查从站地址是否匹配 */
|
||||||
|
if (mb_rx_buf[0] != MODBUS_RTU_SLAVE_ADDR) return false;
|
||||||
|
|
||||||
|
/* 检查功能码是否为 0x03 (正常响应); 0x83 为异常响应,静默丢弃 */
|
||||||
|
if (mb_rx_buf[1] != 0x03) return false;
|
||||||
|
|
||||||
|
/* 检查数据字节数是否与期望值匹配 (寄存器数量 × 2) */
|
||||||
|
uint8_t byte_count = mb_rx_buf[2];
|
||||||
|
if (byte_count != (MODBUS_RTU_REG_QTY * 2)) return false;
|
||||||
|
|
||||||
|
/* 计算期望帧总长度: 地址(1) + FC(1) + 字节数(1) + 数据 + CRC(2) */
|
||||||
|
uint16_t expected_len = 3 + byte_count + 2;
|
||||||
|
if (mb_rx_idx < expected_len) return false;
|
||||||
|
|
||||||
|
/* 提取并验证 CRC16 (低字节在前) */
|
||||||
|
uint16_t crc_received = (uint16_t)mb_rx_buf[expected_len - 2]
|
||||||
|
| ((uint16_t)mb_rx_buf[expected_len - 1] << 8);
|
||||||
|
uint16_t crc_calc = modbus_crc16(mb_rx_buf, expected_len - 2);
|
||||||
|
if (crc_received != crc_calc) return false;
|
||||||
|
|
||||||
|
/* 提取寄存器值 (大端序: 高字节在前) */
|
||||||
|
mb_reg_val = ((uint16_t)mb_rx_buf[3] << 8) | mb_rx_buf[4];
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ================================================================
|
||||||
|
* 公共函数实现
|
||||||
|
* ================================================================ */
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Modbus RTU Master 模块初始化
|
||||||
|
* @note 将状态机重置为 IDLE 状态,清空所有缓冲区和状态变量。
|
||||||
|
* mb_alarm_last 初始化为 0xFF,使得首次轮询结果不会触发变化通知
|
||||||
|
* (main.c 中通过 g_last_alarm_state == 0xFF 判断跳过首次上报)
|
||||||
|
*/
|
||||||
|
void ModbusRTU_Master_Init(void)
|
||||||
|
{
|
||||||
|
mb_state = MB_STATE_IDLE;
|
||||||
|
mb_state_tick = HAL_GetTick();
|
||||||
|
mb_last_poll_tick = HAL_GetTick();
|
||||||
|
mb_rx_idx = 0;
|
||||||
|
mb_alarm_state = 0;
|
||||||
|
mb_alarm_last = 0xFF;
|
||||||
|
mb_reg_val = 0;
|
||||||
|
ignore_echo_until = 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Modbus RTU Master 主任务函数
|
||||||
|
* @note 在主循环中周期性调用,驱动四状态轮询状态机:
|
||||||
|
*
|
||||||
|
* IDLE: 等待轮询间隔 (MODBUS_RTU_POLL_INTERVAL = 1000ms)
|
||||||
|
* 间隔到达后切换到 WAIT_POLL
|
||||||
|
*
|
||||||
|
* WAIT_POLL: 立即发送 Modbus RTU 请求帧
|
||||||
|
* 发送完成后切换到 WAIT_RESPONSE
|
||||||
|
*
|
||||||
|
* WAIT_RESPONSE: 等待从站响应
|
||||||
|
* - 帧内字符超时到达 → 切换到 PROCESS 解析
|
||||||
|
* - 响应总超时到达 → 丢弃本次,回到 IDLE
|
||||||
|
*
|
||||||
|
* PROCESS: 解析响应帧
|
||||||
|
* - 解析成功 → 更新 mb_alarm_state
|
||||||
|
* - 解析失败 → 静默丢弃
|
||||||
|
* 处理完成后回到 IDLE
|
||||||
|
*
|
||||||
|
* 报警变化上报由 main.c 负责,本模块仅更新 mb_alarm_state
|
||||||
|
*/
|
||||||
|
void ModbusRTU_Master_Task(void)
|
||||||
|
{
|
||||||
|
switch (mb_state) {
|
||||||
|
|
||||||
|
/* ---- 空闲状态: 等待轮询间隔到达 ---- */
|
||||||
|
case MB_STATE_IDLE:
|
||||||
|
if ((int32_t)(HAL_GetTick() - mb_last_poll_tick) >= MODBUS_RTU_POLL_INTERVAL) {
|
||||||
|
mb_last_poll_tick = HAL_GetTick();
|
||||||
|
mb_state = MB_STATE_WAIT_POLL;
|
||||||
|
mb_state_tick = HAL_GetTick();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
|
||||||
|
/* ---- 准备发送状态: 构造并发送请求帧 ---- */
|
||||||
|
case MB_STATE_WAIT_POLL:
|
||||||
|
send_modbus_request();
|
||||||
|
mb_state = MB_STATE_WAIT_RESPONSE;
|
||||||
|
mb_state_tick = HAL_GetTick();
|
||||||
|
break;
|
||||||
|
|
||||||
|
/* ---- 等待响应状态: 等待从站响应或超时 ---- */
|
||||||
|
case MB_STATE_WAIT_RESPONSE:
|
||||||
|
/* 帧内字符超时: 已接收数据且最后一个字节之后超过间隔时间,
|
||||||
|
* 认为一帧数据接收完成 */
|
||||||
|
if (mb_rx_idx > 0 && (int32_t)(HAL_GetTick() - mb_rx_last_byte_tick) > MODBUS_RTU_INTER_CHAR_TIMEOUT) {
|
||||||
|
mb_state = MB_STATE_PROCESS;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
/* 响应总超时: 自发送请求后超过 MODBUS_RTU_RESP_TIMEOUT 仍未收到完整帧,
|
||||||
|
* 丢弃本次轮询,回到 IDLE 等待下次 */
|
||||||
|
if ((int32_t)(HAL_GetTick() - mb_state_tick) > MODBUS_RTU_RESP_TIMEOUT) {
|
||||||
|
mb_state = MB_STATE_IDLE;
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
|
||||||
|
/* ---- 处理状态: 解析响应帧,更新报警状态 ---- */
|
||||||
|
case MB_STATE_PROCESS:
|
||||||
|
if (parse_modbus_response()) {
|
||||||
|
/* 解析成功: 从寄存器值提取报警位 */
|
||||||
|
mb_alarm_state = extract_alarm_bits(mb_reg_val);
|
||||||
|
if (mb_alarm_state != mb_alarm_last) {
|
||||||
|
/* 报警状态发生变化,更新记录值 */
|
||||||
|
mb_alarm_last = mb_alarm_state;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
/* 无论解析成功与否,回到 IDLE 等待下一次轮询 */
|
||||||
|
mb_state = MB_STATE_IDLE;
|
||||||
|
break;
|
||||||
|
|
||||||
|
/* ---- 异常兜底: 未知状态强制回到 IDLE ---- */
|
||||||
|
default:
|
||||||
|
mb_state = MB_STATE_IDLE;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief 向 Modbus RTU 接收缓冲区送入一个字节
|
||||||
|
* @note 在 UART3 接收中断回调中调用 (HAL_UART_RxCpltCallback → huart3 分支)
|
||||||
|
*
|
||||||
|
* 数据过滤逻辑:
|
||||||
|
* 1. 回波屏蔽: 发送请求后 MODBUS_RTU_TX_ECHO_MARGIN 毫秒内的数据全部丢弃,
|
||||||
|
* 避免将自身发送的请求帧回波误判为从站响应
|
||||||
|
* 2. 状态过滤: 仅在 WAIT_RESPONSE 状态下接收数据,
|
||||||
|
* 其他状态收到的数据直接丢弃
|
||||||
|
* 3. 缓冲区溢出保护: 接收索引超过缓冲区大小时停止写入
|
||||||
|
*
|
||||||
|
* @param byte: 从 UART3 接收到的原始字节
|
||||||
|
* @retval 无
|
||||||
|
*/
|
||||||
|
void ModbusRTU_FeedRxByte(uint8_t byte)
|
||||||
|
{
|
||||||
|
/* 屏蔽发送回波 */
|
||||||
|
if (HAL_GetTick() < ignore_echo_until) return;
|
||||||
|
|
||||||
|
/* 仅在等待响应状态下接收 */
|
||||||
|
if (mb_state != MB_STATE_WAIT_RESPONSE) return;
|
||||||
|
|
||||||
|
/* 缓冲区溢出保护 */
|
||||||
|
if (mb_rx_idx >= MODBUS_RTU_MAX_RX_BUF) return;
|
||||||
|
|
||||||
|
/* 存入缓冲区并更新时间戳 */
|
||||||
|
mb_rx_buf[mb_rx_idx++] = byte;
|
||||||
|
mb_rx_last_byte_tick = HAL_GetTick();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief 获取当前 Modbus RTU 报警状态
|
||||||
|
* @note 供 main.c 中的以下场景调用:
|
||||||
|
* 1. 变化通知: 与上次状态比较,变化时通过 PROTO_TYPE_IO (0x10) 上报
|
||||||
|
* 2. 心跳包: 每 30 秒将当前报警状态填入心跳 payload
|
||||||
|
* @retval 紧凑报警字节:
|
||||||
|
* Bit0 = 火灾报警 (对应寄存器 Bit4)
|
||||||
|
* Bit1 = 水密门报警 (对应寄存器 Bit5)
|
||||||
|
* Bit2 = 舱底水报警 (对应寄存器 Bit6)
|
||||||
|
* Bit3 = 气体检测报警 (对应寄存器 Bit7)
|
||||||
|
*/
|
||||||
|
uint8_t ModbusRTU_GetAlarmState(void)
|
||||||
|
{
|
||||||
|
return mb_alarm_state;
|
||||||
|
}
|
||||||
182
Core/Src/modbus_tcp_client.c
Normal file
182
Core/Src/modbus_tcp_client.c
Normal file
@@ -0,0 +1,182 @@
|
|||||||
|
/**
|
||||||
|
******************************************************************************
|
||||||
|
* @file modbus_tcp_client.c
|
||||||
|
* @brief Modbus TCP 客户端模块实现 (针对寄存器 40031 轮询)
|
||||||
|
******************************************************************************
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "modbus_tcp_client.h"
|
||||||
|
#include "socket.h"
|
||||||
|
#include "wizchip_conf.h"
|
||||||
|
#include "main.h"
|
||||||
|
#include "debug_log.h"
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
|
/* 私有变量 */
|
||||||
|
static uint8_t g_sn = 0;
|
||||||
|
static modbus_client_state_t g_state = MODBUS_STATE_IDLE;
|
||||||
|
static uint32_t g_last_tick = 0;
|
||||||
|
static uint16_t g_transaction_id = 0;
|
||||||
|
|
||||||
|
/* 保存最新的寄存器值,用于心跳上报和变化检测 */
|
||||||
|
static uint16_t s_last_reg_val = 0xFFFF;
|
||||||
|
|
||||||
|
uint16_t ModbusTCP_Get_LastRegVal(void)
|
||||||
|
{
|
||||||
|
return s_last_reg_val;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 服务器信息 */
|
||||||
|
static uint8_t dest_ip[4] = MODBUS_SERVER_IP;
|
||||||
|
static uint16_t dest_port = MODBUS_SERVER_PORT;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief 构造 Modbus TCP 请求包 (FC 03)
|
||||||
|
*/
|
||||||
|
static uint16_t build_read_request(uint8_t *buf, uint16_t addr, uint16_t qty)
|
||||||
|
{
|
||||||
|
g_transaction_id++;
|
||||||
|
|
||||||
|
/* MBAP Header */
|
||||||
|
buf[0] = (uint8_t)(g_transaction_id >> 8);
|
||||||
|
buf[1] = (uint8_t)(g_transaction_id & 0xFF);
|
||||||
|
buf[2] = 0x00; /* Protocol ID (0 for Modbus) */
|
||||||
|
buf[3] = 0x00;
|
||||||
|
buf[4] = 0x00; /* Length (6 bytes follow UnitID) */
|
||||||
|
buf[5] = 0x06;
|
||||||
|
buf[6] = MODBUS_UNIT_ID;
|
||||||
|
|
||||||
|
/* PDU */
|
||||||
|
buf[7] = 0x03; /* Function Code: Read Holding Registers */
|
||||||
|
buf[8] = (uint8_t)(addr >> 8);
|
||||||
|
buf[9] = (uint8_t)(addr & 0xFF);
|
||||||
|
buf[10] = (uint8_t)(qty >> 8);
|
||||||
|
buf[11] = (uint8_t)(qty & 0xFF);
|
||||||
|
|
||||||
|
return 12;
|
||||||
|
}
|
||||||
|
|
||||||
|
void ModbusTCP_Client_Init(uint8_t sn)
|
||||||
|
{
|
||||||
|
g_sn = sn;
|
||||||
|
g_state = MODBUS_STATE_IDLE;
|
||||||
|
g_last_tick = HAL_GetTick();
|
||||||
|
|
||||||
|
/* 动态重新加载配置,防止静态初始化带来的宏定义未生效问题 */
|
||||||
|
uint8_t ip[4] = MODBUS_SERVER_IP;
|
||||||
|
dest_ip[0] = ip[0]; dest_ip[1] = ip[1]; dest_ip[2] = ip[2]; dest_ip[3] = ip[3];
|
||||||
|
dest_port = MODBUS_SERVER_PORT;
|
||||||
|
|
||||||
|
LOG_INFO("MODBUS", "Client initialized on Socket %d, Target: %d.%d.%d.%d:%d",
|
||||||
|
sn, dest_ip[0], dest_ip[1], dest_ip[2], dest_ip[3], dest_port);
|
||||||
|
}
|
||||||
|
|
||||||
|
void ModbusTCP_Client_Task(void)
|
||||||
|
{
|
||||||
|
uint8_t tmp_buf[128]; // 临时接收缓存
|
||||||
|
uint16_t len; // 接收长度
|
||||||
|
int32_t ret; // 返回值
|
||||||
|
|
||||||
|
switch (g_state) // 客户端状态机切换
|
||||||
|
{
|
||||||
|
case MODBUS_STATE_IDLE: // 空闲状态
|
||||||
|
if (HAL_GetTick() - g_last_tick >= MODBUS_POLL_INTERVAL) { // 检查轮询间隔 (2秒)
|
||||||
|
g_state = MODBUS_STATE_CONNECTING; // 切换到连接状态
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
|
||||||
|
case MODBUS_STATE_CONNECTING: // 连接中状态
|
||||||
|
{
|
||||||
|
uint8_t sr = getSn_SR(g_sn);
|
||||||
|
switch(sr) // 获取当前 Socket 状态
|
||||||
|
{
|
||||||
|
case SOCK_CLOSED: // 如果 Socket 已关闭
|
||||||
|
// 打开 TCP 模式的 Socket,分配随机本地端口以避免冲突
|
||||||
|
if (socket(g_sn, Sn_MR_TCP, 50000 + (HAL_GetTick() % 10000), 0x00) == g_sn) {
|
||||||
|
LOG_DEBUG("MODBUS", "Socket opened");
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
|
||||||
|
case SOCK_INIT: // Socket 初始化成功,开始连接
|
||||||
|
LOG_INFO("MODBUS", "Connecting to %d.%d.%d.%d:%d",
|
||||||
|
dest_ip[0], dest_ip[1], dest_ip[2], dest_ip[3], dest_port);
|
||||||
|
ret = connect(g_sn, dest_ip, dest_port); // 发起连接请求
|
||||||
|
if (ret != SOCK_OK) {
|
||||||
|
LOG_ERROR("MODBUS", "Connect failed: %d", ret);
|
||||||
|
close(g_sn);
|
||||||
|
g_state = MODBUS_STATE_IDLE;
|
||||||
|
g_last_tick = HAL_GetTick();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
|
||||||
|
case SOCK_ESTABLISHED: // 连接已建立
|
||||||
|
LOG_INFO("MODBUS", "TCP Connected!");
|
||||||
|
g_state = MODBUS_STATE_SEND_QUERY; // 切换到发送请求状态
|
||||||
|
break;
|
||||||
|
|
||||||
|
case SOCK_CLOSE_WAIT: // 对方已关闭连接
|
||||||
|
disconnect(g_sn); // 本地断开连接
|
||||||
|
break;
|
||||||
|
|
||||||
|
default:
|
||||||
|
if (HAL_GetTick() % 5000 == 0) { // 每 5 秒打印一次未处理的状态
|
||||||
|
LOG_WARN("MODBUS", "Unhandled socket state: 0x%02X", sr);
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
case MODBUS_STATE_SEND_QUERY: // 发送查询请求状态
|
||||||
|
len = build_read_request(tmp_buf, TARGET_REG_ADDR, 1); // 构造 Modbus TCP FC03 报文
|
||||||
|
ret = send(g_sn, tmp_buf, len); // 发送 TCP 数据
|
||||||
|
if (ret > 0) { // 发送成功
|
||||||
|
LOG_DEBUG("MODBUS", "Request sent (TID: %d)", g_transaction_id);
|
||||||
|
g_state = MODBUS_STATE_WAIT_RESPONSE; // 切换到等待响应状态
|
||||||
|
g_last_tick = HAL_GetTick(); // 更新计时器
|
||||||
|
} else { // 发送失败
|
||||||
|
LOG_ERROR("MODBUS", "Send failed, reconnecting...");
|
||||||
|
close(g_sn); // 关闭 Socket
|
||||||
|
g_state = MODBUS_STATE_IDLE; // 返回空闲重试
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
|
||||||
|
case MODBUS_STATE_WAIT_RESPONSE: // 等待响应状态
|
||||||
|
len = getSn_RX_RSR(g_sn);
|
||||||
|
if (len >= 9) { // 至少需要 9 字节 (MBAP 头 7 字节 + PDU 至少 2 字节)
|
||||||
|
if (len > sizeof(tmp_buf)) len = sizeof(tmp_buf); // 防止缓存溢出
|
||||||
|
ret = recv(g_sn, tmp_buf, len); // 接收数据
|
||||||
|
|
||||||
|
/* 校验响应 (检查 MBAP 长度、功能码等) */
|
||||||
|
if (ret >= 9 && tmp_buf[7] == 0x03) { // 基本校验
|
||||||
|
uint16_t reg_val = (tmp_buf[9] << 8) | tmp_buf[10]; // 提取寄存器值
|
||||||
|
LOG_INFO("MODBUS", "Read Register %d OK: 0x%04X", TARGET_REG_ADDR + 40001, reg_val);
|
||||||
|
|
||||||
|
/* 如果检测到寄存器值发生变化,才通过 433 无线立即发送 */
|
||||||
|
if (reg_val != s_last_reg_val) {
|
||||||
|
s_last_reg_val = reg_val; // 更新缓存的值
|
||||||
|
|
||||||
|
uint8_t payload[2]; // 构造 433 负载
|
||||||
|
payload[0] = tmp_buf[9]; // 寄存器高位
|
||||||
|
payload[1] = tmp_buf[10]; // 寄存器低位
|
||||||
|
RF433_SendPacket(PROTO_TYPE_NET, payload, 2); // 打包并通过无线发出
|
||||||
|
LOG_INFO("MODBUS", "Value changed, sent over 433");
|
||||||
|
}
|
||||||
|
} else { // 响应格式非法
|
||||||
|
LOG_ERROR("MODBUS", "Invalid response format");
|
||||||
|
}
|
||||||
|
g_state = MODBUS_STATE_IDLE; // 返回空闲
|
||||||
|
g_last_tick = HAL_GetTick(); // 更新计时
|
||||||
|
|
||||||
|
} else if (HAL_GetTick() - g_last_tick > 3000) { // 等待超时 (3秒)
|
||||||
|
LOG_WARN("MODBUS", "Response timeout");
|
||||||
|
close(g_sn); // 关闭连接
|
||||||
|
g_state = MODBUS_STATE_IDLE; // 返回空闲重试
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
|
||||||
|
default: // 异常保护
|
||||||
|
g_state = MODBUS_STATE_IDLE;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -16,14 +16,15 @@
|
|||||||
* 4. 响应路由表
|
* 4. 响应路由表
|
||||||
*
|
*
|
||||||
* 端口映射:
|
* 端口映射:
|
||||||
* - PORT_UART1: 连接RF433无线模块(用于无线数据收发)
|
* - PORT_433: 连接RF433无线模块(用于无线数据收发)
|
||||||
* - PORT_UART2: 调试串口(用于日志和调试输出)
|
* - PORT_DEBUG: 调试串口(用于日志和调试输出)
|
||||||
* - PORT_UART3: 预留扩展端口
|
* - PORT_RS485: 预留扩展端口
|
||||||
******************************************************************************
|
******************************************************************************
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "multi_uart_router.h"
|
#include "multi_uart_router.h"
|
||||||
#include "uart2_print.h"
|
#include "uart2_print.h"
|
||||||
|
#include "main.h"
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
@@ -32,7 +33,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]" */
|
||||||
@@ -41,6 +42,16 @@
|
|||||||
#define DEBUG_LOG(fmt, ...)
|
#define DEBUG_LOG(fmt, ...)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/*==============================================================================
|
||||||
|
* CSMA/CA 随机退避相关
|
||||||
|
*============================================================================*/
|
||||||
|
static uint32_t csma_rand(uint32_t seed)
|
||||||
|
{
|
||||||
|
// static uint32_t seed = 12345;
|
||||||
|
seed = seed * 1103515245 + 12345;
|
||||||
|
return (seed >> 16) & 0x7FFF;
|
||||||
|
}
|
||||||
|
|
||||||
/*==============================================================================
|
/*==============================================================================
|
||||||
* 全局变量定义
|
* 全局变量定义
|
||||||
*============================================================================*/
|
*============================================================================*/
|
||||||
@@ -57,9 +68,9 @@ static uart_port_context_t g_port_ctx[PORT_COUNT];
|
|||||||
* 使用常量初始化,在编译时确定,无运行时开销
|
* 使用常量初始化,在编译时确定,无运行时开销
|
||||||
*/
|
*/
|
||||||
static UART_HandleTypeDef *const g_port_uart_map[PORT_COUNT] = {
|
static UART_HandleTypeDef *const g_port_uart_map[PORT_COUNT] = {
|
||||||
[PORT_UART1] = &huart1, /**< RF433无线模块 */
|
[PORT_433] = &huart1, /**< RF433无线模块 */
|
||||||
[PORT_UART2] = &huart2, /**< 调试串口 */
|
[PORT_DEBUG] = &huart2, /**< 调试串口 */
|
||||||
[PORT_UART3] = &huart3, /**< 预留扩展 */
|
[PORT_RS485] = &huart3, /**< 预留扩展 */
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -67,9 +78,9 @@ static UART_HandleTypeDef *const g_port_uart_map[PORT_COUNT] = {
|
|||||||
* @note 用于调试日志输出,快速获取端口的可读名称
|
* @note 用于调试日志输出,快速获取端口的可读名称
|
||||||
*/
|
*/
|
||||||
static const char *const g_port_name_map[PORT_COUNT] = {
|
static const char *const g_port_name_map[PORT_COUNT] = {
|
||||||
[PORT_UART1] = "UART1", /**< RF433无线模块 */
|
[PORT_433] = "UART1", /**< RF433无线模块 */
|
||||||
[PORT_UART2] = "UART2", /**< 调试串口 */
|
[PORT_DEBUG] = "UART2", /**< 调试串口 */
|
||||||
[PORT_UART3] = "UART3", /**< 预留扩展 */
|
[PORT_RS485] = "UART3", /**< 预留扩展 */
|
||||||
};
|
};
|
||||||
|
|
||||||
/*==============================================================================
|
/*==============================================================================
|
||||||
@@ -234,7 +245,23 @@ static void tx_kickoff(port_id_t port_id)
|
|||||||
|
|
||||||
__disable_irq();
|
__disable_irq();
|
||||||
if (!ring->is_sending && ring->count > 0) {
|
if (!ring->is_sending && ring->count > 0) {
|
||||||
/* 取出下一个待发送字节 */
|
if (port_id == PORT_433) {
|
||||||
|
if (ctx->csma_backoff_active) {
|
||||||
|
if ((int32_t)(HAL_GetTick() - ctx->csma_backoff_until) < 0) {
|
||||||
|
__enable_irq();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
ctx->csma_backoff_active = false;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (HAL_GPIO_ReadPin(AUX_GPIO_Port, AUX_Pin) == GPIO_PIN_RESET) {
|
||||||
|
ctx->csma_backoff_active = true;
|
||||||
|
ctx->csma_backoff_until = HAL_GetTick() + (csma_rand(HAL_GetTick()) % 1000) + 1;
|
||||||
|
__enable_irq();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
byte = ring->buffer[ring->tail];
|
byte = ring->buffer[ring->tail];
|
||||||
ring->tail = (ring->tail + 1) % UART_TX_BUFFER_SIZE;
|
ring->tail = (ring->tail + 1) % UART_TX_BUFFER_SIZE;
|
||||||
ring->count--;
|
ring->count--;
|
||||||
@@ -287,6 +314,10 @@ void MultiUART_Init(void)
|
|||||||
ctx->tx_count = 0;
|
ctx->tx_count = 0;
|
||||||
ctx->error_count = 0;
|
ctx->error_count = 0;
|
||||||
ctx->initialized = true;
|
ctx->initialized = true;
|
||||||
|
|
||||||
|
/* 初始化 CSMA/CA 随机退避状态 */
|
||||||
|
ctx->csma_backoff_active = false;
|
||||||
|
ctx->csma_backoff_until = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
DEBUG_LOG("Init OK, %d ports configured", PORT_COUNT);
|
DEBUG_LOG("Init OK, %d ports configured", PORT_COUNT);
|
||||||
@@ -344,7 +375,7 @@ void MultiUART_FeedByte(port_id_t port_id, uint8_t byte)
|
|||||||
* 接收处理由中断完成(MultiUART_FeedByte),此函数仅处理发送
|
* 接收处理由中断完成(MultiUART_FeedByte),此函数仅处理发送
|
||||||
*
|
*
|
||||||
* 端口跳过说明:
|
* 端口跳过说明:
|
||||||
* - 跳过PORT_UART2(调试串口),由UART2_Print模块独立处理
|
* - 跳过PORT_DEBUG(调试串口),由UART2_Print模块独立处理
|
||||||
*
|
*
|
||||||
* 调用时机:
|
* 调用时机:
|
||||||
* 建议在主循环中周期性调用(如10ms定时)
|
* 建议在主循环中周期性调用(如10ms定时)
|
||||||
@@ -360,7 +391,7 @@ void MultiUART_Task(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* 跳过调试串口(UART2) */
|
/* 跳过调试串口(UART2) */
|
||||||
if (i == PORT_UART2) {
|
if (i == PORT_DEBUG) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -379,7 +410,7 @@ void MultiUART_Task(void)
|
|||||||
* @return 无
|
* @return 无
|
||||||
*
|
*
|
||||||
* 特殊处理:
|
* 特殊处理:
|
||||||
* - PORT_UART2直接调用UART2_Print_Send,由调试模块处理
|
* - PORT_DEBUG直接调用UART2_Print_Send,由调试模块处理
|
||||||
* - 其他端口使用本模块的环形缓冲区机制
|
* - 其他端口使用本模块的环形缓冲区机制
|
||||||
*
|
*
|
||||||
* 发送流程:
|
* 发送流程:
|
||||||
@@ -400,7 +431,7 @@ void MultiUART_Send(port_id_t port_id, const uint8_t *data, uint16_t len)
|
|||||||
* 调试串口(UART2)特殊处理
|
* 调试串口(UART2)特殊处理
|
||||||
* 调试打印不走环形缓冲区,直接发送
|
* 调试打印不走环形缓冲区,直接发送
|
||||||
*----------------------------------------------------------*/
|
*----------------------------------------------------------*/
|
||||||
if (port_id == PORT_UART2) {
|
if (port_id == PORT_DEBUG) {
|
||||||
UART2_Print_Send(data, len);
|
UART2_Print_Send(data, len);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@@ -487,7 +518,7 @@ void MultiUART_SendFmt(port_id_t port_id, const char *fmt, ...)
|
|||||||
* @return 无
|
* @return 无
|
||||||
*
|
*
|
||||||
* 特殊处理:
|
* 特殊处理:
|
||||||
* - PORT_UART2调用UART2_Print_TxCpltCallback处理
|
* - PORT_DEBUG调用UART2_Print_TxCpltCallback处理
|
||||||
*
|
*
|
||||||
* 发送驱动逻辑:
|
* 发送驱动逻辑:
|
||||||
* 1. 清除is_sending标志
|
* 1. 清除is_sending标志
|
||||||
@@ -504,7 +535,7 @@ void MultiUART_TxCpltCallback(port_id_t port_id)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* 调试串口(UART2)特殊处理 */
|
/* 调试串口(UART2)特殊处理 */
|
||||||
if (port_id == PORT_UART2) {
|
if (port_id == PORT_DEBUG) {
|
||||||
UART2_Print_TxCpltCallback();
|
UART2_Print_TxCpltCallback();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@@ -660,3 +691,22 @@ uint32_t MultiUART_GetOverflowCount(port_id_t port_id)
|
|||||||
return g_port_ctx[port_id].rx_ring.overflow_count +
|
return g_port_ctx[port_id].rx_ring.overflow_count +
|
||||||
g_port_ctx[port_id].tx_ring.overflow_count;
|
g_port_ctx[port_id].tx_ring.overflow_count;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief 检查指定端口是否正忙于发送
|
||||||
|
* @param port_id: 端口ID
|
||||||
|
* @return bool: true=忙碌(有待发数据或硬件发送中), false=空闲
|
||||||
|
*/
|
||||||
|
bool MultiUART_IsBusy(uint8_t port_id)
|
||||||
|
{
|
||||||
|
if (port_id >= PORT_COUNT) return false;
|
||||||
|
|
||||||
|
// 调试串口特殊处理
|
||||||
|
if (port_id == PORT_DEBUG) {
|
||||||
|
// UART2_Print 使用单独的标志位,这里简单兼容
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
// 直接读取状态,不屏蔽中断,追求极致性能
|
||||||
|
return (g_port_ctx[port_id].tx_ring.count > 0 || g_port_ctx[port_id].tx_ring.is_sending);
|
||||||
|
}
|
||||||
|
|||||||
@@ -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);
|
||||||
|
|||||||
@@ -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
111
Core/Src/tim.c
Normal 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 */
|
||||||
@@ -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_RS485, (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_RS485, (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_RS485, (uint8_t *)ptr, len); /* 增加:同时发给 UART3 */
|
||||||
return len;
|
return len;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
@@ -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节
|
||||||
@@ -204,7 +208,7 @@ void Passthrough_Task(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
uint8_t byte = node->data[node->offset++];
|
uint8_t byte = node->data[node->offset++];
|
||||||
MultiUART_Send(PORT_UART1, &byte, 1);
|
MultiUART_Send(PORT_433, &byte, 1);
|
||||||
|
|
||||||
ctx->queue.pending_count--;
|
ctx->queue.pending_count--;
|
||||||
ctx->stats.total_bytes_sent++;
|
ctx->stats.total_bytes_sent++;
|
||||||
@@ -228,7 +232,7 @@ void Passthrough_OnTxComplete(void)
|
|||||||
*/
|
*/
|
||||||
bool Passthrough_CanSend(void)
|
bool Passthrough_CanSend(void)
|
||||||
{
|
{
|
||||||
return (MultiUART_GetTxAvailable(PORT_UART1) > 0) &&
|
return (MultiUART_GetTxAvailable(PORT_433) > 0) &&
|
||||||
(g_passthrough_ctx.queue.pending_count > 0);
|
(g_passthrough_ctx.queue.pending_count > 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -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 = 19200;
|
||||||
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;
|
||||||
|
|||||||
@@ -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,
|
||||||
@@ -37,7 +37,7 @@ static const rf433_register_t rf433_default_config =
|
|||||||
.channel = 0x17,
|
.channel = 0x17,
|
||||||
},
|
},
|
||||||
.register_5.field = {
|
.register_5.field = {
|
||||||
.tx_power = RF433_TX_POWER_DBM_30,
|
.tx_power = RF433_TX_POWER_DBM_21,
|
||||||
.packet_fec = RF433_ON,
|
.packet_fec = RF433_ON,
|
||||||
.wake_on_radio_period = RF433_WOR_PERIOD_250MS,
|
.wake_on_radio_period = RF433_WOR_PERIOD_250MS,
|
||||||
.reserve = RF433_OFF,
|
.reserve = RF433_OFF,
|
||||||
|
|||||||
@@ -1,39 +1,96 @@
|
|||||||
T93F8 003:309 SEGGER J-Link V6.12c Log File (0001ms, 0925ms total)
|
T12E4 000:338.660 SEGGER J-Link V9.10 Log File
|
||||||
T93F8 003:309 DLL Compiled: Dec 16 2016 17:24:18 (0001ms, 0925ms total)
|
T12E4 000:339.144 DLL Compiled: Jan 14 2026 11:30:41
|
||||||
T93F8 003:309 Logging started @ 2026-01-13 12:00 (0001ms, 0925ms total)
|
T12E4 000:339.176 Logging started @ 2026-05-27 07:36
|
||||||
T93F8 003:310 JLINK_SetWarnOutHandler(...) (0000ms, 0925ms total)
|
T12E4 000:339.202 Process: C:\Keil_v5\UV4\UV4.exe
|
||||||
T93F8 003:310 JLINK_OpenEx(...)
|
T12E4 000:339.242 - 339.228ms
|
||||||
Firmware: J-Link ARM V8 compiled Nov 28 2014 13:44:46
|
T12E4 000:339.287 JLINK_SetWarnOutHandler(...)
|
||||||
Hardware: V8.00
|
T12E4 000:339.314 - 0.033ms
|
||||||
Feature(s): RDI,FlashDL,FlashBP,JFlash,GDBC:\Program Files (x86)\SEGGER\JLink_V612c\JLinkDevices.xml evaluated successfully.WEBSRV Webserver running on local port 19080 (0078ms, 1003ms total)
|
T12E4 000:339.347 JLINK_OpenEx(...)
|
||||||
T93F8 003:310 returns O.K. (0078ms, 1003ms total)
|
T12E4 000:353.064 Firmware: J-Link ARM-OB STM32 compiled Aug 22 2012 19:52:04
|
||||||
T93F8 003:388 JLINK_GetEmuCaps() returns 0xB9FF7BBF (0000ms, 1003ms total)
|
T12E4 000:354.044 Firmware: J-Link ARM-OB STM32 compiled Aug 22 2012 19:52:04
|
||||||
T93F8 003:389 JLINK_TIF_GetAvailable(...) (0000ms, 1003ms total)
|
T12E4 000:355.768 Hardware: V7.00
|
||||||
T93F8 003:389 JLINK_SetErrorOutHandler(...) (0000ms, 1003ms total)
|
T12E4 000:355.798 S/N: 20090928
|
||||||
T93F8 003:389 JLINK_ExecCommand("ProjectFile = "C:\workfile\new_customer\boat\src\keil\E32-433TBH-SC\MDK-ARM\JLinkSettings.ini"", ...). returns 0x00 (0000ms, 1003ms total)
|
T12E4 000:355.818 OEM: SEGGER
|
||||||
T93F8 003:389 JLINK_ExecCommand("Device = STM32F103C8", ...). Device "STM32F103C8" selected. returns 0x00 (0001ms, 1004ms total)
|
T12E4 000:355.839 Feature(s): RDI,FlashDL,FlashBP,JFlash,GDBFull
|
||||||
T93F8 003:390 JLINK_ExecCommand("DisableConnectionTimeout", ...). returns 0x01 (0000ms, 1004ms total)
|
T12E4 000:356.335 Bootloader: (FW returned invalid version)
|
||||||
T93F8 003:390 JLINK_GetHardwareVersion() returns 0x13880 (0000ms, 1004ms total)
|
T12E4 000:357.137 TELNET listener socket opened on port 19021
|
||||||
T93F8 003:390 JLINK_GetDLLVersion() returns 61203 (0000ms, 1004ms total)
|
T12E4 000:357.441 WEBSRV WEBSRV_Init(): Starting webserver thread(s)
|
||||||
T93F8 003:390 JLINK_GetFirmwareString(...) (0000ms, 1004ms total)
|
T12E4 000:357.719 WEBSRV Webserver running on local port 19080
|
||||||
T93F8 003:390 JLINK_GetDLLVersion() returns 61203 (0000ms, 1004ms total)
|
T12E4 000:357.956 Looking for J-Link GUI Server exe at: C:\Keil_v5\ARM\Segger\JLinkGUIServer.exe
|
||||||
T93F8 003:390 JLINK_GetCompileDateTime() (0000ms, 1004ms total)
|
T12E4 000:358.100 Looking for J-Link GUI Server exe at: C:\Program Files\SEGGER\JLink_V910\JLinkGUIServer.exe
|
||||||
T93F8 003:390 JLINK_GetFirmwareString(...) (0000ms, 1004ms total)
|
T12E4 000:665.738 Failed to connect to J-Link GUI Server.
|
||||||
T93F8 003:390 JLINK_GetHardwareVersion() returns 0x13880 (0000ms, 1004ms total)
|
T12E4 000:665.806 - 326.445ms returns "O.K."
|
||||||
T93F8 003:390 JLINK_TIF_Select(JLINKARM_TIF_SWD) returns 0x00 (0000ms, 1004ms total)
|
T12E4 000:665.841 JLINK_GetEmuCaps()
|
||||||
T93F8 003:390 JLINK_SetSpeed(5000) (0001ms, 1005ms total)
|
T12E4 000:665.865 - 0.017ms returns 0x88EA5833
|
||||||
T93F8 003:391 JLINK_SetResetType(JLINKARM_RESET_TYPE_NORMAL) returns JLINKARM_RESET_TYPE_NORMAL (0000ms, 1005ms total)
|
T12E4 000:665.890 JLINK_TIF_GetAvailable(...)
|
||||||
T93F8 003:391 JLINK_Reset() >0x108 TIF>Found SWD-DP with ID 0x1BA01477 >0x0D TIF> >0x28 TIF> >0x0D TIF> >0x28 TIF> >0x0D TIF> >0x28 TIF> >0x0D TIF> >0x28 TIF> >0x0D TIF> >0x21 TIF> >0x0D TIF> >0x28 TIF> >0x0D TIF> >0x28 TIF> >0x0D TIF> >0x28 TIF> >0x0D TIF> >0x21 TIF> >0x0D TIF> >0x21 TIF> >0x0D TIF> >0x28 TIF> >0x0D TIF> >0x21 TIF> >0x0D TIF> >0x21 TIF> >0x0D TIF> >0x28 TIF> >0x0D TIF> >0x28 TIF> >0x0D TIF> >0x28 TIF> >0x0D TIF> >0x21 TIF> >0x0D TIF> >0x21 TIF> >0x0D TIF> >0x28 TIF> >0x0D TIF>
|
T12E4 000:666.130 - 0.239ms
|
||||||
>0x21 TIF> >0x0D TIF> >0x21 TIF> >0x0D TIF> >0x28 TIF> >0x0D TIF> >0x21 TIF> >0x0D TIF> >0x21 TIF> >0x0D TIF> >0x28 TIF> >0x0D TIF> >0x21 TIF> >0x0D TIF> >0x21 TIF> >0x0D TIF> >0x28 TIF> >0x0D TIF> >0x21 TIF> >0x0D TIF> >0x21 TIF> >0x108 TIF>Found SWD-DP with ID 0x1BA01477 >0x0D TIF> >0x28 TIF> >0x0D TIF> >0x28 TIF> >0x0D TIF> >0x28 TIF> >0x0D TIF> >0x28 TIF> >0x0D TIF> >0x21 TIF> >0x0D TIF> >0x28 TIF> >0x0D TIF> >0x28 TIF> >0x0D TIF> >0x21 TIF> >0x0D TIF> >0x21 TIF> >0x0D TIF> >0x21 TIF>
|
T12E4 000:666.169 JLINK_SetErrorOutHandler(...)
|
||||||
AP-IDR: 0x14770011, Type: AHB-APAHB-AP ROM: 0xE00FF000 (Base addr. of first ROM table) >0x0D TIF> >0x28 TIF> >0x0D TIF> >0x28 TIF> >0x0D TIF> >0x28 TIF> >0x0D TIF> >0x21 TIF> >0x0D TIF> >0x21 TIF> >0x0D TIF> >0x28 TIF> >0x0D TIF> >0x21 TIF> >0x0D TIF> >0x21 TIF>Found Cortex-M3 r1p1, Little endian. -- CPU_ReadMem(4 bytes @ 0xE000EDF0) -- CPU_WriteMem(4 bytes @ 0xE000EDF0) -- CPU_ReadMem(4 bytes @ 0xE0002000)FPUnit: 6 code (BP) slots and 2 literal slots -- CPU_ReadMem(4 bytes @ 0xE000EDFC)
|
T12E4 000:666.186 - 0.016ms
|
||||||
-- CPU_WriteMem(4 bytes @ 0xE000EDFC) -- CPU_ReadMem(4 bytes @ 0xE0001000) -- CPU_WriteMem(4 bytes @ 0xE0001000) -- CPU_ReadMem(4 bytes @ 0xE000ED88) -- CPU_WriteMem(4 bytes @ 0xE000ED88) -- CPU_ReadMem(4 bytes @ 0xE000ED88) -- CPU_WriteMem(4 bytes @ 0xE000ED88)CoreSight components:ROMTbl 0 @ E00FF000 -- CPU_ReadMem(16 bytes @ 0xE00FF000) -- CPU_ReadMem(16 bytes @ 0xE000EFF0) -- CPU_ReadMem(16 bytes @ 0xE000EFE0)ROMTbl 0 [0]: FFF0F000, CID: B105E00D, PID: 001BB000 SCS
|
T12E4 000:666.242 JLINK_ExecCommand("ProjectFile = "C:\workfile\104_BOAT_DTU\software\TARGET_BOARD_E32-433TBH-SC\MDK-ARM\JLinkSettings.ini"", ...).
|
||||||
-- CPU_ReadMem(16 bytes @ 0xE0001FF0) -- CPU_ReadMem(16 bytes @ 0xE0001FE0)ROMTbl 0 [1]: FFF02000, CID: B105E00D, PID: 001BB002 DWT -- CPU_ReadMem(16 bytes @ 0xE0002FF0) -- CPU_ReadMem(16 bytes @ 0xE0002FE0)ROMTbl 0 [2]: FFF03000, CID: B105E00D, PID: 000BB003 FPB -- CPU_ReadMem(16 bytes @ 0xE0000FF0) -- CPU_ReadMem(16 bytes @ 0xE0000FE0)ROMTbl 0 [3]: FFF01000, CID: B105E00D, PID: 001BB001 ITM -- CPU_ReadMem(16 bytes @ 0xE00FF010) -- CPU_ReadMem(16 bytes @ 0xE0040FF0)
|
T12E4 000:710.711 Ref file found at: C:\Keil_v5\ARM\Segger\JLinkDevices.ref
|
||||||
-- CPU_ReadMem(16 bytes @ 0xE0040FE0)ROMTbl 0 [4]: FFF41000, CID: B105900D, PID: 001BB923 TPIU-Lite -- CPU is running -- CPU_WriteMem(4 bytes @ 0xE000EDF0) -- CPU is running -- CPU_WriteMem(4 bytes @ 0xE000EDFC) >0x35 TIF> -- CPU is running -- CPU_WriteMem(4 bytes @ 0xE000ED0C) -- CPU is running -- CPU_ReadMem(4 bytes @ 0xE000EDF0) -- CPU is running -- CPU_ReadMem(4 bytes @ 0xE000EDF0) -- CPU is running -- CPU_WriteMem(4 bytes @ 0xE000EDF0) -- CPU is running -- CPU_WriteMem(4 bytes @ 0xE000EDFC)
|
T12E4 000:710.971 REF file references invalid XML file: C:\Program Files\SEGGER\JLink_V910\JLinkDevices.xml
|
||||||
-- CPU is running -- CPU_ReadMem(4 bytes @ 0xE000EDF0) -- CPU_WriteMem(4 bytes @ 0xE0002000) -- CPU_ReadMem(4 bytes @ 0xE000EDFC) -- CPU_ReadMem(4 bytes @ 0xE0001000) (0051ms, 1056ms total)
|
T12E4 000:712.629 - 46.391ms returns 0x00
|
||||||
T93F8 003:442 JLINK_GetId() >0x0D TIF> >0x21 TIF> returns 0x1BA01477 (0000ms, 1056ms total)
|
T12E4 000:718.910 JLINK_ExecCommand("Device = STM32F103C8", ...).
|
||||||
T93F8 003:445 JLINK_GetFirmwareString(...) (0000ms, 1056ms total)
|
T12E4 000:725.238 Device "STM32F103C8" selected.
|
||||||
T27DC 003:445
|
T12E4 000:725.669 - 6.734ms returns 0x00
|
||||||
***** Error: Connection to emulator lost! (10628ms, 11684ms total)
|
T12E4 000:725.692 JLINK_ExecCommand("DisableConnectionTimeout", ...).
|
||||||
T93F8 1481:830 JLINK_Close() (0011ms, 1067ms total)
|
T12E4 000:725.734 ERROR: Unknown command
|
||||||
T93F8 1481:830 (0011ms, 1067ms total)
|
T12E4 000:725.755 - 0.034ms returns 0x01
|
||||||
T93F8 1481:830 Closed (0011ms, 1067ms total)
|
T12E4 000:725.769 JLINK_GetHardwareVersion()
|
||||||
|
T12E4 000:725.783 - 0.010ms returns 70000
|
||||||
|
T12E4 000:725.795 JLINK_GetDLLVersion()
|
||||||
|
T12E4 000:725.805 - 0.009ms returns 91000
|
||||||
|
T12E4 000:725.817 JLINK_GetOEMString(...)
|
||||||
|
T12E4 000:725.830 JLINK_GetFirmwareString(...)
|
||||||
|
T12E4 000:725.841 - 0.010ms
|
||||||
|
T12E4 000:742.420 JLINK_GetDLLVersion()
|
||||||
|
T12E4 000:742.460 - 0.040ms returns 91000
|
||||||
|
T12E4 000:742.467 JLINK_GetCompileDateTime()
|
||||||
|
T12E4 000:742.472 - 0.005ms
|
||||||
|
T12E4 000:745.608 JLINK_GetFirmwareString(...)
|
||||||
|
T12E4 000:745.622 - 0.014ms
|
||||||
|
T12E4 000:748.507 JLINK_GetHardwareVersion()
|
||||||
|
T12E4 000:748.517 - 0.010ms returns 70000
|
||||||
|
T12E4 000:751.460 JLINK_GetSN()
|
||||||
|
T12E4 000:751.470 - 0.010ms returns 20090928
|
||||||
|
T12E4 000:754.303 JLINK_GetOEMString(...)
|
||||||
|
T12E4 000:762.434 JLINK_TIF_Select(JLINKARM_TIF_JTAG)
|
||||||
|
T12E4 000:764.029 - 1.599ms returns 0x00
|
||||||
|
T12E4 000:764.045 JLINK_HasError()
|
||||||
|
T12E4 000:764.056 JLINK_SetSpeed(5000)
|
||||||
|
T12E4 000:764.128 - 0.073ms
|
||||||
|
T12E4 000:764.141 JLINK_GetIdData(pIdData)
|
||||||
|
T12E4 000:767.538 InitTarget() start
|
||||||
|
T12E4 000:767.551 J-Link Script File: Executing InitTarget()
|
||||||
|
T12E4 000:770.631 JTAG selected. Identifying JTAG Chain...
|
||||||
|
T12E4 000:775.258 Could not measure total IR len. TDO is constant high.
|
||||||
|
T12E4 000:778.999 Error: Scanning JTAG chain failed.
|
||||||
|
T12E4 000:782.127 Can not attach to CPU. Trying connect under reset.
|
||||||
|
T12E4 000:836.606 JTAG selected. Identifying JTAG Chain...
|
||||||
|
T12E4 000:841.663 Could not measure total IR len. TDO is constant high.
|
||||||
|
T12E4 000:845.751 Error: Scanning JTAG chain failed.
|
||||||
|
T12E4 000:850.185 Connecting to CPU via connect under reset failed.
|
||||||
|
T12E4 000:901.266
|
||||||
|
***** Error:
|
||||||
|
T12E4 000:901.339 J-Link script file function InitTarget() returned with error code -1
|
||||||
|
T12E4 000:918.753 InitTarget() end - Took 133ms
|
||||||
|
T12E4 000:935.880 Connect failed. Resetting via Reset pin and trying again.
|
||||||
|
T12E4 001:014.455 InitTarget() start
|
||||||
|
T12E4 001:014.542 J-Link Script File: Executing InitTarget()
|
||||||
|
T12E4 001:031.499 JTAG selected. Identifying JTAG Chain...
|
||||||
|
T12E4 001:057.121 Could not measure total IR len. TDO is constant high.
|
||||||
|
T12E4 001:073.844 Error: Scanning JTAG chain failed.
|
||||||
|
T12E4 001:082.649 Can not attach to CPU. Trying connect under reset.
|
||||||
|
T12E4 001:137.329 JTAG selected. Identifying JTAG Chain...
|
||||||
|
T12E4 001:142.365 Could not measure total IR len. TDO is constant high.
|
||||||
|
T12E4 001:146.281 Error: Scanning JTAG chain failed.
|
||||||
|
T12E4 001:149.924 Connecting to CPU via connect under reset failed.
|
||||||
|
T12E4 001:200.729
|
||||||
|
***** Error:
|
||||||
|
T12E4 001:200.798 J-Link script file function InitTarget() returned with error code -1
|
||||||
|
T12E4 001:214.161 InitTarget() end - Took 186ms
|
||||||
|
T12E4 001:214.221 - 450.078ms
|
||||||
|
T12E4 002:651.160 JLINK_Close()
|
||||||
|
T12E4 002:663.458 - 12.300ms
|
||||||
|
T12E4 002:663.478
|
||||||
|
T12E4 002:663.483 Closed
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1,754 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
|
|
||||||
<ProjectOpt xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="project_optx.xsd">
|
|
||||||
|
|
||||||
<SchemaVersion>1.0</SchemaVersion>
|
|
||||||
|
|
||||||
<Header>### uVision Project, (C) Keil Software</Header>
|
|
||||||
|
|
||||||
<Extensions>
|
|
||||||
<cExt>*.c</cExt>
|
|
||||||
<aExt>*.s*; *.src; *.a*</aExt>
|
|
||||||
<oExt>*.obj; *.o</oExt>
|
|
||||||
<lExt>*.lib</lExt>
|
|
||||||
<tExt>*.txt; *.h; *.inc; *.md</tExt>
|
|
||||||
<pExt>*.plm</pExt>
|
|
||||||
<CppX>*.cpp</CppX>
|
|
||||||
<nMigrate>0</nMigrate>
|
|
||||||
</Extensions>
|
|
||||||
|
|
||||||
<DaveTm>
|
|
||||||
<dwLowDateTime>0</dwLowDateTime>
|
|
||||||
<dwHighDateTime>0</dwHighDateTime>
|
|
||||||
</DaveTm>
|
|
||||||
|
|
||||||
<Target>
|
|
||||||
<TargetName>project</TargetName>
|
|
||||||
<ToolsetNumber>0x4</ToolsetNumber>
|
|
||||||
<ToolsetName>ARM-ADS</ToolsetName>
|
|
||||||
<TargetOption>
|
|
||||||
<CLKADS>8000000</CLKADS>
|
|
||||||
<OPTTT>
|
|
||||||
<gFlags>1</gFlags>
|
|
||||||
<BeepAtEnd>1</BeepAtEnd>
|
|
||||||
<RunSim>0</RunSim>
|
|
||||||
<RunTarget>1</RunTarget>
|
|
||||||
<RunAbUc>0</RunAbUc>
|
|
||||||
</OPTTT>
|
|
||||||
<OPTHX>
|
|
||||||
<HexSelection>1</HexSelection>
|
|
||||||
<FlashByte>65535</FlashByte>
|
|
||||||
<HexRangeLowAddress>0</HexRangeLowAddress>
|
|
||||||
<HexRangeHighAddress>0</HexRangeHighAddress>
|
|
||||||
<HexOffset>0</HexOffset>
|
|
||||||
</OPTHX>
|
|
||||||
<OPTLEX>
|
|
||||||
<PageWidth>79</PageWidth>
|
|
||||||
<PageLength>66</PageLength>
|
|
||||||
<TabStop>8</TabStop>
|
|
||||||
<ListingPath></ListingPath>
|
|
||||||
</OPTLEX>
|
|
||||||
<ListingPage>
|
|
||||||
<CreateCListing>1</CreateCListing>
|
|
||||||
<CreateAListing>1</CreateAListing>
|
|
||||||
<CreateLListing>1</CreateLListing>
|
|
||||||
<CreateIListing>0</CreateIListing>
|
|
||||||
<AsmCond>1</AsmCond>
|
|
||||||
<AsmSymb>1</AsmSymb>
|
|
||||||
<AsmXref>0</AsmXref>
|
|
||||||
<CCond>1</CCond>
|
|
||||||
<CCode>0</CCode>
|
|
||||||
<CListInc>0</CListInc>
|
|
||||||
<CSymb>0</CSymb>
|
|
||||||
<LinkerCodeListing>0</LinkerCodeListing>
|
|
||||||
</ListingPage>
|
|
||||||
<OPTXL>
|
|
||||||
<LMap>1</LMap>
|
|
||||||
<LComments>1</LComments>
|
|
||||||
<LGenerateSymbols>1</LGenerateSymbols>
|
|
||||||
<LLibSym>1</LLibSym>
|
|
||||||
<LLines>1</LLines>
|
|
||||||
<LLocSym>1</LLocSym>
|
|
||||||
<LPubSym>1</LPubSym>
|
|
||||||
<LXref>0</LXref>
|
|
||||||
<LExpSel>0</LExpSel>
|
|
||||||
</OPTXL>
|
|
||||||
<OPTFL>
|
|
||||||
<tvExp>1</tvExp>
|
|
||||||
<tvExpOptDlg>0</tvExpOptDlg>
|
|
||||||
<IsCurrentTarget>1</IsCurrentTarget>
|
|
||||||
</OPTFL>
|
|
||||||
<CpuCode>18</CpuCode>
|
|
||||||
<DebugOpt>
|
|
||||||
<uSim>0</uSim>
|
|
||||||
<uTrg>1</uTrg>
|
|
||||||
<sLdApp>1</sLdApp>
|
|
||||||
<sGomain>1</sGomain>
|
|
||||||
<sRbreak>1</sRbreak>
|
|
||||||
<sRwatch>1</sRwatch>
|
|
||||||
<sRmem>1</sRmem>
|
|
||||||
<sRfunc>1</sRfunc>
|
|
||||||
<sRbox>1</sRbox>
|
|
||||||
<tLdApp>1</tLdApp>
|
|
||||||
<tGomain>0</tGomain>
|
|
||||||
<tRbreak>1</tRbreak>
|
|
||||||
<tRwatch>1</tRwatch>
|
|
||||||
<tRmem>1</tRmem>
|
|
||||||
<tRfunc>0</tRfunc>
|
|
||||||
<tRbox>1</tRbox>
|
|
||||||
<tRtrace>1</tRtrace>
|
|
||||||
<sRSysVw>1</sRSysVw>
|
|
||||||
<tRSysVw>1</tRSysVw>
|
|
||||||
<sRunDeb>0</sRunDeb>
|
|
||||||
<sLrtime>0</sLrtime>
|
|
||||||
<bEvRecOn>1</bEvRecOn>
|
|
||||||
<bSchkAxf>0</bSchkAxf>
|
|
||||||
<bTchkAxf>0</bTchkAxf>
|
|
||||||
<nTsel>3</nTsel>
|
|
||||||
<sDll></sDll>
|
|
||||||
<sDllPa></sDllPa>
|
|
||||||
<sDlgDll></sDlgDll>
|
|
||||||
<sDlgPa></sDlgPa>
|
|
||||||
<sIfile></sIfile>
|
|
||||||
<tDll></tDll>
|
|
||||||
<tDllPa></tDllPa>
|
|
||||||
<tDlgDll></tDlgDll>
|
|
||||||
<tDlgPa></tDlgPa>
|
|
||||||
<tIfile></tIfile>
|
|
||||||
<pMon>BIN\CMSIS_AGDI.dll</pMon>
|
|
||||||
</DebugOpt>
|
|
||||||
<TargetDriverDllRegistry>
|
|
||||||
<SetRegEntry>
|
|
||||||
<Number>0</Number>
|
|
||||||
<Key>ARMRTXEVENTFLAGS</Key>
|
|
||||||
<Name>-L70 -Z18 -C0 -M0 -T1</Name>
|
|
||||||
</SetRegEntry>
|
|
||||||
<SetRegEntry>
|
|
||||||
<Number>0</Number>
|
|
||||||
<Key>DLGTARM</Key>
|
|
||||||
<Name>(1010=-1,-1,-1,-1,0)(1007=-1,-1,-1,-1,0)(1008=-1,-1,-1,-1,0)(1009=-1,-1,-1,-1,0)</Name>
|
|
||||||
</SetRegEntry>
|
|
||||||
<SetRegEntry>
|
|
||||||
<Number>0</Number>
|
|
||||||
<Key>ARMDBGFLAGS</Key>
|
|
||||||
<Name></Name>
|
|
||||||
</SetRegEntry>
|
|
||||||
<SetRegEntry>
|
|
||||||
<Number>0</Number>
|
|
||||||
<Key>DLGUARM</Key>
|
|
||||||
<Name></Name>
|
|
||||||
</SetRegEntry>
|
|
||||||
<SetRegEntry>
|
|
||||||
<Number>0</Number>
|
|
||||||
<Key>CMSIS_AGDI</Key>
|
|
||||||
<Name>-X"Any" -UAny -O206 -S0 -C0 -P00000000 -N00("ARM CoreSight SW-DP") -D00(1BA01477) -L00(0) -TO65554 -TC10000000 -TT10000000 -TP20 -TDS8007 -TDT0 -TDC1F -TIEFFFFFFFF -TIP8 -FO7 -FD20000000 -FC1000 -FN1 -FF0STM32F10x_128.FLM -FS08000000 -FL020000 -FP0($$Device:STM32F103C8$Flash\STM32F10x_128.FLM)</Name>
|
|
||||||
</SetRegEntry>
|
|
||||||
<SetRegEntry>
|
|
||||||
<Number>0</Number>
|
|
||||||
<Key>ST-LINKIII-KEIL_SWO</Key>
|
|
||||||
<Name>-U50FF71066675545729181387 -O131278 -SF1000 -C0 -A0 -I0 -HNlocalhost -HP7184 -P1 -N00("") -D00(00000000) -L00(0) -TO131090 -TC10000000 -TT10000000 -TP21 -TDS8007 -TDT0 -TDC1F -TIEFFFFFFFF -TIP8 -FO15 -FD20000000 -FC1000 -FN1 -FF0STM32F10x_128.FLM -FS08000000 -FL020000 -FP0($$Device:STM32F103C8$Flash\STM32F10x_128.FLM) -WA0 -WE0 -WVCE4 -WS2710 -WM0 -WP2 -WK0 -MUFFFFFFFF-R0</Name>
|
|
||||||
</SetRegEntry>
|
|
||||||
<SetRegEntry>
|
|
||||||
<Number>0</Number>
|
|
||||||
<Key>UL2CM3</Key>
|
|
||||||
<Name>UL2CM3(-S0 -C0 -P0 -FD20000000 -FC1000 -FN1 -FF0STM32F10x_128 -FS08000000 -FL020000 -FP0($$Device:STM32F103C8$Flash\STM32F10x_128.FLM))</Name>
|
|
||||||
</SetRegEntry>
|
|
||||||
</TargetDriverDllRegistry>
|
|
||||||
<Breakpoint>
|
|
||||||
<Bp>
|
|
||||||
<Number>0</Number>
|
|
||||||
<Type>0</Type>
|
|
||||||
<LineNumber>188</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\rf433_tx_app.c</Filename>
|
|
||||||
<ExecCommand></ExecCommand>
|
|
||||||
<Expression></Expression>
|
|
||||||
</Bp>
|
|
||||||
</Breakpoint>
|
|
||||||
<Tracepoint>
|
|
||||||
<THDelay>0</THDelay>
|
|
||||||
</Tracepoint>
|
|
||||||
<DebugFlag>
|
|
||||||
<trace>0</trace>
|
|
||||||
<periodic>0</periodic>
|
|
||||||
<aLwin>1</aLwin>
|
|
||||||
<aCover>0</aCover>
|
|
||||||
<aSer1>0</aSer1>
|
|
||||||
<aSer2>0</aSer2>
|
|
||||||
<aPa>0</aPa>
|
|
||||||
<viewmode>1</viewmode>
|
|
||||||
<vrSel>0</vrSel>
|
|
||||||
<aSym>0</aSym>
|
|
||||||
<aTbox>0</aTbox>
|
|
||||||
<AscS1>0</AscS1>
|
|
||||||
<AscS2>0</AscS2>
|
|
||||||
<AscS3>0</AscS3>
|
|
||||||
<aSer3>0</aSer3>
|
|
||||||
<eProf>0</eProf>
|
|
||||||
<aLa>0</aLa>
|
|
||||||
<aPa1>0</aPa1>
|
|
||||||
<AscS4>0</AscS4>
|
|
||||||
<aSer4>0</aSer4>
|
|
||||||
<StkLoc>0</StkLoc>
|
|
||||||
<TrcWin>0</TrcWin>
|
|
||||||
<newCpu>0</newCpu>
|
|
||||||
<uProt>0</uProt>
|
|
||||||
</DebugFlag>
|
|
||||||
<LintExecutable></LintExecutable>
|
|
||||||
<LintConfigFile></LintConfigFile>
|
|
||||||
<bLintAuto>0</bLintAuto>
|
|
||||||
<bAutoGenD>0</bAutoGenD>
|
|
||||||
<LntExFlags>0</LntExFlags>
|
|
||||||
<pMisraName></pMisraName>
|
|
||||||
<pszMrule></pszMrule>
|
|
||||||
<pSingCmds></pSingCmds>
|
|
||||||
<pMultCmds></pMultCmds>
|
|
||||||
<pMisraNamep></pMisraNamep>
|
|
||||||
<pszMrulep></pszMrulep>
|
|
||||||
<pSingCmdsp></pSingCmdsp>
|
|
||||||
<pMultCmdsp></pMultCmdsp>
|
|
||||||
<DebugDescription>
|
|
||||||
<Enable>1</Enable>
|
|
||||||
<EnableFlashSeq>0</EnableFlashSeq>
|
|
||||||
<EnableLog>0</EnableLog>
|
|
||||||
<Protocol>2</Protocol>
|
|
||||||
<DbgClock>1000000</DbgClock>
|
|
||||||
</DebugDescription>
|
|
||||||
</TargetOption>
|
|
||||||
</Target>
|
|
||||||
|
|
||||||
<Group>
|
|
||||||
<GroupName>Application/MDK-ARM</GroupName>
|
|
||||||
<tvExp>1</tvExp>
|
|
||||||
<tvExpOptDlg>0</tvExpOptDlg>
|
|
||||||
<cbSel>0</cbSel>
|
|
||||||
<RteFlg>0</RteFlg>
|
|
||||||
<File>
|
|
||||||
<GroupNumber>1</GroupNumber>
|
|
||||||
<FileNumber>1</FileNumber>
|
|
||||||
<FileType>2</FileType>
|
|
||||||
<tvExp>0</tvExp>
|
|
||||||
<tvExpOptDlg>0</tvExpOptDlg>
|
|
||||||
<bDave2>0</bDave2>
|
|
||||||
<PathWithFileName>startup_stm32f103xb.s</PathWithFileName>
|
|
||||||
<FilenameWithoutPath>startup_stm32f103xb.s</FilenameWithoutPath>
|
|
||||||
<RteFlg>0</RteFlg>
|
|
||||||
<bShared>0</bShared>
|
|
||||||
</File>
|
|
||||||
</Group>
|
|
||||||
|
|
||||||
<Group>
|
|
||||||
<GroupName>Application/User/Core</GroupName>
|
|
||||||
<tvExp>1</tvExp>
|
|
||||||
<tvExpOptDlg>0</tvExpOptDlg>
|
|
||||||
<cbSel>0</cbSel>
|
|
||||||
<RteFlg>0</RteFlg>
|
|
||||||
<File>
|
|
||||||
<GroupNumber>2</GroupNumber>
|
|
||||||
<FileNumber>2</FileNumber>
|
|
||||||
<FileType>1</FileType>
|
|
||||||
<tvExp>0</tvExp>
|
|
||||||
<tvExpOptDlg>0</tvExpOptDlg>
|
|
||||||
<bDave2>0</bDave2>
|
|
||||||
<PathWithFileName>..\Core\Src\systick.c</PathWithFileName>
|
|
||||||
<FilenameWithoutPath>systick.c</FilenameWithoutPath>
|
|
||||||
<RteFlg>0</RteFlg>
|
|
||||||
<bShared>0</bShared>
|
|
||||||
</File>
|
|
||||||
<File>
|
|
||||||
<GroupNumber>2</GroupNumber>
|
|
||||||
<FileNumber>3</FileNumber>
|
|
||||||
<FileType>1</FileType>
|
|
||||||
<tvExp>0</tvExp>
|
|
||||||
<tvExpOptDlg>0</tvExpOptDlg>
|
|
||||||
<bDave2>0</bDave2>
|
|
||||||
<PathWithFileName>..\Core\Src\rf433_rx_app.c</PathWithFileName>
|
|
||||||
<FilenameWithoutPath>rf433_rx_app.c</FilenameWithoutPath>
|
|
||||||
<RteFlg>0</RteFlg>
|
|
||||||
<bShared>0</bShared>
|
|
||||||
</File>
|
|
||||||
<File>
|
|
||||||
<GroupNumber>2</GroupNumber>
|
|
||||||
<FileNumber>4</FileNumber>
|
|
||||||
<FileType>1</FileType>
|
|
||||||
<tvExp>0</tvExp>
|
|
||||||
<tvExpOptDlg>0</tvExpOptDlg>
|
|
||||||
<bDave2>0</bDave2>
|
|
||||||
<PathWithFileName>..\Core\Src\rf433_tx_app.c</PathWithFileName>
|
|
||||||
<FilenameWithoutPath>rf433_tx_app.c</FilenameWithoutPath>
|
|
||||||
<RteFlg>0</RteFlg>
|
|
||||||
<bShared>0</bShared>
|
|
||||||
</File>
|
|
||||||
<File>
|
|
||||||
<GroupNumber>2</GroupNumber>
|
|
||||||
<FileNumber>5</FileNumber>
|
|
||||||
<FileType>1</FileType>
|
|
||||||
<tvExp>0</tvExp>
|
|
||||||
<tvExpOptDlg>0</tvExpOptDlg>
|
|
||||||
<bDave2>0</bDave2>
|
|
||||||
<PathWithFileName>../Core/Src/main.c</PathWithFileName>
|
|
||||||
<FilenameWithoutPath>main.c</FilenameWithoutPath>
|
|
||||||
<RteFlg>0</RteFlg>
|
|
||||||
<bShared>0</bShared>
|
|
||||||
</File>
|
|
||||||
<File>
|
|
||||||
<GroupNumber>2</GroupNumber>
|
|
||||||
<FileNumber>6</FileNumber>
|
|
||||||
<FileType>1</FileType>
|
|
||||||
<tvExp>0</tvExp>
|
|
||||||
<tvExpOptDlg>0</tvExpOptDlg>
|
|
||||||
<bDave2>0</bDave2>
|
|
||||||
<PathWithFileName>../Core/Src/gpio.c</PathWithFileName>
|
|
||||||
<FilenameWithoutPath>gpio.c</FilenameWithoutPath>
|
|
||||||
<RteFlg>0</RteFlg>
|
|
||||||
<bShared>0</bShared>
|
|
||||||
</File>
|
|
||||||
<File>
|
|
||||||
<GroupNumber>2</GroupNumber>
|
|
||||||
<FileNumber>7</FileNumber>
|
|
||||||
<FileType>1</FileType>
|
|
||||||
<tvExp>0</tvExp>
|
|
||||||
<tvExpOptDlg>0</tvExpOptDlg>
|
|
||||||
<bDave2>0</bDave2>
|
|
||||||
<PathWithFileName>../Core/Src/spi.c</PathWithFileName>
|
|
||||||
<FilenameWithoutPath>spi.c</FilenameWithoutPath>
|
|
||||||
<RteFlg>0</RteFlg>
|
|
||||||
<bShared>0</bShared>
|
|
||||||
</File>
|
|
||||||
<File>
|
|
||||||
<GroupNumber>2</GroupNumber>
|
|
||||||
<FileNumber>8</FileNumber>
|
|
||||||
<FileType>1</FileType>
|
|
||||||
<tvExp>0</tvExp>
|
|
||||||
<tvExpOptDlg>0</tvExpOptDlg>
|
|
||||||
<bDave2>0</bDave2>
|
|
||||||
<PathWithFileName>../Core/Src/usart.c</PathWithFileName>
|
|
||||||
<FilenameWithoutPath>usart.c</FilenameWithoutPath>
|
|
||||||
<RteFlg>0</RteFlg>
|
|
||||||
<bShared>0</bShared>
|
|
||||||
</File>
|
|
||||||
<File>
|
|
||||||
<GroupNumber>2</GroupNumber>
|
|
||||||
<FileNumber>9</FileNumber>
|
|
||||||
<FileType>1</FileType>
|
|
||||||
<tvExp>0</tvExp>
|
|
||||||
<tvExpOptDlg>0</tvExpOptDlg>
|
|
||||||
<bDave2>0</bDave2>
|
|
||||||
<PathWithFileName>../Core/Src/stm32f1xx_it.c</PathWithFileName>
|
|
||||||
<FilenameWithoutPath>stm32f1xx_it.c</FilenameWithoutPath>
|
|
||||||
<RteFlg>0</RteFlg>
|
|
||||||
<bShared>0</bShared>
|
|
||||||
</File>
|
|
||||||
<File>
|
|
||||||
<GroupNumber>2</GroupNumber>
|
|
||||||
<FileNumber>10</FileNumber>
|
|
||||||
<FileType>1</FileType>
|
|
||||||
<tvExp>0</tvExp>
|
|
||||||
<tvExpOptDlg>0</tvExpOptDlg>
|
|
||||||
<bDave2>0</bDave2>
|
|
||||||
<PathWithFileName>../Core/Src/stm32f1xx_hal_msp.c</PathWithFileName>
|
|
||||||
<FilenameWithoutPath>stm32f1xx_hal_msp.c</FilenameWithoutPath>
|
|
||||||
<RteFlg>0</RteFlg>
|
|
||||||
<bShared>0</bShared>
|
|
||||||
</File>
|
|
||||||
<File>
|
|
||||||
<GroupNumber>2</GroupNumber>
|
|
||||||
<FileNumber>11</FileNumber>
|
|
||||||
<FileType>1</FileType>
|
|
||||||
<tvExp>0</tvExp>
|
|
||||||
<tvExpOptDlg>0</tvExpOptDlg>
|
|
||||||
<bDave2>0</bDave2>
|
|
||||||
<PathWithFileName>..\Core\Src\cmd_parser.c</PathWithFileName>
|
|
||||||
<FilenameWithoutPath>cmd_parser.c</FilenameWithoutPath>
|
|
||||||
<RteFlg>0</RteFlg>
|
|
||||||
<bShared>0</bShared>
|
|
||||||
</File>
|
|
||||||
<File>
|
|
||||||
<GroupNumber>2</GroupNumber>
|
|
||||||
<FileNumber>12</FileNumber>
|
|
||||||
<FileType>1</FileType>
|
|
||||||
<tvExp>0</tvExp>
|
|
||||||
<tvExpOptDlg>0</tvExpOptDlg>
|
|
||||||
<bDave2>0</bDave2>
|
|
||||||
<PathWithFileName>..\Core\Src\io_monitor.c</PathWithFileName>
|
|
||||||
<FilenameWithoutPath>io_monitor.c</FilenameWithoutPath>
|
|
||||||
<RteFlg>0</RteFlg>
|
|
||||||
<bShared>0</bShared>
|
|
||||||
</File>
|
|
||||||
<File>
|
|
||||||
<GroupNumber>2</GroupNumber>
|
|
||||||
<FileNumber>13</FileNumber>
|
|
||||||
<FileType>1</FileType>
|
|
||||||
<tvExp>0</tvExp>
|
|
||||||
<tvExpOptDlg>0</tvExpOptDlg>
|
|
||||||
<bDave2>0</bDave2>
|
|
||||||
<PathWithFileName>..\Core\Src\relay_control.c</PathWithFileName>
|
|
||||||
<FilenameWithoutPath>relay_control.c</FilenameWithoutPath>
|
|
||||||
<RteFlg>0</RteFlg>
|
|
||||||
<bShared>0</bShared>
|
|
||||||
</File>
|
|
||||||
<File>
|
|
||||||
<GroupNumber>2</GroupNumber>
|
|
||||||
<FileNumber>14</FileNumber>
|
|
||||||
<FileType>1</FileType>
|
|
||||||
<tvExp>0</tvExp>
|
|
||||||
<tvExpOptDlg>0</tvExpOptDlg>
|
|
||||||
<bDave2>0</bDave2>
|
|
||||||
<PathWithFileName>..\Core\Src\uart2_print.c</PathWithFileName>
|
|
||||||
<FilenameWithoutPath>uart2_print.c</FilenameWithoutPath>
|
|
||||||
<RteFlg>0</RteFlg>
|
|
||||||
<bShared>0</bShared>
|
|
||||||
</File>
|
|
||||||
<File>
|
|
||||||
<GroupNumber>2</GroupNumber>
|
|
||||||
<FileNumber>15</FileNumber>
|
|
||||||
<FileType>1</FileType>
|
|
||||||
<tvExp>0</tvExp>
|
|
||||||
<tvExpOptDlg>0</tvExpOptDlg>
|
|
||||||
<bDave2>0</bDave2>
|
|
||||||
<PathWithFileName>..\Core\Src\cmd_router.c</PathWithFileName>
|
|
||||||
<FilenameWithoutPath>cmd_router.c</FilenameWithoutPath>
|
|
||||||
<RteFlg>0</RteFlg>
|
|
||||||
<bShared>0</bShared>
|
|
||||||
</File>
|
|
||||||
<File>
|
|
||||||
<GroupNumber>2</GroupNumber>
|
|
||||||
<FileNumber>16</FileNumber>
|
|
||||||
<FileType>1</FileType>
|
|
||||||
<tvExp>0</tvExp>
|
|
||||||
<tvExpOptDlg>0</tvExpOptDlg>
|
|
||||||
<bDave2>0</bDave2>
|
|
||||||
<PathWithFileName>..\Core\Src\debug_log.c</PathWithFileName>
|
|
||||||
<FilenameWithoutPath>debug_log.c</FilenameWithoutPath>
|
|
||||||
<RteFlg>0</RteFlg>
|
|
||||||
<bShared>0</bShared>
|
|
||||||
</File>
|
|
||||||
<File>
|
|
||||||
<GroupNumber>2</GroupNumber>
|
|
||||||
<FileNumber>17</FileNumber>
|
|
||||||
<FileType>1</FileType>
|
|
||||||
<tvExp>0</tvExp>
|
|
||||||
<tvExpOptDlg>0</tvExpOptDlg>
|
|
||||||
<bDave2>0</bDave2>
|
|
||||||
<PathWithFileName>..\Core\Src\multi_uart_router.c</PathWithFileName>
|
|
||||||
<FilenameWithoutPath>multi_uart_router.c</FilenameWithoutPath>
|
|
||||||
<RteFlg>0</RteFlg>
|
|
||||||
<bShared>0</bShared>
|
|
||||||
</File>
|
|
||||||
<File>
|
|
||||||
<GroupNumber>2</GroupNumber>
|
|
||||||
<FileNumber>18</FileNumber>
|
|
||||||
<FileType>1</FileType>
|
|
||||||
<tvExp>0</tvExp>
|
|
||||||
<tvExpOptDlg>0</tvExpOptDlg>
|
|
||||||
<bDave2>0</bDave2>
|
|
||||||
<PathWithFileName>..\Core\Src\uart3_passthrough.c</PathWithFileName>
|
|
||||||
<FilenameWithoutPath>uart3_passthrough.c</FilenameWithoutPath>
|
|
||||||
<RteFlg>0</RteFlg>
|
|
||||||
<bShared>0</bShared>
|
|
||||||
</File>
|
|
||||||
<File>
|
|
||||||
<GroupNumber>2</GroupNumber>
|
|
||||||
<FileNumber>19</FileNumber>
|
|
||||||
<FileType>1</FileType>
|
|
||||||
<tvExp>0</tvExp>
|
|
||||||
<tvExpOptDlg>0</tvExpOptDlg>
|
|
||||||
<bDave2>0</bDave2>
|
|
||||||
<PathWithFileName>..\Core\Src\uart3_protocol_discriminator.c</PathWithFileName>
|
|
||||||
<FilenameWithoutPath>uart3_protocol_discriminator.c</FilenameWithoutPath>
|
|
||||||
<RteFlg>0</RteFlg>
|
|
||||||
<bShared>0</bShared>
|
|
||||||
</File>
|
|
||||||
</Group>
|
|
||||||
|
|
||||||
<Group>
|
|
||||||
<GroupName>Drivers/STM32F1xx_HAL_Driver</GroupName>
|
|
||||||
<tvExp>0</tvExp>
|
|
||||||
<tvExpOptDlg>0</tvExpOptDlg>
|
|
||||||
<cbSel>0</cbSel>
|
|
||||||
<RteFlg>0</RteFlg>
|
|
||||||
<File>
|
|
||||||
<GroupNumber>3</GroupNumber>
|
|
||||||
<FileNumber>20</FileNumber>
|
|
||||||
<FileType>1</FileType>
|
|
||||||
<tvExp>0</tvExp>
|
|
||||||
<tvExpOptDlg>0</tvExpOptDlg>
|
|
||||||
<bDave2>0</bDave2>
|
|
||||||
<PathWithFileName>../Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c</PathWithFileName>
|
|
||||||
<FilenameWithoutPath>stm32f1xx_hal_gpio_ex.c</FilenameWithoutPath>
|
|
||||||
<RteFlg>0</RteFlg>
|
|
||||||
<bShared>0</bShared>
|
|
||||||
</File>
|
|
||||||
<File>
|
|
||||||
<GroupNumber>3</GroupNumber>
|
|
||||||
<FileNumber>21</FileNumber>
|
|
||||||
<FileType>1</FileType>
|
|
||||||
<tvExp>0</tvExp>
|
|
||||||
<tvExpOptDlg>0</tvExpOptDlg>
|
|
||||||
<bDave2>0</bDave2>
|
|
||||||
<PathWithFileName>../Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c</PathWithFileName>
|
|
||||||
<FilenameWithoutPath>stm32f1xx_hal_spi.c</FilenameWithoutPath>
|
|
||||||
<RteFlg>0</RteFlg>
|
|
||||||
<bShared>0</bShared>
|
|
||||||
</File>
|
|
||||||
<File>
|
|
||||||
<GroupNumber>3</GroupNumber>
|
|
||||||
<FileNumber>22</FileNumber>
|
|
||||||
<FileType>1</FileType>
|
|
||||||
<tvExp>0</tvExp>
|
|
||||||
<tvExpOptDlg>0</tvExpOptDlg>
|
|
||||||
<bDave2>0</bDave2>
|
|
||||||
<PathWithFileName>../Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c</PathWithFileName>
|
|
||||||
<FilenameWithoutPath>stm32f1xx_hal.c</FilenameWithoutPath>
|
|
||||||
<RteFlg>0</RteFlg>
|
|
||||||
<bShared>0</bShared>
|
|
||||||
</File>
|
|
||||||
<File>
|
|
||||||
<GroupNumber>3</GroupNumber>
|
|
||||||
<FileNumber>23</FileNumber>
|
|
||||||
<FileType>1</FileType>
|
|
||||||
<tvExp>0</tvExp>
|
|
||||||
<tvExpOptDlg>0</tvExpOptDlg>
|
|
||||||
<bDave2>0</bDave2>
|
|
||||||
<PathWithFileName>../Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c</PathWithFileName>
|
|
||||||
<FilenameWithoutPath>stm32f1xx_hal_rcc.c</FilenameWithoutPath>
|
|
||||||
<RteFlg>0</RteFlg>
|
|
||||||
<bShared>0</bShared>
|
|
||||||
</File>
|
|
||||||
<File>
|
|
||||||
<GroupNumber>3</GroupNumber>
|
|
||||||
<FileNumber>24</FileNumber>
|
|
||||||
<FileType>1</FileType>
|
|
||||||
<tvExp>0</tvExp>
|
|
||||||
<tvExpOptDlg>0</tvExpOptDlg>
|
|
||||||
<bDave2>0</bDave2>
|
|
||||||
<PathWithFileName>../Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c</PathWithFileName>
|
|
||||||
<FilenameWithoutPath>stm32f1xx_hal_rcc_ex.c</FilenameWithoutPath>
|
|
||||||
<RteFlg>0</RteFlg>
|
|
||||||
<bShared>0</bShared>
|
|
||||||
</File>
|
|
||||||
<File>
|
|
||||||
<GroupNumber>3</GroupNumber>
|
|
||||||
<FileNumber>25</FileNumber>
|
|
||||||
<FileType>1</FileType>
|
|
||||||
<tvExp>0</tvExp>
|
|
||||||
<tvExpOptDlg>0</tvExpOptDlg>
|
|
||||||
<bDave2>0</bDave2>
|
|
||||||
<PathWithFileName>../Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c</PathWithFileName>
|
|
||||||
<FilenameWithoutPath>stm32f1xx_hal_gpio.c</FilenameWithoutPath>
|
|
||||||
<RteFlg>0</RteFlg>
|
|
||||||
<bShared>0</bShared>
|
|
||||||
</File>
|
|
||||||
<File>
|
|
||||||
<GroupNumber>3</GroupNumber>
|
|
||||||
<FileNumber>26</FileNumber>
|
|
||||||
<FileType>1</FileType>
|
|
||||||
<tvExp>0</tvExp>
|
|
||||||
<tvExpOptDlg>0</tvExpOptDlg>
|
|
||||||
<bDave2>0</bDave2>
|
|
||||||
<PathWithFileName>../Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c</PathWithFileName>
|
|
||||||
<FilenameWithoutPath>stm32f1xx_hal_dma.c</FilenameWithoutPath>
|
|
||||||
<RteFlg>0</RteFlg>
|
|
||||||
<bShared>0</bShared>
|
|
||||||
</File>
|
|
||||||
<File>
|
|
||||||
<GroupNumber>3</GroupNumber>
|
|
||||||
<FileNumber>27</FileNumber>
|
|
||||||
<FileType>1</FileType>
|
|
||||||
<tvExp>0</tvExp>
|
|
||||||
<tvExpOptDlg>0</tvExpOptDlg>
|
|
||||||
<bDave2>0</bDave2>
|
|
||||||
<PathWithFileName>../Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c</PathWithFileName>
|
|
||||||
<FilenameWithoutPath>stm32f1xx_hal_cortex.c</FilenameWithoutPath>
|
|
||||||
<RteFlg>0</RteFlg>
|
|
||||||
<bShared>0</bShared>
|
|
||||||
</File>
|
|
||||||
<File>
|
|
||||||
<GroupNumber>3</GroupNumber>
|
|
||||||
<FileNumber>28</FileNumber>
|
|
||||||
<FileType>1</FileType>
|
|
||||||
<tvExp>0</tvExp>
|
|
||||||
<tvExpOptDlg>0</tvExpOptDlg>
|
|
||||||
<bDave2>0</bDave2>
|
|
||||||
<PathWithFileName>../Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c</PathWithFileName>
|
|
||||||
<FilenameWithoutPath>stm32f1xx_hal_pwr.c</FilenameWithoutPath>
|
|
||||||
<RteFlg>0</RteFlg>
|
|
||||||
<bShared>0</bShared>
|
|
||||||
</File>
|
|
||||||
<File>
|
|
||||||
<GroupNumber>3</GroupNumber>
|
|
||||||
<FileNumber>29</FileNumber>
|
|
||||||
<FileType>1</FileType>
|
|
||||||
<tvExp>0</tvExp>
|
|
||||||
<tvExpOptDlg>0</tvExpOptDlg>
|
|
||||||
<bDave2>0</bDave2>
|
|
||||||
<PathWithFileName>../Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c</PathWithFileName>
|
|
||||||
<FilenameWithoutPath>stm32f1xx_hal_flash.c</FilenameWithoutPath>
|
|
||||||
<RteFlg>0</RteFlg>
|
|
||||||
<bShared>0</bShared>
|
|
||||||
</File>
|
|
||||||
<File>
|
|
||||||
<GroupNumber>3</GroupNumber>
|
|
||||||
<FileNumber>30</FileNumber>
|
|
||||||
<FileType>1</FileType>
|
|
||||||
<tvExp>0</tvExp>
|
|
||||||
<tvExpOptDlg>0</tvExpOptDlg>
|
|
||||||
<bDave2>0</bDave2>
|
|
||||||
<PathWithFileName>../Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c</PathWithFileName>
|
|
||||||
<FilenameWithoutPath>stm32f1xx_hal_flash_ex.c</FilenameWithoutPath>
|
|
||||||
<RteFlg>0</RteFlg>
|
|
||||||
<bShared>0</bShared>
|
|
||||||
</File>
|
|
||||||
<File>
|
|
||||||
<GroupNumber>3</GroupNumber>
|
|
||||||
<FileNumber>31</FileNumber>
|
|
||||||
<FileType>1</FileType>
|
|
||||||
<tvExp>0</tvExp>
|
|
||||||
<tvExpOptDlg>0</tvExpOptDlg>
|
|
||||||
<bDave2>0</bDave2>
|
|
||||||
<PathWithFileName>../Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c</PathWithFileName>
|
|
||||||
<FilenameWithoutPath>stm32f1xx_hal_exti.c</FilenameWithoutPath>
|
|
||||||
<RteFlg>0</RteFlg>
|
|
||||||
<bShared>0</bShared>
|
|
||||||
</File>
|
|
||||||
<File>
|
|
||||||
<GroupNumber>3</GroupNumber>
|
|
||||||
<FileNumber>32</FileNumber>
|
|
||||||
<FileType>1</FileType>
|
|
||||||
<tvExp>0</tvExp>
|
|
||||||
<tvExpOptDlg>0</tvExpOptDlg>
|
|
||||||
<bDave2>0</bDave2>
|
|
||||||
<PathWithFileName>../Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c</PathWithFileName>
|
|
||||||
<FilenameWithoutPath>stm32f1xx_hal_tim.c</FilenameWithoutPath>
|
|
||||||
<RteFlg>0</RteFlg>
|
|
||||||
<bShared>0</bShared>
|
|
||||||
</File>
|
|
||||||
<File>
|
|
||||||
<GroupNumber>3</GroupNumber>
|
|
||||||
<FileNumber>33</FileNumber>
|
|
||||||
<FileType>1</FileType>
|
|
||||||
<tvExp>0</tvExp>
|
|
||||||
<tvExpOptDlg>0</tvExpOptDlg>
|
|
||||||
<bDave2>0</bDave2>
|
|
||||||
<PathWithFileName>../Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c</PathWithFileName>
|
|
||||||
<FilenameWithoutPath>stm32f1xx_hal_tim_ex.c</FilenameWithoutPath>
|
|
||||||
<RteFlg>0</RteFlg>
|
|
||||||
<bShared>0</bShared>
|
|
||||||
</File>
|
|
||||||
<File>
|
|
||||||
<GroupNumber>3</GroupNumber>
|
|
||||||
<FileNumber>34</FileNumber>
|
|
||||||
<FileType>1</FileType>
|
|
||||||
<tvExp>0</tvExp>
|
|
||||||
<tvExpOptDlg>0</tvExpOptDlg>
|
|
||||||
<bDave2>0</bDave2>
|
|
||||||
<PathWithFileName>../Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c</PathWithFileName>
|
|
||||||
<FilenameWithoutPath>stm32f1xx_hal_uart.c</FilenameWithoutPath>
|
|
||||||
<RteFlg>0</RteFlg>
|
|
||||||
<bShared>0</bShared>
|
|
||||||
</File>
|
|
||||||
</Group>
|
|
||||||
|
|
||||||
<Group>
|
|
||||||
<GroupName>Drivers/CMSIS</GroupName>
|
|
||||||
<tvExp>0</tvExp>
|
|
||||||
<tvExpOptDlg>0</tvExpOptDlg>
|
|
||||||
<cbSel>0</cbSel>
|
|
||||||
<RteFlg>0</RteFlg>
|
|
||||||
<File>
|
|
||||||
<GroupNumber>4</GroupNumber>
|
|
||||||
<FileNumber>35</FileNumber>
|
|
||||||
<FileType>1</FileType>
|
|
||||||
<tvExp>0</tvExp>
|
|
||||||
<tvExpOptDlg>0</tvExpOptDlg>
|
|
||||||
<bDave2>0</bDave2>
|
|
||||||
<PathWithFileName>../Core/Src/system_stm32f1xx.c</PathWithFileName>
|
|
||||||
<FilenameWithoutPath>system_stm32f1xx.c</FilenameWithoutPath>
|
|
||||||
<RteFlg>0</RteFlg>
|
|
||||||
<bShared>0</bShared>
|
|
||||||
</File>
|
|
||||||
</Group>
|
|
||||||
|
|
||||||
<Group>
|
|
||||||
<GroupName>Driver_RF433</GroupName>
|
|
||||||
<tvExp>1</tvExp>
|
|
||||||
<tvExpOptDlg>0</tvExpOptDlg>
|
|
||||||
<cbSel>0</cbSel>
|
|
||||||
<RteFlg>0</RteFlg>
|
|
||||||
<File>
|
|
||||||
<GroupNumber>5</GroupNumber>
|
|
||||||
<FileNumber>36</FileNumber>
|
|
||||||
<FileType>1</FileType>
|
|
||||||
<tvExp>0</tvExp>
|
|
||||||
<tvExpOptDlg>0</tvExpOptDlg>
|
|
||||||
<bDave2>0</bDave2>
|
|
||||||
<PathWithFileName>..\Driver_RF433\Src\rf433.c</PathWithFileName>
|
|
||||||
<FilenameWithoutPath>rf433.c</FilenameWithoutPath>
|
|
||||||
<RteFlg>0</RteFlg>
|
|
||||||
<bShared>0</bShared>
|
|
||||||
</File>
|
|
||||||
<File>
|
|
||||||
<GroupNumber>5</GroupNumber>
|
|
||||||
<FileNumber>37</FileNumber>
|
|
||||||
<FileType>1</FileType>
|
|
||||||
<tvExp>0</tvExp>
|
|
||||||
<tvExpOptDlg>0</tvExpOptDlg>
|
|
||||||
<bDave2>0</bDave2>
|
|
||||||
<PathWithFileName>..\Driver_RF433\Src\rf433_hal.c</PathWithFileName>
|
|
||||||
<FilenameWithoutPath>rf433_hal.c</FilenameWithoutPath>
|
|
||||||
<RteFlg>0</RteFlg>
|
|
||||||
<bShared>0</bShared>
|
|
||||||
</File>
|
|
||||||
<File>
|
|
||||||
<GroupNumber>5</GroupNumber>
|
|
||||||
<FileNumber>38</FileNumber>
|
|
||||||
<FileType>5</FileType>
|
|
||||||
<tvExp>0</tvExp>
|
|
||||||
<tvExpOptDlg>0</tvExpOptDlg>
|
|
||||||
<bDave2>0</bDave2>
|
|
||||||
<PathWithFileName>..\Driver_RF433\Inc\rf433.h</PathWithFileName>
|
|
||||||
<FilenameWithoutPath>rf433.h</FilenameWithoutPath>
|
|
||||||
<RteFlg>0</RteFlg>
|
|
||||||
<bShared>0</bShared>
|
|
||||||
</File>
|
|
||||||
<File>
|
|
||||||
<GroupNumber>5</GroupNumber>
|
|
||||||
<FileNumber>39</FileNumber>
|
|
||||||
<FileType>5</FileType>
|
|
||||||
<tvExp>0</tvExp>
|
|
||||||
<tvExpOptDlg>0</tvExpOptDlg>
|
|
||||||
<bDave2>0</bDave2>
|
|
||||||
<PathWithFileName>..\Driver_RF433\Inc\rf433_config.h</PathWithFileName>
|
|
||||||
<FilenameWithoutPath>rf433_config.h</FilenameWithoutPath>
|
|
||||||
<RteFlg>0</RteFlg>
|
|
||||||
<bShared>0</bShared>
|
|
||||||
</File>
|
|
||||||
<File>
|
|
||||||
<GroupNumber>5</GroupNumber>
|
|
||||||
<FileNumber>40</FileNumber>
|
|
||||||
<FileType>5</FileType>
|
|
||||||
<tvExp>0</tvExp>
|
|
||||||
<tvExpOptDlg>0</tvExpOptDlg>
|
|
||||||
<bDave2>0</bDave2>
|
|
||||||
<PathWithFileName>..\Driver_RF433\Inc\rf433_hal.h</PathWithFileName>
|
|
||||||
<FilenameWithoutPath>rf433_hal.h</FilenameWithoutPath>
|
|
||||||
<RteFlg>0</RteFlg>
|
|
||||||
<bShared>0</bShared>
|
|
||||||
</File>
|
|
||||||
</Group>
|
|
||||||
|
|
||||||
<Group>
|
|
||||||
<GroupName>::CMSIS</GroupName>
|
|
||||||
<tvExp>0</tvExp>
|
|
||||||
<tvExpOptDlg>0</tvExpOptDlg>
|
|
||||||
<cbSel>0</cbSel>
|
|
||||||
<RteFlg>1</RteFlg>
|
|
||||||
</Group>
|
|
||||||
|
|
||||||
</ProjectOpt>
|
|
||||||
@@ -81,7 +81,7 @@
|
|||||||
</BeforeMake>
|
</BeforeMake>
|
||||||
<AfterMake>
|
<AfterMake>
|
||||||
<RunUserProg1>0</RunUserProg1>
|
<RunUserProg1>0</RunUserProg1>
|
||||||
<RunUserProg2>1</RunUserProg2>
|
<RunUserProg2>0</RunUserProg2>
|
||||||
<UserProg1Name></UserProg1Name>
|
<UserProg1Name></UserProg1Name>
|
||||||
<UserProg2Name></UserProg2Name>
|
<UserProg2Name></UserProg2Name>
|
||||||
<UserProg1Dos16Mode>0</UserProg1Dos16Mode>
|
<UserProg1Dos16Mode>0</UserProg1Dos16Mode>
|
||||||
@@ -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>
|
||||||
@@ -353,7 +353,7 @@
|
|||||||
<NoWarn>0</NoWarn>
|
<NoWarn>0</NoWarn>
|
||||||
<uSurpInc>0</uSurpInc>
|
<uSurpInc>0</uSurpInc>
|
||||||
<useXO>0</useXO>
|
<useXO>0</useXO>
|
||||||
<ClangAsOpt>1</ClangAsOpt>
|
<ClangAsOpt>4</ClangAsOpt>
|
||||||
<VariousControls>
|
<VariousControls>
|
||||||
<MiscControls></MiscControls>
|
<MiscControls></MiscControls>
|
||||||
<Define></Define>
|
<Define></Define>
|
||||||
@@ -414,6 +414,11 @@
|
|||||||
<FileType>1</FileType>
|
<FileType>1</FileType>
|
||||||
<FilePath>../Core/Src/main.c</FilePath>
|
<FilePath>../Core/Src/main.c</FilePath>
|
||||||
</File>
|
</File>
|
||||||
|
<File>
|
||||||
|
<FileName>modbus_tcp_client.c</FileName>
|
||||||
|
<FileType>1</FileType>
|
||||||
|
<FilePath>../Core/Src/modbus_tcp_client.c</FilePath>
|
||||||
|
</File>
|
||||||
<File>
|
<File>
|
||||||
<FileName>gpio.c</FileName>
|
<FileName>gpio.c</FileName>
|
||||||
<FileType>1</FileType>
|
<FileType>1</FileType>
|
||||||
@@ -526,14 +531,14 @@
|
|||||||
<FilePath>..\Core\Src\multi_uart_router.c</FilePath>
|
<FilePath>..\Core\Src\multi_uart_router.c</FilePath>
|
||||||
</File>
|
</File>
|
||||||
<File>
|
<File>
|
||||||
<FileName>uart3_passthrough.c</FileName>
|
<FileName>modbus_rtu_master.c</FileName>
|
||||||
<FileType>1</FileType>
|
<FileType>1</FileType>
|
||||||
<FilePath>..\Core\Src\uart3_passthrough.c</FilePath>
|
<FilePath>..\Core\Src\modbus_rtu_master.c</FilePath>
|
||||||
</File>
|
</File>
|
||||||
<File>
|
<File>
|
||||||
<FileName>uart3_protocol_discriminator.c</FileName>
|
<FileName>tim.c</FileName>
|
||||||
<FileType>1</FileType>
|
<FileType>1</FileType>
|
||||||
<FilePath>..\Core\Src\uart3_protocol_discriminator.c</FilePath>
|
<FilePath>..\Core\Src\tim.c</FilePath>
|
||||||
</File>
|
</File>
|
||||||
</Files>
|
</Files>
|
||||||
</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.
@@ -1,46 +0,0 @@
|
|||||||
project\application.o: ..\Middlewares\MultMenu\application\application.c
|
|
||||||
project\application.o: ..\Middlewares\MultMenu\application\application.h
|
|
||||||
project\application.o: ../Middlewares/MultMenu/menu/menu.h
|
|
||||||
project\application.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdbool.h
|
|
||||||
project\application.o: ../Middlewares/MultMenu/menu/menuConfig.h
|
|
||||||
project\application.o: ../Middlewares/u8g2Lib/inc/u8g2.h
|
|
||||||
project\application.o: ../Middlewares/u8g2Lib/inc/u8x8.h
|
|
||||||
project\application.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h
|
|
||||||
project\application.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdarg.h
|
|
||||||
project\application.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stddef.h
|
|
||||||
project\application.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\limits.h
|
|
||||||
project\application.o: ../Middlewares/MultMenu/disp/dispDirver.h
|
|
||||||
project\application.o: ../Core/Inc/main.h
|
|
||||||
project\application.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h
|
|
||||||
project\application.o: ../Core/Inc/stm32f1xx_hal_conf.h
|
|
||||||
project\application.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h
|
|
||||||
project\application.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h
|
|
||||||
project\application.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h
|
|
||||||
project\application.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xb.h
|
|
||||||
project\application.o: ../Drivers/CMSIS/Include/core_cm3.h
|
|
||||||
project\application.o: ../Drivers/CMSIS/Include/cmsis_version.h
|
|
||||||
project\application.o: ../Drivers/CMSIS/Include/cmsis_compiler.h
|
|
||||||
project\application.o: ../Drivers/CMSIS/Include/cmsis_armcc.h
|
|
||||||
project\application.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h
|
|
||||||
project\application.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h
|
|
||||||
project\application.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h
|
|
||||||
project\application.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h
|
|
||||||
project\application.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h
|
|
||||||
project\application.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h
|
|
||||||
project\application.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h
|
|
||||||
project\application.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h
|
|
||||||
project\application.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h
|
|
||||||
project\application.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h
|
|
||||||
project\application.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h
|
|
||||||
project\application.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h
|
|
||||||
project\application.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_i2c.h
|
|
||||||
project\application.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h
|
|
||||||
project\application.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h
|
|
||||||
project\application.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h
|
|
||||||
project\application.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h
|
|
||||||
project\application.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pcd.h
|
|
||||||
project\application.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_usb.h
|
|
||||||
project\application.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pcd_ex.h
|
|
||||||
project\application.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdio.h
|
|
||||||
project\application.o: ../Core/Inc/e32_hal.h
|
|
||||||
project\application.o: ../Core/Inc/usart.h
|
|
||||||
Binary file not shown.
Binary file not shown.
@@ -1,12 +0,0 @@
|
|||||||
project\cmd_parser.o: ..\Core\Src\cmd_parser.c
|
|
||||||
project\cmd_parser.o: ../Core/Inc/cmd_parser.h
|
|
||||||
project\cmd_parser.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h
|
|
||||||
project\cmd_parser.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdbool.h
|
|
||||||
project\cmd_parser.o: ../Core/Inc/uart2_print.h
|
|
||||||
project\cmd_parser.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdarg.h
|
|
||||||
project\cmd_parser.o: ../Core/Inc/io_monitor.h
|
|
||||||
project\cmd_parser.o: ../Core/Inc/relay_control.h
|
|
||||||
project\cmd_parser.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\string.h
|
|
||||||
project\cmd_parser.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\ctype.h
|
|
||||||
project\cmd_parser.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdio.h
|
|
||||||
project\cmd_parser.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdlib.h
|
|
||||||
Binary file not shown.
Binary file not shown.
@@ -1,42 +0,0 @@
|
|||||||
project\cmd_router.o: ..\Core\Src\cmd_router.c
|
|
||||||
project\cmd_router.o: ../Core/Inc/cmd_router.h
|
|
||||||
project\cmd_router.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h
|
|
||||||
project\cmd_router.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdbool.h
|
|
||||||
project\cmd_router.o: ../Core/Inc/multi_uart_router.h
|
|
||||||
project\cmd_router.o: ../Core/Inc/usart.h
|
|
||||||
project\cmd_router.o: ../Core/Inc/main.h
|
|
||||||
project\cmd_router.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h
|
|
||||||
project\cmd_router.o: ../Core/Inc/stm32f1xx_hal_conf.h
|
|
||||||
project\cmd_router.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h
|
|
||||||
project\cmd_router.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h
|
|
||||||
project\cmd_router.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h
|
|
||||||
project\cmd_router.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xb.h
|
|
||||||
project\cmd_router.o: ../Drivers/CMSIS/Include/core_cm3.h
|
|
||||||
project\cmd_router.o: ../Drivers/CMSIS/Include/cmsis_version.h
|
|
||||||
project\cmd_router.o: ../Drivers/CMSIS/Include/cmsis_compiler.h
|
|
||||||
project\cmd_router.o: ../Drivers/CMSIS/Include/cmsis_armcc.h
|
|
||||||
project\cmd_router.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h
|
|
||||||
project\cmd_router.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h
|
|
||||||
project\cmd_router.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h
|
|
||||||
project\cmd_router.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stddef.h
|
|
||||||
project\cmd_router.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h
|
|
||||||
project\cmd_router.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h
|
|
||||||
project\cmd_router.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h
|
|
||||||
project\cmd_router.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h
|
|
||||||
project\cmd_router.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h
|
|
||||||
project\cmd_router.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h
|
|
||||||
project\cmd_router.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h
|
|
||||||
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_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_uart.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/uart2_print.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/uart3_protocol_discriminator.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: C:\Keil_v5\ARM\ARMCC\Bin\..\include\string.h
|
|
||||||
Binary file not shown.
Binary file not shown.
@@ -1,8 +0,0 @@
|
|||||||
project\debug_log.o: ..\Core\Src\debug_log.c
|
|
||||||
project\debug_log.o: ../Core/Inc/debug_log.h
|
|
||||||
project\debug_log.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h
|
|
||||||
project\debug_log.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdbool.h
|
|
||||||
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\string.h
|
|
||||||
project\debug_log.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdio.h
|
|
||||||
Binary file not shown.
Binary file not shown.
@@ -1,45 +0,0 @@
|
|||||||
project\dispdirver.o: ..\Middlewares\MultMenu\disp\dispDirver.c
|
|
||||||
project\dispdirver.o: ..\Middlewares\MultMenu\disp\dispDirver.h
|
|
||||||
project\dispdirver.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h
|
|
||||||
project\dispdirver.o: ../Middlewares/u8g2Lib/inc/u8g2.h
|
|
||||||
project\dispdirver.o: ../Middlewares/u8g2Lib/inc/u8x8.h
|
|
||||||
project\dispdirver.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdarg.h
|
|
||||||
project\dispdirver.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stddef.h
|
|
||||||
project\dispdirver.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\limits.h
|
|
||||||
project\dispdirver.o: ../Core/Inc/u8g2_hal.h
|
|
||||||
project\dispdirver.o: ../Core/Inc/main.h
|
|
||||||
project\dispdirver.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h
|
|
||||||
project\dispdirver.o: ../Core/Inc/stm32f1xx_hal_conf.h
|
|
||||||
project\dispdirver.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h
|
|
||||||
project\dispdirver.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h
|
|
||||||
project\dispdirver.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h
|
|
||||||
project\dispdirver.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xb.h
|
|
||||||
project\dispdirver.o: ../Drivers/CMSIS/Include/core_cm3.h
|
|
||||||
project\dispdirver.o: ../Drivers/CMSIS/Include/cmsis_version.h
|
|
||||||
project\dispdirver.o: ../Drivers/CMSIS/Include/cmsis_compiler.h
|
|
||||||
project\dispdirver.o: ../Drivers/CMSIS/Include/cmsis_armcc.h
|
|
||||||
project\dispdirver.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h
|
|
||||||
project\dispdirver.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h
|
|
||||||
project\dispdirver.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h
|
|
||||||
project\dispdirver.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h
|
|
||||||
project\dispdirver.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h
|
|
||||||
project\dispdirver.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h
|
|
||||||
project\dispdirver.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h
|
|
||||||
project\dispdirver.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h
|
|
||||||
project\dispdirver.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h
|
|
||||||
project\dispdirver.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h
|
|
||||||
project\dispdirver.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h
|
|
||||||
project\dispdirver.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h
|
|
||||||
project\dispdirver.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_i2c.h
|
|
||||||
project\dispdirver.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h
|
|
||||||
project\dispdirver.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h
|
|
||||||
project\dispdirver.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h
|
|
||||||
project\dispdirver.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h
|
|
||||||
project\dispdirver.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pcd.h
|
|
||||||
project\dispdirver.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_usb.h
|
|
||||||
project\dispdirver.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pcd_ex.h
|
|
||||||
project\dispdirver.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdbool.h
|
|
||||||
project\dispdirver.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdio.h
|
|
||||||
project\dispdirver.o: ../Middlewares/MultMenu/application/application.h
|
|
||||||
project\dispdirver.o: ../Middlewares/MultMenu/menu/menu.h
|
|
||||||
project\dispdirver.o: ../Middlewares/MultMenu/menu/menuConfig.h
|
|
||||||
Binary file not shown.
Binary file not shown.
@@ -1,46 +0,0 @@
|
|||||||
project\e32_demo.o: ..\Core\Src\e32_demo.c
|
|
||||||
project\e32_demo.o: ../Core/Inc/e32_demo.h
|
|
||||||
project\e32_demo.o: ../Core/Inc/e32_hal.h
|
|
||||||
project\e32_demo.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h
|
|
||||||
project\e32_demo.o: ../Core/Inc/main.h
|
|
||||||
project\e32_demo.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h
|
|
||||||
project\e32_demo.o: ../Core/Inc/stm32f1xx_hal_conf.h
|
|
||||||
project\e32_demo.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h
|
|
||||||
project\e32_demo.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h
|
|
||||||
project\e32_demo.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h
|
|
||||||
project\e32_demo.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xb.h
|
|
||||||
project\e32_demo.o: ../Drivers/CMSIS/Include/core_cm3.h
|
|
||||||
project\e32_demo.o: ../Drivers/CMSIS/Include/cmsis_version.h
|
|
||||||
project\e32_demo.o: ../Drivers/CMSIS/Include/cmsis_compiler.h
|
|
||||||
project\e32_demo.o: ../Drivers/CMSIS/Include/cmsis_armcc.h
|
|
||||||
project\e32_demo.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h
|
|
||||||
project\e32_demo.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h
|
|
||||||
project\e32_demo.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h
|
|
||||||
project\e32_demo.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stddef.h
|
|
||||||
project\e32_demo.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h
|
|
||||||
project\e32_demo.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h
|
|
||||||
project\e32_demo.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h
|
|
||||||
project\e32_demo.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h
|
|
||||||
project\e32_demo.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h
|
|
||||||
project\e32_demo.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h
|
|
||||||
project\e32_demo.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h
|
|
||||||
project\e32_demo.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h
|
|
||||||
project\e32_demo.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h
|
|
||||||
project\e32_demo.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_i2c.h
|
|
||||||
project\e32_demo.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h
|
|
||||||
project\e32_demo.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h
|
|
||||||
project\e32_demo.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h
|
|
||||||
project\e32_demo.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h
|
|
||||||
project\e32_demo.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pcd.h
|
|
||||||
project\e32_demo.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_usb.h
|
|
||||||
project\e32_demo.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pcd_ex.h
|
|
||||||
project\e32_demo.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdbool.h
|
|
||||||
project\e32_demo.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdio.h
|
|
||||||
project\e32_demo.o: ../Middlewares/MultMenu/application/application.h
|
|
||||||
project\e32_demo.o: ../Middlewares/MultMenu/menu/menu.h
|
|
||||||
project\e32_demo.o: ../Middlewares/MultMenu/menu/menuConfig.h
|
|
||||||
project\e32_demo.o: ../Middlewares/u8g2Lib/inc/u8g2.h
|
|
||||||
project\e32_demo.o: ../Middlewares/u8g2Lib/inc/u8x8.h
|
|
||||||
project\e32_demo.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdarg.h
|
|
||||||
project\e32_demo.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\limits.h
|
|
||||||
project\e32_demo.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\string.h
|
|
||||||
Binary file not shown.
Binary file not shown.
@@ -1,46 +0,0 @@
|
|||||||
project\e32_hal.o: ..\Core\Src\e32_hal.c
|
|
||||||
project\e32_hal.o: ../Core/Inc/e32_hal.h
|
|
||||||
project\e32_hal.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h
|
|
||||||
project\e32_hal.o: ../Core/Inc/main.h
|
|
||||||
project\e32_hal.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h
|
|
||||||
project\e32_hal.o: ../Core/Inc/stm32f1xx_hal_conf.h
|
|
||||||
project\e32_hal.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h
|
|
||||||
project\e32_hal.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h
|
|
||||||
project\e32_hal.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h
|
|
||||||
project\e32_hal.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xb.h
|
|
||||||
project\e32_hal.o: ../Drivers/CMSIS/Include/core_cm3.h
|
|
||||||
project\e32_hal.o: ../Drivers/CMSIS/Include/cmsis_version.h
|
|
||||||
project\e32_hal.o: ../Drivers/CMSIS/Include/cmsis_compiler.h
|
|
||||||
project\e32_hal.o: ../Drivers/CMSIS/Include/cmsis_armcc.h
|
|
||||||
project\e32_hal.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h
|
|
||||||
project\e32_hal.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h
|
|
||||||
project\e32_hal.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h
|
|
||||||
project\e32_hal.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stddef.h
|
|
||||||
project\e32_hal.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h
|
|
||||||
project\e32_hal.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h
|
|
||||||
project\e32_hal.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h
|
|
||||||
project\e32_hal.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h
|
|
||||||
project\e32_hal.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h
|
|
||||||
project\e32_hal.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h
|
|
||||||
project\e32_hal.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h
|
|
||||||
project\e32_hal.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h
|
|
||||||
project\e32_hal.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h
|
|
||||||
project\e32_hal.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_i2c.h
|
|
||||||
project\e32_hal.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h
|
|
||||||
project\e32_hal.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h
|
|
||||||
project\e32_hal.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h
|
|
||||||
project\e32_hal.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h
|
|
||||||
project\e32_hal.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pcd.h
|
|
||||||
project\e32_hal.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_usb.h
|
|
||||||
project\e32_hal.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pcd_ex.h
|
|
||||||
project\e32_hal.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdbool.h
|
|
||||||
project\e32_hal.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdio.h
|
|
||||||
project\e32_hal.o: ../Middlewares/MultMenu/application/application.h
|
|
||||||
project\e32_hal.o: ../Middlewares/MultMenu/menu/menu.h
|
|
||||||
project\e32_hal.o: ../Middlewares/MultMenu/menu/menuConfig.h
|
|
||||||
project\e32_hal.o: ../Middlewares/u8g2Lib/inc/u8g2.h
|
|
||||||
project\e32_hal.o: ../Middlewares/u8g2Lib/inc/u8x8.h
|
|
||||||
project\e32_hal.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdarg.h
|
|
||||||
project\e32_hal.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\limits.h
|
|
||||||
project\e32_hal.o: ../Core/Inc/gpio.h
|
|
||||||
project\e32_hal.o: ../Core/Inc/usart.h
|
|
||||||
Binary file not shown.
Binary file not shown.
@@ -1,3 +0,0 @@
|
|||||||
project\fifo.o: ..\Core\Src\fifo.c
|
|
||||||
project\fifo.o: ../Core/Inc/fifo.h
|
|
||||||
project\fifo.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h
|
|
||||||
Binary file not shown.
Binary file not shown.
@@ -1,32 +0,0 @@
|
|||||||
project\gpio.o: ../Core/Src/gpio.c
|
|
||||||
project\gpio.o: ../Core/Inc/gpio.h
|
|
||||||
project\gpio.o: ../Core/Inc/main.h
|
|
||||||
project\gpio.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h
|
|
||||||
project\gpio.o: ../Core/Inc/stm32f1xx_hal_conf.h
|
|
||||||
project\gpio.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h
|
|
||||||
project\gpio.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h
|
|
||||||
project\gpio.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h
|
|
||||||
project\gpio.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xb.h
|
|
||||||
project\gpio.o: ../Drivers/CMSIS/Include/core_cm3.h
|
|
||||||
project\gpio.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h
|
|
||||||
project\gpio.o: ../Drivers/CMSIS/Include/cmsis_version.h
|
|
||||||
project\gpio.o: ../Drivers/CMSIS/Include/cmsis_compiler.h
|
|
||||||
project\gpio.o: ../Drivers/CMSIS/Include/cmsis_armcc.h
|
|
||||||
project\gpio.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h
|
|
||||||
project\gpio.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h
|
|
||||||
project\gpio.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h
|
|
||||||
project\gpio.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stddef.h
|
|
||||||
project\gpio.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h
|
|
||||||
project\gpio.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h
|
|
||||||
project\gpio.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h
|
|
||||||
project\gpio.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h
|
|
||||||
project\gpio.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h
|
|
||||||
project\gpio.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h
|
|
||||||
project\gpio.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h
|
|
||||||
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_pwr.h
|
|
||||||
project\gpio.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.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\stdio.h
|
|
||||||
Binary file not shown.
Binary file not shown.
@@ -1,44 +0,0 @@
|
|||||||
project\i2c.o: ../Core/Src/i2c.c
|
|
||||||
project\i2c.o: ../Core/Inc/i2c.h
|
|
||||||
project\i2c.o: ../Core/Inc/main.h
|
|
||||||
project\i2c.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h
|
|
||||||
project\i2c.o: ../Core/Inc/stm32f1xx_hal_conf.h
|
|
||||||
project\i2c.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h
|
|
||||||
project\i2c.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h
|
|
||||||
project\i2c.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h
|
|
||||||
project\i2c.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xb.h
|
|
||||||
project\i2c.o: ../Drivers/CMSIS/Include/core_cm3.h
|
|
||||||
project\i2c.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h
|
|
||||||
project\i2c.o: ../Drivers/CMSIS/Include/cmsis_version.h
|
|
||||||
project\i2c.o: ../Drivers/CMSIS/Include/cmsis_compiler.h
|
|
||||||
project\i2c.o: ../Drivers/CMSIS/Include/cmsis_armcc.h
|
|
||||||
project\i2c.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h
|
|
||||||
project\i2c.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h
|
|
||||||
project\i2c.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h
|
|
||||||
project\i2c.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stddef.h
|
|
||||||
project\i2c.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h
|
|
||||||
project\i2c.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h
|
|
||||||
project\i2c.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h
|
|
||||||
project\i2c.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h
|
|
||||||
project\i2c.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h
|
|
||||||
project\i2c.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h
|
|
||||||
project\i2c.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h
|
|
||||||
project\i2c.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h
|
|
||||||
project\i2c.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h
|
|
||||||
project\i2c.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_i2c.h
|
|
||||||
project\i2c.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h
|
|
||||||
project\i2c.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h
|
|
||||||
project\i2c.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h
|
|
||||||
project\i2c.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h
|
|
||||||
project\i2c.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pcd.h
|
|
||||||
project\i2c.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_usb.h
|
|
||||||
project\i2c.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pcd_ex.h
|
|
||||||
project\i2c.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdbool.h
|
|
||||||
project\i2c.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdio.h
|
|
||||||
project\i2c.o: ../Middlewares/MultMenu/application/application.h
|
|
||||||
project\i2c.o: ../Middlewares/MultMenu/menu/menu.h
|
|
||||||
project\i2c.o: ../Middlewares/MultMenu/menu/menuConfig.h
|
|
||||||
project\i2c.o: ../Middlewares/u8g2Lib/inc/u8g2.h
|
|
||||||
project\i2c.o: ../Middlewares/u8g2Lib/inc/u8x8.h
|
|
||||||
project\i2c.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdarg.h
|
|
||||||
project\i2c.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\limits.h
|
|
||||||
Binary file not shown.
Binary file not shown.
@@ -1,37 +0,0 @@
|
|||||||
project\io_monitor.o: ..\Core\Src\io_monitor.c
|
|
||||||
project\io_monitor.o: ../Core/Inc/io_monitor.h
|
|
||||||
project\io_monitor.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h
|
|
||||||
project\io_monitor.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdbool.h
|
|
||||||
project\io_monitor.o: ../Core/Inc/uart2_print.h
|
|
||||||
project\io_monitor.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdarg.h
|
|
||||||
project\io_monitor.o: ../Core/Inc/multi_uart_router.h
|
|
||||||
project\io_monitor.o: ../Core/Inc/usart.h
|
|
||||||
project\io_monitor.o: ../Core/Inc/main.h
|
|
||||||
project\io_monitor.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h
|
|
||||||
project\io_monitor.o: ../Core/Inc/stm32f1xx_hal_conf.h
|
|
||||||
project\io_monitor.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h
|
|
||||||
project\io_monitor.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h
|
|
||||||
project\io_monitor.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h
|
|
||||||
project\io_monitor.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xb.h
|
|
||||||
project\io_monitor.o: ../Drivers/CMSIS/Include/core_cm3.h
|
|
||||||
project\io_monitor.o: ../Drivers/CMSIS/Include/cmsis_version.h
|
|
||||||
project\io_monitor.o: ../Drivers/CMSIS/Include/cmsis_compiler.h
|
|
||||||
project\io_monitor.o: ../Drivers/CMSIS/Include/cmsis_armcc.h
|
|
||||||
project\io_monitor.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h
|
|
||||||
project\io_monitor.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h
|
|
||||||
project\io_monitor.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h
|
|
||||||
project\io_monitor.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stddef.h
|
|
||||||
project\io_monitor.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h
|
|
||||||
project\io_monitor.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h
|
|
||||||
project\io_monitor.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h
|
|
||||||
project\io_monitor.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h
|
|
||||||
project\io_monitor.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h
|
|
||||||
project\io_monitor.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h
|
|
||||||
project\io_monitor.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h
|
|
||||||
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_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_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\string.h
|
|
||||||
Binary file not shown.
Binary file not shown.
@@ -1,43 +0,0 @@
|
|||||||
project\key.o: ..\Core\Src\key.c
|
|
||||||
project\key.o: ../Core/Inc/main.h
|
|
||||||
project\key.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h
|
|
||||||
project\key.o: ../Core/Inc/stm32f1xx_hal_conf.h
|
|
||||||
project\key.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h
|
|
||||||
project\key.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h
|
|
||||||
project\key.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h
|
|
||||||
project\key.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xb.h
|
|
||||||
project\key.o: ../Drivers/CMSIS/Include/core_cm3.h
|
|
||||||
project\key.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h
|
|
||||||
project\key.o: ../Drivers/CMSIS/Include/cmsis_version.h
|
|
||||||
project\key.o: ../Drivers/CMSIS/Include/cmsis_compiler.h
|
|
||||||
project\key.o: ../Drivers/CMSIS/Include/cmsis_armcc.h
|
|
||||||
project\key.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h
|
|
||||||
project\key.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h
|
|
||||||
project\key.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h
|
|
||||||
project\key.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stddef.h
|
|
||||||
project\key.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h
|
|
||||||
project\key.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h
|
|
||||||
project\key.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h
|
|
||||||
project\key.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h
|
|
||||||
project\key.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h
|
|
||||||
project\key.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h
|
|
||||||
project\key.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h
|
|
||||||
project\key.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h
|
|
||||||
project\key.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h
|
|
||||||
project\key.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_i2c.h
|
|
||||||
project\key.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h
|
|
||||||
project\key.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h
|
|
||||||
project\key.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h
|
|
||||||
project\key.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h
|
|
||||||
project\key.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pcd.h
|
|
||||||
project\key.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_usb.h
|
|
||||||
project\key.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pcd_ex.h
|
|
||||||
project\key.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdbool.h
|
|
||||||
project\key.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdio.h
|
|
||||||
project\key.o: ../Middlewares/MultMenu/application/application.h
|
|
||||||
project\key.o: ../Middlewares/MultMenu/menu/menu.h
|
|
||||||
project\key.o: ../Middlewares/MultMenu/menu/menuConfig.h
|
|
||||||
project\key.o: ../Middlewares/u8g2Lib/inc/u8g2.h
|
|
||||||
project\key.o: ../Middlewares/u8g2Lib/inc/u8x8.h
|
|
||||||
project\key.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdarg.h
|
|
||||||
project\key.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\limits.h
|
|
||||||
Binary file not shown.
Binary file not shown.
@@ -1,47 +0,0 @@
|
|||||||
project\main.o: ../Core/Src/main.c
|
|
||||||
project\main.o: ../Core/Inc/main.h
|
|
||||||
project\main.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h
|
|
||||||
project\main.o: ../Core/Inc/stm32f1xx_hal_conf.h
|
|
||||||
project\main.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h
|
|
||||||
project\main.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h
|
|
||||||
project\main.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h
|
|
||||||
project\main.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xb.h
|
|
||||||
project\main.o: ../Drivers/CMSIS/Include/core_cm3.h
|
|
||||||
project\main.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h
|
|
||||||
project\main.o: ../Drivers/CMSIS/Include/cmsis_version.h
|
|
||||||
project\main.o: ../Drivers/CMSIS/Include/cmsis_compiler.h
|
|
||||||
project\main.o: ../Drivers/CMSIS/Include/cmsis_armcc.h
|
|
||||||
project\main.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h
|
|
||||||
project\main.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h
|
|
||||||
project\main.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h
|
|
||||||
project\main.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stddef.h
|
|
||||||
project\main.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h
|
|
||||||
project\main.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h
|
|
||||||
project\main.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h
|
|
||||||
project\main.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h
|
|
||||||
project\main.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h
|
|
||||||
project\main.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h
|
|
||||||
project\main.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h
|
|
||||||
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_pwr.h
|
|
||||||
project\main.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.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\stdio.h
|
|
||||||
project\main.o: ../Core/Inc/spi.h
|
|
||||||
project\main.o: ../Core/Inc/usart.h
|
|
||||||
project\main.o: ../Core/Inc/gpio.h
|
|
||||||
project\main.o: ../Driver_RF433/Inc/rf433.h
|
|
||||||
project\main.o: ../Driver_RF433/Inc/rf433_config.h
|
|
||||||
project\main.o: ../Driver_RF433/Inc/rf433_hal.h
|
|
||||||
project\main.o: ../Core/Inc/uart2_print.h
|
|
||||||
project\main.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdarg.h
|
|
||||||
project\main.o: ../Core/Inc/io_monitor.h
|
|
||||||
project\main.o: ../Core/Inc/cmd_parser.h
|
|
||||||
project\main.o: ../Core/Inc/relay_control.h
|
|
||||||
project\main.o: ../Core/Inc/multi_uart_router.h
|
|
||||||
project\main.o: ../Core/Inc/cmd_router.h
|
|
||||||
project\main.o: ../Core/Inc/debug_log.h
|
|
||||||
project\main.o: ../Core/Inc/rf433_tx_app.h
|
|
||||||
project\main.o: ../Core/Inc/rf433_rx_app.h
|
|
||||||
Binary file not shown.
Binary file not shown.
@@ -1,57 +0,0 @@
|
|||||||
project\menu.o: ..\Middlewares\MultMenu\menu\menu.c
|
|
||||||
project\menu.o: ..\Middlewares\MultMenu\menu\menu.h
|
|
||||||
project\menu.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdbool.h
|
|
||||||
project\menu.o: ..\Middlewares\MultMenu\menu\menuConfig.h
|
|
||||||
project\menu.o: ../Middlewares/u8g2Lib/inc/u8g2.h
|
|
||||||
project\menu.o: ../Middlewares/u8g2Lib/inc/u8x8.h
|
|
||||||
project\menu.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h
|
|
||||||
project\menu.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdarg.h
|
|
||||||
project\menu.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stddef.h
|
|
||||||
project\menu.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\limits.h
|
|
||||||
project\menu.o: ../Middlewares/MultMenu/disp/dispDirver.h
|
|
||||||
project\menu.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdlib.h
|
|
||||||
project\menu.o: ../Middlewares/MultMenu/application/application.h
|
|
||||||
project\menu.o: ../Middlewares/MultMenu/application/DinoGame.h
|
|
||||||
project\menu.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdio.h
|
|
||||||
project\menu.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\string.h
|
|
||||||
project\menu.o: ../Middlewares/MultMenu/application/AirPlane.h
|
|
||||||
project\menu.o: ../USB_DEVICE/App/usbd_cdc_if.h
|
|
||||||
project\menu.o: ../Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Inc/usbd_cdc.h
|
|
||||||
project\menu.o: ../Middlewares/ST/STM32_USB_Device_Library/Core/Inc/usbd_ioreq.h
|
|
||||||
project\menu.o: ../Middlewares/ST/STM32_USB_Device_Library/Core/Inc/usbd_def.h
|
|
||||||
project\menu.o: ../USB_DEVICE/Target/usbd_conf.h
|
|
||||||
project\menu.o: ../Core/Inc/main.h
|
|
||||||
project\menu.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h
|
|
||||||
project\menu.o: ../Core/Inc/stm32f1xx_hal_conf.h
|
|
||||||
project\menu.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h
|
|
||||||
project\menu.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h
|
|
||||||
project\menu.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h
|
|
||||||
project\menu.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xb.h
|
|
||||||
project\menu.o: ../Drivers/CMSIS/Include/core_cm3.h
|
|
||||||
project\menu.o: ../Drivers/CMSIS/Include/cmsis_version.h
|
|
||||||
project\menu.o: ../Drivers/CMSIS/Include/cmsis_compiler.h
|
|
||||||
project\menu.o: ../Drivers/CMSIS/Include/cmsis_armcc.h
|
|
||||||
project\menu.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h
|
|
||||||
project\menu.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h
|
|
||||||
project\menu.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h
|
|
||||||
project\menu.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h
|
|
||||||
project\menu.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h
|
|
||||||
project\menu.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h
|
|
||||||
project\menu.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h
|
|
||||||
project\menu.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h
|
|
||||||
project\menu.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h
|
|
||||||
project\menu.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h
|
|
||||||
project\menu.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h
|
|
||||||
project\menu.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h
|
|
||||||
project\menu.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_i2c.h
|
|
||||||
project\menu.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h
|
|
||||||
project\menu.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h
|
|
||||||
project\menu.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h
|
|
||||||
project\menu.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h
|
|
||||||
project\menu.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pcd.h
|
|
||||||
project\menu.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_usb.h
|
|
||||||
project\menu.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pcd_ex.h
|
|
||||||
project\menu.o: ../Middlewares/ST/STM32_USB_Device_Library/Core/Inc/usbd_core.h
|
|
||||||
project\menu.o: ../Middlewares/ST/STM32_USB_Device_Library/Core/Inc/usbd_ioreq.h
|
|
||||||
project\menu.o: ../Middlewares/ST/STM32_USB_Device_Library/Core/Inc/usbd_ctlreq.h
|
|
||||||
project\menu.o: ../Core/Inc/usart.h
|
|
||||||
Binary file not shown.
Binary file not shown.
@@ -1,5 +0,0 @@
|
|||||||
project\mui.o: ..\Middlewares\u8g2Lib\src\mui.c
|
|
||||||
project\mui.o: ../Middlewares/u8g2Lib/inc/mui.h
|
|
||||||
project\mui.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stddef.h
|
|
||||||
project\mui.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h
|
|
||||||
project\mui.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\string.h
|
|
||||||
Binary file not shown.
Binary file not shown.
@@ -1,10 +0,0 @@
|
|||||||
project\mui_u8g2.o: ..\Middlewares\u8g2Lib\src\mui_u8g2.c
|
|
||||||
project\mui_u8g2.o: ../Middlewares/u8g2Lib/inc/mui.h
|
|
||||||
project\mui_u8g2.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stddef.h
|
|
||||||
project\mui_u8g2.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h
|
|
||||||
project\mui_u8g2.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\string.h
|
|
||||||
project\mui_u8g2.o: ../Middlewares/u8g2Lib/inc/u8g2.h
|
|
||||||
project\mui_u8g2.o: ../Middlewares/u8g2Lib/inc/u8x8.h
|
|
||||||
project\mui_u8g2.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdarg.h
|
|
||||||
project\mui_u8g2.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\limits.h
|
|
||||||
project\mui_u8g2.o: ../Middlewares/u8g2Lib/inc/mui_u8g2.h
|
|
||||||
Binary file not shown.
Binary file not shown.
@@ -1,36 +0,0 @@
|
|||||||
project\multi_uart_router.o: ..\Core\Src\multi_uart_router.c
|
|
||||||
project\multi_uart_router.o: ../Core/Inc/multi_uart_router.h
|
|
||||||
project\multi_uart_router.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h
|
|
||||||
project\multi_uart_router.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdbool.h
|
|
||||||
project\multi_uart_router.o: ../Core/Inc/usart.h
|
|
||||||
project\multi_uart_router.o: ../Core/Inc/main.h
|
|
||||||
project\multi_uart_router.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h
|
|
||||||
project\multi_uart_router.o: ../Core/Inc/stm32f1xx_hal_conf.h
|
|
||||||
project\multi_uart_router.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h
|
|
||||||
project\multi_uart_router.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h
|
|
||||||
project\multi_uart_router.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h
|
|
||||||
project\multi_uart_router.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xb.h
|
|
||||||
project\multi_uart_router.o: ../Drivers/CMSIS/Include/core_cm3.h
|
|
||||||
project\multi_uart_router.o: ../Drivers/CMSIS/Include/cmsis_version.h
|
|
||||||
project\multi_uart_router.o: ../Drivers/CMSIS/Include/cmsis_compiler.h
|
|
||||||
project\multi_uart_router.o: ../Drivers/CMSIS/Include/cmsis_armcc.h
|
|
||||||
project\multi_uart_router.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h
|
|
||||||
project\multi_uart_router.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h
|
|
||||||
project\multi_uart_router.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h
|
|
||||||
project\multi_uart_router.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stddef.h
|
|
||||||
project\multi_uart_router.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h
|
|
||||||
project\multi_uart_router.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h
|
|
||||||
project\multi_uart_router.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h
|
|
||||||
project\multi_uart_router.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h
|
|
||||||
project\multi_uart_router.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h
|
|
||||||
project\multi_uart_router.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h
|
|
||||||
project\multi_uart_router.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h
|
|
||||||
project\multi_uart_router.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.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_spi.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: ../Core/Inc/uart2_print.h
|
|
||||||
project\multi_uart_router.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdarg.h
|
|
||||||
project\multi_uart_router.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\string.h
|
|
||||||
Binary file not shown.
Binary file not shown.
@@ -1,170 +0,0 @@
|
|||||||
<html>
|
|
||||||
<body>
|
|
||||||
<pre>
|
|
||||||
<h1><EFBFBD>Vision Build Log</h1>
|
|
||||||
<h2>Tool Versions:</h2>
|
|
||||||
IDE-Version: <20><>Vision V5.43.1.0
|
|
||||||
Copyright (C) 2025 ARM Ltd and ARM Germany GmbH. All rights reserved.
|
|
||||||
License Information: x xtell, x, LIC=9WSKC-71I92-JJK6S-LRIAZ-BXKR7-N3URK
|
|
||||||
|
|
||||||
Tool Versions:
|
|
||||||
Toolchain: MDK-ARM Plus Version: 5.43.0.0
|
|
||||||
Toolchain Path: C:\Keil_v5\ARM\ARMCC\Bin
|
|
||||||
C Compiler: Armcc.exe V5.06 update 7 (build 960)
|
|
||||||
Assembler: Armasm.exe V5.06 update 7 (build 960)
|
|
||||||
Linker/Locator: ArmLink.exe V5.06 update 7 (build 960)
|
|
||||||
Library Manager: ArmAr.exe V5.06 update 7 (build 960)
|
|
||||||
Hex Converter: FromElf.exe V5.06 update 7 (build 960)
|
|
||||||
CPU DLL: SARMCM3.DLL V5.43.0.0
|
|
||||||
Dialog DLL: DCM.DLL V1.17.5.0
|
|
||||||
Target DLL: CMSIS_AGDI.dll V1.33.24.0
|
|
||||||
Dialog DLL: TCM.DLL V1.56.6.0
|
|
||||||
|
|
||||||
<h2>Project:</h2>
|
|
||||||
C:\workfile\E32-433\software\E32-433TBH-SC\MDK-ARM\project.uvprojx
|
|
||||||
Project File Date: 03/27/2026
|
|
||||||
|
|
||||||
<h2>Output:</h2>
|
|
||||||
*** Using Compiler 'V5.06 update 7 (build 960)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin'
|
|
||||||
Rebuild target 'project'
|
|
||||||
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...
|
|
||||||
..\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};
|
|
||||||
..\Core\Src\rf433_tx_app.c: 1 warning, 0 errors
|
|
||||||
compiling usart.c...
|
|
||||||
compiling gpio.c...
|
|
||||||
compiling main.c...
|
|
||||||
compiling cmd_parser.c...
|
|
||||||
compiling debug_log.c...
|
|
||||||
compiling io_monitor.c...
|
|
||||||
compiling cmd_router.c...
|
|
||||||
../Core/Inc/uart3_protocol_discriminator.h(150): warning: #1-D: last line of file ends without a newline
|
|
||||||
#endif
|
|
||||||
../Core/Inc/uart3_passthrough.h(207): warning: #1-D: last line of file ends without a newline
|
|
||||||
#endif
|
|
||||||
../Core/Inc/uart3_smart_router_config.h(143): warning: #1-D: last line of file ends without a newline
|
|
||||||
#endif
|
|
||||||
..\Core\Src\cmd_router.c(284): warning: #188-D: enumerated type mixed with another type
|
|
||||||
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
|
|
||||||
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
|
|
||||||
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
|
|
||||||
static uint8_t g_current_parsing_port = PORT_UART2;
|
|
||||||
..\Core\Src\cmd_router.c: 7 warnings, 0 errors
|
|
||||||
compiling stm32f1xx_it.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...
|
|
||||||
../Core/Inc/uart3_protocol_discriminator.h(150): warning: #1-D: last line of file ends without a newline
|
|
||||||
#endif
|
|
||||||
../Core/Inc/uart3_smart_router_config.h(143): warning: #1-D: last line of file ends without a newline
|
|
||||||
#endif
|
|
||||||
..\Core\Src\uart3_protocol_discriminator.c(111): warning: #870-D: invalid multibyte character sequence
|
|
||||||
DEBUG_LOG("INIT <EFBFBD><EFBFBD>? CMD_MODE (got '$')");
|
|
||||||
..\Core\Src\uart3_protocol_discriminator.c(118): warning: #870-D: invalid multibyte character sequence
|
|
||||||
DEBUG_LOG("INIT <EFBFBD><EFBFBD>? SCAN (byte: 0x%02X)", byte);
|
|
||||||
..\Core\Src\uart3_protocol_discriminator.c(128): warning: #870-D: invalid multibyte character sequence
|
|
||||||
DEBUG_LOG("SCAN <EFBFBD><EFBFBD>? PASSTHROUGH (got '$', %d bytes)", ctx->scan_length);
|
|
||||||
..\Core\Src\uart3_protocol_discriminator.c(132): warning: #870-D: invalid multibyte character sequence
|
|
||||||
DEBUG_LOG("SCAN <20><>? CMD_MODE (empty scan, got '$')");
|
|
||||||
..\Core\Src\uart3_protocol_discriminator.c(137): warning: #870-D: invalid multibyte character sequence
|
|
||||||
DEBUG_LOG("SCAN <20><>? PASSTHROUGH (got '\\n', %d bytes)", ctx->scan_length);
|
|
||||||
..\Core\Src\uart3_protocol_discriminator.c(151): warning: #870-D: invalid multibyte character sequence
|
|
||||||
DEBUG_LOG("CMD_MODE <20><>? INIT (got \\n)");
|
|
||||||
..\Core\Src\uart3_protocol_discriminator.c(156): warning: #870-D: invalid multibyte character sequence
|
|
||||||
DEBUG_LOG("CMD_MODE <20><>? CMD (byte: 0x%02X)", byte);
|
|
||||||
..\Core\Src\uart3_protocol_discriminator.c(161): warning: #870-D: invalid multibyte character sequence
|
|
||||||
DEBUG_LOG("PASSTHROUGH <20><>? PTX (byte: 0x%02X)", byte);
|
|
||||||
..\Core\Src\uart3_protocol_discriminator.c(185): warning: #870-D: invalid multibyte character sequence
|
|
||||||
DEBUG_LOG("SCAN timeout <20><>? PASSTHROUGH (%d ms)", SCAN_TIMEOUT_MS);
|
|
||||||
..\Core\Src\uart3_protocol_discriminator.c(194): warning: #870-D: invalid multibyte character sequence
|
|
||||||
DEBUG_LOG("CMD_MODE timeout <20><>? INIT (%d ms)", CMD_COMPLETE_TIMEOUT_MS);
|
|
||||||
..\Core\Src\uart3_protocol_discriminator.c(252): warning: #1-D: last line of file ends without a newline
|
|
||||||
}
|
|
||||||
..\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)
|
|
||||||
..\Core\Src\uart3_protocol_discriminator.c: 14 warnings, 0 errors
|
|
||||||
compiling relay_control.c...
|
|
||||||
compiling uart2_print.c...
|
|
||||||
compiling stm32f1xx_hal_rcc_ex.c...
|
|
||||||
compiling stm32f1xx_hal_gpio_ex.c...
|
|
||||||
compiling stm32f1xx_hal.c...
|
|
||||||
compiling stm32f1xx_hal_gpio.c...
|
|
||||||
compiling uart3_passthrough.c...
|
|
||||||
../Core/Inc/uart3_passthrough.h(207): warning: #1-D: last line of file ends without a newline
|
|
||||||
#endif
|
|
||||||
../Core/Inc/uart3_smart_router_config.h(143): warning: #1-D: last line of file ends without a newline
|
|
||||||
#endif
|
|
||||||
..\Core\Src\uart3_passthrough.c(269): warning: #1-D: last line of file ends without a newline
|
|
||||||
}
|
|
||||||
..\Core\Src\uart3_passthrough.c: 3 warnings, 0 errors
|
|
||||||
compiling stm32f1xx_hal_rcc.c...
|
|
||||||
compiling stm32f1xx_hal_spi.c...
|
|
||||||
compiling stm32f1xx_hal_flash_ex.c...
|
|
||||||
compiling stm32f1xx_hal_tim.c...
|
|
||||||
compiling stm32f1xx_hal_cortex.c...
|
|
||||||
compiling stm32f1xx_hal_flash.c...
|
|
||||||
compiling stm32f1xx_hal_exti.c...
|
|
||||||
compiling stm32f1xx_hal_pwr.c...
|
|
||||||
compiling stm32f1xx_hal_dma.c...
|
|
||||||
compiling system_stm32f1xx.c...
|
|
||||||
compiling rf433.c...
|
|
||||||
..\Driver_RF433\Src\rf433.c(209): warning: #188-D: enumerated type mixed with another type
|
|
||||||
ret = rf433_set_config(&rf433_current_config);
|
|
||||||
..\Driver_RF433\Src\rf433.c(213): warning: #188-D: enumerated type mixed with another type
|
|
||||||
return ret;
|
|
||||||
..\Driver_RF433\Src\rf433.c(99): warning: #177-D: function "rf433_send_request_command" was declared but never referenced
|
|
||||||
static void rf433_send_request_command(rf433_request_cmd_t cmd)
|
|
||||||
..\Driver_RF433\Src\rf433.c(132): warning: #177-D: function "rf433_response_command_check" was declared but never referenced
|
|
||||||
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
|
|
||||||
compiling rf433_hal.c...
|
|
||||||
compiling stm32f1xx_hal_tim_ex.c...
|
|
||||||
compiling stm32f1xx_hal_uart.c...
|
|
||||||
linking...
|
|
||||||
Program Size: Code=23672 RO-data=572 RW-data=192 ZI-data=6520
|
|
||||||
FromELF: creating hex file...
|
|
||||||
"project\project.axf" - 0 Error(s), 33 Warning(s).
|
|
||||||
|
|
||||||
<h2>Software Packages used:</h2>
|
|
||||||
|
|
||||||
Package Vendor: ARM
|
|
||||||
https://www.keil.com/pack/ARM.CMSIS.6.2.0.pack
|
|
||||||
ARM::CMSIS@6.2.0
|
|
||||||
CMSIS (Common Microcontroller Software Interface Standard)
|
|
||||||
* Component: CORE Version: 6.1.1
|
|
||||||
|
|
||||||
Package Vendor: Keil
|
|
||||||
https://www.keil.com/pack/Keil.STM32F1xx_DFP.2.4.1.pack
|
|
||||||
Keil::STM32F1xx_DFP@2.4.1
|
|
||||||
STMicroelectronics STM32F1 Series Device Support, Drivers and Examples
|
|
||||||
|
|
||||||
<h2>Collection of Component include folders:</h2>
|
|
||||||
./RTE/_project
|
|
||||||
C:/Users/xtell/AppData/Local/Arm/Packs/ARM/CMSIS/6.2.0/CMSIS/Core/Include
|
|
||||||
C:/Users/xtell/AppData/Local/Arm/Packs/Keil/STM32F1xx_DFP/2.4.1/Device/Include
|
|
||||||
|
|
||||||
<h2>Collection of Component Files used:</h2>
|
|
||||||
|
|
||||||
* Component: ARM::CMSIS:CORE@6.1.1
|
|
||||||
Include file: CMSIS/Core/Include/tz_context.h
|
|
||||||
Build Time Elapsed: 00:00:17
|
|
||||||
</pre>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -4,6 +4,7 @@
|
|||||||
"project\rf433_rx_app.o"
|
"project\rf433_rx_app.o"
|
||||||
"project\rf433_tx_app.o"
|
"project\rf433_tx_app.o"
|
||||||
"project\main.o"
|
"project\main.o"
|
||||||
|
"project\modbus_tcp_client.o"
|
||||||
"project\gpio.o"
|
"project\gpio.o"
|
||||||
"project\spi.o"
|
"project\spi.o"
|
||||||
"project\usart.o"
|
"project\usart.o"
|
||||||
@@ -16,8 +17,8 @@
|
|||||||
"project\cmd_router.o"
|
"project\cmd_router.o"
|
||||||
"project\debug_log.o"
|
"project\debug_log.o"
|
||||||
"project\multi_uart_router.o"
|
"project\multi_uart_router.o"
|
||||||
"project\uart3_passthrough.o"
|
"project\modbus_rtu_master.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
15
MDK-ARM/project/project_sct.Bak
Normal file
15
MDK-ARM/project/project_sct.Bak
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
; *************************************************************
|
||||||
|
; *** Scatter-Loading Description File generated by uVision ***
|
||||||
|
; *************************************************************
|
||||||
|
|
||||||
|
LR_IROM1 0x08000000 0x00010000 { ; load region size_region
|
||||||
|
ER_IROM1 0x08000000 0x00010000 { ; load address = execution address
|
||||||
|
*.o (RESET, +First)
|
||||||
|
*(InRoot$$Sections)
|
||||||
|
.ANY (+RO)
|
||||||
|
}
|
||||||
|
RW_IRAM1 0x20000000 0x00005000 { ; RW data
|
||||||
|
.ANY (+RW +ZI)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
Binary file not shown.
@@ -1,34 +0,0 @@
|
|||||||
project\relay_control.o: ..\Core\Src\relay_control.c
|
|
||||||
project\relay_control.o: ../Core/Inc/relay_control.h
|
|
||||||
project\relay_control.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h
|
|
||||||
project\relay_control.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdbool.h
|
|
||||||
project\relay_control.o: ../Core/Inc/uart2_print.h
|
|
||||||
project\relay_control.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdarg.h
|
|
||||||
project\relay_control.o: ../Core/Inc/main.h
|
|
||||||
project\relay_control.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h
|
|
||||||
project\relay_control.o: ../Core/Inc/stm32f1xx_hal_conf.h
|
|
||||||
project\relay_control.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h
|
|
||||||
project\relay_control.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h
|
|
||||||
project\relay_control.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h
|
|
||||||
project\relay_control.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xb.h
|
|
||||||
project\relay_control.o: ../Drivers/CMSIS/Include/core_cm3.h
|
|
||||||
project\relay_control.o: ../Drivers/CMSIS/Include/cmsis_version.h
|
|
||||||
project\relay_control.o: ../Drivers/CMSIS/Include/cmsis_compiler.h
|
|
||||||
project\relay_control.o: ../Drivers/CMSIS/Include/cmsis_armcc.h
|
|
||||||
project\relay_control.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h
|
|
||||||
project\relay_control.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h
|
|
||||||
project\relay_control.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h
|
|
||||||
project\relay_control.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stddef.h
|
|
||||||
project\relay_control.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h
|
|
||||||
project\relay_control.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h
|
|
||||||
project\relay_control.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h
|
|
||||||
project\relay_control.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h
|
|
||||||
project\relay_control.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h
|
|
||||||
project\relay_control.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h
|
|
||||||
project\relay_control.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h
|
|
||||||
project\relay_control.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.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_spi.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
|
|
||||||
Binary file not shown.
Binary file not shown.
@@ -1,34 +0,0 @@
|
|||||||
project\rf433.o: ..\Driver_RF433\Src\rf433.c
|
|
||||||
project\rf433.o: ../Driver_RF433/Inc/rf433.h
|
|
||||||
project\rf433.o: ../Driver_RF433/Inc/rf433_config.h
|
|
||||||
project\rf433.o: ../Driver_RF433/Inc/rf433_hal.h
|
|
||||||
project\rf433.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h
|
|
||||||
project\rf433.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdbool.h
|
|
||||||
project\rf433.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\string.h
|
|
||||||
project\rf433.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdio.h
|
|
||||||
project\rf433.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h
|
|
||||||
project\rf433.o: ../Core/Inc/stm32f1xx_hal_conf.h
|
|
||||||
project\rf433.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h
|
|
||||||
project\rf433.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h
|
|
||||||
project\rf433.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h
|
|
||||||
project\rf433.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xb.h
|
|
||||||
project\rf433.o: ../Drivers/CMSIS/Include/core_cm3.h
|
|
||||||
project\rf433.o: ../Drivers/CMSIS/Include/cmsis_version.h
|
|
||||||
project\rf433.o: ../Drivers/CMSIS/Include/cmsis_compiler.h
|
|
||||||
project\rf433.o: ../Drivers/CMSIS/Include/cmsis_armcc.h
|
|
||||||
project\rf433.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h
|
|
||||||
project\rf433.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h
|
|
||||||
project\rf433.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h
|
|
||||||
project\rf433.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stddef.h
|
|
||||||
project\rf433.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h
|
|
||||||
project\rf433.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h
|
|
||||||
project\rf433.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h
|
|
||||||
project\rf433.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h
|
|
||||||
project\rf433.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h
|
|
||||||
project\rf433.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h
|
|
||||||
project\rf433.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h
|
|
||||||
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_pwr.h
|
|
||||||
project\rf433.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h
|
|
||||||
project\rf433.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h
|
|
||||||
Binary file not shown.
Binary file not shown.
@@ -1,34 +0,0 @@
|
|||||||
project\rf433_hal.o: ..\Driver_RF433\Src\rf433_hal.c
|
|
||||||
project\rf433_hal.o: ../Driver_RF433/Inc/rf433_hal.h
|
|
||||||
project\rf433_hal.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h
|
|
||||||
project\rf433_hal.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdbool.h
|
|
||||||
project\rf433_hal.o: ../Core/Inc/main.h
|
|
||||||
project\rf433_hal.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h
|
|
||||||
project\rf433_hal.o: ../Core/Inc/stm32f1xx_hal_conf.h
|
|
||||||
project\rf433_hal.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h
|
|
||||||
project\rf433_hal.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h
|
|
||||||
project\rf433_hal.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h
|
|
||||||
project\rf433_hal.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xb.h
|
|
||||||
project\rf433_hal.o: ../Drivers/CMSIS/Include/core_cm3.h
|
|
||||||
project\rf433_hal.o: ../Drivers/CMSIS/Include/cmsis_version.h
|
|
||||||
project\rf433_hal.o: ../Drivers/CMSIS/Include/cmsis_compiler.h
|
|
||||||
project\rf433_hal.o: ../Drivers/CMSIS/Include/cmsis_armcc.h
|
|
||||||
project\rf433_hal.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h
|
|
||||||
project\rf433_hal.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h
|
|
||||||
project\rf433_hal.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h
|
|
||||||
project\rf433_hal.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stddef.h
|
|
||||||
project\rf433_hal.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h
|
|
||||||
project\rf433_hal.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h
|
|
||||||
project\rf433_hal.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h
|
|
||||||
project\rf433_hal.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h
|
|
||||||
project\rf433_hal.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h
|
|
||||||
project\rf433_hal.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h
|
|
||||||
project\rf433_hal.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h
|
|
||||||
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_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_uart.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/usart.h
|
|
||||||
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user