• 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命令测试,测试通过。

     列举最终的文件目录:

     
  • 相关阅读:
    maven常见问题处理(3-3)Gradle编译时下载依赖失败解决方法
    maven入门(1-3)maven的生命周期
    maven入门(10)maven的仓库
    maven入门(9)Maven常用命令
    maven入门(8)maven的依赖管理
    maven入门(7)maven项目(组件)的坐标
    maven入门(6)maven的生命周期
    maven入门(1-4)使用eclipse构建maven项目
    maven入门(1-3)构建简单的maven项目
    maven常见问题处理(3-4)配置代理服务器
  • 原文地址:https://www.cnblogs.com/ncepu/p/14723298.html
Copyright © 2020-2023  润新知