Editing Embedded Development with GNU Radio

Jump to: navigation, search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 70: Line 70:
 
To get the C compiler and assembler to handle the NEON and assembly files, we have to pass the right flags to cmake. The following worked for me:
 
To get the C compiler and assembler to handle the NEON and assembly files, we have to pass the right flags to cmake. The following worked for me:
  
<pre>cmake [other options] -DCMAKE_C_FLAGS="-march=armv7-a -mthumb-interwork -mfloat-abi=hard -mfpu=neon -mtune=cortex-a9" -DCMAKE_ASM_FLAGS="-march=armv7-a -mthumb-interwork -mfloat-abi=hard -mfpu=neon" </pre>
+
<pre>cmake [other options] -DCMAKE_C_FLAGS=&quot;-march=armv7-a -mthumb-interwork -mfloat-abi=hard -mfpu=neon -mtune=cortex-a9&quot; -DCMAKE_ASM_FLAGS=&quot;-march=armv7-a -mthumb-interwork -mfloat-abi=hard -mfpu=neon&quot; </pre>
 
= (PRELIMINARY) Provided SDKs =
 
= (PRELIMINARY) Provided SDKs =
  
Line 133: Line 133:
 
When following the manifest instructions, before running bitbake, edit '''conf/local.conf'''. The main changes we use to build the different SDKs involve adding support for static libraries and toggle GUI support on/off. The following example is what we used to build the non-GUI version of the SDK that also includes static libraries for all of our programs.
 
When following the manifest instructions, before running bitbake, edit '''conf/local.conf'''. The main changes we use to build the different SDKs involve adding support for static libraries and toggle GUI support on/off. The following example is what we used to build the non-GUI version of the SDK that also includes static libraries for all of our programs.
  
<pre>#DISTRO_FEATURES_append = " opengl x11"
+
<pre>#DISTRO_FEATURES_append = &quot; opengl x11&quot;
  
SDKIMAGE_FEATURES = "dev-pkgs dbg-pkgs staticdev-pkgs"
+
SDKIMAGE_FEATURES = &quot;dev-pkgs dbg-pkgs staticdev-pkgs&quot;
  
PACKAGECONFIG_append_pn-volk = " staticlibs "
+
PACKAGECONFIG_append_pn-volk = &quot; staticlibs &quot;
PACKAGECONFIG_append_pn-uhd = " staticlibs "
+
PACKAGECONFIG_append_pn-uhd = &quot; staticlibs &quot;
PACKAGECONFIG_pn-gnuradio = " uhd logging ctrlport zeromq staticlibs "
+
PACKAGECONFIG_pn-gnuradio = &quot; uhd logging ctrlport zeromq staticlibs &quot;
PACKAGECONFIG_pn-gr-osmosdr = "uhd rtl-sdr hackrf rfspace "</pre>
+
PACKAGECONFIG_pn-gr-osmosdr = &quot;uhd rtl-sdr hackrf rfspace &quot;</pre>
The DISTRO_FEATURES can be uncommented to add back in GUI support. When enabling GUI support, we can also add "grc" and "qtgui" to the PACKAGECONFIG_pn-gnuradio line. This example also removed "bladerf" from the list of supported gr-osmosdr devices because it does not currently build a static library. If static libraries are of no concern, adding "bladerf" to this line re-enables that device.
+
The DISTRO_FEATURES can be uncommented to add back in GUI support. When enabling GUI support, we can also add &quot;grc&quot; and &quot;qtgui&quot; to the PACKAGECONFIG_pn-gnuradio line. This example also removed &quot;bladerf&quot; from the list of supported gr-osmosdr devices because it does not currently build a static library. If static libraries are of no concern, adding &quot;bladerf&quot; to this line re-enables that device.
  
 
= Reporting Problems and Bugs =
 
= Reporting Problems and Bugs =

Please note that all contributions to GNU Radio are considered to be released under the Creative Commons Attribution-ShareAlike (see GNU Radio:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel | Editing help (opens in new window)