{"id":168,"date":"2013-02-02T21:42:41","date_gmt":"2013-02-03T04:42:41","guid":{"rendered":"http:\/\/heidmann.com\/?p=168"},"modified":"2013-02-02T21:52:49","modified_gmt":"2013-02-03T04:52:49","slug":"raspberry-pi","status":"publish","type":"post","link":"https:\/\/heidmann.com\/?p=168","title":{"rendered":"Raspberry Pi"},"content":{"rendered":"<p>This weekend I finally got a raspberry pi, and I have to admit, I&#8217;m a bit excited. Since the beginning of my career as a software engineer, most of my time has been spent developing embedded software (some of it real time, some of it safety critical). My current employer, iTRACS, doesn&#8217;t do any embedded work, so this little &#8220;dev board&#8221; (that&#8217;s what we call boards purposed specifically for development &#8211; playing around, really) will give me the opportunity to keep my embedded skills from getting all rusty.<\/p>\n<div class=\"flagallery phantom_skin\" id=\"FlaGallery_sc1_1\" ><style type=\"text\/css\" class=\"flagallery_skin_style_import\">#FlaGallery_sc1_1 .flagPhantom_ThumbContainer {width:200px; height:180px;}#FlaGallery_sc1_1 .flagPhantom_MobileView .flagPhantom_ThumbContainer {width:150px; height:135px;}#FlaGallery_sc1_1 .flagPhantom_Container {margin-left:auto;margin-right:auto;}#FlaGallery_sc1_1 .flagPhantom_ThumbContainer {margin:8px 0 0 8px;}#FlaGallery_sc1_1 .flagPhantom_ThumbContainer {padding:2px;}#FlaGallery_sc1_1 .flagPhantom_LabelBottom .flagPhantom_ThumbContainer {padding-bottom:36px;}#FlaGallery_sc1_1 .flagPhantom_ThumbContainer,#FlaGallery_sc1_1 .flagPhantom_LabelBottom .flagPhantom_ThumbLabel {background-color:#ffffff;}#FlaGallery_sc1_1 .flagPhantom_ThumbContainer .flagPhantom_Thumb {opacity:0.9;}#FlaGallery_sc1_1 .flagPhantom_ThumbContainer:hover .flagPhantom_Thumb {opacity:1;}#FlaGallery_sc1_1 .flagPhantom_ThumbContainer {border:1px solid #cccccc;}#FlaGallery_sc1_1 .flagPhantom_ThumbContainer {box-shadow:0 0 5px -2px #cccccc;}#FlaGallery_sc1_1 .flagPhantom_ThumbLabel {color:#0b0b0b;}#FlaGallery_sc1_1 .flagPhantom_ThumbLabel a {color:#3695E7;}#FlaGallery_sc1_1 .flagPhantom_LabelInside .flagPhantom_ThumbLabel,#FlaGallery_sc1_1 .flagPhantom_LabelHover .flagPhantom_ThumbLabel {color:#ffffff;}#FlaGallery_sc1_1 .flagPhantom_LabelInside .flagPhantom_ThumbLabel a,#FlaGallery_sc1_1 .flagPhantom_LabelHover .flagPhantom_ThumbLabel a,#FlaGallery_sc1_1 .flagPhantom_LabelInside .flagPhantom_ThumbLabel a:hover,#FlaGallery_sc1_1 .flagPhantom_LabelHover .flagPhantom_ThumbLabel a:hover {color:#e7e179;}<\/style> <div class=\"flagPhantom_Container noLightbox\" style=\"opacity:0\"> <h3>rpi<\/h3> <div class=\"flagPhantom_thumbsWrapper flagPhantom_ThumbScale flagPhantom_LabelHover\"> <\/div> <\/div> <script type=\"text\/javascript\"> jQuery(function(){ var settings = {\"maxheight\":\"0\",\"thumbCols\":\"0\",\"thumbRows\":\"0\",\"thumbsNavigation\":\"scroll\",\"bgColor\":\"#ffffff\",\"bgAlpha\":\"0\",\"thumbWidth\":\"200\",\"thumbHeight\":\"180\",\"thumbWidthMobile\":\"150\",\"thumbHeightMobile\":\"135\",\"thumbsSpacing\":\"8\",\"thumbsVerticalPadding\":\"4\",\"thumbsHorizontalPadding\":\"4\",\"thumbsAlign\":\"center\",\"thumbScale\":\"1\",\"thumbBG\":\"#ffffff\",\"thumbAlpha\":\"90\",\"thumbAlphaHover\":\"100\",\"thumbBorderSize\":\"1\",\"thumbBorderColor\":\"#cccccc\",\"thumbPadding\":\"2\",\"thumbsInfo\":\"label\",\"labelOnHover\":\"1\",\"labelTextColor\":\"#ffffff\",\"labelLinkColor\":\"#e7e179\",\"label8TextColor\":\"#0b0b0b\",\"label8LinkColor\":\"#3695E7\",\"tooltipTextColor\":\"#0b0b0b\",\"tooltipBgColor\":\"#ffffff\",\"tooltipStrokeColor\":\"#000000\",\"lightboxControlsColor\":\"#ffffff\",\"lightboxTitleColor\":\"#f3f3f3\",\"lightboxTextColor\":\"#f3f3f3\",\"lightboxBGColor\":\"#0b0b0b\",\"lightboxBGAlpha\":\"80\",\"socialShareEnabled\":\"1\",\"deepLinks\":\"1\",\"sidebarBGColor\":\"#ffffff\",\"lightbox800HideArrows\":\"0\",\"viewsEnabled\":\"1\",\"likesEnabled\":\"1\",\"thumb2link\":\"0\",\"show_title\":\"1\",\"initRPdelay\":\"200\",\"key\":\"\",\"name\":\"\",\"mfp_css\":\"\\r\\n#mfp_gm_sc1_1 .mfp-arrow-right:after,\\r\\n#mfp_gm_sc1_1 .mfp-arrow-right .mfp-a {border-left-color:#ffffff;}\\r\\n#mfp_gm_sc1_1 .mfp-arrow-left:after,\\r\\n#mfp_gm_sc1_1 .mfp-arrow-left .mfp-a {border-right-color:#ffffff;}\\r\\n#mfp_gm_sc1_1 .mfp-close,\\r\\n#mfp_gm_sc1_1 .mfp-likes,\\r\\n#mfp_gm_sc1_1 .mfp-share {color:#ffffff;}\\r\\n#mfp_gm_sc1_1 .mfp-preloader {background-color:#ffffff;}\\r\\n#mfp_gm_sc1_1 .flagPhantom_title,\\r\\n#mfp_gm_sc1_1 .mfp-counter {color:#f3f3f3;}\\r\\n#mfp_gm_sc1_1 .flagPhantom_text {color:#f3f3f3;}\\r\\n#mfp_gm_sc1_1_bg.mfp-bg {background-color:#0b0b0b;}\\r\\n#mfp_gm_sc1_1_bg.mfp-bg {opacity:0.8;}\\r\\n#mfp_gm_sc1_1_bg.mfp-zoom-in.mfp-bg {opacity:0}\\r\\n#mfp_gm_sc1_1_bg.mfp-zoom-in.mfp-ready.mfp-bg {opacity:0.8;}\\r\\n#mfp_gm_sc1_1_bg.mfp-zoom-in.mfp-removing.mfp-bg {opacity:0}\"}; jQuery('#FlaGallery_sc1_1').flagPhantom([settings]); }); <\/script><\/div><noscript id=\"noscript_FlaGallery_sc1_1\"><\/noscript>\n<p>&nbsp;<\/p>\n<p>The raspberry pi is a computer, albeit a very small and cheap one (and it, for all practical purposes, is an embedded computer). The whole thing is only a bit larger than a credit card, has a 700MHz ARM processor, an ethernet port, two USB ports, and GPIO (general purpose I\/O) pins (and a few other things). It does not have a disk drive, but rather boots of off an SD card (yup, the same ones that cameras use). My raspberry pi is currently running an optimized Debian Linux called &#8220;Rasbian&#8221;. It was one of the pre-built images available from raspberry pi. It will do for now (but who knows what I&#8217;ll do later).<\/p>\n<p>Once I got the board off of its back (that is, got it to boot), I went about getting a cross tool chain working on my desktop Linux box. This will allow me to build (compile) programs on my big, beefy desktop and transfer the resulting executable to my &#8220;razz&#8221; directly. It is <span style=\"text-decoration: underline;\"><strong>much<\/strong><\/span> better build on my desktop than to attempt it on the little pi.<\/p>\n<p>Also, since I am a C++ developer, I make frequent use of the boost libraries. These I also had to cross compile (using my shiny new cross tool chain). It took a bit of doin&#8217;, but I eventually figured it out. I went ahead and built some C++ code I had previously developed, and, after downloading the new boost libraries to my &#8220;razz&#8221;, the code executed without a hitch!<\/p>\n<p>I love it when a plan comes together!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This weekend I finally got a raspberry pi, and I have to admit, I&#8217;m a bit excited. Since the beginning of my career as a software engineer, most of my time has been spent developing embedded software (some of it real time, some of it safety critical). My current employer, &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"spay_email":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false},"categories":[9],"tags":[],"jetpack_featured_media_url":"","jetpack_publicize_connections":[],"jetpack_shortlink":"https:\/\/wp.me\/p30iYF-2I","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/heidmann.com\/index.php?rest_route=\/wp\/v2\/posts\/168"}],"collection":[{"href":"https:\/\/heidmann.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/heidmann.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/heidmann.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/heidmann.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=168"}],"version-history":[{"count":4,"href":"https:\/\/heidmann.com\/index.php?rest_route=\/wp\/v2\/posts\/168\/revisions"}],"predecessor-version":[{"id":174,"href":"https:\/\/heidmann.com\/index.php?rest_route=\/wp\/v2\/posts\/168\/revisions\/174"}],"wp:attachment":[{"href":"https:\/\/heidmann.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=168"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/heidmann.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=168"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/heidmann.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=168"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}