Adding Swap Memory to the Beaglebone Black

Reading Time: 2 minutes

I recently needed to build Python 3.6 from source on the BeagleBone Black for a robotics project and discovered that the build would always fail after running out of memory. Who could have figured that 512MB of RAM wasn’t enough to build Python from source?!

While I could have set up cross-compilation and performed the heavy lifting on my computer with more resources, I figured this was a perfect problem to solve by adding some swap memory to the BeagleBone Black.

Continue reading Adding Swap Memory to the Beaglebone Black

Change the Default Cloud9 Workspace on the BeagleBone Black

Reading Time: 2 minutes

The BeagleBone Black ships with a really great browser-based IDE called Cloud9, which is accessed by going to your BBB IP address at port 3000. While I don’t use Cloud9 for heavy development, it’s handy for debugging and quick changes to scripts. It also has a built-in terminal which means I can do everything in the browser.

By default Cloud9 launches a workspace at /usr/lib/cloud9, which has useful examples and scripts for all sorts of applications. I want it to point, instead, to my personal projects folder so I’ll change the default Cloud9 workspace on the BeagleBone Black to /home/debian/projects.

Continue reading Change the Default Cloud9 Workspace on the BeagleBone Black

Connecting a BeagleBone Black to the Internet over USB

Reading Time: 4 minutes

Connecting a BeagleBone Black (BBB) to the internet over USB is a simple process thanks to the internet sharing capabilities of Windows. This is extremely convenient when developing because it allows your BeagleBone Black to have an internet connection as long as your computer or laptop has one, no matter the network, and SSH access over a single USB cable.

Continue reading Connecting a BeagleBone Black to the Internet over USB