Skip to content

Commit

Permalink
Version 1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
yet-another-fuzzi committed Nov 29, 2020
1 parent 7c6cb02 commit c1ba135
Show file tree
Hide file tree
Showing 30 changed files with 9,794 additions and 0 deletions.
32 changes: 32 additions & 0 deletions firmware/.cproject
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?fileVersion 4.0.0?><cproject storage_type_id="org.eclipse.cdt.core.XmlProjectDescriptionStorage">

<storageModule moduleId="org.eclipse.cdt.core.settings">

<cconfiguration id="org.eclipse.cdt.core.default.config.237102618">

<storageModule buildSystemId="org.eclipse.cdt.core.defaultConfigDataProvider" id="org.eclipse.cdt.core.default.config.237102618" moduleId="org.eclipse.cdt.core.settings" name="Configuration">

<externalSettings/>

<extensions/>

</storageModule>

<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>

</cconfiguration>

</storageModule>

<storageModule moduleId="org.eclipse.cdt.core.pathentry">

<pathentry kind="src" path=""/>

<pathentry excluding="**/CMakeFiles/**" kind="out" path="build"/>

</storageModule>

<storageModule moduleId="org.eclipse.cdt.core.LanguageSettingsProviders"/>

</cproject>
20 changes: 20 additions & 0 deletions firmware/.project
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>ftMusicBox</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.cdt.core.cBuilder</name>
<triggers>clean,full,incremental,</triggers>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.cdt.core.cnature</nature>
<nature>org.eclipse.cdt.core.ccnature</nature>
<nature>com.espressif.idf.core.idfNature</nature>
</natures>
</projectDescription>
7 changes: 7 additions & 0 deletions firmware/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# The following lines of boilerplate have to be in your project's
# CMakeLists in this exact order for cmake to work correctly
cmake_minimum_required(VERSION 3.5)

include($ENV{ADF_PATH}/CMakeLists.txt)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(ftcSoundBar)
9 changes: 9 additions & 0 deletions firmware/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#
# This is a project Makefile. It is assumed the directory this Makefile resides in is a
# project subdirectory.
#

PROJECT_NAME := ftSoundBar

include $(ADF_PATH)/project.mk

10 changes: 10 additions & 0 deletions firmware/main/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Edit following two lines to set component requirements (see docs)
set(COMPONENT_REQUIRES )
set(COMPONENT_PRIV_REQUIRES )

set(COMPONENT_SRCS "ftcSoundBar.c")
set(COMPONENT_ADD_INCLUDEDIRS ".")

set(COMPONENT_EMBED_FILES "img/cocktail.svg" "img/play.svg" "img/next.svg" "img/previous.svg" "img/stop.svg" "img/random.svg" "img/redo.svg" "img/volumeup.svg" "img/volumedown.svg" "img/cog.svg" "header.html" "footer.html" "img/favicon.ico" "styles.css" "img/ftcsoundbarlogo.svg" )

register_component()
14 changes: 14 additions & 0 deletions firmware/main/Kconfig.projbuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# put here your custom config value
menu "Example Configuration"
config ESP_WIFI_SSID
string "WiFi SSID"
default "myssid"
help
SSID (network name) for the example to connect to.

config ESP_WIFI_PASSWORD
string "WiFi Password"
default "mypassword"
help
WiFi password (WPA or WPA2) for the example to use.
endmenu
20 changes: 20 additions & 0 deletions firmware/main/component.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#
# "main" pseudo-component makefile.
#
# (Uses default behaviour of compiling all source files in directory, adding 'include' to include path.)

COMPONENT_EMBED_FILES := header.html
COMPONENT_EMBED_FILES += footer.html
COMPONENT_EMBED_FILES += ftcsoundbarlogo.svg
COMPONENT_EMBED_FILES += cocktail.svg
COMPONENT_EMBED_FILES += previous.svg
COMPONENT_EMBED_FILES += next.svg
COMPONENT_EMBED_FILES += play.svg
COMPONENT_EMBED_FILES += stop.svg
COMPONENT_EMBED_FILES += random.svg
COMPONENT_EMBED_FILES += redo.svg
COMPONENT_EMBED_FILES += volumneup.svg
COMPONENT_EMBED_FILES += volumnedown.svg
COMPONENT_EMBED_FILES += cog.svg
COMPONENT_EMBED_FILES += favicon.ico
COMPONENT_EMBED_FILES += styles.css
11 changes: 11 additions & 0 deletions firmware/main/footer.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<div class="small" >
<nav> </nav>
<!-- <hr > !-->
<br />
<p><img src="img/cocktail.svg" height="8px" ></img>
&nbsp; (C) 2020 by Oliver Schmiel, Christian Bergschneider & Stefan Fuss &nbsp;
<img src="img/cocktail.svg" height="8px" ></img></p>
<br />
</div>
</body>
</html>
Loading

0 comments on commit c1ba135

Please sign in to comment.