Partitially done
This commit is contained in:
@ -1,4 +1,4 @@
|
|||||||
set(headers
|
set(BOBBY_HEADERS
|
||||||
accessorhelpers.h
|
accessorhelpers.h
|
||||||
accessors/globalaccessors.h
|
accessors/globalaccessors.h
|
||||||
accessors/settingsaccessors.h
|
accessors/settingsaccessors.h
|
||||||
@ -159,6 +159,8 @@ set(headers
|
|||||||
displays/qrcodedebug.h
|
displays/qrcodedebug.h
|
||||||
displays/qrdisplay.h
|
displays/qrdisplay.h
|
||||||
displays/qrimportdisplay.h
|
displays/qrimportdisplay.h
|
||||||
|
displays/setup/bobbycloudconfig.h
|
||||||
|
displays/setup/screenorientation.h
|
||||||
displays/speedinfodisplay.h
|
displays/speedinfodisplay.h
|
||||||
displays/spirodisplay.h
|
displays/spirodisplay.h
|
||||||
displays/starfielddisplay.h
|
displays/starfielddisplay.h
|
||||||
@ -259,7 +261,7 @@ set(headers
|
|||||||
wifiguiutils.h
|
wifiguiutils.h
|
||||||
)
|
)
|
||||||
|
|
||||||
set(sources
|
set(BOBBY_SOURCES
|
||||||
accessors/wifistaconfigaccessors.cpp
|
accessors/wifistaconfigaccessors.cpp
|
||||||
actions/assertaction.cpp
|
actions/assertaction.cpp
|
||||||
actions/bluetoothbeginaction.cpp
|
actions/bluetoothbeginaction.cpp
|
||||||
@ -410,6 +412,8 @@ set(sources
|
|||||||
displays/qrcodedebug.cpp
|
displays/qrcodedebug.cpp
|
||||||
displays/qrdisplay.cpp
|
displays/qrdisplay.cpp
|
||||||
displays/qrimportdisplay.cpp
|
displays/qrimportdisplay.cpp
|
||||||
|
displays/setup/bobbycloudconfig.cpp
|
||||||
|
displays/setup/screenorientation.cpp
|
||||||
displays/speedinfodisplay.cpp
|
displays/speedinfodisplay.cpp
|
||||||
displays/spirodisplay.cpp
|
displays/spirodisplay.cpp
|
||||||
displays/starfielddisplay.cpp
|
displays/starfielddisplay.cpp
|
||||||
@ -519,14 +523,16 @@ set(dependencies
|
|||||||
|
|
||||||
idf_component_register(
|
idf_component_register(
|
||||||
SRCS
|
SRCS
|
||||||
${headers}
|
${BOBBY_HEADERS}
|
||||||
${sources}
|
${BOBBY_SOURCES}
|
||||||
INCLUDE_DIRS
|
INCLUDE_DIRS
|
||||||
.
|
.
|
||||||
REQUIRES
|
REQUIRES
|
||||||
${dependencies}
|
${dependencies}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
add_library(bobbyboardcomputer ${BOBBY_SOURCES} ${BOBBY_HEADERS})
|
||||||
|
|
||||||
execute_process(COMMAND git rev-parse HEAD
|
execute_process(COMMAND git rev-parse HEAD
|
||||||
OUTPUT_VARIABLE GIT_REV ERROR_QUIET
|
OUTPUT_VARIABLE GIT_REV ERROR_QUIET
|
||||||
)
|
)
|
||||||
|
1
main/displays/setup/bobbycloudconfig.cpp
Normal file
1
main/displays/setup/bobbycloudconfig.cpp
Normal file
@ -0,0 +1 @@
|
|||||||
|
#include "bobbycloudconfig.h"
|
1
main/displays/setup/bobbycloudconfig.h
Normal file
1
main/displays/setup/bobbycloudconfig.h
Normal file
@ -0,0 +1 @@
|
|||||||
|
#pragma once
|
1
main/displays/setup/screenorientation.cpp
Normal file
1
main/displays/setup/screenorientation.cpp
Normal file
@ -0,0 +1 @@
|
|||||||
|
#include "screenorientation.h"
|
1
main/displays/setup/screenorientation.h
Normal file
1
main/displays/setup/screenorientation.h
Normal file
@ -0,0 +1 @@
|
|||||||
|
#pragma once
|
@ -487,6 +487,8 @@ public:
|
|||||||
ConfigWrapperLegacy<bool> bleFenceEnabled {false, DoReset, {}, "bleFenceEnabled" };
|
ConfigWrapperLegacy<bool> bleFenceEnabled {false, DoReset, {}, "bleFenceEnabled" };
|
||||||
} bleSettings;
|
} bleSettings;
|
||||||
|
|
||||||
|
ConfigWrapperLegacy<bool> setupDone {false, DoReset, {}, "setupDone" };
|
||||||
|
|
||||||
#define NEW_SETTINGS(x) \
|
#define NEW_SETTINGS(x) \
|
||||||
x(baseMacAddressOverride) \
|
x(baseMacAddressOverride) \
|
||||||
x(hostname) \
|
x(hostname) \
|
||||||
|
Reference in New Issue
Block a user