{"id":234,"date":"2014-10-01T10:55:22","date_gmt":"2014-09-30T22:55:22","guid":{"rendered":"http:\/\/www.herbert.org.nz\/?p=234"},"modified":"2014-10-01T10:56:41","modified_gmt":"2014-09-30T22:56:41","slug":"compiling-sama5d3-software-package-on-osx","status":"publish","type":"post","link":"https:\/\/www.herbert.org.nz\/?p=234","title":{"rendered":"Compiling SAMA5D3 Software Package on OSX"},"content":{"rendered":"<p>The package can be downloaded from Atmel <a href=\"http:\/\/www.atmel.com\/tools\/SAMA5D3SOFTWAREPACKAGE.aspx\" title=\"SAMA5D3 Software Package\">here<\/a>.<\/p>\n<p>Once you have the gcc arm toolchain installed this pretty much compiles cleanly, except in the output I noticed it trying to cleanup using a cs-rm command. A quick google search discovered this is the legacy code sourcery rm command. I just added link for cs-rm to my \/usr\/local\/arm-gcc\/bin directory :<br \/>\n<code>ln -s \/bin\/rm \/usr\/local\/arm-gcc\/bin\/cs-rm<\/code><\/p>\n<p>The alternative is to find and replace all instances on cs-rm with just rm, but I&#8217;d have to do that everytime I update the software package, so I settled on just linking cs-rm to rm.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The package can be downloaded from Atmel here. Once you have the gcc arm toolchain installed this pretty much compiles cleanly, except in the output I noticed it trying to cleanup using a cs-rm command. A quick google search discovered &hellip; <a href=\"https:\/\/www.herbert.org.nz\/?p=234\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/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,"footnotes":""},"categories":[11,10],"tags":[],"class_list":["post-234","post","type-post","status-publish","format-standard","hentry","category-arm","category-atmel"],"_links":{"self":[{"href":"https:\/\/www.herbert.org.nz\/index.php?rest_route=\/wp\/v2\/posts\/234","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.herbert.org.nz\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.herbert.org.nz\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.herbert.org.nz\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.herbert.org.nz\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=234"}],"version-history":[{"count":2,"href":"https:\/\/www.herbert.org.nz\/index.php?rest_route=\/wp\/v2\/posts\/234\/revisions"}],"predecessor-version":[{"id":236,"href":"https:\/\/www.herbert.org.nz\/index.php?rest_route=\/wp\/v2\/posts\/234\/revisions\/236"}],"wp:attachment":[{"href":"https:\/\/www.herbert.org.nz\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=234"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.herbert.org.nz\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=234"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.herbert.org.nz\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=234"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}