• stm32f767 无操作系统 LwIP 移植 (二)


    Build started: Project: stm32f767
    *** Using Compiler 'V5.06 update 6 (build 750)', folder: 'C:Keil_v5ARMARMCCBin'
    Build target 'stm32f767'
    compiling ethernetif.c...
    ..LwIP-2.0.3configethernetif.c(153): warning:  #177-D: variable "regvalue"  was declared but never referenced
        uint32_t regvalue = 0;
    ..LwIP-2.0.3configethernetif.c: 1 warning, 0 errors
    linking...
    .Objectsstm32f767.axf: Error: L6218E: Undefined symbol sio_open (referred from slipif.o).
    .Objectsstm32f767.axf: Error: L6218E: Undefined symbol sio_send (referred from slipif.o).
    .Objectsstm32f767.axf: Error: L6218E: Undefined symbol sio_tryread (referred from slipif.o).
    Not enough information to list image symbols.
    Not enough information to list load addresses in the image map.
    Finished: 2 information, 0 warning and 3 error messages.
    ".Objectsstm32f767.axf" - 3 Error(s), 1 Warning(s).
    未定义符号 sio_open
    解决:别引进来 slipif.c。

    去除 slipif.c 再编译,通过。

    Build started: Project: stm32f767
    *** Using Compiler 'V5.06 update 6 (build 750)', folder: 'C:Keil_v5ARMARMCCBin'
    Build target 'stm32f767'
    compiling main.c...
    ..User../Middlewares/inc/dma.h(18): warning:  #1-D: last line of file ends without a newline
                                                                              
    ..Usermain.c(84): warning:  #223-D: function "Netif_Config" declared implicitly
          Netif_Config();//网络接口配置
    ..Usermain.c(44): warning:  #177-D: variable "TransferStatus"  was declared but never referenced
          uint8_t TransferStatus; //定义存放比较结果变量
    ..Usermain.c: 3 warnings, 0 errors
    linking...
    Program Size: Code=30932 RO-data=992 RW-data=212 ZI-data=392180  
    FromELF: creating hex file...
    ".Objectsstm32f767.axf" - 0 Error(s), 3 Warning(s).
    Build Time Elapsed:  00:00:09

    编译通过,烧写。

    Load "E:\GITEE_2021\stm32f767template\MDK-ARM\Objects\stm32f767.axf" 
    Erase Done.
    Programming Done.
    Verify OK.
    Application running ...
    Flash Load finished at 20:28:00

    烧写通过,测试:

    打开串口助手,和,命令提示符窗口,进行ping命令测试,测试通过。

     列举最终的文件目录:

     
  • 相关阅读:
    实战SpringCloud响应式微服务系列教程(第八章)构建响应式RESTful服务
    说说hashCode() 和 equals() 之间的关系?
    说说Object类下面有几种方法呢?
    Redis中是如何实现分布式锁的?
    从实践角度重新理解BIO和NIO
    数据的异构实战(一) 基于canal进行日志的订阅和转换
    The base command for the Docker CLI.
    Installing Jenkins to Centos Docker
    Docker Community Edition for CentOS
    Kafka自我学习-报错篇
  • 原文地址:https://www.cnblogs.com/ncepu/p/14723298.html
Copyright © 2020-2023  润新知