FTP可以上传文件
This commit is contained in:
@@ -222,6 +222,8 @@ HAL_Init() → SystemClock_Config() → MX_GPIO_Init() → MX_USART1_UART_Init()
|
|||||||
- **Trap 08** RECV 中断电平触发无限循环
|
- **Trap 08** RECV 中断电平触发无限循环
|
||||||
- **Trap 09** PHY link up 后立即 open_socket 失败(需启动延时 + 重试兜底)
|
- **Trap 09** PHY link up 后立即 open_socket 失败(需启动延时 + 重试兜底)
|
||||||
- **Trap 10** 消息队列值拷贝导致结果回传丢失(改用 xTaskNotify 通知值)
|
- **Trap 10** 消息队列值拷贝导致结果回传丢失(改用 xTaskNotify 通知值)
|
||||||
|
- **Trap 11** `net_accept_locked` 拒绝 standalone_accept 的 ESTABLISHED 状态
|
||||||
|
- **Trap 12** FatFS FF_USE_LFN=0 且不接受 `/` 前缀路径(用 `to_fatfs_path()` 剥离)
|
||||||
|
|
||||||
当前已记录陷阱(GD5F2GQ5UE):
|
当前已记录陷阱(GD5F2GQ5UE):
|
||||||
- **Trap 01** 块擦除地址错误(`byte_addr → page_addr`),导致先前所有实验结论无效。详见 `docs/GD5F2GQ5UE_Trap_Records.md`
|
- **Trap 01** 块擦除地址错误(`byte_addr → page_addr`),导致先前所有实验结论无效。详见 `docs/GD5F2GQ5UE_Trap_Records.md`
|
||||||
|
|||||||
@@ -25,7 +25,7 @@
|
|||||||
#define CH395F_RESET_DELAY_MS 20U /* 复位后等待延时(ms<6D>?*/
|
#define CH395F_RESET_DELAY_MS 20U /* 复位后等待延时(ms<6D>?*/
|
||||||
#define CH395F_INIT_TIMEOUT_MS 500U /* 初始化超时时间(ms<6D>?*/
|
#define CH395F_INIT_TIMEOUT_MS 500U /* 初始化超时时间(ms<6D>?*/
|
||||||
#define CH395F_SPI_BEGIN_DELAY_MS 1U /* SPI 事务开始延时(ms<6D>?*/
|
#define CH395F_SPI_BEGIN_DELAY_MS 1U /* SPI 事务开始延时(ms<6D>?*/
|
||||||
#define CH395F_DMA_BUF_SIZE 1500U /* DMA 缓冲区最大字节数 */
|
#define CH395F_DMA_BUF_SIZE 4100U /* DMA 缓冲区(header 4 + max 4096 data) */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* 私有变量<E58F98>?- DMA 传输相关
|
* 私有变量<E58F98>?- DMA 传输相关
|
||||||
|
|||||||
@@ -182,11 +182,14 @@ static int receive_file(int socket, const char *path)
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
unsigned char buffer[1024];
|
static unsigned char s_recv_buf[4096];
|
||||||
|
int bufsize = 4096;
|
||||||
int err;
|
int err;
|
||||||
|
int total = 0;
|
||||||
|
|
||||||
while ((err = lftpd_inet_read(socket, buffer, sizeof(buffer))) > 0) {
|
while ((err = lftpd_inet_read(socket, s_recv_buf, bufsize)) > 0) {
|
||||||
if (lftpd_io_write(fh, buffer, err) != err) {
|
total += err;
|
||||||
|
if (lftpd_io_write(fh, s_recv_buf, err) != err) {
|
||||||
err = -1;
|
err = -1;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@@ -197,6 +200,11 @@ static int receive_file(int socket, const char *path)
|
|||||||
if (err < 0) {
|
if (err < 0) {
|
||||||
return err;
|
return err;
|
||||||
}
|
}
|
||||||
|
if (total == 0) {
|
||||||
|
lftpd_log_error("received 0 bytes");
|
||||||
|
lftpd_io_unlink(path);
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -209,18 +217,15 @@ static int cmd_cwd(lftpd_client_t *client, const char *arg)
|
|||||||
|
|
||||||
char *path = lftpd_io_canonicalize_path(client->directory, arg);
|
char *path = lftpd_io_canonicalize_path(client->directory, arg);
|
||||||
|
|
||||||
|
/* 根目录始终有效,跳过 stat 检查(FatFS FF_FS_RPATH=0 下 stat 根目录可能失败) */
|
||||||
|
if (strcmp(path, "/") != 0) {
|
||||||
uint32_t size;
|
uint32_t size;
|
||||||
int is_dir;
|
int is_dir;
|
||||||
if (lftpd_io_stat(path, &size, &is_dir) != 0) {
|
if (lftpd_io_stat(path, &size, &is_dir) != 0 || !is_dir) {
|
||||||
send_simple_response(client->socket, 550, STATUS_550);
|
send_simple_response(client->socket, 550, STATUS_550);
|
||||||
free(path);
|
free(path);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!is_dir) {
|
|
||||||
send_simple_response(client->socket, 550, STATUS_550);
|
|
||||||
free(path);
|
|
||||||
return -1;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
strncpy(client->directory, path, sizeof(client->directory) - 1);
|
strncpy(client->directory, path, sizeof(client->directory) - 1);
|
||||||
@@ -262,6 +267,11 @@ static int cmd_dele(lftpd_client_t *client, const char *arg)
|
|||||||
|
|
||||||
static int cmd_epsv(lftpd_client_t *client, const char *arg)
|
static int cmd_epsv(lftpd_client_t *client, const char *arg)
|
||||||
{
|
{
|
||||||
|
if (client->data_socket >= 0) {
|
||||||
|
lftpd_inet_close(client->data_socket);
|
||||||
|
client->data_socket = -1;
|
||||||
|
}
|
||||||
|
|
||||||
int listener_socket = lftpd_inet_listen(0);
|
int listener_socket = lftpd_inet_listen(0);
|
||||||
if (listener_socket < 0) {
|
if (listener_socket < 0) {
|
||||||
send_simple_response(client->socket, 425, STATUS_425);
|
send_simple_response(client->socket, 425, STATUS_425);
|
||||||
@@ -272,16 +282,9 @@ static int cmd_epsv(lftpd_client_t *client, const char *arg)
|
|||||||
|
|
||||||
send_simple_response(client->socket, 229, STATUS_229, port);
|
send_simple_response(client->socket, 229, STATUS_229, port);
|
||||||
|
|
||||||
lftpd_log_debug("waiting for data port connection on port %d...", port);
|
lftpd_log_debug("EPSV listener on port %d", port);
|
||||||
int data_sock = lftpd_inet_accept(listener_socket);
|
|
||||||
if (data_sock < 0) {
|
|
||||||
lftpd_log_error("error accepting client socket");
|
|
||||||
lftpd_inet_close(listener_socket);
|
|
||||||
return -1;
|
|
||||||
}
|
|
||||||
lftpd_log_debug("data port connection received...");
|
|
||||||
|
|
||||||
client->data_socket = data_sock;
|
client->data_socket = listener_socket;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -304,9 +307,18 @@ static int cmd_list(lftpd_client_t *client, const char *arg)
|
|||||||
}
|
}
|
||||||
|
|
||||||
send_simple_response(client->socket, 150, STATUS_150);
|
send_simple_response(client->socket, 150, STATUS_150);
|
||||||
int err = send_list(client->data_socket, client->directory);
|
int data_sock = lftpd_inet_accept_timeout(client->data_socket, 5000);
|
||||||
|
if (data_sock < 0) {
|
||||||
|
lftpd_log_error("%s accept failed, sk=%d", __func__, client->data_socket);
|
||||||
|
send_simple_response(client->socket, 425, STATUS_425);
|
||||||
lftpd_inet_close(client->data_socket);
|
lftpd_inet_close(client->data_socket);
|
||||||
client->data_socket = -1;
|
client->data_socket = -1;
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
|
|
||||||
|
int err = send_list(data_sock, client->directory);
|
||||||
|
lftpd_inet_close(data_sock);
|
||||||
|
client->data_socket = -1;
|
||||||
|
|
||||||
if (err == 0) {
|
if (err == 0) {
|
||||||
send_simple_response(client->socket, 226, STATUS_226);
|
send_simple_response(client->socket, 226, STATUS_226);
|
||||||
@@ -324,9 +336,18 @@ static int cmd_nlst(lftpd_client_t *client, const char *arg)
|
|||||||
}
|
}
|
||||||
|
|
||||||
send_simple_response(client->socket, 150, STATUS_150);
|
send_simple_response(client->socket, 150, STATUS_150);
|
||||||
int err = send_nlst(client->data_socket, client->directory);
|
int data_sock = lftpd_inet_accept_timeout(client->data_socket, 5000);
|
||||||
|
if (data_sock < 0) {
|
||||||
|
lftpd_log_error("%s accept failed, sk=%d", __func__, client->data_socket);
|
||||||
|
send_simple_response(client->socket, 425, STATUS_425);
|
||||||
lftpd_inet_close(client->data_socket);
|
lftpd_inet_close(client->data_socket);
|
||||||
client->data_socket = -1;
|
client->data_socket = -1;
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
|
|
||||||
|
int err = send_nlst(data_sock, client->directory);
|
||||||
|
lftpd_inet_close(data_sock);
|
||||||
|
client->data_socket = -1;
|
||||||
|
|
||||||
if (err == 0) {
|
if (err == 0) {
|
||||||
send_simple_response(client->socket, 226, STATUS_226);
|
send_simple_response(client->socket, 226, STATUS_226);
|
||||||
@@ -353,6 +374,11 @@ static int cmd_pasv(lftpd_client_t *client, const char *arg)
|
|||||||
int listener_socket = -1;
|
int listener_socket = -1;
|
||||||
int retry;
|
int retry;
|
||||||
|
|
||||||
|
if (client->data_socket >= 0) {
|
||||||
|
lftpd_inet_close(client->data_socket);
|
||||||
|
client->data_socket = -1;
|
||||||
|
}
|
||||||
|
|
||||||
for (retry = 0; retry < 3; retry++) {
|
for (retry = 0; retry < 3; retry++) {
|
||||||
listener_socket = lftpd_inet_listen(0);
|
listener_socket = lftpd_inet_listen(0);
|
||||||
if (listener_socket >= 0) break;
|
if (listener_socket >= 0) break;
|
||||||
@@ -386,16 +412,9 @@ static int cmd_pasv(lftpd_client_t *client, const char *arg)
|
|||||||
(port >> 8) & 0xff, (port >> 0) & 0xff);
|
(port >> 8) & 0xff, (port >> 0) & 0xff);
|
||||||
}
|
}
|
||||||
|
|
||||||
lftpd_log_debug("waiting for data port connection on port %d...", port);
|
lftpd_log_debug("PASV listener on port %d", port);
|
||||||
int data_sock = lftpd_inet_accept(listener_socket);
|
|
||||||
if (data_sock < 0) {
|
|
||||||
lftpd_log_error("error accepting client socket");
|
|
||||||
lftpd_inet_close(listener_socket);
|
|
||||||
return -1;
|
|
||||||
}
|
|
||||||
lftpd_log_debug("data port connection received...");
|
|
||||||
|
|
||||||
client->data_socket = data_sock;
|
client->data_socket = listener_socket;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -419,18 +438,29 @@ static int cmd_retr(lftpd_client_t *client, const char *arg)
|
|||||||
}
|
}
|
||||||
|
|
||||||
send_simple_response(client->socket, 150, STATUS_150);
|
send_simple_response(client->socket, 150, STATUS_150);
|
||||||
|
int data_sock = lftpd_inet_accept_timeout(client->data_socket, 5000);
|
||||||
|
if (data_sock < 0) {
|
||||||
|
lftpd_log_error("%s accept failed, sk=%d", __func__, client->data_socket);
|
||||||
|
send_simple_response(client->socket, 425, STATUS_425);
|
||||||
|
lftpd_inet_close(client->data_socket);
|
||||||
|
client->data_socket = -1;
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
|
|
||||||
char *path = lftpd_io_canonicalize_path(client->directory, arg);
|
char *path = lftpd_io_canonicalize_path(client->directory, arg);
|
||||||
lftpd_log_debug("send '%s'", path);
|
lftpd_log_debug("send '%s'", path);
|
||||||
int err = send_file(client->data_socket, path);
|
int err = send_file(data_sock, path);
|
||||||
free(path);
|
lftpd_inet_close(data_sock);
|
||||||
lftpd_inet_close(client->data_socket);
|
|
||||||
client->data_socket = -1;
|
client->data_socket = -1;
|
||||||
|
|
||||||
if (err == 0) {
|
if (err == 0) {
|
||||||
|
lftpd_log_info("DOWNLOAD '%s' OK", path);
|
||||||
send_simple_response(client->socket, 226, STATUS_226);
|
send_simple_response(client->socket, 226, STATUS_226);
|
||||||
} else {
|
} else {
|
||||||
|
lftpd_log_error("DOWNLOAD '%s' FAILED", path);
|
||||||
send_simple_response(client->socket, 450, STATUS_450);
|
send_simple_response(client->socket, 450, STATUS_450);
|
||||||
}
|
}
|
||||||
|
free(path);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -464,18 +494,32 @@ static int cmd_stor(lftpd_client_t *client, const char *arg)
|
|||||||
}
|
}
|
||||||
|
|
||||||
send_simple_response(client->socket, 150, STATUS_150);
|
send_simple_response(client->socket, 150, STATUS_150);
|
||||||
|
int data_sock = lftpd_inet_accept_timeout(client->data_socket, 5000);
|
||||||
|
if (data_sock < 0) {
|
||||||
|
lftpd_log_error("%s accept failed, sk=%d", __func__, client->data_socket);
|
||||||
|
send_simple_response(client->socket, 425, STATUS_425);
|
||||||
|
lftpd_inet_close(client->data_socket);
|
||||||
|
client->data_socket = -1;
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
|
|
||||||
char *path = lftpd_io_canonicalize_path(client->directory, arg);
|
char *path = lftpd_io_canonicalize_path(client->directory, arg);
|
||||||
lftpd_log_debug("receive '%s'", path);
|
lftpd_log_debug("receive '%s'", path);
|
||||||
int err = receive_file(client->data_socket, path);
|
int err = receive_file(data_sock, path);
|
||||||
free(path);
|
lftpd_inet_close(data_sock);
|
||||||
lftpd_inet_close(client->data_socket);
|
|
||||||
client->data_socket = -1;
|
client->data_socket = -1;
|
||||||
|
|
||||||
if (err == 0) {
|
if (err == 0) {
|
||||||
|
uint32_t size = 0;
|
||||||
|
int is_dir = 0;
|
||||||
|
lftpd_io_stat(path, &size, &is_dir);
|
||||||
|
lftpd_log_info("UPLOAD '%s' %lu bytes OK", path, (unsigned long)size);
|
||||||
send_simple_response(client->socket, 226, STATUS_226);
|
send_simple_response(client->socket, 226, STATUS_226);
|
||||||
} else {
|
} else {
|
||||||
|
lftpd_log_error("UPLOAD '%s' FAILED", path);
|
||||||
send_simple_response(client->socket, 450, STATUS_450);
|
send_simple_response(client->socket, 450, STATUS_450);
|
||||||
}
|
}
|
||||||
|
free(path);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -548,6 +592,7 @@ static int handle_control_channel(lftpd_client_t *client)
|
|||||||
arg = lftpd_string_trim(arg_buf);
|
arg = lftpd_string_trim(arg_buf);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
lftpd_log_info("CMD %s %s", command_tmp, arg ? arg : "");
|
||||||
err = commands[i].handler(client, arg);
|
err = commands[i].handler(client, arg);
|
||||||
matched = true;
|
matched = true;
|
||||||
break;
|
break;
|
||||||
@@ -585,7 +630,7 @@ int lftpd_start(const char *directory, int port, lftpd_t *lftpd)
|
|||||||
if (client_socket < 0) {
|
if (client_socket < 0) {
|
||||||
lftpd_log_error("error accepting client socket");
|
lftpd_log_error("error accepting client socket");
|
||||||
lftpd_inet_close(lftpd->server_socket);
|
lftpd_inet_close(lftpd->server_socket);
|
||||||
break;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
@@ -614,14 +659,9 @@ int lftpd_start(const char *directory, int port, lftpd_t *lftpd)
|
|||||||
handle_control_channel(&client);
|
handle_control_channel(&client);
|
||||||
lftpd->client = NULL;
|
lftpd->client = NULL;
|
||||||
|
|
||||||
/* 等待 CH395F 稳定(Trap 09) */
|
|
||||||
vTaskDelay(pdMS_TO_TICKS(200));
|
|
||||||
|
|
||||||
/* standalone mode: socket was closed in handle_control_channel,
|
/* standalone mode: socket was closed in handle_control_channel,
|
||||||
* loop back to create a new listener */
|
* loop back to create a new listener */
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int lftpd_stop(lftpd_t *lftpd)
|
int lftpd_stop(lftpd_t *lftpd)
|
||||||
|
|||||||
@@ -7,10 +7,15 @@
|
|||||||
|
|
||||||
int lftpd_inet_listen(int port)
|
int lftpd_inet_listen(int port)
|
||||||
{
|
{
|
||||||
int s = net_socket(NET_AF_INET, NET_SOCK_STREAM, 0);
|
int retry;
|
||||||
|
int s;
|
||||||
|
|
||||||
|
for (retry = 0; retry < 5; retry++) {
|
||||||
|
s = net_socket(NET_AF_INET, NET_SOCK_STREAM, 0);
|
||||||
if (s < 0) {
|
if (s < 0) {
|
||||||
DBG_ERROR("error creating listener socket");
|
if (retry == 0) DBG_ERROR("create socket");
|
||||||
return -1;
|
vTaskDelay(pdMS_TO_TICKS(500));
|
||||||
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
struct net_sockaddr_in addr;
|
struct net_sockaddr_in addr;
|
||||||
@@ -19,18 +24,23 @@ int lftpd_inet_listen(int port)
|
|||||||
addr.sin_addr.s_addr = 0;
|
addr.sin_addr.s_addr = 0;
|
||||||
|
|
||||||
if (net_bind(s, (struct net_sockaddr *)&addr, sizeof(addr)) < 0) {
|
if (net_bind(s, (struct net_sockaddr *)&addr, sizeof(addr)) < 0) {
|
||||||
DBG_ERROR("error binding listener port %d", port);
|
DBG_ERROR("bind port %d", port);
|
||||||
net_close(s);
|
|
||||||
return -1;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (net_listen(s, 0) < 0) {
|
|
||||||
DBG_ERROR("error listening on socket");
|
|
||||||
net_close(s);
|
net_close(s);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (net_listen(s, 0) >= 0) {
|
||||||
return s;
|
return s;
|
||||||
|
}
|
||||||
|
|
||||||
|
net_close(s);
|
||||||
|
if (retry < 4) {
|
||||||
|
vTaskDelay(pdMS_TO_TICKS(2000));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
DBG_ERROR("listen failed after 5 retries (total 10s wait)");
|
||||||
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
int lftpd_inet_listen_multi(int port, int backlog)
|
int lftpd_inet_listen_multi(int port, int backlog)
|
||||||
@@ -81,10 +91,33 @@ int lftpd_inet_accept(int socket)
|
|||||||
if (s >= 0) {
|
if (s >= 0) {
|
||||||
return s;
|
return s;
|
||||||
}
|
}
|
||||||
vTaskDelay(pdMS_TO_TICKS(10));
|
vTaskDelay(pdMS_TO_TICKS(100));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int lftpd_inet_accept_timeout(int socket, int timeout_ms)
|
||||||
|
{
|
||||||
|
int elapsed = 0;
|
||||||
|
|
||||||
|
while (elapsed < timeout_ms) {
|
||||||
|
int s = net_accept(socket, NULL, NULL);
|
||||||
|
if (s >= 0) {
|
||||||
|
return s;
|
||||||
|
}
|
||||||
|
/* 数据连接已被对端关闭时提前退出,不等待超时 */
|
||||||
|
net_sock_t *p_sock = net_get_sock(socket);
|
||||||
|
if (p_sock == NULL || p_sock->state != NET_SOCK_STATE_LISTENING) {
|
||||||
|
DBG_ERROR("data socket closed, accept aborted");
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
|
vTaskDelay(pdMS_TO_TICKS(100));
|
||||||
|
elapsed += 100;
|
||||||
|
}
|
||||||
|
|
||||||
|
DBG_ERROR("accept timeout (%dms)", timeout_ms);
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
|
|
||||||
int lftpd_inet_read_line(int socket, char *buffer, size_t buffer_len)
|
int lftpd_inet_read_line(int socket, char *buffer, size_t buffer_len)
|
||||||
{
|
{
|
||||||
memset(buffer, 0, buffer_len);
|
memset(buffer, 0, buffer_len);
|
||||||
|
|||||||
@@ -11,17 +11,17 @@
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* FatFS 在 FF_USE_LFN=0 时不接受 "/" 前缀路径。
|
* FatFS 在 FF_USE_LFN=0 时不接受 "/" 前缀路径。
|
||||||
* 剥离前导 "/" 后用 FatFS 兼容路径,根目录用 "." 替代空字符串。
|
* 剥离前导 "/" 后用 FatFS 兼容路径,根目录用 "0:"(驱动号格式)替代。
|
||||||
*/
|
*/
|
||||||
static const char *to_fatfs_path(const char *path)
|
static const char *to_fatfs_path(const char *path)
|
||||||
{
|
{
|
||||||
if (path == NULL || *path == '\0') {
|
if (path == NULL || *path == '\0') {
|
||||||
return ".";
|
return "0:";
|
||||||
}
|
}
|
||||||
if (*path == '/') {
|
if (*path == '/') {
|
||||||
path++;
|
path++;
|
||||||
if (*path == '\0') {
|
if (*path == '\0') {
|
||||||
return ".";
|
return "0:";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return path;
|
return path;
|
||||||
|
|||||||
@@ -7,6 +7,7 @@ int lftpd_inet_listen(int port);
|
|||||||
int lftpd_inet_listen_multi(int port, int backlog);
|
int lftpd_inet_listen_multi(int port, int backlog);
|
||||||
int lftpd_inet_get_socket_port(int socket);
|
int lftpd_inet_get_socket_port(int socket);
|
||||||
int lftpd_inet_accept(int socket);
|
int lftpd_inet_accept(int socket);
|
||||||
|
int lftpd_inet_accept_timeout(int socket, int timeout_ms);
|
||||||
int lftpd_inet_read_line(int socket, char *buffer, size_t buffer_len);
|
int lftpd_inet_read_line(int socket, char *buffer, size_t buffer_len);
|
||||||
int lftpd_inet_write_string(int socket, const char *message);
|
int lftpd_inet_write_string(int socket, const char *message);
|
||||||
int lftpd_inet_write(int socket, const void *buf, int len);
|
int lftpd_inet_write(int socket, const void *buf, int len);
|
||||||
|
|||||||
@@ -66,7 +66,7 @@ extern "C" {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef NET_RECV_TIMEOUT_MS
|
#ifndef NET_RECV_TIMEOUT_MS
|
||||||
#define NET_RECV_TIMEOUT_MS 0 /* 接收超时(0=无限等待) */
|
#define NET_RECV_TIMEOUT_MS 30000 /* 接收超时(30秒,0=无限等待) */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
@@ -107,8 +107,8 @@ int net_init(const char *ip, const char *mask, const char *gateway) {
|
|||||||
ch395f_reset();
|
ch395f_reset();
|
||||||
DBG_INFO("net_init: set_fun_para...");
|
DBG_INFO("net_init: set_fun_para...");
|
||||||
|
|
||||||
/* 启用单连接模式:每个 Socket 独立工作,支持多监听 Socket(FTP PASV 需要) */
|
/* CH395F 超时/DISCONNECT 后不要自动关闭 Socket,由软件手动管理 */
|
||||||
ch395f_set_fun_para(0x00);
|
ch395f_set_fun_para(0x08);
|
||||||
DBG_INFO("net_init: set_tcp_mss...");
|
DBG_INFO("net_init: set_tcp_mss...");
|
||||||
|
|
||||||
/* 设置 TCP MSS */
|
/* 设置 TCP MSS */
|
||||||
@@ -224,6 +224,7 @@ int net_poll(void) {
|
|||||||
|
|
||||||
/* 读取 Socket 中断状<E696AD>?*/
|
/* 读取 Socket 中断状<E696AD>?*/
|
||||||
uint8_t sock_int = ch395f_get_sock_int_status(i);
|
uint8_t sock_int = ch395f_get_sock_int_status(i);
|
||||||
|
DBG_INFO("s%d int=0x%02X", i, sock_int);
|
||||||
|
|
||||||
/* 连接事件 */
|
/* 连接事件 */
|
||||||
if (sock_int & CH395F_SINT_STAT_CONNECT) {
|
if (sock_int & CH395F_SINT_STAT_CONNECT) {
|
||||||
@@ -520,13 +521,23 @@ int net_listen_locked(int sockfd, int backlog) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 配置监听 Socket */
|
/* 配置监听 Socket:单连接模式使用 CH395F 默认缓冲区(socket 0-3 已互不重叠),
|
||||||
ch395f_set_send_buf((uint8_t)sockfd, 0, 2);
|
* 多连接模式显式分配(socket 4-7 默认无缓冲区)*/
|
||||||
ch395f_set_recv_buf((uint8_t)sockfd, 2, 2);
|
if (backlog > 0) {
|
||||||
|
uint8_t base = (uint8_t)(sockfd * 4);
|
||||||
|
ch395f_set_send_buf((uint8_t)sockfd, base, 2);
|
||||||
|
ch395f_set_recv_buf((uint8_t)sockfd, base + 2, 2);
|
||||||
|
}
|
||||||
ch395f_set_proto_type(sockfd, CH395F_PROTO_TYPE_TCP);
|
ch395f_set_proto_type(sockfd, CH395F_PROTO_TYPE_TCP);
|
||||||
ch395f_set_sour_port(sockfd, p_sock->local_port);
|
ch395f_set_sour_port(sockfd, p_sock->local_port);
|
||||||
status = ch395f_open_socket(sockfd);
|
|
||||||
|
|
||||||
|
/* CH395F 关 socket 后需要时间才能重新打开,重试 3 次(Trap 09) */
|
||||||
|
for (int open_try = 0; open_try < 3; open_try++) {
|
||||||
|
status = ch395f_open_socket(sockfd);
|
||||||
|
if (status == CH395F_ERR_SUCCESS) break;
|
||||||
|
ch395f_close_socket(sockfd);
|
||||||
|
HAL_Delay(500);
|
||||||
|
}
|
||||||
if (status != CH395F_ERR_SUCCESS) {
|
if (status != CH395F_ERR_SUCCESS) {
|
||||||
s_net_errno = NET_ERR_BUSY;
|
s_net_errno = NET_ERR_BUSY;
|
||||||
return -1;
|
return -1;
|
||||||
@@ -840,8 +851,10 @@ static int net_recv_locked(net_sock_t *p_sock, void *buf, int len, int flags) {
|
|||||||
recv_len = ch395f_get_recv_len(sockfd);
|
recv_len = ch395f_get_recv_len(sockfd);
|
||||||
if (recv_len > 0) {
|
if (recv_len > 0) {
|
||||||
int read_len = (recv_len > (uint16_t)len) ? len : (int)recv_len;
|
int read_len = (recv_len > (uint16_t)len) ? len : (int)recv_len;
|
||||||
|
DBG_INFO("recv sock%d len=%d", sockfd, recv_len);
|
||||||
ch395f_read_recv_buf(sockfd, (uint8_t *)buf, (uint16_t)read_len);
|
ch395f_read_recv_buf(sockfd, (uint8_t *)buf, (uint16_t)read_len);
|
||||||
p_sock->recv_bytes += (uint32_t)read_len;
|
p_sock->recv_bytes += (uint32_t)read_len;
|
||||||
|
HAL_Delay(1); /* 等待 CH395F 刷新 recv_len 寄存器 */
|
||||||
return read_len;
|
return read_len;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -856,7 +869,8 @@ static int net_recv_locked(net_sock_t *p_sock, void *buf, int len, int flags) {
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (p_sock->state == NET_SOCK_STATE_TCP_ACCEPT) {
|
if (p_sock->state == NET_SOCK_STATE_TCP_ACCEPT ||
|
||||||
|
p_sock->state == NET_SOCK_STATE_CLOSED) {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1390,7 +1404,8 @@ static void handle_connect_event(net_sock_t *p_sock) {
|
|||||||
p_sock->state = NET_SOCK_STATE_ESTABLISHED;
|
p_sock->state = NET_SOCK_STATE_ESTABLISHED;
|
||||||
p_sock->send_ready = 1;
|
p_sock->send_ready = 1;
|
||||||
|
|
||||||
ch395f_set_keepalive_enable(p_sock->ch395_sock, 1);
|
/* 清除残留的 TIMEOUT 中断标志 */
|
||||||
|
(void)ch395f_get_sock_int_status(p_sock->ch395_sock);
|
||||||
|
|
||||||
fire_event(p_sock, NET_EVENT_CONNECTED);
|
fire_event(p_sock, NET_EVENT_CONNECTED);
|
||||||
} else {
|
} else {
|
||||||
@@ -1465,18 +1480,29 @@ static void handle_disconnect_event(net_sock_t *p_sock) {
|
|||||||
DBG_ERROR("WARNING: listen sock%d got disconnect", p_sock->ch395_sock);
|
DBG_ERROR("WARNING: listen sock%d got disconnect", p_sock->ch395_sock);
|
||||||
}
|
}
|
||||||
else if (p_sock->state == NET_SOCK_STATE_ESTABLISHED) {
|
else if (p_sock->state == NET_SOCK_STATE_ESTABLISHED) {
|
||||||
/* CH395F 自动关闭<E585B3>?Socket,恢复为未使用状<E794A8>?*/
|
if (p_sock->standalone_accept) {
|
||||||
|
/* 独立监听模式(PASV 数据通道):通知断开但不释放 Socket,
|
||||||
|
* 留给传输命令(STOR/LIST)的 accept 检测 CLOSED 状态后统一清理。
|
||||||
|
* 但必须先关闭 CH395F 硬件 Socket,否则后续 ch395f_open_socket 失败 */
|
||||||
|
DBG_INFO("sock%d DISCONNECTED, releasing", p_sock->ch395_sock);
|
||||||
|
ch395f_close_socket(p_sock->ch395_sock);
|
||||||
|
p_sock->state = NET_SOCK_STATE_CLOSED;
|
||||||
|
fire_event(p_sock, NET_EVENT_DISCONNECTED);
|
||||||
|
} else {
|
||||||
DBG_INFO("sock%d DISCONNECTED, back to idle", p_sock->ch395_sock);
|
DBG_INFO("sock%d DISCONNECTED, back to idle", p_sock->ch395_sock);
|
||||||
memset(p_sock->remote_ip_arr, 0, 4);
|
memset(p_sock->remote_ip_arr, 0, 4);
|
||||||
p_sock->remote_port = 0;
|
p_sock->remote_port = 0;
|
||||||
p_sock->send_ready = 1;
|
p_sock->send_ready = 1;
|
||||||
p_sock->state = NET_SOCK_STATE_TCP_ACCEPT;
|
p_sock->state = NET_SOCK_STATE_TCP_ACCEPT;
|
||||||
fire_event(p_sock, NET_EVENT_DISCONNECTED);
|
fire_event(p_sock, NET_EVENT_DISCONNECTED);
|
||||||
|
}
|
||||||
} else if (p_sock->state == NET_SOCK_STATE_TCP_ACCEPT) {
|
} else if (p_sock->state == NET_SOCK_STATE_TCP_ACCEPT) {
|
||||||
memset(p_sock->remote_ip_arr, 0, 4);
|
memset(p_sock->remote_ip_arr, 0, 4);
|
||||||
p_sock->remote_port = 0;
|
p_sock->remote_port = 0;
|
||||||
p_sock->send_ready = 1;
|
p_sock->send_ready = 1;
|
||||||
} else if (p_sock->state != NET_SOCK_STATE_CLOSED) {
|
} else if (p_sock->state != NET_SOCK_STATE_CLOSED &&
|
||||||
|
p_sock->state != NET_SOCK_STATE_BOUND &&
|
||||||
|
p_sock->state != NET_SOCK_STATE_CREATED) {
|
||||||
/* 未预期的断开 */
|
/* 未预期的断开 */
|
||||||
DBG_ERROR("sock%d disconnect in state %d", p_sock->ch395_sock, p_sock->state);
|
DBG_ERROR("sock%d disconnect in state %d", p_sock->ch395_sock, p_sock->state);
|
||||||
fire_event(p_sock, NET_EVENT_DISCONNECTED);
|
fire_event(p_sock, NET_EVENT_DISCONNECTED);
|
||||||
@@ -1509,19 +1535,10 @@ static void handle_timeout_event(net_sock_t *p_sock) {
|
|||||||
}
|
}
|
||||||
else if (p_sock->state == NET_SOCK_STATE_ESTABLISHED) {
|
else if (p_sock->state == NET_SOCK_STATE_ESTABLISHED) {
|
||||||
if (p_sock->standalone_accept) {
|
if (p_sock->standalone_accept) {
|
||||||
/* 独立监听模式(PASV):断开后释放 Socket,不清零整个控制块(net_recv 中的任务仍需读 state) */
|
DBG_INFO("sock%d TIMEOUT (ignored)", p_sock->ch395_sock);
|
||||||
DBG_INFO("sock%d DISCONNECTED, releasing", p_sock->ch395_sock);
|
|
||||||
p_sock->state = NET_SOCK_STATE_CLOSED;
|
|
||||||
p_sock->in_use = 0;
|
|
||||||
fire_event(p_sock, NET_EVENT_DISCONNECTED);
|
|
||||||
} else {
|
} else {
|
||||||
/* CH395F 自动关闭了 Socket,恢复为未使用状态 */
|
DBG_ERROR("sock%d TIMEOUT", p_sock->ch395_sock);
|
||||||
DBG_INFO("sock%d DISCONNECTED, back to idle", p_sock->ch395_sock);
|
|
||||||
memset(p_sock->remote_ip_arr, 0, 4);
|
|
||||||
p_sock->remote_port = 0;
|
|
||||||
p_sock->send_ready = 1;
|
|
||||||
p_sock->state = NET_SOCK_STATE_TCP_ACCEPT;
|
p_sock->state = NET_SOCK_STATE_TCP_ACCEPT;
|
||||||
fire_event(p_sock, NET_EVENT_DISCONNECTED);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (p_sock->state == NET_SOCK_STATE_LISTENING) {
|
else if (p_sock->state == NET_SOCK_STATE_LISTENING) {
|
||||||
|
|||||||
5
MDK-ARM/STM32F407-Demo/adc_task.__i
Normal file
5
MDK-ARM/STM32F407-Demo/adc_task.__i
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
--c99 -c --cpu Cortex-M4.fp.sp -D__MICROLIB -g -O3 --apcs=interwork --split_sections -I ../Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I ../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I ../Drivers/CMSIS/Include -I ../Drivers/BSP -I ../Drivers/BSP/CH395F -I ../Drivers/BSP/GD5F2GQ5UE -I ../Drivers/BSP/TPAFE5160 -I ../Drivers/BSP/SD2506 -I ../Drivers/BSP/RS485 -I ../Drivers/BSP/NET -I ../Drivers/BSP/NET/lftpd -I ../App -I ../App/task -I ../App/util -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../Lib/dhara -I ../Lib/FatFs
|
||||||
|
-I.\RTE\_STM32F407-Demo
|
||||||
|
-IC:\Users\16241\AppData\Local\Arm\Packs\ARM\CMSIS\5.8.0\CMSIS\Core\Include
|
||||||
|
-D__UVISION_VERSION="538" -D_RTE_ -DSTM32F407xx -D_RTE_ -DUSE_HAL_DRIVER -DSTM32F407xx -DNDEBUG
|
||||||
|
-o .\stm32f407-demo\adc_task.o --omf_browse .\stm32f407-demo\adc_task.crf --depend .\stm32f407-demo\adc_task.d "..\App\task\adc_task.c"
|
||||||
5
MDK-ARM/STM32F407-Demo/app_main.__i
Normal file
5
MDK-ARM/STM32F407-Demo/app_main.__i
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
--c99 -c --cpu Cortex-M4.fp.sp -D__MICROLIB -g -O3 --apcs=interwork --split_sections -I ../Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I ../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I ../Drivers/CMSIS/Include -I ../Drivers/BSP -I ../Drivers/BSP/CH395F -I ../Drivers/BSP/GD5F2GQ5UE -I ../Drivers/BSP/TPAFE5160 -I ../Drivers/BSP/SD2506 -I ../Drivers/BSP/RS485 -I ../Drivers/BSP/NET -I ../Drivers/BSP/NET/lftpd -I ../App -I ../App/task -I ../App/util -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../Lib/dhara -I ../Lib/FatFs
|
||||||
|
-I.\RTE\_STM32F407-Demo
|
||||||
|
-IC:\Users\16241\AppData\Local\Arm\Packs\ARM\CMSIS\5.8.0\CMSIS\Core\Include
|
||||||
|
-D__UVISION_VERSION="538" -D_RTE_ -DSTM32F407xx -D_RTE_ -DUSE_HAL_DRIVER -DSTM32F407xx -DNDEBUG
|
||||||
|
-o .\stm32f407-demo\app_main.o --omf_browse .\stm32f407-demo\app_main.crf --depend .\stm32f407-demo\app_main.d "..\App\app_main.c"
|
||||||
5
MDK-ARM/STM32F407-Demo/ch395f.__i
Normal file
5
MDK-ARM/STM32F407-Demo/ch395f.__i
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
--c99 -c --cpu Cortex-M4.fp.sp -D__MICROLIB -g -O3 --apcs=interwork --split_sections -I ../Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I ../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I ../Drivers/CMSIS/Include -I ../Drivers/BSP -I ../Drivers/BSP/CH395F -I ../Drivers/BSP/GD5F2GQ5UE -I ../Drivers/BSP/TPAFE5160 -I ../Drivers/BSP/SD2506 -I ../Drivers/BSP/RS485 -I ../Drivers/BSP/NET -I ../Drivers/BSP/NET/lftpd -I ../App -I ../App/task -I ../App/util -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../Lib/dhara -I ../Lib/FatFs
|
||||||
|
-I.\RTE\_STM32F407-Demo
|
||||||
|
-IC:\Users\16241\AppData\Local\Arm\Packs\ARM\CMSIS\5.8.0\CMSIS\Core\Include
|
||||||
|
-D__UVISION_VERSION="538" -D_RTE_ -DSTM32F407xx -D_RTE_ -DUSE_HAL_DRIVER -DSTM32F407xx -DNDEBUG
|
||||||
|
-o .\stm32f407-demo\ch395f.o --omf_browse .\stm32f407-demo\ch395f.crf --depend .\stm32f407-demo\ch395f.d "..\Drivers\BSP\CH395F\ch395f.c"
|
||||||
5
MDK-ARM/STM32F407-Demo/ch395f_test.__i
Normal file
5
MDK-ARM/STM32F407-Demo/ch395f_test.__i
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
--c99 -c --cpu Cortex-M4.fp.sp -D__MICROLIB -g -O3 --apcs=interwork --split_sections -I ../Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I ../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I ../Drivers/CMSIS/Include -I ../Drivers/BSP -I ../Drivers/BSP/CH395F -I ../Drivers/BSP/GD5F2GQ5UE -I ../Drivers/BSP/TPAFE5160 -I ../Drivers/BSP/SD2506 -I ../Drivers/BSP/RS485 -I ../Drivers/BSP/NET -I ../Drivers/BSP/NET/lftpd -I ../App -I ../App/task -I ../App/util -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../Lib/dhara -I ../Lib/FatFs
|
||||||
|
-I.\RTE\_STM32F407-Demo
|
||||||
|
-IC:\Users\16241\AppData\Local\Arm\Packs\ARM\CMSIS\5.8.0\CMSIS\Core\Include
|
||||||
|
-D__UVISION_VERSION="538" -D_RTE_ -DSTM32F407xx -D_RTE_ -DUSE_HAL_DRIVER -DSTM32F407xx -DNDEBUG
|
||||||
|
-o .\stm32f407-demo\ch395f_test.o --omf_browse .\stm32f407-demo\ch395f_test.crf --depend .\stm32f407-demo\ch395f_test.d "..\Drivers\BSP\CH395F\ch395f_test.c"
|
||||||
5
MDK-ARM/STM32F407-Demo/cmsis_os2.__i
Normal file
5
MDK-ARM/STM32F407-Demo/cmsis_os2.__i
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
--c99 -c --cpu Cortex-M4.fp.sp -D__MICROLIB -g -O3 --apcs=interwork --split_sections -I ../Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I ../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I ../Drivers/CMSIS/Include -I ../Drivers/BSP -I ../Drivers/BSP/CH395F -I ../Drivers/BSP/GD5F2GQ5UE -I ../Drivers/BSP/TPAFE5160 -I ../Drivers/BSP/SD2506 -I ../Drivers/BSP/RS485 -I ../Drivers/BSP/NET -I ../Drivers/BSP/NET/lftpd -I ../App -I ../App/task -I ../App/util -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../Lib/dhara -I ../Lib/FatFs
|
||||||
|
-I.\RTE\_STM32F407-Demo
|
||||||
|
-IC:\Users\16241\AppData\Local\Arm\Packs\ARM\CMSIS\5.8.0\CMSIS\Core\Include
|
||||||
|
-D__UVISION_VERSION="538" -D_RTE_ -DSTM32F407xx -D_RTE_ -DUSE_HAL_DRIVER -DSTM32F407xx -DNDEBUG
|
||||||
|
-o .\stm32f407-demo\cmsis_os2.o --omf_browse .\stm32f407-demo\cmsis_os2.crf --depend .\stm32f407-demo\cmsis_os2.d "../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os2.c"
|
||||||
5
MDK-ARM/STM32F407-Demo/crc.__i
Normal file
5
MDK-ARM/STM32F407-Demo/crc.__i
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
--c99 -c --cpu Cortex-M4.fp.sp -D__MICROLIB -g -O3 --apcs=interwork --split_sections -I ../Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I ../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I ../Drivers/CMSIS/Include -I ../Drivers/BSP -I ../Drivers/BSP/CH395F -I ../Drivers/BSP/GD5F2GQ5UE -I ../Drivers/BSP/TPAFE5160 -I ../Drivers/BSP/SD2506 -I ../Drivers/BSP/RS485 -I ../Drivers/BSP/NET -I ../Drivers/BSP/NET/lftpd -I ../App -I ../App/task -I ../App/util -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../Lib/dhara -I ../Lib/FatFs
|
||||||
|
-I.\RTE\_STM32F407-Demo
|
||||||
|
-IC:\Users\16241\AppData\Local\Arm\Packs\ARM\CMSIS\5.8.0\CMSIS\Core\Include
|
||||||
|
-D__UVISION_VERSION="538" -D_RTE_ -DSTM32F407xx -D_RTE_ -DUSE_HAL_DRIVER -DSTM32F407xx -DNDEBUG
|
||||||
|
-o .\stm32f407-demo\crc.o --omf_browse .\stm32f407-demo\crc.crf --depend .\stm32f407-demo\crc.d "..\App\util\crc.c"
|
||||||
5
MDK-ARM/STM32F407-Demo/croutine.__i
Normal file
5
MDK-ARM/STM32F407-Demo/croutine.__i
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
--c99 -c --cpu Cortex-M4.fp.sp -D__MICROLIB -g -O3 --apcs=interwork --split_sections -I ../Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I ../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I ../Drivers/CMSIS/Include -I ../Drivers/BSP -I ../Drivers/BSP/CH395F -I ../Drivers/BSP/GD5F2GQ5UE -I ../Drivers/BSP/TPAFE5160 -I ../Drivers/BSP/SD2506 -I ../Drivers/BSP/RS485 -I ../Drivers/BSP/NET -I ../Drivers/BSP/NET/lftpd -I ../App -I ../App/task -I ../App/util -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../Lib/dhara -I ../Lib/FatFs
|
||||||
|
-I.\RTE\_STM32F407-Demo
|
||||||
|
-IC:\Users\16241\AppData\Local\Arm\Packs\ARM\CMSIS\5.8.0\CMSIS\Core\Include
|
||||||
|
-D__UVISION_VERSION="538" -D_RTE_ -DSTM32F407xx -D_RTE_ -DUSE_HAL_DRIVER -DSTM32F407xx -DNDEBUG
|
||||||
|
-o .\stm32f407-demo\croutine.o --omf_browse .\stm32f407-demo\croutine.crf --depend .\stm32f407-demo\croutine.d "../Middlewares/Third_Party/FreeRTOS/Source/croutine.c"
|
||||||
5
MDK-ARM/STM32F407-Demo/dma.__i
Normal file
5
MDK-ARM/STM32F407-Demo/dma.__i
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
--c99 -c --cpu Cortex-M4.fp.sp -D__MICROLIB -g -O3 --apcs=interwork --split_sections -I ../Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I ../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I ../Drivers/CMSIS/Include -I ../Drivers/BSP -I ../Drivers/BSP/CH395F -I ../Drivers/BSP/GD5F2GQ5UE -I ../Drivers/BSP/TPAFE5160 -I ../Drivers/BSP/SD2506 -I ../Drivers/BSP/RS485 -I ../Drivers/BSP/NET -I ../Drivers/BSP/NET/lftpd -I ../App -I ../App/task -I ../App/util -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../Lib/dhara -I ../Lib/FatFs
|
||||||
|
-I.\RTE\_STM32F407-Demo
|
||||||
|
-IC:\Users\16241\AppData\Local\Arm\Packs\ARM\CMSIS\5.8.0\CMSIS\Core\Include
|
||||||
|
-D__UVISION_VERSION="538" -D_RTE_ -DSTM32F407xx -D_RTE_ -DUSE_HAL_DRIVER -DSTM32F407xx -DNDEBUG
|
||||||
|
-o .\stm32f407-demo\dma.o --omf_browse .\stm32f407-demo\dma.crf --depend .\stm32f407-demo\dma.d "../Src/dma.c"
|
||||||
5
MDK-ARM/STM32F407-Demo/event_groups.__i
Normal file
5
MDK-ARM/STM32F407-Demo/event_groups.__i
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
--c99 -c --cpu Cortex-M4.fp.sp -D__MICROLIB -g -O3 --apcs=interwork --split_sections -I ../Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I ../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I ../Drivers/CMSIS/Include -I ../Drivers/BSP -I ../Drivers/BSP/CH395F -I ../Drivers/BSP/GD5F2GQ5UE -I ../Drivers/BSP/TPAFE5160 -I ../Drivers/BSP/SD2506 -I ../Drivers/BSP/RS485 -I ../Drivers/BSP/NET -I ../Drivers/BSP/NET/lftpd -I ../App -I ../App/task -I ../App/util -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../Lib/dhara -I ../Lib/FatFs
|
||||||
|
-I.\RTE\_STM32F407-Demo
|
||||||
|
-IC:\Users\16241\AppData\Local\Arm\Packs\ARM\CMSIS\5.8.0\CMSIS\Core\Include
|
||||||
|
-D__UVISION_VERSION="538" -D_RTE_ -DSTM32F407xx -D_RTE_ -DUSE_HAL_DRIVER -DSTM32F407xx -DNDEBUG
|
||||||
|
-o .\stm32f407-demo\event_groups.o --omf_browse .\stm32f407-demo\event_groups.crf --depend .\stm32f407-demo\event_groups.d "../Middlewares/Third_Party/FreeRTOS/Source/event_groups.c"
|
||||||
5
MDK-ARM/STM32F407-Demo/ff.__i
Normal file
5
MDK-ARM/STM32F407-Demo/ff.__i
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
--c99 -c --cpu Cortex-M4.fp.sp -D__MICROLIB -g -O3 --apcs=interwork --split_sections -I ../Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I ../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I ../Drivers/CMSIS/Include -I ../Drivers/BSP -I ../Drivers/BSP/CH395F -I ../Drivers/BSP/GD5F2GQ5UE -I ../Drivers/BSP/TPAFE5160 -I ../Drivers/BSP/SD2506 -I ../Drivers/BSP/RS485 -I ../Drivers/BSP/NET -I ../Drivers/BSP/NET/lftpd -I ../App -I ../App/task -I ../App/util -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../Lib/dhara -I ../Lib/FatFs
|
||||||
|
-I.\RTE\_STM32F407-Demo
|
||||||
|
-IC:\Users\16241\AppData\Local\Arm\Packs\ARM\CMSIS\5.8.0\CMSIS\Core\Include
|
||||||
|
-D__UVISION_VERSION="538" -D_RTE_ -DSTM32F407xx -D_RTE_ -DUSE_HAL_DRIVER -DSTM32F407xx -DNDEBUG
|
||||||
|
-o .\stm32f407-demo\ff.o --omf_browse .\stm32f407-demo\ff.crf --depend .\stm32f407-demo\ff.d "..\Lib\FatFs\ff.c"
|
||||||
5
MDK-ARM/STM32F407-Demo/freertos.__i
Normal file
5
MDK-ARM/STM32F407-Demo/freertos.__i
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
--c99 -c --cpu Cortex-M4.fp.sp -D__MICROLIB -g -O3 --apcs=interwork --split_sections -I ../Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I ../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I ../Drivers/CMSIS/Include -I ../Drivers/BSP -I ../Drivers/BSP/CH395F -I ../Drivers/BSP/GD5F2GQ5UE -I ../Drivers/BSP/TPAFE5160 -I ../Drivers/BSP/SD2506 -I ../Drivers/BSP/RS485 -I ../Drivers/BSP/NET -I ../Drivers/BSP/NET/lftpd -I ../App -I ../App/task -I ../App/util -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../Lib/dhara -I ../Lib/FatFs
|
||||||
|
-I.\RTE\_STM32F407-Demo
|
||||||
|
-IC:\Users\16241\AppData\Local\Arm\Packs\ARM\CMSIS\5.8.0\CMSIS\Core\Include
|
||||||
|
-D__UVISION_VERSION="538" -D_RTE_ -DSTM32F407xx -D_RTE_ -DUSE_HAL_DRIVER -DSTM32F407xx -DNDEBUG
|
||||||
|
-o .\stm32f407-demo\freertos.o --omf_browse .\stm32f407-demo\freertos.crf --depend .\stm32f407-demo\freertos.d "../Src/freertos.c"
|
||||||
5
MDK-ARM/STM32F407-Demo/gd5f2gq5ue.__i
Normal file
5
MDK-ARM/STM32F407-Demo/gd5f2gq5ue.__i
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
--c99 -c --cpu Cortex-M4.fp.sp -D__MICROLIB -g -O3 --apcs=interwork --split_sections -I ../Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I ../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I ../Drivers/CMSIS/Include -I ../Drivers/BSP -I ../Drivers/BSP/CH395F -I ../Drivers/BSP/GD5F2GQ5UE -I ../Drivers/BSP/TPAFE5160 -I ../Drivers/BSP/SD2506 -I ../Drivers/BSP/RS485 -I ../Drivers/BSP/NET -I ../Drivers/BSP/NET/lftpd -I ../App -I ../App/task -I ../App/util -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../Lib/dhara -I ../Lib/FatFs
|
||||||
|
-I.\RTE\_STM32F407-Demo
|
||||||
|
-IC:\Users\16241\AppData\Local\Arm\Packs\ARM\CMSIS\5.8.0\CMSIS\Core\Include
|
||||||
|
-D__UVISION_VERSION="538" -D_RTE_ -DSTM32F407xx -D_RTE_ -DUSE_HAL_DRIVER -DSTM32F407xx -DNDEBUG
|
||||||
|
-o .\stm32f407-demo\gd5f2gq5ue.o --omf_browse .\stm32f407-demo\gd5f2gq5ue.crf --depend .\stm32f407-demo\gd5f2gq5ue.d "..\Drivers\BSP\GD5F2GQ5UE\gd5f2gq5ue.c"
|
||||||
5
MDK-ARM/STM32F407-Demo/gpio.__i
Normal file
5
MDK-ARM/STM32F407-Demo/gpio.__i
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
--c99 -c --cpu Cortex-M4.fp.sp -D__MICROLIB -g -O3 --apcs=interwork --split_sections -I ../Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I ../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I ../Drivers/CMSIS/Include -I ../Drivers/BSP -I ../Drivers/BSP/CH395F -I ../Drivers/BSP/GD5F2GQ5UE -I ../Drivers/BSP/TPAFE5160 -I ../Drivers/BSP/SD2506 -I ../Drivers/BSP/RS485 -I ../Drivers/BSP/NET -I ../Drivers/BSP/NET/lftpd -I ../App -I ../App/task -I ../App/util -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../Lib/dhara -I ../Lib/FatFs
|
||||||
|
-I.\RTE\_STM32F407-Demo
|
||||||
|
-IC:\Users\16241\AppData\Local\Arm\Packs\ARM\CMSIS\5.8.0\CMSIS\Core\Include
|
||||||
|
-D__UVISION_VERSION="538" -D_RTE_ -DSTM32F407xx -D_RTE_ -DUSE_HAL_DRIVER -DSTM32F407xx -DNDEBUG
|
||||||
|
-o .\stm32f407-demo\gpio.o --omf_browse .\stm32f407-demo\gpio.crf --depend .\stm32f407-demo\gpio.d "../Src/gpio.c"
|
||||||
5
MDK-ARM/STM32F407-Demo/heap_4.__i
Normal file
5
MDK-ARM/STM32F407-Demo/heap_4.__i
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
--c99 -c --cpu Cortex-M4.fp.sp -D__MICROLIB -g -O3 --apcs=interwork --split_sections -I ../Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I ../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I ../Drivers/CMSIS/Include -I ../Drivers/BSP -I ../Drivers/BSP/CH395F -I ../Drivers/BSP/GD5F2GQ5UE -I ../Drivers/BSP/TPAFE5160 -I ../Drivers/BSP/SD2506 -I ../Drivers/BSP/RS485 -I ../Drivers/BSP/NET -I ../Drivers/BSP/NET/lftpd -I ../App -I ../App/task -I ../App/util -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../Lib/dhara -I ../Lib/FatFs
|
||||||
|
-I.\RTE\_STM32F407-Demo
|
||||||
|
-IC:\Users\16241\AppData\Local\Arm\Packs\ARM\CMSIS\5.8.0\CMSIS\Core\Include
|
||||||
|
-D__UVISION_VERSION="538" -D_RTE_ -DSTM32F407xx -D_RTE_ -DUSE_HAL_DRIVER -DSTM32F407xx -DNDEBUG
|
||||||
|
-o .\stm32f407-demo\heap_4.o --omf_browse .\stm32f407-demo\heap_4.crf --depend .\stm32f407-demo\heap_4.d "../Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/heap_4.c"
|
||||||
5
MDK-ARM/STM32F407-Demo/i2c.__i
Normal file
5
MDK-ARM/STM32F407-Demo/i2c.__i
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
--c99 -c --cpu Cortex-M4.fp.sp -D__MICROLIB -g -O3 --apcs=interwork --split_sections -I ../Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I ../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I ../Drivers/CMSIS/Include -I ../Drivers/BSP -I ../Drivers/BSP/CH395F -I ../Drivers/BSP/GD5F2GQ5UE -I ../Drivers/BSP/TPAFE5160 -I ../Drivers/BSP/SD2506 -I ../Drivers/BSP/RS485 -I ../Drivers/BSP/NET -I ../Drivers/BSP/NET/lftpd -I ../App -I ../App/task -I ../App/util -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../Lib/dhara -I ../Lib/FatFs
|
||||||
|
-I.\RTE\_STM32F407-Demo
|
||||||
|
-IC:\Users\16241\AppData\Local\Arm\Packs\ARM\CMSIS\5.8.0\CMSIS\Core\Include
|
||||||
|
-D__UVISION_VERSION="538" -D_RTE_ -DSTM32F407xx -D_RTE_ -DUSE_HAL_DRIVER -DSTM32F407xx -DNDEBUG
|
||||||
|
-o .\stm32f407-demo\i2c.o --omf_browse .\stm32f407-demo\i2c.crf --depend .\stm32f407-demo\i2c.d "../Src/i2c.c"
|
||||||
5
MDK-ARM/STM32F407-Demo/journal.__i
Normal file
5
MDK-ARM/STM32F407-Demo/journal.__i
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
--c99 -c --cpu Cortex-M4.fp.sp -D__MICROLIB -g -O3 --apcs=interwork --split_sections -I ../Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I ../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I ../Drivers/CMSIS/Include -I ../Drivers/BSP -I ../Drivers/BSP/CH395F -I ../Drivers/BSP/GD5F2GQ5UE -I ../Drivers/BSP/TPAFE5160 -I ../Drivers/BSP/SD2506 -I ../Drivers/BSP/RS485 -I ../Drivers/BSP/NET -I ../Drivers/BSP/NET/lftpd -I ../App -I ../App/task -I ../App/util -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../Lib/dhara -I ../Lib/FatFs --diag_suppress=177
|
||||||
|
-I.\RTE\_STM32F407-Demo
|
||||||
|
-IC:\Users\16241\AppData\Local\Arm\Packs\ARM\CMSIS\5.8.0\CMSIS\Core\Include
|
||||||
|
-D__UVISION_VERSION="538" -D_RTE_ -DSTM32F407xx -D_RTE_ -DUSE_HAL_DRIVER -DSTM32F407xx -DNDEBUG
|
||||||
|
-o .\stm32f407-demo\journal.o --omf_browse .\stm32f407-demo\journal.crf --depend .\stm32f407-demo\journal.d "..\Lib\dhara\journal.c"
|
||||||
5
MDK-ARM/STM32F407-Demo/lftpd.__i
Normal file
5
MDK-ARM/STM32F407-Demo/lftpd.__i
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
--c99 -c --cpu Cortex-M4.fp.sp -D__MICROLIB -g -O3 --apcs=interwork --split_sections -I ../Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I ../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I ../Drivers/CMSIS/Include -I ../Drivers/BSP -I ../Drivers/BSP/CH395F -I ../Drivers/BSP/GD5F2GQ5UE -I ../Drivers/BSP/TPAFE5160 -I ../Drivers/BSP/SD2506 -I ../Drivers/BSP/RS485 -I ../Drivers/BSP/NET -I ../Drivers/BSP/NET/lftpd -I ../App -I ../App/task -I ../App/util -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../Lib/dhara -I ../Lib/FatFs
|
||||||
|
-I.\RTE\_STM32F407-Demo
|
||||||
|
-IC:\Users\16241\AppData\Local\Arm\Packs\ARM\CMSIS\5.8.0\CMSIS\Core\Include
|
||||||
|
-D__UVISION_VERSION="538" -D_RTE_ -DSTM32F407xx -D_RTE_ -DUSE_HAL_DRIVER -DSTM32F407xx -DNDEBUG
|
||||||
|
-o .\stm32f407-demo\lftpd.o --omf_browse .\stm32f407-demo\lftpd.crf --depend .\stm32f407-demo\lftpd.d "..\Drivers\BSP\NET\lftpd\lftpd.c"
|
||||||
5
MDK-ARM/STM32F407-Demo/lftpd_inet.__i
Normal file
5
MDK-ARM/STM32F407-Demo/lftpd_inet.__i
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
--c99 -c --cpu Cortex-M4.fp.sp -D__MICROLIB -g -O3 --apcs=interwork --split_sections -I ../Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I ../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I ../Drivers/CMSIS/Include -I ../Drivers/BSP -I ../Drivers/BSP/CH395F -I ../Drivers/BSP/GD5F2GQ5UE -I ../Drivers/BSP/TPAFE5160 -I ../Drivers/BSP/SD2506 -I ../Drivers/BSP/RS485 -I ../Drivers/BSP/NET -I ../Drivers/BSP/NET/lftpd -I ../App -I ../App/task -I ../App/util -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../Lib/dhara -I ../Lib/FatFs
|
||||||
|
-I.\RTE\_STM32F407-Demo
|
||||||
|
-IC:\Users\16241\AppData\Local\Arm\Packs\ARM\CMSIS\5.8.0\CMSIS\Core\Include
|
||||||
|
-D__UVISION_VERSION="538" -D_RTE_ -DSTM32F407xx -D_RTE_ -DUSE_HAL_DRIVER -DSTM32F407xx -DNDEBUG
|
||||||
|
-o .\stm32f407-demo\lftpd_inet.o --omf_browse .\stm32f407-demo\lftpd_inet.crf --depend .\stm32f407-demo\lftpd_inet.d "..\Drivers\BSP\NET\lftpd\lftpd_inet.c"
|
||||||
5
MDK-ARM/STM32F407-Demo/lftpd_io.__i
Normal file
5
MDK-ARM/STM32F407-Demo/lftpd_io.__i
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
--c99 -c --cpu Cortex-M4.fp.sp -D__MICROLIB -g -O3 --apcs=interwork --split_sections -I ../Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I ../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I ../Drivers/CMSIS/Include -I ../Drivers/BSP -I ../Drivers/BSP/CH395F -I ../Drivers/BSP/GD5F2GQ5UE -I ../Drivers/BSP/TPAFE5160 -I ../Drivers/BSP/SD2506 -I ../Drivers/BSP/RS485 -I ../Drivers/BSP/NET -I ../Drivers/BSP/NET/lftpd -I ../App -I ../App/task -I ../App/util -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../Lib/dhara -I ../Lib/FatFs
|
||||||
|
-I.\RTE\_STM32F407-Demo
|
||||||
|
-IC:\Users\16241\AppData\Local\Arm\Packs\ARM\CMSIS\5.8.0\CMSIS\Core\Include
|
||||||
|
-D__UVISION_VERSION="538" -D_RTE_ -DSTM32F407xx -D_RTE_ -DUSE_HAL_DRIVER -DSTM32F407xx -DNDEBUG
|
||||||
|
-o .\stm32f407-demo\lftpd_io.o --omf_browse .\stm32f407-demo\lftpd_io.crf --depend .\stm32f407-demo\lftpd_io.d "..\Drivers\BSP\NET\lftpd\lftpd_io.c"
|
||||||
5
MDK-ARM/STM32F407-Demo/lftpd_string.__i
Normal file
5
MDK-ARM/STM32F407-Demo/lftpd_string.__i
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
--c99 -c --cpu Cortex-M4.fp.sp -D__MICROLIB -g -O3 --apcs=interwork --split_sections -I ../Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I ../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I ../Drivers/CMSIS/Include -I ../Drivers/BSP -I ../Drivers/BSP/CH395F -I ../Drivers/BSP/GD5F2GQ5UE -I ../Drivers/BSP/TPAFE5160 -I ../Drivers/BSP/SD2506 -I ../Drivers/BSP/RS485 -I ../Drivers/BSP/NET -I ../Drivers/BSP/NET/lftpd -I ../App -I ../App/task -I ../App/util -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../Lib/dhara -I ../Lib/FatFs
|
||||||
|
-I.\RTE\_STM32F407-Demo
|
||||||
|
-IC:\Users\16241\AppData\Local\Arm\Packs\ARM\CMSIS\5.8.0\CMSIS\Core\Include
|
||||||
|
-D__UVISION_VERSION="538" -D_RTE_ -DSTM32F407xx -D_RTE_ -DUSE_HAL_DRIVER -DSTM32F407xx -DNDEBUG
|
||||||
|
-o .\stm32f407-demo\lftpd_string.o --omf_browse .\stm32f407-demo\lftpd_string.crf --depend .\stm32f407-demo\lftpd_string.d "..\Drivers\BSP\NET\lftpd\lftpd_string.c"
|
||||||
5
MDK-ARM/STM32F407-Demo/list.__i
Normal file
5
MDK-ARM/STM32F407-Demo/list.__i
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
--c99 -c --cpu Cortex-M4.fp.sp -D__MICROLIB -g -O3 --apcs=interwork --split_sections -I ../Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I ../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I ../Drivers/CMSIS/Include -I ../Drivers/BSP -I ../Drivers/BSP/CH395F -I ../Drivers/BSP/GD5F2GQ5UE -I ../Drivers/BSP/TPAFE5160 -I ../Drivers/BSP/SD2506 -I ../Drivers/BSP/RS485 -I ../Drivers/BSP/NET -I ../Drivers/BSP/NET/lftpd -I ../App -I ../App/task -I ../App/util -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../Lib/dhara -I ../Lib/FatFs
|
||||||
|
-I.\RTE\_STM32F407-Demo
|
||||||
|
-IC:\Users\16241\AppData\Local\Arm\Packs\ARM\CMSIS\5.8.0\CMSIS\Core\Include
|
||||||
|
-D__UVISION_VERSION="538" -D_RTE_ -DSTM32F407xx -D_RTE_ -DUSE_HAL_DRIVER -DSTM32F407xx -DNDEBUG
|
||||||
|
-o .\stm32f407-demo\list.o --omf_browse .\stm32f407-demo\list.crf --depend .\stm32f407-demo\list.d "../Middlewares/Third_Party/FreeRTOS/Source/list.c"
|
||||||
5
MDK-ARM/STM32F407-Demo/main.__i
Normal file
5
MDK-ARM/STM32F407-Demo/main.__i
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
--c99 -c --cpu Cortex-M4.fp.sp -D__MICROLIB -g -O3 --apcs=interwork --split_sections -I ../Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I ../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I ../Drivers/CMSIS/Include -I ../Drivers/BSP -I ../Drivers/BSP/CH395F -I ../Drivers/BSP/GD5F2GQ5UE -I ../Drivers/BSP/TPAFE5160 -I ../Drivers/BSP/SD2506 -I ../Drivers/BSP/RS485 -I ../Drivers/BSP/NET -I ../Drivers/BSP/NET/lftpd -I ../App -I ../App/task -I ../App/util -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../Lib/dhara -I ../Lib/FatFs
|
||||||
|
-I.\RTE\_STM32F407-Demo
|
||||||
|
-IC:\Users\16241\AppData\Local\Arm\Packs\ARM\CMSIS\5.8.0\CMSIS\Core\Include
|
||||||
|
-D__UVISION_VERSION="538" -D_RTE_ -DSTM32F407xx -D_RTE_ -DUSE_HAL_DRIVER -DSTM32F407xx -DNDEBUG
|
||||||
|
-o .\stm32f407-demo\main.o --omf_browse .\stm32f407-demo\main.crf --depend .\stm32f407-demo\main.d "../Src/main.c"
|
||||||
5
MDK-ARM/STM32F407-Demo/map.__i
Normal file
5
MDK-ARM/STM32F407-Demo/map.__i
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
--c99 -c --cpu Cortex-M4.fp.sp -D__MICROLIB -g -O3 --apcs=interwork --split_sections -I ../Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I ../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I ../Drivers/CMSIS/Include -I ../Drivers/BSP -I ../Drivers/BSP/CH395F -I ../Drivers/BSP/GD5F2GQ5UE -I ../Drivers/BSP/TPAFE5160 -I ../Drivers/BSP/SD2506 -I ../Drivers/BSP/RS485 -I ../Drivers/BSP/NET -I ../Drivers/BSP/NET/lftpd -I ../App -I ../App/task -I ../App/util -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../Lib/dhara -I ../Lib/FatFs --diag_suppress=177
|
||||||
|
-I.\RTE\_STM32F407-Demo
|
||||||
|
-IC:\Users\16241\AppData\Local\Arm\Packs\ARM\CMSIS\5.8.0\CMSIS\Core\Include
|
||||||
|
-D__UVISION_VERSION="538" -D_RTE_ -DSTM32F407xx -D_RTE_ -DUSE_HAL_DRIVER -DSTM32F407xx -DNDEBUG
|
||||||
|
-o .\stm32f407-demo\map.o --omf_browse .\stm32f407-demo\map.crf --depend .\stm32f407-demo\map.d "..\Lib\dhara\map.c"
|
||||||
5
MDK-ARM/STM32F407-Demo/nand_ftl.__i
Normal file
5
MDK-ARM/STM32F407-Demo/nand_ftl.__i
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
--c99 -c --cpu Cortex-M4.fp.sp -D__MICROLIB -g -O3 --apcs=interwork --split_sections -I ../Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I ../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I ../Drivers/CMSIS/Include -I ../Drivers/BSP -I ../Drivers/BSP/CH395F -I ../Drivers/BSP/GD5F2GQ5UE -I ../Drivers/BSP/TPAFE5160 -I ../Drivers/BSP/SD2506 -I ../Drivers/BSP/RS485 -I ../Drivers/BSP/NET -I ../Drivers/BSP/NET/lftpd -I ../App -I ../App/task -I ../App/util -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../Lib/dhara -I ../Lib/FatFs
|
||||||
|
-I.\RTE\_STM32F407-Demo
|
||||||
|
-IC:\Users\16241\AppData\Local\Arm\Packs\ARM\CMSIS\5.8.0\CMSIS\Core\Include
|
||||||
|
-D__UVISION_VERSION="538" -D_RTE_ -DSTM32F407xx -D_RTE_ -DUSE_HAL_DRIVER -DSTM32F407xx -DNDEBUG
|
||||||
|
-o .\stm32f407-demo\nand_ftl.o --omf_browse .\stm32f407-demo\nand_ftl.crf --depend .\stm32f407-demo\nand_ftl.d "..\Drivers\BSP\GD5F2GQ5UE\nand_ftl.c"
|
||||||
5
MDK-ARM/STM32F407-Demo/net_select.__i
Normal file
5
MDK-ARM/STM32F407-Demo/net_select.__i
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
--c99 -c --cpu Cortex-M4.fp.sp -D__MICROLIB -g -O3 --apcs=interwork --split_sections -I ../Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I ../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I ../Drivers/CMSIS/Include -I ../Drivers/BSP -I ../Drivers/BSP/CH395F -I ../Drivers/BSP/GD5F2GQ5UE -I ../Drivers/BSP/TPAFE5160 -I ../Drivers/BSP/SD2506 -I ../Drivers/BSP/RS485 -I ../Drivers/BSP/NET -I ../Drivers/BSP/NET/lftpd -I ../App -I ../App/task -I ../App/util -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../Lib/dhara -I ../Lib/FatFs
|
||||||
|
-I.\RTE\_STM32F407-Demo
|
||||||
|
-IC:\Users\16241\AppData\Local\Arm\Packs\ARM\CMSIS\5.8.0\CMSIS\Core\Include
|
||||||
|
-D__UVISION_VERSION="538" -D_RTE_ -DSTM32F407xx -D_RTE_ -DUSE_HAL_DRIVER -DSTM32F407xx -DNDEBUG
|
||||||
|
-o .\stm32f407-demo\net_select.o --omf_browse .\stm32f407-demo\net_select.crf --depend .\stm32f407-demo\net_select.d "..\Drivers\BSP\NET\net_select.c"
|
||||||
5
MDK-ARM/STM32F407-Demo/net_socket.__i
Normal file
5
MDK-ARM/STM32F407-Demo/net_socket.__i
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
--c99 -c --cpu Cortex-M4.fp.sp -D__MICROLIB -g -O3 --apcs=interwork --split_sections -I ../Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I ../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I ../Drivers/CMSIS/Include -I ../Drivers/BSP -I ../Drivers/BSP/CH395F -I ../Drivers/BSP/GD5F2GQ5UE -I ../Drivers/BSP/TPAFE5160 -I ../Drivers/BSP/SD2506 -I ../Drivers/BSP/RS485 -I ../Drivers/BSP/NET -I ../Drivers/BSP/NET/lftpd -I ../App -I ../App/task -I ../App/util -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../Lib/dhara -I ../Lib/FatFs
|
||||||
|
-I.\RTE\_STM32F407-Demo
|
||||||
|
-IC:\Users\16241\AppData\Local\Arm\Packs\ARM\CMSIS\5.8.0\CMSIS\Core\Include
|
||||||
|
-D__UVISION_VERSION="538" -D_RTE_ -DSTM32F407xx -D_RTE_ -DUSE_HAL_DRIVER -DSTM32F407xx -DNDEBUG
|
||||||
|
-o .\stm32f407-demo\net_socket.o --omf_browse .\stm32f407-demo\net_socket.crf --depend .\stm32f407-demo\net_socket.d "..\Drivers\BSP\NET\net_socket.c"
|
||||||
5
MDK-ARM/STM32F407-Demo/net_task.__i
Normal file
5
MDK-ARM/STM32F407-Demo/net_task.__i
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
--c99 -c --cpu Cortex-M4.fp.sp -D__MICROLIB -g -O3 --apcs=interwork --split_sections -I ../Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I ../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I ../Drivers/CMSIS/Include -I ../Drivers/BSP -I ../Drivers/BSP/CH395F -I ../Drivers/BSP/GD5F2GQ5UE -I ../Drivers/BSP/TPAFE5160 -I ../Drivers/BSP/SD2506 -I ../Drivers/BSP/RS485 -I ../Drivers/BSP/NET -I ../Drivers/BSP/NET/lftpd -I ../App -I ../App/task -I ../App/util -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../Lib/dhara -I ../Lib/FatFs
|
||||||
|
-I.\RTE\_STM32F407-Demo
|
||||||
|
-IC:\Users\16241\AppData\Local\Arm\Packs\ARM\CMSIS\5.8.0\CMSIS\Core\Include
|
||||||
|
-D__UVISION_VERSION="538" -D_RTE_ -DSTM32F407xx -D_RTE_ -DUSE_HAL_DRIVER -DSTM32F407xx -DNDEBUG
|
||||||
|
-o .\stm32f407-demo\net_task.o --omf_browse .\stm32f407-demo\net_task.crf --depend .\stm32f407-demo\net_task.d "..\App\task\net_task.c"
|
||||||
5
MDK-ARM/STM32F407-Demo/port.__i
Normal file
5
MDK-ARM/STM32F407-Demo/port.__i
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
--c99 -c --cpu Cortex-M4.fp.sp -D__MICROLIB -g -O3 --apcs=interwork --split_sections -I ../Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I ../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I ../Drivers/CMSIS/Include -I ../Drivers/BSP -I ../Drivers/BSP/CH395F -I ../Drivers/BSP/GD5F2GQ5UE -I ../Drivers/BSP/TPAFE5160 -I ../Drivers/BSP/SD2506 -I ../Drivers/BSP/RS485 -I ../Drivers/BSP/NET -I ../Drivers/BSP/NET/lftpd -I ../App -I ../App/task -I ../App/util -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../Lib/dhara -I ../Lib/FatFs
|
||||||
|
-I.\RTE\_STM32F407-Demo
|
||||||
|
-IC:\Users\16241\AppData\Local\Arm\Packs\ARM\CMSIS\5.8.0\CMSIS\Core\Include
|
||||||
|
-D__UVISION_VERSION="538" -D_RTE_ -DSTM32F407xx -D_RTE_ -DUSE_HAL_DRIVER -DSTM32F407xx -DNDEBUG
|
||||||
|
-o .\stm32f407-demo\port.o --omf_browse .\stm32f407-demo\port.crf --depend .\stm32f407-demo\port.d "../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F/port.c"
|
||||||
5
MDK-ARM/STM32F407-Demo/queue.__i
Normal file
5
MDK-ARM/STM32F407-Demo/queue.__i
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
--c99 -c --cpu Cortex-M4.fp.sp -D__MICROLIB -g -O3 --apcs=interwork --split_sections -I ../Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I ../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I ../Drivers/CMSIS/Include -I ../Drivers/BSP -I ../Drivers/BSP/CH395F -I ../Drivers/BSP/GD5F2GQ5UE -I ../Drivers/BSP/TPAFE5160 -I ../Drivers/BSP/SD2506 -I ../Drivers/BSP/RS485 -I ../Drivers/BSP/NET -I ../Drivers/BSP/NET/lftpd -I ../App -I ../App/task -I ../App/util -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../Lib/dhara -I ../Lib/FatFs
|
||||||
|
-I.\RTE\_STM32F407-Demo
|
||||||
|
-IC:\Users\16241\AppData\Local\Arm\Packs\ARM\CMSIS\5.8.0\CMSIS\Core\Include
|
||||||
|
-D__UVISION_VERSION="538" -D_RTE_ -DSTM32F407xx -D_RTE_ -DUSE_HAL_DRIVER -DSTM32F407xx -DNDEBUG
|
||||||
|
-o .\stm32f407-demo\queue.o --omf_browse .\stm32f407-demo\queue.crf --depend .\stm32f407-demo\queue.d "../Middlewares/Third_Party/FreeRTOS/Source/queue.c"
|
||||||
5
MDK-ARM/STM32F407-Demo/ringbuf.__i
Normal file
5
MDK-ARM/STM32F407-Demo/ringbuf.__i
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
--c99 -c --cpu Cortex-M4.fp.sp -D__MICROLIB -g -O3 --apcs=interwork --split_sections -I ../Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I ../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I ../Drivers/CMSIS/Include -I ../Drivers/BSP -I ../Drivers/BSP/CH395F -I ../Drivers/BSP/GD5F2GQ5UE -I ../Drivers/BSP/TPAFE5160 -I ../Drivers/BSP/SD2506 -I ../Drivers/BSP/RS485 -I ../Drivers/BSP/NET -I ../Drivers/BSP/NET/lftpd -I ../App -I ../App/task -I ../App/util -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../Lib/dhara -I ../Lib/FatFs
|
||||||
|
-I.\RTE\_STM32F407-Demo
|
||||||
|
-IC:\Users\16241\AppData\Local\Arm\Packs\ARM\CMSIS\5.8.0\CMSIS\Core\Include
|
||||||
|
-D__UVISION_VERSION="538" -D_RTE_ -DSTM32F407xx -D_RTE_ -DUSE_HAL_DRIVER -DSTM32F407xx -DNDEBUG
|
||||||
|
-o .\stm32f407-demo\ringbuf.o --omf_browse .\stm32f407-demo\ringbuf.crf --depend .\stm32f407-demo\ringbuf.d "..\App\util\ringbuf.c"
|
||||||
5
MDK-ARM/STM32F407-Demo/rs485.__i
Normal file
5
MDK-ARM/STM32F407-Demo/rs485.__i
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
--c99 -c --cpu Cortex-M4.fp.sp -D__MICROLIB -g -O3 --apcs=interwork --split_sections -I ../Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I ../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I ../Drivers/CMSIS/Include -I ../Drivers/BSP -I ../Drivers/BSP/CH395F -I ../Drivers/BSP/GD5F2GQ5UE -I ../Drivers/BSP/TPAFE5160 -I ../Drivers/BSP/SD2506 -I ../Drivers/BSP/RS485 -I ../Drivers/BSP/NET -I ../Drivers/BSP/NET/lftpd -I ../App -I ../App/task -I ../App/util -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../Lib/dhara -I ../Lib/FatFs
|
||||||
|
-I.\RTE\_STM32F407-Demo
|
||||||
|
-IC:\Users\16241\AppData\Local\Arm\Packs\ARM\CMSIS\5.8.0\CMSIS\Core\Include
|
||||||
|
-D__UVISION_VERSION="538" -D_RTE_ -DSTM32F407xx -D_RTE_ -DUSE_HAL_DRIVER -DSTM32F407xx -DNDEBUG
|
||||||
|
-o .\stm32f407-demo\rs485.o --omf_browse .\stm32f407-demo\rs485.crf --depend .\stm32f407-demo\rs485.d "..\Drivers\BSP\RS485\rs485.c"
|
||||||
5
MDK-ARM/STM32F407-Demo/rs485_task.__i
Normal file
5
MDK-ARM/STM32F407-Demo/rs485_task.__i
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
--c99 -c --cpu Cortex-M4.fp.sp -D__MICROLIB -g -O3 --apcs=interwork --split_sections -I ../Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I ../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I ../Drivers/CMSIS/Include -I ../Drivers/BSP -I ../Drivers/BSP/CH395F -I ../Drivers/BSP/GD5F2GQ5UE -I ../Drivers/BSP/TPAFE5160 -I ../Drivers/BSP/SD2506 -I ../Drivers/BSP/RS485 -I ../Drivers/BSP/NET -I ../Drivers/BSP/NET/lftpd -I ../App -I ../App/task -I ../App/util -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../Lib/dhara -I ../Lib/FatFs
|
||||||
|
-I.\RTE\_STM32F407-Demo
|
||||||
|
-IC:\Users\16241\AppData\Local\Arm\Packs\ARM\CMSIS\5.8.0\CMSIS\Core\Include
|
||||||
|
-D__UVISION_VERSION="538" -D_RTE_ -DSTM32F407xx -D_RTE_ -DUSE_HAL_DRIVER -DSTM32F407xx -DNDEBUG
|
||||||
|
-o .\stm32f407-demo\rs485_task.o --omf_browse .\stm32f407-demo\rs485_task.crf --depend .\stm32f407-demo\rs485_task.d "..\App\task\rs485_task.c"
|
||||||
5
MDK-ARM/STM32F407-Demo/sd2506.__i
Normal file
5
MDK-ARM/STM32F407-Demo/sd2506.__i
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
--c99 -c --cpu Cortex-M4.fp.sp -D__MICROLIB -g -O3 --apcs=interwork --split_sections -I ../Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I ../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I ../Drivers/CMSIS/Include -I ../Drivers/BSP -I ../Drivers/BSP/CH395F -I ../Drivers/BSP/GD5F2GQ5UE -I ../Drivers/BSP/TPAFE5160 -I ../Drivers/BSP/SD2506 -I ../Drivers/BSP/RS485 -I ../Drivers/BSP/NET -I ../Drivers/BSP/NET/lftpd -I ../App -I ../App/task -I ../App/util -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../Lib/dhara -I ../Lib/FatFs
|
||||||
|
-I.\RTE\_STM32F407-Demo
|
||||||
|
-IC:\Users\16241\AppData\Local\Arm\Packs\ARM\CMSIS\5.8.0\CMSIS\Core\Include
|
||||||
|
-D__UVISION_VERSION="538" -D_RTE_ -DSTM32F407xx -D_RTE_ -DUSE_HAL_DRIVER -DSTM32F407xx -DNDEBUG
|
||||||
|
-o .\stm32f407-demo\sd2506.o --omf_browse .\stm32f407-demo\sd2506.crf --depend .\stm32f407-demo\sd2506.d "..\Drivers\BSP\SD2506\sd2506.c"
|
||||||
5
MDK-ARM/STM32F407-Demo/spi.__i
Normal file
5
MDK-ARM/STM32F407-Demo/spi.__i
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
--c99 -c --cpu Cortex-M4.fp.sp -D__MICROLIB -g -O3 --apcs=interwork --split_sections -I ../Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I ../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I ../Drivers/CMSIS/Include -I ../Drivers/BSP -I ../Drivers/BSP/CH395F -I ../Drivers/BSP/GD5F2GQ5UE -I ../Drivers/BSP/TPAFE5160 -I ../Drivers/BSP/SD2506 -I ../Drivers/BSP/RS485 -I ../Drivers/BSP/NET -I ../Drivers/BSP/NET/lftpd -I ../App -I ../App/task -I ../App/util -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../Lib/dhara -I ../Lib/FatFs
|
||||||
|
-I.\RTE\_STM32F407-Demo
|
||||||
|
-IC:\Users\16241\AppData\Local\Arm\Packs\ARM\CMSIS\5.8.0\CMSIS\Core\Include
|
||||||
|
-D__UVISION_VERSION="538" -D_RTE_ -DSTM32F407xx -D_RTE_ -DUSE_HAL_DRIVER -DSTM32F407xx -DNDEBUG
|
||||||
|
-o .\stm32f407-demo\spi.o --omf_browse .\stm32f407-demo\spi.crf --depend .\stm32f407-demo\spi.d "../Src/spi.c"
|
||||||
5
MDK-ARM/STM32F407-Demo/startup_stm32f407xx._ia
Normal file
5
MDK-ARM/STM32F407-Demo/startup_stm32f407xx._ia
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
--cpu Cortex-M4.fp.sp -g --apcs=interwork --pd "__MICROLIB SETA 1" -I ../Drivers/CMSIS/Include
|
||||||
|
-I.\RTE\_STM32F407-Demo
|
||||||
|
-IC:\Users\16241\AppData\Local\Arm\Packs\ARM\CMSIS\5.8.0\CMSIS\Core\Include
|
||||||
|
--pd "__UVISION_VERSION SETA 538" --pd "_RTE_ SETA 1" --pd "STM32F407xx SETA 1" --pd "_RTE_ SETA 1"
|
||||||
|
--list startup_stm32f407xx.lst --xref -o .\stm32f407-demo\startup_stm32f407xx.o --depend .\stm32f407-demo\startup_stm32f407xx.d "startup_stm32f407xx.s"
|
||||||
5
MDK-ARM/STM32F407-Demo/stm32f4xx_hal.__i
Normal file
5
MDK-ARM/STM32F407-Demo/stm32f4xx_hal.__i
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
--c99 -c --cpu Cortex-M4.fp.sp -D__MICROLIB -g -O3 --apcs=interwork --split_sections -I ../Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I ../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I ../Drivers/CMSIS/Include -I ../Drivers/BSP -I ../Drivers/BSP/CH395F -I ../Drivers/BSP/GD5F2GQ5UE -I ../Drivers/BSP/TPAFE5160 -I ../Drivers/BSP/SD2506 -I ../Drivers/BSP/RS485 -I ../Drivers/BSP/NET -I ../Drivers/BSP/NET/lftpd -I ../App -I ../App/task -I ../App/util -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../Lib/dhara -I ../Lib/FatFs
|
||||||
|
-I.\RTE\_STM32F407-Demo
|
||||||
|
-IC:\Users\16241\AppData\Local\Arm\Packs\ARM\CMSIS\5.8.0\CMSIS\Core\Include
|
||||||
|
-D__UVISION_VERSION="538" -D_RTE_ -DSTM32F407xx -D_RTE_ -DUSE_HAL_DRIVER -DSTM32F407xx -DNDEBUG
|
||||||
|
-o .\stm32f407-demo\stm32f4xx_hal.o --omf_browse .\stm32f407-demo\stm32f4xx_hal.crf --depend .\stm32f407-demo\stm32f4xx_hal.d "../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c"
|
||||||
5
MDK-ARM/STM32F407-Demo/stm32f4xx_hal_cortex.__i
Normal file
5
MDK-ARM/STM32F407-Demo/stm32f4xx_hal_cortex.__i
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
--c99 -c --cpu Cortex-M4.fp.sp -D__MICROLIB -g -O3 --apcs=interwork --split_sections -I ../Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I ../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I ../Drivers/CMSIS/Include -I ../Drivers/BSP -I ../Drivers/BSP/CH395F -I ../Drivers/BSP/GD5F2GQ5UE -I ../Drivers/BSP/TPAFE5160 -I ../Drivers/BSP/SD2506 -I ../Drivers/BSP/RS485 -I ../Drivers/BSP/NET -I ../Drivers/BSP/NET/lftpd -I ../App -I ../App/task -I ../App/util -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../Lib/dhara -I ../Lib/FatFs
|
||||||
|
-I.\RTE\_STM32F407-Demo
|
||||||
|
-IC:\Users\16241\AppData\Local\Arm\Packs\ARM\CMSIS\5.8.0\CMSIS\Core\Include
|
||||||
|
-D__UVISION_VERSION="538" -D_RTE_ -DSTM32F407xx -D_RTE_ -DUSE_HAL_DRIVER -DSTM32F407xx -DNDEBUG
|
||||||
|
-o .\stm32f407-demo\stm32f4xx_hal_cortex.o --omf_browse .\stm32f407-demo\stm32f4xx_hal_cortex.crf --depend .\stm32f407-demo\stm32f4xx_hal_cortex.d "../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c"
|
||||||
5
MDK-ARM/STM32F407-Demo/stm32f4xx_hal_dma.__i
Normal file
5
MDK-ARM/STM32F407-Demo/stm32f4xx_hal_dma.__i
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
--c99 -c --cpu Cortex-M4.fp.sp -D__MICROLIB -g -O3 --apcs=interwork --split_sections -I ../Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I ../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I ../Drivers/CMSIS/Include -I ../Drivers/BSP -I ../Drivers/BSP/CH395F -I ../Drivers/BSP/GD5F2GQ5UE -I ../Drivers/BSP/TPAFE5160 -I ../Drivers/BSP/SD2506 -I ../Drivers/BSP/RS485 -I ../Drivers/BSP/NET -I ../Drivers/BSP/NET/lftpd -I ../App -I ../App/task -I ../App/util -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../Lib/dhara -I ../Lib/FatFs
|
||||||
|
-I.\RTE\_STM32F407-Demo
|
||||||
|
-IC:\Users\16241\AppData\Local\Arm\Packs\ARM\CMSIS\5.8.0\CMSIS\Core\Include
|
||||||
|
-D__UVISION_VERSION="538" -D_RTE_ -DSTM32F407xx -D_RTE_ -DUSE_HAL_DRIVER -DSTM32F407xx -DNDEBUG
|
||||||
|
-o .\stm32f407-demo\stm32f4xx_hal_dma.o --omf_browse .\stm32f407-demo\stm32f4xx_hal_dma.crf --depend .\stm32f407-demo\stm32f4xx_hal_dma.d "../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c"
|
||||||
5
MDK-ARM/STM32F407-Demo/stm32f4xx_hal_dma_ex.__i
Normal file
5
MDK-ARM/STM32F407-Demo/stm32f4xx_hal_dma_ex.__i
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
--c99 -c --cpu Cortex-M4.fp.sp -D__MICROLIB -g -O3 --apcs=interwork --split_sections -I ../Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I ../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I ../Drivers/CMSIS/Include -I ../Drivers/BSP -I ../Drivers/BSP/CH395F -I ../Drivers/BSP/GD5F2GQ5UE -I ../Drivers/BSP/TPAFE5160 -I ../Drivers/BSP/SD2506 -I ../Drivers/BSP/RS485 -I ../Drivers/BSP/NET -I ../Drivers/BSP/NET/lftpd -I ../App -I ../App/task -I ../App/util -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../Lib/dhara -I ../Lib/FatFs
|
||||||
|
-I.\RTE\_STM32F407-Demo
|
||||||
|
-IC:\Users\16241\AppData\Local\Arm\Packs\ARM\CMSIS\5.8.0\CMSIS\Core\Include
|
||||||
|
-D__UVISION_VERSION="538" -D_RTE_ -DSTM32F407xx -D_RTE_ -DUSE_HAL_DRIVER -DSTM32F407xx -DNDEBUG
|
||||||
|
-o .\stm32f407-demo\stm32f4xx_hal_dma_ex.o --omf_browse .\stm32f407-demo\stm32f4xx_hal_dma_ex.crf --depend .\stm32f407-demo\stm32f4xx_hal_dma_ex.d "../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma_ex.c"
|
||||||
5
MDK-ARM/STM32F407-Demo/stm32f4xx_hal_exti.__i
Normal file
5
MDK-ARM/STM32F407-Demo/stm32f4xx_hal_exti.__i
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
--c99 -c --cpu Cortex-M4.fp.sp -D__MICROLIB -g -O3 --apcs=interwork --split_sections -I ../Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I ../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I ../Drivers/CMSIS/Include -I ../Drivers/BSP -I ../Drivers/BSP/CH395F -I ../Drivers/BSP/GD5F2GQ5UE -I ../Drivers/BSP/TPAFE5160 -I ../Drivers/BSP/SD2506 -I ../Drivers/BSP/RS485 -I ../Drivers/BSP/NET -I ../Drivers/BSP/NET/lftpd -I ../App -I ../App/task -I ../App/util -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../Lib/dhara -I ../Lib/FatFs
|
||||||
|
-I.\RTE\_STM32F407-Demo
|
||||||
|
-IC:\Users\16241\AppData\Local\Arm\Packs\ARM\CMSIS\5.8.0\CMSIS\Core\Include
|
||||||
|
-D__UVISION_VERSION="538" -D_RTE_ -DSTM32F407xx -D_RTE_ -DUSE_HAL_DRIVER -DSTM32F407xx -DNDEBUG
|
||||||
|
-o .\stm32f407-demo\stm32f4xx_hal_exti.o --omf_browse .\stm32f407-demo\stm32f4xx_hal_exti.crf --depend .\stm32f407-demo\stm32f4xx_hal_exti.d "../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c"
|
||||||
5
MDK-ARM/STM32F407-Demo/stm32f4xx_hal_flash.__i
Normal file
5
MDK-ARM/STM32F407-Demo/stm32f4xx_hal_flash.__i
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
--c99 -c --cpu Cortex-M4.fp.sp -D__MICROLIB -g -O3 --apcs=interwork --split_sections -I ../Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I ../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I ../Drivers/CMSIS/Include -I ../Drivers/BSP -I ../Drivers/BSP/CH395F -I ../Drivers/BSP/GD5F2GQ5UE -I ../Drivers/BSP/TPAFE5160 -I ../Drivers/BSP/SD2506 -I ../Drivers/BSP/RS485 -I ../Drivers/BSP/NET -I ../Drivers/BSP/NET/lftpd -I ../App -I ../App/task -I ../App/util -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../Lib/dhara -I ../Lib/FatFs
|
||||||
|
-I.\RTE\_STM32F407-Demo
|
||||||
|
-IC:\Users\16241\AppData\Local\Arm\Packs\ARM\CMSIS\5.8.0\CMSIS\Core\Include
|
||||||
|
-D__UVISION_VERSION="538" -D_RTE_ -DSTM32F407xx -D_RTE_ -DUSE_HAL_DRIVER -DSTM32F407xx -DNDEBUG
|
||||||
|
-o .\stm32f407-demo\stm32f4xx_hal_flash.o --omf_browse .\stm32f407-demo\stm32f4xx_hal_flash.crf --depend .\stm32f407-demo\stm32f4xx_hal_flash.d "../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash.c"
|
||||||
5
MDK-ARM/STM32F407-Demo/stm32f4xx_hal_flash_ex.__i
Normal file
5
MDK-ARM/STM32F407-Demo/stm32f4xx_hal_flash_ex.__i
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
--c99 -c --cpu Cortex-M4.fp.sp -D__MICROLIB -g -O3 --apcs=interwork --split_sections -I ../Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I ../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I ../Drivers/CMSIS/Include -I ../Drivers/BSP -I ../Drivers/BSP/CH395F -I ../Drivers/BSP/GD5F2GQ5UE -I ../Drivers/BSP/TPAFE5160 -I ../Drivers/BSP/SD2506 -I ../Drivers/BSP/RS485 -I ../Drivers/BSP/NET -I ../Drivers/BSP/NET/lftpd -I ../App -I ../App/task -I ../App/util -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../Lib/dhara -I ../Lib/FatFs
|
||||||
|
-I.\RTE\_STM32F407-Demo
|
||||||
|
-IC:\Users\16241\AppData\Local\Arm\Packs\ARM\CMSIS\5.8.0\CMSIS\Core\Include
|
||||||
|
-D__UVISION_VERSION="538" -D_RTE_ -DSTM32F407xx -D_RTE_ -DUSE_HAL_DRIVER -DSTM32F407xx -DNDEBUG
|
||||||
|
-o .\stm32f407-demo\stm32f4xx_hal_flash_ex.o --omf_browse .\stm32f407-demo\stm32f4xx_hal_flash_ex.crf --depend .\stm32f407-demo\stm32f4xx_hal_flash_ex.d "../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ex.c"
|
||||||
5
MDK-ARM/STM32F407-Demo/stm32f4xx_hal_flash_ramfunc.__i
Normal file
5
MDK-ARM/STM32F407-Demo/stm32f4xx_hal_flash_ramfunc.__i
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
--c99 -c --cpu Cortex-M4.fp.sp -D__MICROLIB -g -O3 --apcs=interwork --split_sections -I ../Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I ../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I ../Drivers/CMSIS/Include -I ../Drivers/BSP -I ../Drivers/BSP/CH395F -I ../Drivers/BSP/GD5F2GQ5UE -I ../Drivers/BSP/TPAFE5160 -I ../Drivers/BSP/SD2506 -I ../Drivers/BSP/RS485 -I ../Drivers/BSP/NET -I ../Drivers/BSP/NET/lftpd -I ../App -I ../App/task -I ../App/util -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../Lib/dhara -I ../Lib/FatFs
|
||||||
|
-I.\RTE\_STM32F407-Demo
|
||||||
|
-IC:\Users\16241\AppData\Local\Arm\Packs\ARM\CMSIS\5.8.0\CMSIS\Core\Include
|
||||||
|
-D__UVISION_VERSION="538" -D_RTE_ -DSTM32F407xx -D_RTE_ -DUSE_HAL_DRIVER -DSTM32F407xx -DNDEBUG
|
||||||
|
-o .\stm32f407-demo\stm32f4xx_hal_flash_ramfunc.o --omf_browse .\stm32f407-demo\stm32f4xx_hal_flash_ramfunc.crf --depend .\stm32f407-demo\stm32f4xx_hal_flash_ramfunc.d "../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ramfunc.c"
|
||||||
5
MDK-ARM/STM32F407-Demo/stm32f4xx_hal_gpio.__i
Normal file
5
MDK-ARM/STM32F407-Demo/stm32f4xx_hal_gpio.__i
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
--c99 -c --cpu Cortex-M4.fp.sp -D__MICROLIB -g -O3 --apcs=interwork --split_sections -I ../Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I ../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I ../Drivers/CMSIS/Include -I ../Drivers/BSP -I ../Drivers/BSP/CH395F -I ../Drivers/BSP/GD5F2GQ5UE -I ../Drivers/BSP/TPAFE5160 -I ../Drivers/BSP/SD2506 -I ../Drivers/BSP/RS485 -I ../Drivers/BSP/NET -I ../Drivers/BSP/NET/lftpd -I ../App -I ../App/task -I ../App/util -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../Lib/dhara -I ../Lib/FatFs
|
||||||
|
-I.\RTE\_STM32F407-Demo
|
||||||
|
-IC:\Users\16241\AppData\Local\Arm\Packs\ARM\CMSIS\5.8.0\CMSIS\Core\Include
|
||||||
|
-D__UVISION_VERSION="538" -D_RTE_ -DSTM32F407xx -D_RTE_ -DUSE_HAL_DRIVER -DSTM32F407xx -DNDEBUG
|
||||||
|
-o .\stm32f407-demo\stm32f4xx_hal_gpio.o --omf_browse .\stm32f407-demo\stm32f4xx_hal_gpio.crf --depend .\stm32f407-demo\stm32f4xx_hal_gpio.d "../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.c"
|
||||||
5
MDK-ARM/STM32F407-Demo/stm32f4xx_hal_i2c.__i
Normal file
5
MDK-ARM/STM32F407-Demo/stm32f4xx_hal_i2c.__i
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
--c99 -c --cpu Cortex-M4.fp.sp -D__MICROLIB -g -O3 --apcs=interwork --split_sections -I ../Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I ../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I ../Drivers/CMSIS/Include -I ../Drivers/BSP -I ../Drivers/BSP/CH395F -I ../Drivers/BSP/GD5F2GQ5UE -I ../Drivers/BSP/TPAFE5160 -I ../Drivers/BSP/SD2506 -I ../Drivers/BSP/RS485 -I ../Drivers/BSP/NET -I ../Drivers/BSP/NET/lftpd -I ../App -I ../App/task -I ../App/util -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../Lib/dhara -I ../Lib/FatFs
|
||||||
|
-I.\RTE\_STM32F407-Demo
|
||||||
|
-IC:\Users\16241\AppData\Local\Arm\Packs\ARM\CMSIS\5.8.0\CMSIS\Core\Include
|
||||||
|
-D__UVISION_VERSION="538" -D_RTE_ -DSTM32F407xx -D_RTE_ -DUSE_HAL_DRIVER -DSTM32F407xx -DNDEBUG
|
||||||
|
-o .\stm32f407-demo\stm32f4xx_hal_i2c.o --omf_browse .\stm32f407-demo\stm32f4xx_hal_i2c.crf --depend .\stm32f407-demo\stm32f4xx_hal_i2c.d "../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_i2c.c"
|
||||||
5
MDK-ARM/STM32F407-Demo/stm32f4xx_hal_i2c_ex.__i
Normal file
5
MDK-ARM/STM32F407-Demo/stm32f4xx_hal_i2c_ex.__i
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
--c99 -c --cpu Cortex-M4.fp.sp -D__MICROLIB -g -O3 --apcs=interwork --split_sections -I ../Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I ../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I ../Drivers/CMSIS/Include -I ../Drivers/BSP -I ../Drivers/BSP/CH395F -I ../Drivers/BSP/GD5F2GQ5UE -I ../Drivers/BSP/TPAFE5160 -I ../Drivers/BSP/SD2506 -I ../Drivers/BSP/RS485 -I ../Drivers/BSP/NET -I ../Drivers/BSP/NET/lftpd -I ../App -I ../App/task -I ../App/util -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../Lib/dhara -I ../Lib/FatFs
|
||||||
|
-I.\RTE\_STM32F407-Demo
|
||||||
|
-IC:\Users\16241\AppData\Local\Arm\Packs\ARM\CMSIS\5.8.0\CMSIS\Core\Include
|
||||||
|
-D__UVISION_VERSION="538" -D_RTE_ -DSTM32F407xx -D_RTE_ -DUSE_HAL_DRIVER -DSTM32F407xx -DNDEBUG
|
||||||
|
-o .\stm32f407-demo\stm32f4xx_hal_i2c_ex.o --omf_browse .\stm32f407-demo\stm32f4xx_hal_i2c_ex.crf --depend .\stm32f407-demo\stm32f4xx_hal_i2c_ex.d "../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_i2c_ex.c"
|
||||||
5
MDK-ARM/STM32F407-Demo/stm32f4xx_hal_msp.__i
Normal file
5
MDK-ARM/STM32F407-Demo/stm32f4xx_hal_msp.__i
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
--c99 -c --cpu Cortex-M4.fp.sp -D__MICROLIB -g -O3 --apcs=interwork --split_sections -I ../Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I ../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I ../Drivers/CMSIS/Include -I ../Drivers/BSP -I ../Drivers/BSP/CH395F -I ../Drivers/BSP/GD5F2GQ5UE -I ../Drivers/BSP/TPAFE5160 -I ../Drivers/BSP/SD2506 -I ../Drivers/BSP/RS485 -I ../Drivers/BSP/NET -I ../Drivers/BSP/NET/lftpd -I ../App -I ../App/task -I ../App/util -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../Lib/dhara -I ../Lib/FatFs
|
||||||
|
-I.\RTE\_STM32F407-Demo
|
||||||
|
-IC:\Users\16241\AppData\Local\Arm\Packs\ARM\CMSIS\5.8.0\CMSIS\Core\Include
|
||||||
|
-D__UVISION_VERSION="538" -D_RTE_ -DSTM32F407xx -D_RTE_ -DUSE_HAL_DRIVER -DSTM32F407xx -DNDEBUG
|
||||||
|
-o .\stm32f407-demo\stm32f4xx_hal_msp.o --omf_browse .\stm32f407-demo\stm32f4xx_hal_msp.crf --depend .\stm32f407-demo\stm32f4xx_hal_msp.d "../Src/stm32f4xx_hal_msp.c"
|
||||||
5
MDK-ARM/STM32F407-Demo/stm32f4xx_hal_pwr.__i
Normal file
5
MDK-ARM/STM32F407-Demo/stm32f4xx_hal_pwr.__i
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
--c99 -c --cpu Cortex-M4.fp.sp -D__MICROLIB -g -O3 --apcs=interwork --split_sections -I ../Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I ../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I ../Drivers/CMSIS/Include -I ../Drivers/BSP -I ../Drivers/BSP/CH395F -I ../Drivers/BSP/GD5F2GQ5UE -I ../Drivers/BSP/TPAFE5160 -I ../Drivers/BSP/SD2506 -I ../Drivers/BSP/RS485 -I ../Drivers/BSP/NET -I ../Drivers/BSP/NET/lftpd -I ../App -I ../App/task -I ../App/util -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../Lib/dhara -I ../Lib/FatFs
|
||||||
|
-I.\RTE\_STM32F407-Demo
|
||||||
|
-IC:\Users\16241\AppData\Local\Arm\Packs\ARM\CMSIS\5.8.0\CMSIS\Core\Include
|
||||||
|
-D__UVISION_VERSION="538" -D_RTE_ -DSTM32F407xx -D_RTE_ -DUSE_HAL_DRIVER -DSTM32F407xx -DNDEBUG
|
||||||
|
-o .\stm32f407-demo\stm32f4xx_hal_pwr.o --omf_browse .\stm32f407-demo\stm32f4xx_hal_pwr.crf --depend .\stm32f407-demo\stm32f4xx_hal_pwr.d "../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c"
|
||||||
5
MDK-ARM/STM32F407-Demo/stm32f4xx_hal_pwr_ex.__i
Normal file
5
MDK-ARM/STM32F407-Demo/stm32f4xx_hal_pwr_ex.__i
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
--c99 -c --cpu Cortex-M4.fp.sp -D__MICROLIB -g -O3 --apcs=interwork --split_sections -I ../Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I ../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I ../Drivers/CMSIS/Include -I ../Drivers/BSP -I ../Drivers/BSP/CH395F -I ../Drivers/BSP/GD5F2GQ5UE -I ../Drivers/BSP/TPAFE5160 -I ../Drivers/BSP/SD2506 -I ../Drivers/BSP/RS485 -I ../Drivers/BSP/NET -I ../Drivers/BSP/NET/lftpd -I ../App -I ../App/task -I ../App/util -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../Lib/dhara -I ../Lib/FatFs
|
||||||
|
-I.\RTE\_STM32F407-Demo
|
||||||
|
-IC:\Users\16241\AppData\Local\Arm\Packs\ARM\CMSIS\5.8.0\CMSIS\Core\Include
|
||||||
|
-D__UVISION_VERSION="538" -D_RTE_ -DSTM32F407xx -D_RTE_ -DUSE_HAL_DRIVER -DSTM32F407xx -DNDEBUG
|
||||||
|
-o .\stm32f407-demo\stm32f4xx_hal_pwr_ex.o --omf_browse .\stm32f407-demo\stm32f4xx_hal_pwr_ex.crf --depend .\stm32f407-demo\stm32f4xx_hal_pwr_ex.d "../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr_ex.c"
|
||||||
5
MDK-ARM/STM32F407-Demo/stm32f4xx_hal_rcc.__i
Normal file
5
MDK-ARM/STM32F407-Demo/stm32f4xx_hal_rcc.__i
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
--c99 -c --cpu Cortex-M4.fp.sp -D__MICROLIB -g -O3 --apcs=interwork --split_sections -I ../Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I ../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I ../Drivers/CMSIS/Include -I ../Drivers/BSP -I ../Drivers/BSP/CH395F -I ../Drivers/BSP/GD5F2GQ5UE -I ../Drivers/BSP/TPAFE5160 -I ../Drivers/BSP/SD2506 -I ../Drivers/BSP/RS485 -I ../Drivers/BSP/NET -I ../Drivers/BSP/NET/lftpd -I ../App -I ../App/task -I ../App/util -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../Lib/dhara -I ../Lib/FatFs
|
||||||
|
-I.\RTE\_STM32F407-Demo
|
||||||
|
-IC:\Users\16241\AppData\Local\Arm\Packs\ARM\CMSIS\5.8.0\CMSIS\Core\Include
|
||||||
|
-D__UVISION_VERSION="538" -D_RTE_ -DSTM32F407xx -D_RTE_ -DUSE_HAL_DRIVER -DSTM32F407xx -DNDEBUG
|
||||||
|
-o .\stm32f407-demo\stm32f4xx_hal_rcc.o --omf_browse .\stm32f407-demo\stm32f4xx_hal_rcc.crf --depend .\stm32f407-demo\stm32f4xx_hal_rcc.d "../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c"
|
||||||
5
MDK-ARM/STM32F407-Demo/stm32f4xx_hal_rcc_ex.__i
Normal file
5
MDK-ARM/STM32F407-Demo/stm32f4xx_hal_rcc_ex.__i
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
--c99 -c --cpu Cortex-M4.fp.sp -D__MICROLIB -g -O3 --apcs=interwork --split_sections -I ../Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I ../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I ../Drivers/CMSIS/Include -I ../Drivers/BSP -I ../Drivers/BSP/CH395F -I ../Drivers/BSP/GD5F2GQ5UE -I ../Drivers/BSP/TPAFE5160 -I ../Drivers/BSP/SD2506 -I ../Drivers/BSP/RS485 -I ../Drivers/BSP/NET -I ../Drivers/BSP/NET/lftpd -I ../App -I ../App/task -I ../App/util -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../Lib/dhara -I ../Lib/FatFs
|
||||||
|
-I.\RTE\_STM32F407-Demo
|
||||||
|
-IC:\Users\16241\AppData\Local\Arm\Packs\ARM\CMSIS\5.8.0\CMSIS\Core\Include
|
||||||
|
-D__UVISION_VERSION="538" -D_RTE_ -DSTM32F407xx -D_RTE_ -DUSE_HAL_DRIVER -DSTM32F407xx -DNDEBUG
|
||||||
|
-o .\stm32f407-demo\stm32f4xx_hal_rcc_ex.o --omf_browse .\stm32f407-demo\stm32f4xx_hal_rcc_ex.crf --depend .\stm32f407-demo\stm32f4xx_hal_rcc_ex.d "../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc_ex.c"
|
||||||
5
MDK-ARM/STM32F407-Demo/stm32f4xx_hal_spi.__i
Normal file
5
MDK-ARM/STM32F407-Demo/stm32f4xx_hal_spi.__i
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
--c99 -c --cpu Cortex-M4.fp.sp -D__MICROLIB -g -O3 --apcs=interwork --split_sections -I ../Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I ../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I ../Drivers/CMSIS/Include -I ../Drivers/BSP -I ../Drivers/BSP/CH395F -I ../Drivers/BSP/GD5F2GQ5UE -I ../Drivers/BSP/TPAFE5160 -I ../Drivers/BSP/SD2506 -I ../Drivers/BSP/RS485 -I ../Drivers/BSP/NET -I ../Drivers/BSP/NET/lftpd -I ../App -I ../App/task -I ../App/util -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../Lib/dhara -I ../Lib/FatFs
|
||||||
|
-I.\RTE\_STM32F407-Demo
|
||||||
|
-IC:\Users\16241\AppData\Local\Arm\Packs\ARM\CMSIS\5.8.0\CMSIS\Core\Include
|
||||||
|
-D__UVISION_VERSION="538" -D_RTE_ -DSTM32F407xx -D_RTE_ -DUSE_HAL_DRIVER -DSTM32F407xx -DNDEBUG
|
||||||
|
-o .\stm32f407-demo\stm32f4xx_hal_spi.o --omf_browse .\stm32f407-demo\stm32f4xx_hal_spi.crf --depend .\stm32f407-demo\stm32f4xx_hal_spi.d "../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_spi.c"
|
||||||
5
MDK-ARM/STM32F407-Demo/stm32f4xx_hal_tim.__i
Normal file
5
MDK-ARM/STM32F407-Demo/stm32f4xx_hal_tim.__i
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
--c99 -c --cpu Cortex-M4.fp.sp -D__MICROLIB -g -O3 --apcs=interwork --split_sections -I ../Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I ../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I ../Drivers/CMSIS/Include -I ../Drivers/BSP -I ../Drivers/BSP/CH395F -I ../Drivers/BSP/GD5F2GQ5UE -I ../Drivers/BSP/TPAFE5160 -I ../Drivers/BSP/SD2506 -I ../Drivers/BSP/RS485 -I ../Drivers/BSP/NET -I ../Drivers/BSP/NET/lftpd -I ../App -I ../App/task -I ../App/util -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../Lib/dhara -I ../Lib/FatFs
|
||||||
|
-I.\RTE\_STM32F407-Demo
|
||||||
|
-IC:\Users\16241\AppData\Local\Arm\Packs\ARM\CMSIS\5.8.0\CMSIS\Core\Include
|
||||||
|
-D__UVISION_VERSION="538" -D_RTE_ -DSTM32F407xx -D_RTE_ -DUSE_HAL_DRIVER -DSTM32F407xx -DNDEBUG
|
||||||
|
-o .\stm32f407-demo\stm32f4xx_hal_tim.o --omf_browse .\stm32f407-demo\stm32f4xx_hal_tim.crf --depend .\stm32f407-demo\stm32f4xx_hal_tim.d "../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim.c"
|
||||||
5
MDK-ARM/STM32F407-Demo/stm32f4xx_hal_tim_ex.__i
Normal file
5
MDK-ARM/STM32F407-Demo/stm32f4xx_hal_tim_ex.__i
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
--c99 -c --cpu Cortex-M4.fp.sp -D__MICROLIB -g -O3 --apcs=interwork --split_sections -I ../Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I ../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I ../Drivers/CMSIS/Include -I ../Drivers/BSP -I ../Drivers/BSP/CH395F -I ../Drivers/BSP/GD5F2GQ5UE -I ../Drivers/BSP/TPAFE5160 -I ../Drivers/BSP/SD2506 -I ../Drivers/BSP/RS485 -I ../Drivers/BSP/NET -I ../Drivers/BSP/NET/lftpd -I ../App -I ../App/task -I ../App/util -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../Lib/dhara -I ../Lib/FatFs
|
||||||
|
-I.\RTE\_STM32F407-Demo
|
||||||
|
-IC:\Users\16241\AppData\Local\Arm\Packs\ARM\CMSIS\5.8.0\CMSIS\Core\Include
|
||||||
|
-D__UVISION_VERSION="538" -D_RTE_ -DSTM32F407xx -D_RTE_ -DUSE_HAL_DRIVER -DSTM32F407xx -DNDEBUG
|
||||||
|
-o .\stm32f407-demo\stm32f4xx_hal_tim_ex.o --omf_browse .\stm32f407-demo\stm32f4xx_hal_tim_ex.crf --depend .\stm32f407-demo\stm32f4xx_hal_tim_ex.d "../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim_ex.c"
|
||||||
5
MDK-ARM/STM32F407-Demo/stm32f4xx_hal_timebase_tim.__i
Normal file
5
MDK-ARM/STM32F407-Demo/stm32f4xx_hal_timebase_tim.__i
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
--c99 -c --cpu Cortex-M4.fp.sp -D__MICROLIB -g -O3 --apcs=interwork --split_sections -I ../Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I ../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I ../Drivers/CMSIS/Include -I ../Drivers/BSP -I ../Drivers/BSP/CH395F -I ../Drivers/BSP/GD5F2GQ5UE -I ../Drivers/BSP/TPAFE5160 -I ../Drivers/BSP/SD2506 -I ../Drivers/BSP/RS485 -I ../Drivers/BSP/NET -I ../Drivers/BSP/NET/lftpd -I ../App -I ../App/task -I ../App/util -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../Lib/dhara -I ../Lib/FatFs
|
||||||
|
-I.\RTE\_STM32F407-Demo
|
||||||
|
-IC:\Users\16241\AppData\Local\Arm\Packs\ARM\CMSIS\5.8.0\CMSIS\Core\Include
|
||||||
|
-D__UVISION_VERSION="538" -D_RTE_ -DSTM32F407xx -D_RTE_ -DUSE_HAL_DRIVER -DSTM32F407xx -DNDEBUG
|
||||||
|
-o .\stm32f407-demo\stm32f4xx_hal_timebase_tim.o --omf_browse .\stm32f407-demo\stm32f4xx_hal_timebase_tim.crf --depend .\stm32f407-demo\stm32f4xx_hal_timebase_tim.d "../Src/stm32f4xx_hal_timebase_tim.c"
|
||||||
5
MDK-ARM/STM32F407-Demo/stm32f4xx_hal_uart.__i
Normal file
5
MDK-ARM/STM32F407-Demo/stm32f4xx_hal_uart.__i
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
--c99 -c --cpu Cortex-M4.fp.sp -D__MICROLIB -g -O3 --apcs=interwork --split_sections -I ../Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I ../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I ../Drivers/CMSIS/Include -I ../Drivers/BSP -I ../Drivers/BSP/CH395F -I ../Drivers/BSP/GD5F2GQ5UE -I ../Drivers/BSP/TPAFE5160 -I ../Drivers/BSP/SD2506 -I ../Drivers/BSP/RS485 -I ../Drivers/BSP/NET -I ../Drivers/BSP/NET/lftpd -I ../App -I ../App/task -I ../App/util -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../Lib/dhara -I ../Lib/FatFs
|
||||||
|
-I.\RTE\_STM32F407-Demo
|
||||||
|
-IC:\Users\16241\AppData\Local\Arm\Packs\ARM\CMSIS\5.8.0\CMSIS\Core\Include
|
||||||
|
-D__UVISION_VERSION="538" -D_RTE_ -DSTM32F407xx -D_RTE_ -DUSE_HAL_DRIVER -DSTM32F407xx -DNDEBUG
|
||||||
|
-o .\stm32f407-demo\stm32f4xx_hal_uart.o --omf_browse .\stm32f407-demo\stm32f4xx_hal_uart.crf --depend .\stm32f407-demo\stm32f4xx_hal_uart.d "../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.c"
|
||||||
5
MDK-ARM/STM32F407-Demo/stm32f4xx_it.__i
Normal file
5
MDK-ARM/STM32F407-Demo/stm32f4xx_it.__i
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
--c99 -c --cpu Cortex-M4.fp.sp -D__MICROLIB -g -O3 --apcs=interwork --split_sections -I ../Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I ../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I ../Drivers/CMSIS/Include -I ../Drivers/BSP -I ../Drivers/BSP/CH395F -I ../Drivers/BSP/GD5F2GQ5UE -I ../Drivers/BSP/TPAFE5160 -I ../Drivers/BSP/SD2506 -I ../Drivers/BSP/RS485 -I ../Drivers/BSP/NET -I ../Drivers/BSP/NET/lftpd -I ../App -I ../App/task -I ../App/util -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../Lib/dhara -I ../Lib/FatFs
|
||||||
|
-I.\RTE\_STM32F407-Demo
|
||||||
|
-IC:\Users\16241\AppData\Local\Arm\Packs\ARM\CMSIS\5.8.0\CMSIS\Core\Include
|
||||||
|
-D__UVISION_VERSION="538" -D_RTE_ -DSTM32F407xx -D_RTE_ -DUSE_HAL_DRIVER -DSTM32F407xx -DNDEBUG
|
||||||
|
-o .\stm32f407-demo\stm32f4xx_it.o --omf_browse .\stm32f407-demo\stm32f4xx_it.crf --depend .\stm32f407-demo\stm32f4xx_it.d "../Src/stm32f4xx_it.c"
|
||||||
5
MDK-ARM/STM32F407-Demo/stream_buffer.__i
Normal file
5
MDK-ARM/STM32F407-Demo/stream_buffer.__i
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
--c99 -c --cpu Cortex-M4.fp.sp -D__MICROLIB -g -O3 --apcs=interwork --split_sections -I ../Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I ../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I ../Drivers/CMSIS/Include -I ../Drivers/BSP -I ../Drivers/BSP/CH395F -I ../Drivers/BSP/GD5F2GQ5UE -I ../Drivers/BSP/TPAFE5160 -I ../Drivers/BSP/SD2506 -I ../Drivers/BSP/RS485 -I ../Drivers/BSP/NET -I ../Drivers/BSP/NET/lftpd -I ../App -I ../App/task -I ../App/util -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../Lib/dhara -I ../Lib/FatFs
|
||||||
|
-I.\RTE\_STM32F407-Demo
|
||||||
|
-IC:\Users\16241\AppData\Local\Arm\Packs\ARM\CMSIS\5.8.0\CMSIS\Core\Include
|
||||||
|
-D__UVISION_VERSION="538" -D_RTE_ -DSTM32F407xx -D_RTE_ -DUSE_HAL_DRIVER -DSTM32F407xx -DNDEBUG
|
||||||
|
-o .\stm32f407-demo\stream_buffer.o --omf_browse .\stm32f407-demo\stream_buffer.crf --depend .\stm32f407-demo\stream_buffer.d "../Middlewares/Third_Party/FreeRTOS/Source/stream_buffer.c"
|
||||||
5
MDK-ARM/STM32F407-Demo/sys_clock.__i
Normal file
5
MDK-ARM/STM32F407-Demo/sys_clock.__i
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
--c99 -c --cpu Cortex-M4.fp.sp -D__MICROLIB -g -O3 --apcs=interwork --split_sections -I ../Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I ../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I ../Drivers/CMSIS/Include -I ../Drivers/BSP -I ../Drivers/BSP/CH395F -I ../Drivers/BSP/GD5F2GQ5UE -I ../Drivers/BSP/TPAFE5160 -I ../Drivers/BSP/SD2506 -I ../Drivers/BSP/RS485 -I ../Drivers/BSP/NET -I ../Drivers/BSP/NET/lftpd -I ../App -I ../App/task -I ../App/util -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../Lib/dhara -I ../Lib/FatFs
|
||||||
|
-I.\RTE\_STM32F407-Demo
|
||||||
|
-IC:\Users\16241\AppData\Local\Arm\Packs\ARM\CMSIS\5.8.0\CMSIS\Core\Include
|
||||||
|
-D__UVISION_VERSION="538" -D_RTE_ -DSTM32F407xx -D_RTE_ -DUSE_HAL_DRIVER -DSTM32F407xx -DNDEBUG
|
||||||
|
-o .\stm32f407-demo\sys_clock.o --omf_browse .\stm32f407-demo\sys_clock.crf --depend .\stm32f407-demo\sys_clock.d "..\App\sys_clock.c"
|
||||||
5
MDK-ARM/STM32F407-Demo/system_stm32f4xx.__i
Normal file
5
MDK-ARM/STM32F407-Demo/system_stm32f4xx.__i
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
--c99 -c --cpu Cortex-M4.fp.sp -D__MICROLIB -g -O3 --apcs=interwork --split_sections -I ../Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I ../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I ../Drivers/CMSIS/Include -I ../Drivers/BSP -I ../Drivers/BSP/CH395F -I ../Drivers/BSP/GD5F2GQ5UE -I ../Drivers/BSP/TPAFE5160 -I ../Drivers/BSP/SD2506 -I ../Drivers/BSP/RS485 -I ../Drivers/BSP/NET -I ../Drivers/BSP/NET/lftpd -I ../App -I ../App/task -I ../App/util -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../Lib/dhara -I ../Lib/FatFs
|
||||||
|
-I.\RTE\_STM32F407-Demo
|
||||||
|
-IC:\Users\16241\AppData\Local\Arm\Packs\ARM\CMSIS\5.8.0\CMSIS\Core\Include
|
||||||
|
-D__UVISION_VERSION="538" -D_RTE_ -DSTM32F407xx -D_RTE_ -DUSE_HAL_DRIVER -DSTM32F407xx -DNDEBUG
|
||||||
|
-o .\stm32f407-demo\system_stm32f4xx.o --omf_browse .\stm32f407-demo\system_stm32f4xx.crf --depend .\stm32f407-demo\system_stm32f4xx.d "../Src/system_stm32f4xx.c"
|
||||||
5
MDK-ARM/STM32F407-Demo/tasks.__i
Normal file
5
MDK-ARM/STM32F407-Demo/tasks.__i
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
--c99 -c --cpu Cortex-M4.fp.sp -D__MICROLIB -g -O3 --apcs=interwork --split_sections -I ../Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I ../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I ../Drivers/CMSIS/Include -I ../Drivers/BSP -I ../Drivers/BSP/CH395F -I ../Drivers/BSP/GD5F2GQ5UE -I ../Drivers/BSP/TPAFE5160 -I ../Drivers/BSP/SD2506 -I ../Drivers/BSP/RS485 -I ../Drivers/BSP/NET -I ../Drivers/BSP/NET/lftpd -I ../App -I ../App/task -I ../App/util -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../Lib/dhara -I ../Lib/FatFs
|
||||||
|
-I.\RTE\_STM32F407-Demo
|
||||||
|
-IC:\Users\16241\AppData\Local\Arm\Packs\ARM\CMSIS\5.8.0\CMSIS\Core\Include
|
||||||
|
-D__UVISION_VERSION="538" -D_RTE_ -DSTM32F407xx -D_RTE_ -DUSE_HAL_DRIVER -DSTM32F407xx -DNDEBUG
|
||||||
|
-o .\stm32f407-demo\tasks.o --omf_browse .\stm32f407-demo\tasks.crf --depend .\stm32f407-demo\tasks.d "../Middlewares/Third_Party/FreeRTOS/Source/tasks.c"
|
||||||
5
MDK-ARM/STM32F407-Demo/timers.__i
Normal file
5
MDK-ARM/STM32F407-Demo/timers.__i
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
--c99 -c --cpu Cortex-M4.fp.sp -D__MICROLIB -g -O3 --apcs=interwork --split_sections -I ../Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I ../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I ../Drivers/CMSIS/Include -I ../Drivers/BSP -I ../Drivers/BSP/CH395F -I ../Drivers/BSP/GD5F2GQ5UE -I ../Drivers/BSP/TPAFE5160 -I ../Drivers/BSP/SD2506 -I ../Drivers/BSP/RS485 -I ../Drivers/BSP/NET -I ../Drivers/BSP/NET/lftpd -I ../App -I ../App/task -I ../App/util -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../Lib/dhara -I ../Lib/FatFs
|
||||||
|
-I.\RTE\_STM32F407-Demo
|
||||||
|
-IC:\Users\16241\AppData\Local\Arm\Packs\ARM\CMSIS\5.8.0\CMSIS\Core\Include
|
||||||
|
-D__UVISION_VERSION="538" -D_RTE_ -DSTM32F407xx -D_RTE_ -DUSE_HAL_DRIVER -DSTM32F407xx -DNDEBUG
|
||||||
|
-o .\stm32f407-demo\timers.o --omf_browse .\stm32f407-demo\timers.crf --depend .\stm32f407-demo\timers.d "../Middlewares/Third_Party/FreeRTOS/Source/timers.c"
|
||||||
5
MDK-ARM/STM32F407-Demo/tpafe5160.__i
Normal file
5
MDK-ARM/STM32F407-Demo/tpafe5160.__i
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
--c99 -c --cpu Cortex-M4.fp.sp -D__MICROLIB -g -O3 --apcs=interwork --split_sections -I ../Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I ../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I ../Drivers/CMSIS/Include -I ../Drivers/BSP -I ../Drivers/BSP/CH395F -I ../Drivers/BSP/GD5F2GQ5UE -I ../Drivers/BSP/TPAFE5160 -I ../Drivers/BSP/SD2506 -I ../Drivers/BSP/RS485 -I ../Drivers/BSP/NET -I ../Drivers/BSP/NET/lftpd -I ../App -I ../App/task -I ../App/util -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../Lib/dhara -I ../Lib/FatFs
|
||||||
|
-I.\RTE\_STM32F407-Demo
|
||||||
|
-IC:\Users\16241\AppData\Local\Arm\Packs\ARM\CMSIS\5.8.0\CMSIS\Core\Include
|
||||||
|
-D__UVISION_VERSION="538" -D_RTE_ -DSTM32F407xx -D_RTE_ -DUSE_HAL_DRIVER -DSTM32F407xx -DNDEBUG
|
||||||
|
-o .\stm32f407-demo\tpafe5160.o --omf_browse .\stm32f407-demo\tpafe5160.crf --depend .\stm32f407-demo\tpafe5160.d "..\Drivers\BSP\TPAFE5160\tpafe5160.c"
|
||||||
5
MDK-ARM/STM32F407-Demo/usart.__i
Normal file
5
MDK-ARM/STM32F407-Demo/usart.__i
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
--c99 -c --cpu Cortex-M4.fp.sp -D__MICROLIB -g -O3 --apcs=interwork --split_sections -I ../Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I ../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I ../Drivers/CMSIS/Include -I ../Drivers/BSP -I ../Drivers/BSP/CH395F -I ../Drivers/BSP/GD5F2GQ5UE -I ../Drivers/BSP/TPAFE5160 -I ../Drivers/BSP/SD2506 -I ../Drivers/BSP/RS485 -I ../Drivers/BSP/NET -I ../Drivers/BSP/NET/lftpd -I ../App -I ../App/task -I ../App/util -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../Lib/dhara -I ../Lib/FatFs
|
||||||
|
-I.\RTE\_STM32F407-Demo
|
||||||
|
-IC:\Users\16241\AppData\Local\Arm\Packs\ARM\CMSIS\5.8.0\CMSIS\Core\Include
|
||||||
|
-D__UVISION_VERSION="538" -D_RTE_ -DSTM32F407xx -D_RTE_ -DUSE_HAL_DRIVER -DSTM32F407xx -DNDEBUG
|
||||||
|
-o .\stm32f407-demo\usart.o --omf_browse .\stm32f407-demo\usart.crf --depend .\stm32f407-demo\usart.d "../Src/usart.c"
|
||||||
@@ -1,71 +0,0 @@
|
|||||||
*** Using Compiler 'V5.06 update 7 (build 960)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin'
|
|
||||||
Rebuild target 'STM32F407-Demo'
|
|
||||||
assembling startup_stm32f407xx.s...
|
|
||||||
compiling ringbuf.c...
|
|
||||||
compiling crc.c...
|
|
||||||
compiling stm32f4xx_hal_timebase_tim.c...
|
|
||||||
compiling dma.c...
|
|
||||||
compiling gpio.c...
|
|
||||||
compiling i2c.c...
|
|
||||||
compiling stm32f4xx_hal_msp.c...
|
|
||||||
compiling stm32f4xx_hal_flash_ramfunc.c...
|
|
||||||
compiling stm32f4xx_hal_gpio.c...
|
|
||||||
compiling app_main.c...
|
|
||||||
compiling usart.c...
|
|
||||||
compiling stm32f4xx_hal_rcc_ex.c...
|
|
||||||
compiling stm32f4xx_it.c...
|
|
||||||
compiling sys_clock.c...
|
|
||||||
compiling stm32f4xx_hal_flash_ex.c...
|
|
||||||
compiling adc_task.c...
|
|
||||||
compiling rs485_task.c...
|
|
||||||
compiling stm32f4xx_hal_rcc.c...
|
|
||||||
compiling main.c...
|
|
||||||
compiling stm32f4xx_hal_flash.c...
|
|
||||||
compiling spi.c...
|
|
||||||
compiling net_task.c...
|
|
||||||
compiling stm32f4xx_hal_tim_ex.c...
|
|
||||||
compiling freertos.c...
|
|
||||||
compiling stm32f4xx_hal_tim.c...
|
|
||||||
compiling stm32f4xx_hal_dma.c...
|
|
||||||
compiling stm32f4xx_hal_exti.c...
|
|
||||||
compiling stm32f4xx_hal_pwr.c...
|
|
||||||
compiling stm32f4xx_hal_i2c_ex.c...
|
|
||||||
compiling stm32f4xx_hal_pwr_ex.c...
|
|
||||||
compiling system_stm32f4xx.c...
|
|
||||||
compiling stm32f4xx_hal_dma_ex.c...
|
|
||||||
compiling stm32f4xx_hal_cortex.c...
|
|
||||||
compiling stm32f4xx_hal.c...
|
|
||||||
compiling ch395f.c...
|
|
||||||
compiling rs485.c...
|
|
||||||
compiling sd2506.c...
|
|
||||||
compiling tpafe5160.c...
|
|
||||||
compiling lftpd_string.c...
|
|
||||||
compiling gd5f2gq5ue.c...
|
|
||||||
compiling stm32f4xx_hal_spi.c...
|
|
||||||
compiling croutine.c...
|
|
||||||
compiling list.c...
|
|
||||||
compiling nand_ftl.c...
|
|
||||||
compiling event_groups.c...
|
|
||||||
compiling stm32f4xx_hal_uart.c...
|
|
||||||
compiling stream_buffer.c...
|
|
||||||
compiling net_select.c...
|
|
||||||
compiling ch395f_test.c...
|
|
||||||
compiling lftpd_inet.c...
|
|
||||||
compiling queue.c...
|
|
||||||
compiling timers.c...
|
|
||||||
compiling lftpd.c...
|
|
||||||
compiling heap_4.c...
|
|
||||||
compiling tasks.c...
|
|
||||||
compiling net_socket.c...
|
|
||||||
compiling stm32f4xx_hal_i2c.c...
|
|
||||||
compiling map.c...
|
|
||||||
compiling journal.c...
|
|
||||||
compiling port.c...
|
|
||||||
compiling ff.c...
|
|
||||||
compiling lftpd_io.c...
|
|
||||||
compiling cmsis_os2.c...
|
|
||||||
linking...
|
|
||||||
Program Size: Code=58144 RO-data=2132 RW-data=392 ZI-data=54848
|
|
||||||
FromELF: creating hex file...
|
|
||||||
".\STM32F407-Demo\STM32F407-Demo.axf" - 0 Error(s), 0 Warning(s).
|
|
||||||
Build Time Elapsed: 00:00:17
|
|
||||||
|
|||||||
@@ -286,3 +286,84 @@ msg.result = (int)notified;
|
|||||||
- 指针成员(`msg.buf`)不受值拷贝影响——netTask 拿到的是同一个指针,可以读写调用方的缓冲区
|
- 指针成员(`msg.buf`)不受值拷贝影响——netTask 拿到的是同一个指针,可以读写调用方的缓冲区
|
||||||
- `net_connect()` 不使用消息队列(在 netTask 内直接调用 `_locked` 版本),不受此 bug 影响
|
- `net_connect()` 不使用消息队列(在 netTask 内直接调用 `_locked` 版本),不受此 bug 影响
|
||||||
- 内核级 API(`net_send_sock` / `net_recv_sock` / `net_listen_locked`)直接操作,同样不受影响
|
- 内核级 API(`net_send_sock` / `net_recv_sock` / `net_listen_locked`)直接操作,同样不受影响
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Trap 11:`net_accept_locked` 拒绝 standalone_accept 的 ESTABLISHED 状态
|
||||||
|
|
||||||
|
### 现象
|
||||||
|
FTP 客户端 TCP 连接成功(standalone accept),220 欢迎语不发送,`lftpd_inet_accept()` 死循环。客户端连接成功但永远收不到任何 FTP 响应。
|
||||||
|
|
||||||
|
### 根因
|
||||||
|
`net_accept_locked()` 入口检查:
|
||||||
|
|
||||||
|
```c
|
||||||
|
if (p_listen_sock->state != NET_SOCK_STATE_LISTENING) {
|
||||||
|
return -1; // ← 直接拒绝!
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
standalone accept 后 state 已变为 `ESTABLISHED`,永远到不了后续的 `standalone_accept` 检查——死锁。
|
||||||
|
|
||||||
|
### 解决方案
|
||||||
|
```c
|
||||||
|
if (p_listen_sock->state != NET_SOCK_STATE_LISTENING &&
|
||||||
|
!(p_listen_sock->standalone_accept && p_listen_sock->state == NET_SOCK_STATE_ESTABLISHED)) {
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
允许 `standalone_accept + ESTABLISHED` 组合通过。
|
||||||
|
|
||||||
|
### 注意事项
|
||||||
|
- 不影响多连接模式(多连接监听 Socket 状态始终为 LISTENING,由数据 Socket 承载连接)
|
||||||
|
- 仅影响 standalone_accept 模式(PASV 数据通道、单连接 FTP)
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Trap 12:FatFS `FF_USE_LFN=0` + 路径 `/` 前缀 → `FR_INVALID_NAME`
|
||||||
|
|
||||||
|
### 现象
|
||||||
|
FTP STOR 上传文件时 `f_open("/upload_test.txt", FA_WRITE | FA_CREATE_ALWAYS)` 返回 `err=6`(FR_INVALID_NAME)。`upload_test.txt` 文件名 11+3 字符 > 8.3 限制同样触发 err=6。
|
||||||
|
|
||||||
|
### 根因
|
||||||
|
1. `ffconf.h` 中 `FF_USE_LFN = 0`(长文件名禁用),最大文件名 8+3 字符
|
||||||
|
2. FatFS 不接受 `/file` 格式的路径(需要 `file` 或 `0:file`)
|
||||||
|
3. `lftpd_io_canonicalize_path("/", "file")` 输出必然带 `/` 前缀
|
||||||
|
4. 根目录路径 `"/"` 剥离后为空字符串,`f_stat("")` 同样失败
|
||||||
|
|
||||||
|
### 解决方案
|
||||||
|
```c
|
||||||
|
/* 剥离 "/" 前缀,根目录用 "." 表示 */
|
||||||
|
static const char *to_fatfs_path(const char *path) {
|
||||||
|
if (path == NULL || *path == '\0') return ".";
|
||||||
|
if (*path == '/') {
|
||||||
|
path++;
|
||||||
|
if (*path == '\0') return ".";
|
||||||
|
}
|
||||||
|
return path;
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
所有 `lftpd_io_*` 函数调用 FatFS 前统一使用 `to_fatfs_path(path)`。
|
||||||
|
|
||||||
|
### 注意事项
|
||||||
|
- 长文件名需设置 `FF_USE_LFN = 1` 并配置 `FF_LFN_UNICODE`,会显著增加 RAM 占用
|
||||||
|
- `CWD .` 和 `CWD /` 同样受此问题影响,修复后正常工作
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 附:FTP 支持改造完整问题清单
|
||||||
|
|
||||||
|
| # | 问题 | 类型 | 修复位置 |
|
||||||
|
|---|------|------|----------|
|
||||||
|
| 1 | 消息队列值拷贝,6 个 API 永远返回 -1 | Trap 10 | `net_socket.c` |
|
||||||
|
| 2 | PHY link up 后 open_socket 失败 | Trap 09 | `freertos.c` + `lftpd.c` |
|
||||||
|
| 3 | `net_accept_locked` 拒绝 ESTABLISHED | Trap 11 | `net_socket.c` |
|
||||||
|
| 4 | CH395F 多连接模式不支持多监听 | 架构 | `net_socket.c: fun_para=0x00` |
|
||||||
|
| 5 | PASV 端口 0(net_bind 无自动分配) | 缺功能 | `net_socket.c: s_dynamic_port` |
|
||||||
|
| 6 | FatFS 路径 `/` 不兼容 + LFN 禁用 | Trap 12 | `lftpd_io.c: to_fatfs_path()` |
|
||||||
|
| 7 | `cmd_pasv` 连关连开 listen 失败 | Trap 09 子类 | `lftpd.c: 3次重试` |
|
||||||
|
| 8 | `ftpTask` 启动时 PHY 未稳定 | Trap 09 子类 | `freertos.c: osDelay(7000)` |
|
||||||
|
| 9 | 会话结束后立即重建监听失败 | Trap 09 子类 | `lftpd.c: vTaskDelay(200ms)` |
|
||||||
|
| 10 | `s_file_open` 单文件限制 | 已知限制 | `lftpd_io.c` (全局变量) |
|
||||||
|
|||||||
256
test/ftp_capture.py
Normal file
256
test/ftp_capture.py
Normal file
@@ -0,0 +1,256 @@
|
|||||||
|
#!/usr/bin/env python3
|
||||||
|
"""
|
||||||
|
FTP 协议抓取工具 — 模拟 FTP Server,打印客户端每一条命令和交互细节
|
||||||
|
用法:python ftp_capture.py [--port 21]
|
||||||
|
需要管理员权限(Linux 无需,Windows 需要管理员权限绑定 21 端口)
|
||||||
|
"""
|
||||||
|
|
||||||
|
import socket
|
||||||
|
import threading
|
||||||
|
import sys
|
||||||
|
import os
|
||||||
|
import time
|
||||||
|
import struct
|
||||||
|
import re
|
||||||
|
|
||||||
|
HOST = "0.0.0.0"
|
||||||
|
PORT = 21
|
||||||
|
DATA_DIR = "ftp_capture_data"
|
||||||
|
|
||||||
|
def log(fmt, *args):
|
||||||
|
ts = time.strftime("%H:%M:%S", time.localtime())
|
||||||
|
msg = fmt % args if args else fmt
|
||||||
|
print(f"[{ts}] {msg}")
|
||||||
|
|
||||||
|
def recv_line(sock):
|
||||||
|
data = b""
|
||||||
|
while True:
|
||||||
|
ch = sock.recv(1)
|
||||||
|
if not ch:
|
||||||
|
return None
|
||||||
|
data += ch
|
||||||
|
if data.endswith(b"\r\n"):
|
||||||
|
return data
|
||||||
|
|
||||||
|
def send_line(sock, line):
|
||||||
|
sock.sendall((line + "\r\n").encode())
|
||||||
|
log(">>> %s", line)
|
||||||
|
|
||||||
|
class FtpHandler(threading.Thread):
|
||||||
|
def __init__(self, ctrl_sock, addr):
|
||||||
|
super().__init__(daemon=True)
|
||||||
|
self.ctrl = ctrl_sock
|
||||||
|
self.addr = addr
|
||||||
|
self.cwd = "/"
|
||||||
|
self.data_listener = None
|
||||||
|
self.data_port = 0
|
||||||
|
self.pasv_socket = None
|
||||||
|
|
||||||
|
def run(self):
|
||||||
|
log("=== New connection from %s:%d ===", *self.addr)
|
||||||
|
send_line(self.ctrl, "220 Service ready for new user.")
|
||||||
|
|
||||||
|
while True:
|
||||||
|
raw = recv_line(self.ctrl)
|
||||||
|
if raw is None:
|
||||||
|
log("=== Connection closed ===")
|
||||||
|
break
|
||||||
|
|
||||||
|
line = raw.decode(errors="replace").rstrip()
|
||||||
|
log("<<< %s", line)
|
||||||
|
|
||||||
|
parts = line.split()
|
||||||
|
cmd = parts[0].upper()
|
||||||
|
arg = parts[1] if len(parts) > 1 else None
|
||||||
|
try:
|
||||||
|
self.handle(cmd, arg)
|
||||||
|
except Exception as e:
|
||||||
|
log("!!! ERROR: %s", e)
|
||||||
|
send_line(self.ctrl, "550 Internal error.")
|
||||||
|
|
||||||
|
self.cleanup()
|
||||||
|
|
||||||
|
def handle(self, cmd, arg):
|
||||||
|
handler = getattr(self, f"cmd_{cmd}", None)
|
||||||
|
if handler:
|
||||||
|
handler(arg)
|
||||||
|
else:
|
||||||
|
send_line(self.ctrl, f"502 Command not implemented.")
|
||||||
|
|
||||||
|
def cmd_USER(self, arg):
|
||||||
|
send_line(self.ctrl, "230 User logged in, proceed.")
|
||||||
|
|
||||||
|
def cmd_PASS(self, arg):
|
||||||
|
send_line(self.ctrl, "230 User logged in, proceed.")
|
||||||
|
|
||||||
|
def cmd_FEAT(self, arg):
|
||||||
|
send_line(self.ctrl, "211-System status, or system help reply.")
|
||||||
|
send_line(self.ctrl, " EPSV")
|
||||||
|
send_line(self.ctrl, " PASV")
|
||||||
|
send_line(self.ctrl, " SIZE")
|
||||||
|
send_line(self.ctrl, " NLST")
|
||||||
|
send_line(self.ctrl, "211 System status, or system help reply.")
|
||||||
|
|
||||||
|
def cmd_PWD(self, arg):
|
||||||
|
send_line(self.ctrl, f'257 "{self.cwd}"')
|
||||||
|
|
||||||
|
def cmd_CWD(self, arg):
|
||||||
|
if arg == "." or arg == "/":
|
||||||
|
self.cwd = "/"
|
||||||
|
send_line(self.ctrl, "250 Requested file action okay, completed.")
|
||||||
|
else:
|
||||||
|
send_line(self.ctrl, "550 Requested action not taken.")
|
||||||
|
|
||||||
|
def cmd_TYPE(self, arg):
|
||||||
|
send_line(self.ctrl, "200 Command okay.")
|
||||||
|
|
||||||
|
def cmd_SYST(self, arg):
|
||||||
|
send_line(self.ctrl, "215 UNIX Type: L8")
|
||||||
|
|
||||||
|
def cmd_NOOP(self, arg):
|
||||||
|
send_line(self.ctrl, "200 Command okay.")
|
||||||
|
|
||||||
|
def cmd_QUIT(self, arg):
|
||||||
|
send_line(self.ctrl, "221 Service closing control connection.")
|
||||||
|
self.ctrl.close()
|
||||||
|
|
||||||
|
def cmd_SIZE(self, arg):
|
||||||
|
send_line(self.ctrl, "550 File unavailable.")
|
||||||
|
|
||||||
|
def cmd_PASV(self, arg):
|
||||||
|
"""创建 PASV 数据监听"""
|
||||||
|
self.cleanup_data()
|
||||||
|
pasv = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
|
||||||
|
pasv.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
|
||||||
|
pasv.bind(("0.0.0.0", 0))
|
||||||
|
pasv.listen(1)
|
||||||
|
self.pasv_socket = pasv
|
||||||
|
|
||||||
|
port = pasv.getsockname()[1]
|
||||||
|
p1, p2 = port >> 8, port & 0xFF
|
||||||
|
# 使用 127.0.0.1 本地环回避免防火墙问题
|
||||||
|
send_line(self.ctrl,
|
||||||
|
f"227 Entering Passive Mode (127,0,0,1,{p1},{p2}).")
|
||||||
|
log(" PASV listener on port %d (127.0.0.1:port)", port)
|
||||||
|
|
||||||
|
def cmd_EPSV(self, arg):
|
||||||
|
self.cleanup_data()
|
||||||
|
pasv = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
|
||||||
|
pasv.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
|
||||||
|
pasv.bind(("0.0.0.0", 0))
|
||||||
|
pasv.listen(1)
|
||||||
|
self.pasv_socket = pasv
|
||||||
|
port = pasv.getsockname()[1]
|
||||||
|
send_line(self.ctrl, f"229 Entering Extended Passive Mode (|||{port}|)")
|
||||||
|
log(" EPSV listener on port %d", port)
|
||||||
|
|
||||||
|
def cmd_LIST(self, arg):
|
||||||
|
send_line(self.ctrl, "150 File status okay; about to open data connection.")
|
||||||
|
conn = self.accept_data()
|
||||||
|
if conn:
|
||||||
|
log(" LIST: sending directory listing (empty)")
|
||||||
|
conn.sendall(b"-rw-rw-rw- 1 owner group 123 Jan 01 1970 test.txt\r\n")
|
||||||
|
conn.close()
|
||||||
|
log(" LIST: data closed")
|
||||||
|
send_line(self.ctrl, "226 Closing data connection.")
|
||||||
|
|
||||||
|
def cmd_NLST(self, arg):
|
||||||
|
self.cmd_LIST(arg)
|
||||||
|
|
||||||
|
def cmd_STOR(self, arg):
|
||||||
|
"""接收文件上传"""
|
||||||
|
size = 0
|
||||||
|
send_line(self.ctrl, "150 File status okay; about to open data connection.")
|
||||||
|
conn = self.accept_data()
|
||||||
|
if conn:
|
||||||
|
log(" STOR: receiving file '%s'...", arg)
|
||||||
|
data = b""
|
||||||
|
while True:
|
||||||
|
try:
|
||||||
|
chunk = conn.recv(4096)
|
||||||
|
if not chunk:
|
||||||
|
break
|
||||||
|
data += chunk
|
||||||
|
size += len(chunk)
|
||||||
|
except socket.timeout:
|
||||||
|
break
|
||||||
|
conn.close()
|
||||||
|
log(" STOR: received %d bytes, data closed", size)
|
||||||
|
else:
|
||||||
|
log(" STOR: data connection failed!")
|
||||||
|
send_line(self.ctrl, f"226 Closing data connection.")
|
||||||
|
|
||||||
|
def cmd_RETR(self, arg):
|
||||||
|
send_line(self.ctrl, "550 File unavailable.")
|
||||||
|
|
||||||
|
def cmd_DELE(self, arg):
|
||||||
|
send_line(self.ctrl, "250 Requested file action okay, completed.")
|
||||||
|
|
||||||
|
def accept_data(self):
|
||||||
|
"""接受数据连接(5秒超时)"""
|
||||||
|
if self.pasv_socket is None:
|
||||||
|
log(" ERROR: no PASV listener!")
|
||||||
|
return None
|
||||||
|
try:
|
||||||
|
self.pasv_socket.settimeout(5)
|
||||||
|
conn, addr = self.pasv_socket.accept()
|
||||||
|
log(" Data connection from %s:%d", *addr)
|
||||||
|
return conn
|
||||||
|
except socket.timeout:
|
||||||
|
log(" Data accept TIMEOUT (5s)")
|
||||||
|
return None
|
||||||
|
except Exception as e:
|
||||||
|
log(" Data accept ERROR: %s", e)
|
||||||
|
return None
|
||||||
|
|
||||||
|
def cleanup_data(self):
|
||||||
|
if self.pasv_socket:
|
||||||
|
try:
|
||||||
|
self.pasv_socket.close()
|
||||||
|
except:
|
||||||
|
pass
|
||||||
|
self.pasv_socket = None
|
||||||
|
|
||||||
|
def cleanup(self):
|
||||||
|
self.cleanup_data()
|
||||||
|
try:
|
||||||
|
self.ctrl.close()
|
||||||
|
except:
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
||||||
|
def main():
|
||||||
|
import argparse
|
||||||
|
parser = argparse.ArgumentParser(description="FTP Protocol Capture")
|
||||||
|
parser.add_argument("--port", type=int, default=PORT,
|
||||||
|
help=f"FTP port (default {PORT}, may need admin)")
|
||||||
|
args = parser.parse_args()
|
||||||
|
|
||||||
|
# Windows 下低端口需要管理员权限
|
||||||
|
if sys.platform == "win32" and args.port < 1024:
|
||||||
|
import ctypes
|
||||||
|
if not ctypes.windll.shell32.IsUserAnAdmin():
|
||||||
|
log("WARNING: Port %d may need admin rights on Windows", args.port)
|
||||||
|
log(" Run as Administrator or use --port 2121")
|
||||||
|
|
||||||
|
os.makedirs(DATA_DIR, exist_ok=True)
|
||||||
|
|
||||||
|
server = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
|
||||||
|
server.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
|
||||||
|
server.bind((HOST, args.port))
|
||||||
|
server.listen(5)
|
||||||
|
log("FTP capture server on port %d", args.port)
|
||||||
|
log("Connect with MobaXterm/FileZilla and try operations")
|
||||||
|
log("=" * 50)
|
||||||
|
|
||||||
|
try:
|
||||||
|
while True:
|
||||||
|
conn, addr = server.accept()
|
||||||
|
FtpHandler(conn, addr).start()
|
||||||
|
except KeyboardInterrupt:
|
||||||
|
log("Stopped")
|
||||||
|
finally:
|
||||||
|
server.close()
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
main()
|
||||||
0
test/test.txt
Normal file
0
test/test.txt
Normal file
Reference in New Issue
Block a user