Skip to content

Commit

Permalink
Initial commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
asirinelli committed Sep 27, 2018
0 parents commit 366ff2d
Show file tree
Hide file tree
Showing 15 changed files with 1,586 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
build/
bb8.raw
firmware.fw
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "submodules/odroid-go-firmware"]
path = submodules/odroid-go-firmware
url = https://github.com/OtherCrashOverride/odroid-go-firmware.git
10 changes: 10 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#
# This is a project Makefile. It is assumed the directory this Makefile resides in is a
# project subdirectory.
#

PROJECT_NAME := bb8

COMPONENT_ADD_INCLUDEDIRS := components/include

include $(IDF_PATH)/make/project.mk
28 changes: 28 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Odroid-GO as a Sphero BB-8 remote control

Simple program to transform you Odroid-GO into a remote control for
Sphero BB-8.

## Build

1. Download the *Espressif IoT Development Framework* fork for odroid go:
`git clone https://github.com/OtherCrashOverride/esp-idf.git`
2. Set the environment variable to this directory:
`export IDF_PATH=<...>/esp-idf`
3. Setup the toolchain as described in the [ESP-IDF Programming
Guide](https://docs.espressif.com/projects/esp-idf/en/latest/get-started/linux-setup.html).
You should have updated your `PATH` environment variable to add the toolchain
programs.
4. Clone this repository and enter the created directory.
5. Pull the submodules: `git submodule init && git submodule update`
6. Edit `main/bb8.c` to change your BB-8 bluetooth MAC address (`bb8_mac`)
7. Compile: `make`
8. Flash your odroid-go: `make flash`

## Licence

Part of the code is by Antoine Sirinelli under the WTFPL.

I have used code snippets from the ESP-IDF examples and re-used some odroid-go
specific codes from
[OtherCrashOverride](https://github.com/OtherCrashOverride).
Binary file added bb8.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions components/ugui
6 changes: 6 additions & 0 deletions create_fw
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/sh
set -e

ffmpeg -y -i bb8.png -f rawvideo -pix_fmt rgb565 bb8.raw
mkfw BB8 bb8.raw 0 16 1048576 app build/bb8.bin

Loading

0 comments on commit 366ff2d

Please sign in to comment.