![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
arm 裸机
arm 裸机程序
一路向北2007
这个作者很懒,什么都没留下…
展开
-
zynqmp zcu102 arm 裸机UDP
sdk2017没有udp例程只有tcp例程。以下是调试通的udp例程:1.创建lwip测试工程或者在现有工程添加lwip库。2.添加udp代码,也可以从tcp例程修改:int udpinit(){ struct ip_addr ipaddr, netmask, gw; /* the mac address of the board. this should be unique per board */ unsigned char mac_ethernet_address[]原创 2021-02-25 14:59:01 · 537 阅读 · 0 评论 -
zynqmp zcu102 arm 裸机SD卡驱动
1.加载PL端提供的*.HDF。2.创建spi例程(bsp)。3.在main函数中调用驱动初始化sd卡。void mmc_test(void){ s32 Status; XSdPs InstancePtr; XSdPs_Config *pConf = XSdPs_LookupConfig(0); Status = XSdPs_CfgInitialize(&InstancePtr, pConf, pConf->BaseAddress); if(Status == X原创 2021-02-25 14:16:38 · 598 阅读 · 0 评论