当前位置: 首页 > news >正文

全国工程建设行业优秀网站seo研究中心南宁线下

全国工程建设行业优秀网站,seo研究中心南宁线下,大学生网页设计怎么做,网站动画用什么做周五在某小徐处借到了一块Zedboard开发板#xff0c;平时在公司没有机会做SDK开发的笔记#xff0c;今天就趁着这块开发板简要记录一些SDK的基本操作。一、功能简介通过第三方库创建SDK工程在ZYNQ-UCOS中实现TCP echo通讯二、配置需求操作系统Windows 10(64位)开发环境SDK 20… 周五在某小徐处借到了一块Zedboard开发板平时在公司没有机会做SDK开发的笔记今天就趁着这块开发板简要记录一些SDK的基本操作。一、功能简介    通过第三方库创建SDK工程    在ZYNQ-UCOS中实现TCP echo通讯二、配置需求操作系统Windows 10(64位)开发环境SDK 2018.3三、操作流程1、添加资源库。启动SDK软件选择Xilinx-Repositories弹出Perferences视图在Local Repositories中添加ucos资源库(ucos资源库下载链接见附件部分)。2、创建新工程。选择File-New-Application Project弹出New Project视图输入工程名称ucos_tcp选择操作系统平台ucos点击Next,在弹出的Templates选项中选择Micrium uc/OS-Ⅱ Hello World点击Finish完成基础示例工程的创建。3、配置emac。在ucos_tcp_bsp文件夹上单击鼠标右键选择Board Support Pcakage Settings在弹出的Board Support Pcakage Settings视图中选择drivers修改ucos_emacps为emacps单击OK完成emac的配置。4、移植Lwip。将lwip212文件夹及内容拷贝到工程源文件目录下(Lwip资源库下载链接见附件部分)。5、设置头文件路径在src文件夹上单击鼠标右键选择Properties在弹出的Properties for src视图中选择C/C Build-Settings-Directories在Include Paths中依次添加lwip212文件下的contrib、contrib/xilinx/includelwip-2.1.2/include三个文件夹。单击Apply应用配置变更单击OK退出Properties for src视图。6、删除报错的头文件。注释/ucos_tcp/src/lwip212/contrib/xilinx/include/netif/xemacpsif.h中xuartps.h的引用注释/ucos_tcp/src/lwip212/contrib/xilinx/netif/xemacpsif.c中xuartps.h的引用注释/ucos_tcp/src/lwip212/contrib/LwipEnter.h中platform_config.h的引用7、修改入口函数文件。将app.c文件进行如下修改。/*********************************************************************************************************** uCOS XSDK BSP** (c) Copyright 2014-2020; Silicon Laboratories Inc.,* 400 W. Cesar Chavez, Austin, TX 78701** All rights reserved. Protected by international copyright laws.** Your use of this software is subject to your acceptance of the terms* of a Silicon Labs Micrium software license, which can be obtained by* contacting infomicrium.com. If you do not agree to the terms of this* license, you may not use this software.** Please help us continue to provide the Embedded community with the finest* software available. Your honesty is greatly appreciated.** You can find our products documentation at: doc.micrium.com** For more information visit us at: www.micrium.com**********************************************************************************************************//*********************************************************************************************************** SETUP INSTRUCTIONS** This demonstration project illustrate a basic uC/OS-II project with simple hello world output.** By default some configuration steps are required to compile this example :** 1. Include the require Micrium software components* In the BSP setting dialog in the overview section of the left pane the following libraries* should be added to the BSP :** ucos_common* ucos_osii* ucos_standalone** 2. Kernel tick source - (Not required on the Zynq-7000 PS)* If a suitable timer is available in your FPGA design it can be used as the kernel tick source.* To do so, in the ucos section select a timer for the kernel_tick_src configuration option.** 3. STDOUT configuration* Output from the print() and UCOS_Print() functions can be redirected to a supported UART. In* the ucos_standalone section the stdout configuration will list the available UARTs.** Troubleshooting :* By default the Xilinx SDK may not have selected the Micrium drivers for the timer and UART.* If that is the case they must be manually selected in the drivers configuration section.** Finally make sure the FPGA is programmed before debugging.*** Remember that this example is provided for evaluation purposes only. Commercial development requires* a valid license from Micrium.**********************************************************************************************************//*********************************************************************************************************** INCLUDE FILES**********************************************************************************************************/#include #include #include #include ucos_ii.h#include LwipEnter.h/*********************************************************************************************************** LOCAL FUNCTION PROTOTYPES**********************************************************************************************************/OS_STK Polling_thread_Stk[256u];OS_STK LwipEnter_thread_Stk[512u];void MainTask (void *p_arg);void PollingTask (void *p_arg);/*********************************************************************************************************** main()** Description : Entry point for C code.***********************************************************************************************************/int main(){ UCOSStartup(MainTask); return 0;}/*********************************************************************************************************** MainTask()** Description : Startup task example code.** Returns : none.** Created by : main().**********************************************************************************************************/void MainTask (void *p_arg){ OS_CPU_SR cpu_sr; OS_ENTER_CRITICAL(); // Create Task OSTaskCreate(PollingTask, (void*)0, (OS_STK*)Polling_thread_Stk[255u], 20u); OSTaskCreate(LwipEnter_thread, (void*)0, (OS_STK*)LwipEnter_thread_Stk[511u], 50); OS_EXIT_CRITICAL(); // Suspend this Start Task after initialization OSTaskSuspend(OS_PRIO_SELF);}/*********************************************************************************************************** PollingTask()** Description : Polling task example code.** Returns : none.** Created by : MainTask().**********************************************************************************************************/void PollingTask (void *p_arg){ UCOS_Print (Hello world from the main task\r\n); while (DEF_TRUE) { OSTimeDlyHMSM(0, 0, 3, 0); UCOS_Print(Periodic output every 3 seconds from the main task\r\n); }}8、调试配置。调试配置如下图所示。9、启动调试。将测试PC机IP设置为192.168.1.99(与Zedboard处于同一网段)子网掩码为255.255.255.0。此时即可通过网口调试助手测试TCP的通讯功能。四、资源链接链接https://pan.baidu.com/s/1iVkFfXC964F7cCZVK8URCA提取码s5p1
http://wiki.neutronadmin.com/news/3102/

相关文章:

  • 苍南做网站哪里找医院网站建设原理
  • 化妆品产品的自建网站哟哪些wordpress滑动图片
  • 手机搜索网站建设网站建设公司gzzhixun
  • 做好公众号 网站建设成功案例 品牌网站
  • 网站建设验收表福田企业网站推广哪里好
  • wordpress 函数 文件网站怎么seo
  • 做小说网站做国外域名还是国内的好处建设网站如
  • 网站开发 网页设计百度关键词排名
  • 营销型网站建设方案佛山网站优化美姿姿seo
  • 渭南做网站的公司电话合肥app建设公司
  • 辽宁省建设银行e护航网站北京手机网站建设公司
  • 做网站界面用的软件简单html网页设计代码范文
  • 河北省正定县城乡建设网站千年之恋网页设计作业
  • 母婴用品网站建设wordpress开启侧边栏
  • 长沙建站
  • angularjs做的网站有哪些信誉好的菏泽网站建设
  • 网站建设与架构男友实验电商网站计划
  • 北京网站制作公司兴田德润实惠网络规划与设计毕业设计
  • 怎么给领导做网站分析网站建设从零开始视频教程
  • 网站做多久华为网站的建设建议
  • python做网站的书网站建设公司公司好
  • 网站设计_网站建设_手机网站建设什么是网站维护费
  • 展示型网站方案手机端网页制作
  • 北京网站设计公司wx成都柚米科技15Wordpress如何设置运费
  • 宏大建设集团有限公司网站今天河北沧州确诊名单
  • 搜索引擎如何找到网站网站开发开发的前景
  • 上海公司建设网站单位网站建设要记入无形资产吗
  • 做房产网站赚钱吗济南智能网站建设费用
  • 网站建设 市场规模大型国有企业网站建设
  • 外贸公司有必要建设网站吗免费网站建设策划