【E268】W5500 dhcp优化版+udp nrf52832程序源码 M4内核芯片

2021-08-17 21:14:36      索炜达电子      529     

项目编号:E268

文件大小:611K

源码说明:带中文注释

开发环境:C编译器

简要概述:

用官网W5500库版本的DHCP例子 申请10次会有5次 获取不到IP 卡在了discover步骤,
经过优化,现在自测了50多遍,100%可以申请到IP。

主控用的nrf52832 cortex m4内核 硬件spi   
SDK为nRF_SDK_15.2.0
把解压后的目录放nRF_SDK_15.2.0\examples\ble_central下编译就可以成功。


文件列表:

目录│文件列表:

 └ w5500_dhcp_udp

    │ ble_app_blinky_c.eww

    │ main.c

    ├ hex

    │  │ ble_app_blinky_c_pca10040_s132.hex

    │  │ ble_app_blinky_c_pca10056_s140.hex

    │  └ license.txt

    ├ Internet

    │  │ ethernet.c

    │  │ ethernet.h

    │  ├ Application

    │  │  │ dhcp.c

    │  │  │ dhcp.h

    │  │  │ dns.c

    │  │  └ dns.h

    │  └ W5500

    │     │ socket.c

    │     │ socket.h

    │     │ spi0.c

    │     │ spi0.h

    │     │ w5500.c

    │     │ w5500.h

    │     │ wizchip_conf.c

    │     └ wizchip_conf.h

    ├ pca10040

    │  └ s132

    │     ├ arm4

    │     │  │ ble_app_blinky_c_pca10040_s132.uvopt

    │     │  └ ble_app_blinky_c_pca10040_s132.uvproj

    │     ├ arm5_no_packs

    │     │  │ ble_app_blinky_c_pca10040_s132.uvguix.liuyu

    │     │  │ ble_app_blinky_c_pca10040_s132.uvoptx

    │     │  │ ble_app_blinky_c_pca10040_s132.uvprojx

    │     │  │ EventRecorderStub.scvd

    │     │  │ JLinkSettings.ini

    │     │  ├ RTE

    │     │  │  ├ Device

    │     │  │  │  └ nRF52832_xxAA

    │     │  │  │     │ arm_startup_nrf52.s

    │     │  │  │     └ system_nrf52.c

    │     │  │  └ _nrf52832_xxaa

    │     │  │     └ RTE_Components.h

    │     │  └ _build

    │     │     └ nrf52832_xxaa.hex

    │     ├ armgcc

    │     │  │ ble_app_blinky_c_gcc_nrf52.ld

    │     │  └ Makefile

    │     ├ config

    │     │  └ sdk_config.h

    │     ├ iar

    │     │  │ ble_app_blinky_c_iar_nRF5x.icf

    │     │  │ ble_app_blinky_c_pca10040_s132.ewd

    │     │  └ ble_app_blinky_c_pca10040_s132.ewp

    │     └ ses

    │        │ ble_app_blinky_c_pca10040_s132.emProject

    │        │ ble_app_blinky_c_pca10040_s132.emSession

    │        └ flash_placement.xml

    └ pca10056

       └ s140

          ├ arm4

          │  │ ble_app_blinky_c_pca10056_s140.uvopt

          │  └ ble_app_blinky_c_pca10056_s140.uvproj

          ├ arm5_no_packs

          │  │ ble_app_blinky_c_pca10056_s140.uvoptx

          │  └ ble_app_blinky_c_pca10056_s140.uvprojx

          ├ armgcc

          │  │ ble_app_blinky_c_gcc_nrf52.ld

          │  └ Makefile

          ├ config

          │  └ sdk_config.h

          ├ iar

          │  │ ble_app_blinky_c_iar_nRF5x.icf

          │  │ ble_app_blinky_c_pca10056_s140.ewd

          │  └ ble_app_blinky_c_pca10056_s140.ewp

          └ ses

             │ ble_app_blinky_c_pca10056_s140.emProject

             │ ble_app_blinky_c_pca10056_s140.emSession

             └ flash_placement.xml

TAGnrf52832
  • 8 次
  • 1 分