-
Notifications
You must be signed in to change notification settings - Fork 1k
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
1 parent
77cf5c6
commit 27acc2e
Showing
29 changed files
with
189 additions
and
93 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,7 +1,13 @@ | ||
; Common settings for ESP targes, mixin with extends = esp32_base | ||
[esp32_base] | ||
extends = arduino_base | ||
platform = platformio/[email protected] | ||
platform = https://github.com/platformio/platform-espressif32.git | ||
platform_packages = | ||
framework-arduinoespressif32@https://github.com/espressif/arduino-esp32#3.0.0-rc3 | ||
platformio/framework-arduinoespressif32-libs@https://github.com/espressif/esp32-arduino-libs.git#9a202d7075a535ab8f563ed7cdb9960a6d3e3f80 | ||
espressif/toolchain-riscv32-esp@^12.2.0 | ||
espressif/toolchain-xtensa-esp32s3@^12.2.0 | ||
espressif/toolchain-xtensa-esp32@^12.2.0 | ||
|
||
build_src_filter = | ||
${arduino_base.build_src_filter} -<platform/nrf52/> -<platform/stm32wl> -<platform/rp2040> -<mesh/eth/> -<mesh/raspihttp> | ||
|
@@ -18,7 +24,7 @@ board_build.filesystem = littlefs | |
build_unflags = -fno-lto | ||
build_flags = | ||
${arduino_base.build_flags} | ||
-flto | ||
-flto=auto | ||
-Wall | ||
-Wextra | ||
-Isrc/platform/esp32 | ||
|
@@ -31,18 +37,18 @@ build_flags = | |
-DCONFIG_NIMBLE_CPP_LOG_LEVEL=2 | ||
-DCONFIG_BT_NIMBLE_MAX_CCCDS=20 | ||
-DCONFIG_BT_NIMBLE_HOST_TASK_STACK_SIZE=5120 | ||
-DESP_OPENSSL_SUPPRESS_LEGACY_WARNING | ||
-DSERIAL_BUFFER_SIZE=4096 | ||
-DLIBPAX_ARDUINO | ||
-DLIBPAX_WIFI | ||
-DLIBPAX_BLE | ||
;-DDEBUG_HEAP | ||
-include src/platform/esp32/quirks.h | ||
|
||
lib_deps = | ||
${arduino_base.lib_deps} | ||
${networking_base.lib_deps} | ||
${environmental_base.lib_deps} | ||
https://github.com/meshtastic/esp32_https_server.git#23665b3adc080a311dcbb586ed5941b5f94d6ea2 | ||
https://github.com/mskvortsov/esp32_https_server.git#mbedtls | ||
h2zero/NimBLE-Arduino@^1.4.1 | ||
https://github.com/dbSuS/libpax.git#7bcd3fcab75037505be9b122ab2b24cc5176b587 | ||
https://github.com/lewisxhe/XPowersLib.git#84b7373faea3118b6c37954d52f98b8a337148d6 | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
#include <Arduino.h> | ||
#include <functional> | ||
#include <string> | ||
|
||
#define BoolToString(x) ((x) ? "true" : "false") | ||
|
||
void replaceAll(std::string &str, const std::string &from, const std::string &to); | ||
void replaceAll(std::string &str, const std::string &from, const std::string &to); |
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
Oops, something went wrong.