-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 366ff2d
Showing
15 changed files
with
1,586 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
build/ | ||
bb8.raw | ||
firmware.fw |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../submodules/odroid-go-firmware/components/ugui/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
Oops, something went wrong.