-
Notifications
You must be signed in to change notification settings - Fork 719
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
Showing
55 changed files
with
176 additions
and
267 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
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 |
---|---|---|
|
@@ -5,3 +5,4 @@ | |
plugins | ||
user_trunk.yaml | ||
user.yaml | ||
shims |
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,44 +1,4 @@ | ||
[esp32c3_base] | ||
extends = arduino_base | ||
platform = platformio/espressif32@^6.1.0 | ||
build_src_filter = | ||
${arduino_base.build_src_filter} -<platform/nrf52/> -<platform/stm32wl> -<platform/rp2040> -<platform/apollo3> -<mesh/eth/> | ||
upload_speed = 961200 | ||
extends = esp32_base | ||
monitor_speed = 115200 | ||
debug_init_break = tbreak setup | ||
monitor_filters = esp32_c3_exception_decoder | ||
board_build.filesystem = littlefs | ||
|
||
# Remove -DMYNEWT_VAL_BLE_HS_LOG_LVL=LOG_LEVEL_CRITICAL for low level BLE logging. | ||
# See library directory for BLE logging possible values: .pio/libdeps/tbeam/NimBLE-Arduino/src/log_common/log_common.h | ||
# This overrides the BLE logging default of LOG_LEVEL_INFO (1) from: .pio/libdeps/tbeam/NimBLE-Arduino/src/esp_nimble_cfg.h | ||
build_flags = | ||
${arduino_base.build_flags} | ||
-Wall | ||
-Wextra | ||
-Isrc/platform/esp32 | ||
-std=c++11 | ||
-DLOG_LOCAL_LEVEL=ESP_LOG_DEBUG | ||
-DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_DEBUG | ||
-DMYNEWT_VAL_BLE_HS_LOG_LVL=LOG_LEVEL_CRITICAL | ||
-DCONFIG_BT_NIMBLE_ENABLED | ||
-DCONFIG_NIMBLE_CPP_LOG_LEVEL=2 | ||
-DCONFIG_BT_NIMBLE_MAX_CCCDS=20 | ||
-DESP_OPENSSL_SUPPRESS_LEGACY_WARNING | ||
;-DDEBUG_HEAP | ||
|
||
lib_deps = | ||
${arduino_base.lib_deps} | ||
${networking_base.lib_deps} | ||
${environmental_base.lib_deps} | ||
https://github.com/meshtastic/esp32_https_server.git#23665b3adc080a311dcbb586ed5941b5f94d6ea2 | ||
h2zero/NimBLE-Arduino@^1.4.0 | ||
https://github.com/lewisxhe/XPowersLib.git#84b7373faea3118b6c37954d52f98b8a337148d6 | ||
https://github.com/meshtastic/ESP32_Codec2.git#633326c78ac251c059ab3a8c430fcdf25b41672f | ||
lib_ignore = | ||
segger_rtt | ||
ESP32 BLE Arduino | ||
|
||
; customize the partition table | ||
; http://docs.platformio.org/en/latest/platforms/espressif32.html#partition-tables | ||
board_build.partitions = partition-table.csv |
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,47 +1,16 @@ | ||
[esp32s2_base] | ||
extends = arduino_base | ||
platform = platformio/espressif32@^6.1.0 | ||
extends = esp32_base | ||
|
||
build_src_filter = | ||
${arduino_base.build_src_filter} -<platform/nrf52/> -<platform/stm32wl> -<platform/rp2040> -<platform/apollo3> -<mesh/eth/> -<nimble/> | ||
upload_speed = 961200 | ||
${esp32_base.build_src_filter} -<nimble/> | ||
|
||
monitor_speed = 115200 | ||
debug_init_break = tbreak setup | ||
monitor_filters = esp32_exception_decoder | ||
board_build.filesystem = littlefs | ||
|
||
# Remove -DMYNEWT_VAL_BLE_HS_LOG_LVL=LOG_LEVEL_CRITICAL for low level BLE logging. | ||
# See library directory for BLE logging possible values: .pio/libdeps/tbeam/NimBLE-Arduino/src/log_common/log_common.h | ||
# This overrides the BLE logging default of LOG_LEVEL_INFO (1) from: .pio/libdeps/tbeam/NimBLE-Arduino/src/esp_nimble_cfg.h | ||
build_flags = | ||
${arduino_base.build_flags} | ||
-Wall | ||
-Wextra | ||
-Isrc/platform/esp32 | ||
-std=c++11 | ||
-DLOG_LOCAL_LEVEL=ESP_LOG_DEBUG | ||
-DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_DEBUG | ||
-DMYNEWT_VAL_BLE_HS_LOG_LVL=LOG_LEVEL_CRITICAL | ||
-DAXP_DEBUG_PORT=Serial | ||
-DCONFIG_BT_NIMBLE_ENABLED | ||
-DCONFIG_NIMBLE_CPP_LOG_LEVEL=2 | ||
-DCONFIG_BT_NIMBLE_MAX_CCCDS=20 | ||
-DESP_OPENSSL_SUPPRESS_LEGACY_WARNING | ||
${esp32_base.build_flags} | ||
-DHAS_BLUETOOTH=0 | ||
;-DDEBUG_HEAP | ||
|
||
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/lewisxhe/XPowersLib.git#84b7373faea3118b6c37954d52f98b8a337148d6 | ||
https://github.com/meshtastic/ESP32_Codec2.git#633326c78ac251c059ab3a8c430fcdf25b41672f | ||
|
||
lib_ignore = | ||
segger_rtt | ||
ESP32 BLE Arduino | ||
|
||
; customize the partition table | ||
; http://docs.platformio.org/en/latest/platforms/espressif32.html#partition-tables | ||
board_build.partitions = partition-table.csv | ||
${esp32_base.lib_ignore} | ||
NimBLE-Arduino | ||
|
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,47 +1,3 @@ | ||
[esp32s3_base] | ||
extends = arduino_base | ||
platform = platformio/espressif32@^6.1.0 | ||
build_src_filter = | ||
${arduino_base.build_src_filter} -<platform/nrf52/> -<platform/stm32wl> -<platform/rp2040> -<platform/apollo3> -<mesh/eth/> | ||
upload_speed = 961200 | ||
extends = esp32_base | ||
monitor_speed = 115200 | ||
debug_init_break = tbreak setup | ||
monitor_filters = esp32_exception_decoder | ||
board_build.filesystem = littlefs | ||
|
||
# Remove -DMYNEWT_VAL_BLE_HS_LOG_LVL=LOG_LEVEL_CRITICAL for low level BLE logging. | ||
# See library directory for BLE logging possible values: .pio/libdeps/tbeam/NimBLE-Arduino/src/log_common/log_common.h | ||
# This overrides the BLE logging default of LOG_LEVEL_INFO (1) from: .pio/libdeps/tbeam/NimBLE-Arduino/src/esp_nimble_cfg.h | ||
build_flags = | ||
${arduino_base.build_flags} | ||
-Wall | ||
-Wextra | ||
-Isrc/platform/esp32 | ||
-std=c++11 | ||
-DLOG_LOCAL_LEVEL=ESP_LOG_DEBUG | ||
-DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_DEBUG | ||
-DMYNEWT_VAL_BLE_HS_LOG_LVL=LOG_LEVEL_CRITICAL | ||
-DAXP_DEBUG_PORT=Serial | ||
-DCONFIG_BT_NIMBLE_ENABLED | ||
-DCONFIG_NIMBLE_CPP_LOG_LEVEL=2 | ||
-DCONFIG_BT_NIMBLE_MAX_CCCDS=20 | ||
-DESP_OPENSSL_SUPPRESS_LEGACY_WARNING | ||
;-DDEBUG_HEAP | ||
|
||
lib_deps = | ||
${arduino_base.lib_deps} | ||
${networking_base.lib_deps} | ||
${environmental_base.lib_deps} | ||
https://github.com/meshtastic/esp32_https_server.git#23665b3adc080a311dcbb586ed5941b5f94d6ea2 | ||
h2zero/NimBLE-Arduino@^1.4.0 | ||
https://github.com/lewisxhe/XPowersLib.git#84b7373faea3118b6c37954d52f98b8a337148d6 | ||
https://github.com/meshtastic/ESP32_Codec2.git#633326c78ac251c059ab3a8c430fcdf25b41672f | ||
|
||
lib_ignore = | ||
segger_rtt | ||
ESP32 BLE Arduino | ||
|
||
; customize the partition table | ||
; http://docs.platformio.org/en/latest/platforms/espressif32.html#partition-tables | ||
board_build.partitions = partition-table.csv | ||
|
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,18 +1,20 @@ | ||
[nrf52_base] | ||
; Instead of the standard nordicnrf52 platform, we use our fork which has our added variant files | ||
platform = platformio/nordicnrf52@^9.5.0 | ||
|
||
extends = arduino_base | ||
|
||
build_type = debug ; I'm debugging with ICE a lot now | ||
build_flags = | ||
${arduino_base.build_flags} -Wno-unused-variable | ||
-Isrc/platform/nrf52 | ||
|
||
build_src_filter = | ||
${arduino_base.build_src_filter} -<platform/esp32/> -<platform/stm32wl> -<nimble/> -<mesh/api/> -<mesh/http/> -<modules/esp32> -<mqtt/> -<platform/rp2040> -<platform/apollo3> -<mesh/eth/> | ||
|
||
lib_deps= | ||
${arduino_base.lib_deps} | ||
jgromes/RadioLib@^6.0.0 | ||
|
||
lib_ignore = | ||
BluetoothOTA | ||
|
||
; Note: By default no lora device is created for this build - it uses a simulated interface | ||
[env:feather_nrf52832] | ||
extends = nrf52_base | ||
board = adafruit_feather_nrf52832 | ||
|
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,7 @@ | ||
[nrf52832_base] | ||
extends = nrf52_base | ||
|
||
build_flags = ${nrf52_base.build_flags} | ||
|
||
lib_deps = | ||
${nrf52_base.lib_deps} |
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,14 +1,9 @@ | ||
[nrf52840_base] | ||
extends = nrf52_base | ||
|
||
build_flags = ${nrf52_base.build_flags} | ||
|
||
lib_deps = | ||
${arduino_base.lib_deps} | ||
${nrf52_base.lib_deps} | ||
${environmental_base.lib_deps} | ||
https://github.com/Kongduino/Adafruit_nRFCrypto.git#e31a8825ea3300b163a0a3c1ddd5de34e10e1371 | ||
|
||
; Note: By default no lora device is created for this build - it uses a simulated interface | ||
[env:nrf52840dk] | ||
extends = nrf52840_base | ||
board = nrf52840_dk | ||
|
||
|
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
Oops, something went wrong.