-
Notifications
You must be signed in to change notification settings - Fork 0
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 2b1f4cb
Showing
16 changed files
with
3,136 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,2 @@ | ||
build | ||
.vscode |
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,43 @@ | ||
notifications: | ||
email: false | ||
|
||
language: cpp | ||
|
||
os: linux | ||
dist: bionic | ||
|
||
jobs: | ||
include: | ||
- name: "STM32" | ||
env: | ||
- TOOLCHAIN=../32blit-beta/32blit.toolchain | ||
- RELEASE_FILE=${TRAVIS_BUILD_DIR}${REPO}-${TRAVIS_TAG}-${TRAVIS_BUILD_NUMBER}-STM32 | ||
addons: | ||
apt: | ||
gcc-arm-none-eabi | ||
libnewlib-arm-none-eabi | ||
libstdc++-arm-none-eabi-newlib | ||
python3-pip | ||
python3-setuptools | ||
zip | ||
before_deploy: | ||
- make install | ||
- tar -zcf ${RELEASE_FILE}.tar.gz bin/ | ||
- zip -9 ${RELEASE_FILE}.zip bin/* | ||
deploy: | ||
provider: releases | ||
file: | ||
- ${RELEASE_FILE}.tar.gz | ||
- ${RELEASE_FILE}.zip | ||
on: | ||
tags: true | ||
edge: true | ||
|
||
install: | ||
- git clone --depth 1 https://github.com/pimoroni/32blit-beta | ||
- python3 -m pip install 32blit | ||
|
||
script: | ||
- mkdir build && cd build | ||
- cmake -DCMAKE_TOOLCHAIN_FILE=$TOOLCHAIN -DCMAKE_INSTALL_PREFIX=`pwd` -D32BLIT_PATH=../32blit-beta $CMAKE_ARGS .. | ||
- cmake --build . |
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,18 @@ | ||
cmake_minimum_required(VERSION 3.1.0) | ||
set(32BLIT_PATH "../" CACHE PATH "Path to 32blit.cmake") | ||
project(mjpeg-player) | ||
|
||
#set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -fsanitize=address") | ||
|
||
include(${32BLIT_PATH}/32blit.cmake) | ||
|
||
#add_definitions("-DPROFILER") | ||
|
||
blit_executable(mjpeg-player | ||
avi-file.cpp | ||
control-icons.cpp | ||
file-browser.cpp | ||
mjpeg-player.cpp | ||
) | ||
|
||
blit_assets_yaml(mjpeg-player assets.yml) |
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 @@ | ||
# Building | ||
|
||
``` | ||
mkdir build | ||
cd build | ||
cmake -D32BLIT_PATH=path/to/32blit-beta .. | ||
make | ||
``` | ||
|
||
(See 32Blit docs for more info) |
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 @@ | ||
assets.cpp: | ||
prefix: asset_ | ||
assets/buttons.png: buttons |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.