-
Notifications
You must be signed in to change notification settings - Fork 217
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #909 from llange/mongoose-dependencies-version
mongoose: identify dependencies, and generate a version header
- Loading branch information
Showing
22 changed files
with
120 additions
and
14 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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# requirements can't depend on config | ||
idf_component_register(SRCS "src/can.cpp" "src/canformat.cpp" "src/canformat_canswitch.cpp" "src/canformat_crtd.cpp" "src/canformat_gvret.cpp" "src/canformat_lawicel.cpp" "src/canformat_panda.cpp" "src/canformat_pcap.cpp" "src/canformat_raw.cpp" "src/canlog.cpp" "src/canlog_monitor.cpp" "src/canlog_tcpclient.cpp" "src/canlog_tcpserver.cpp" "src/canlog_udpclient.cpp" "src/canlog_udpserver.cpp" "src/canlog_vfs.cpp" "src/canplay.cpp" "src/canplay_vfs.cpp" "src/canutils.cpp" | ||
INCLUDE_DIRS src | ||
PRIV_REQUIRES "main" "pcp" "ovms_buffer" | ||
PRIV_REQUIRES "main" "pcp" "ovms_buffer" "mongoose" | ||
WHOLE_ARCHIVE) |
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
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
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
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
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
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
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
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 @@ | ||
mg_version.h |
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,24 @@ | ||
/* GENERATED FILE */ | ||
|
||
/** Major version number (X.x.x) */ | ||
#define MG_VERSION_MAJOR @MG_VERSION_MAJOR@ | ||
/** Minor version number (x.X.x) */ | ||
#define MG_VERSION_MINOR @MG_VERSION_MINOR@ | ||
/** Patch version number (x.x.X) */ | ||
#define MG_VERSION_PATCH @MG_VERSION_PATCH@ | ||
|
||
/** | ||
* Macro to convert MG version number into an integer | ||
* | ||
* To be used in comparisons, such as MG_VERSION_NUMBER >= MG_VERSION_VAL(7, 0, 0) | ||
*/ | ||
#define MG_VERSION_VAL(major, minor, patch) ((major << 16) | (minor << 8) | (patch)) | ||
|
||
/** | ||
* Current MG version, as an integer | ||
* | ||
* To be used in comparisons, such as MG_VERSION_NUMBER >= MG_VERSION_VAL(4, 0, 0) | ||
*/ | ||
#define MG_VERSION_NUMBER MG_VERSION_VAL(MG_VERSION_MAJOR, \ | ||
MG_VERSION_MINOR, \ | ||
MG_VERSION_PATCH) |
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,8 @@ | ||
# This is the equivalent to `Makefile.projbuild` before CMAKE build system | ||
|
||
if (CONFIG_OVMS_SC_GPL_MONGOOSE) | ||
|
||
idf_build_set_property(COMPILE_OPTIONS "-mlongcalls" APPEND) | ||
idf_build_set_property(COMPILE_OPTIONS "-DMG_LOCALS" APPEND) | ||
|
||
endif () |
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
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
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
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
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
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
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
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
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
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
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