Changes between Initial Version and Version 1 of 802.11/Usage/SDK


Ignore:
Timestamp:
Oct 22, 2014, 11:47:41 AM (10 years ago)
Author:
murphpo
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • 802.11/Usage/SDK

    v1 v1  
     1[[TracNav(802.11/TOC)]]
     2
     3= 802.11 Reference Design: SDK Workspace =
     4
     5The first step in modifying the 802.11 Reference Design software is creating a workspace in the Xilinx SDK and importing the reference software projects. The steps below describe how to create an SDK workspace containing the full software design.
     6
     71. Ensure your Xilinx tools match the version used to create the reference design (see the [wiki:../Download download] page for the current versions)
     81. Ensure your local copy of the WARP edk_user_repository is up to date and in the repository search path of XPS (see [wiki:edk_user_repository edk_user_repository] for details)
     91. Download the 802.11 Reference Design archive and expand the inner .zip archive in {{{<ref_design_archive>/EDK_Projects/w3_802.11_EDK_vXXX.zip}}}.
     10  * Be sure the expanded EDK project path has no spaces; {{{C:/work/w3_802.11_EDK/}}} works, {{{C:/Documents and Settings/user/w3_802.11_EDK/}}} does not
     11  * The text below assumes your expanded EDK project is in {{{<xps_proj>/}}}.
     121. Launch Xilinx SDK and select {{{<xps_proj>/SDK_Workspace}}} as the active workspace
     131. Select Xilinx Tools -> Repositories. In Local Repositories click New, then select {{{<xps_proj>/}}} and click OK. Be sure to select the root of the XPS project (the folder containing {{{system.mhs}}}, '''not''' the SDK_Workspace folder.
     141. Import the SDK projects provided by the reference design
     15  1. Select File -> Import
     16  1. Expand General -> Existing Projects into Workspace, click Next
     17  1. Click Browse and navigate to {{{<xps_proj>/SDK_Workspace}}}
     18  1. 9 projects will be listed:
     19{{{
     20wlan_bsp_cpu_high
     21wlan_bsp_cpu_low
     22wlan_mac_high_ap
     23wlan_mac_high_ibss
     24wlan_mac_high_sta
     25wlan_mac_low_dcf
     26wlan_mac_low_nomac
     27wlan_mac_shared
     28wlan_xps_XXX_hw_platform  <- the version number in this project name will change between releases
     29}}}
     30  1. Ensure all 9 projects are checked and click Finish
     31  1. In the SDK Project Explorer:
     32    1. Right click on the {{{wlan_mac_high_ap}}} project and select Change Referenced BSP. In the dialog box select {{{wlan_bsp_cpu_high}}} then click OK
     33    1. Right click on the {{{wlan_mac_high_ibss}}} project and select Change Referenced BSP. In the dialog box select {{{wlan_bsp_cpu_high}}} then click OK
     34    1. Right click on the {{{wlan_mac_high_sta}}} project and select Change Referenced BSP. In the dialog box select {{{wlan_bsp_cpu_high}}} then click OK
     35    1. Right click on the {{{wlan_mac_low_dcf}}} project and select Change Referenced BSP. In the dialog box select {{{wlan_bsp_cpu_low}}} then click OK
     36    1. Right click on the {{{wlan_mac_low_nomac}}} project and select Change Referenced BSP. In the dialog box select {{{wlan_bsp_cpu_low}}} then click OK
     37    1. Right click on the {{{wlan_mac_high_ap}}} project and select Clean Project
     38    1. Right click on the {{{wlan_mac_high_ibss}}} project and select Clean Project
     39    1. Right click on the {{{wlan_mac_high_sta}}} project and select Clean Project
     40    1. Right click on the {{{wlan_mac_low_dcf}}} project and select Clean Project
     41    1. Right click on the {{{wlan_mac_low_nomac}}} project and select Clean Project
     421. The 5 software applications (AP, STA, IBSS, DCF and NoMAC) should now build to completion. Click once on each project in the SDK Project Explorer tab and check the console for the message {{{elfcheck passed}}}
     43
     44Once you've created the SDK workspace you can begin modifying the reference C code. By default the SDK will automatically compile a software project when any of its source files are modified and saved. Watch the SDK console tab for compiler warnings/errors.
     45
     46== Using the Modified Design ==
     47