Increase MAX_NUM_NODES on high-flash ESP32_S3 (#6311)

This commit is contained in:
Austin 2025-03-18 21:19:51 -04:00 committed by GitHub
parent 8efc9702d3
commit 6673cb9292
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
34 changed files with 155 additions and 79 deletions

View File

@ -17,7 +17,6 @@ build_flags =
-DLFS_NO_ASSERT ; Disable LFS assertions , see https://github.com/meshtastic/firmware/pull/3818 -DLFS_NO_ASSERT ; Disable LFS assertions , see https://github.com/meshtastic/firmware/pull/3818
-DMESHTASTIC_EXCLUDE_AUDIO=1 -DMESHTASTIC_EXCLUDE_AUDIO=1
-DMESHTASTIC_EXCLUDE_PAXCOUNTER=1 -DMESHTASTIC_EXCLUDE_PAXCOUNTER=1
-DMAX_NUM_NODES=80
build_src_filter = build_src_filter =
${arduino_base.build_src_filter} -<platform/esp32/> -<platform/stm32wl> -<nimble/> -<mesh/wifi/> -<mesh/api/> -<mesh/http/> -<modules/esp32> -<platform/rp2xx0> -<mesh/eth/> -<mesh/raspihttp> ${arduino_base.build_src_filter} -<platform/esp32/> -<platform/stm32wl> -<nimble/> -<mesh/wifi/> -<mesh/api/> -<mesh/http/> -<modules/esp32> -<platform/rp2xx0> -<mesh/eth/> -<mesh/raspihttp>

View File

@ -7,12 +7,19 @@ SET "DEBUG=0"
SET "PYTHON=" SET "PYTHON="
SET "WEB_APP=0" SET "WEB_APP=0"
SET "TFT_BUILD=0" SET "TFT_BUILD=0"
SET "TFT8=0" SET "BIGDB8=0"
SET "TFT16=0" SET "BIGDB16=0"
SET "ESPTOOL_BAUD=115200" SET "ESPTOOL_BAUD=115200"
SET "ESPTOOL_CMD=" SET "ESPTOOL_CMD="
SET "LOGCOUNTER=0" SET "LOGCOUNTER=0"
@REM FIXME: Determine mcu from PlatformIO variant, this is unmaintainable.
SET "S3=s3 v3 t-deck wireless-paper wireless-tracker station-g2 unphone"
SET "C3=esp32c3"
@REM FIXME: Determine flash size from PlatformIO variant, this is unmaintainable.
SET "BIGDB_8MB=picomputer-s3 unphone seeed-sensecap-indicator crowpanel-esp32s3 heltec_capsule_sensor_v3 heltec-v3 heltec-vision-master-e213 heltec-vision-master-e290 heltec-vision-master-t190 heltec-wireless-paper heltec-wireless-tracker heltec-wsl-v3 icarus seeed-xiao-s3 tbeam-s3-core tracksenger"
SET "BIGDB_16MB=t-deck mesh-tab t-energy-s3 dreamcatcher ESP32-S3-Pico m5stack-cores3 station-g2 t-eth-elite t-watch-s3"
GOTO getopts GOTO getopts
:help :help
ECHO Flash image file to device, but first erasing and writing system information. ECHO Flash image file to device, but first erasing and writing system information.
@ -134,44 +141,36 @@ IF NOT "!FILENAME:-tft-=!"=="!FILENAME!" (
CALL :LOG_MESSAGE ERROR "Cannot enable WebUI (--web) and MUI." & GOTO eof CALL :LOG_MESSAGE ERROR "Cannot enable WebUI (--web) and MUI." & GOTO eof
) )
SET "TFT_BUILD=1" SET "TFT_BUILD=1"
GOTO tft
) ELSE ( ) ELSE (
CALL :LOG_MESSAGE DEBUG "We are NOT working with a *-tft-* file. !FILENAME!" CALL :LOG_MESSAGE DEBUG "We are NOT working with a *-tft-* file. !FILENAME!"
GOTO no_tft
) )
:tft FOR %%a IN (%BIGDB_8MB%) DO (
SET "TFT8MB=picomputer-s3 unphone seeed-sensecap-indicator"
FOR %%a IN (%TFT8MB%) DO (
IF NOT "!FILENAME:%%a=!"=="!FILENAME!" ( IF NOT "!FILENAME:%%a=!"=="!FILENAME!" (
@REM We are working with any of %TFT8MB%. @REM We are working with any of %BIGDB_8MB%.
SET "TFT8=1" SET "BIGDB8=1"
GOTO end_loop_tft8mb GOTO end_loop_bigdb_8mb
) )
) )
:end_loop_tft8mb :end_loop_bigdb_8mb
SET "TFT16MB=t-deck" FOR %%a IN (%BIGDB_16MB%) DO (
FOR %%a IN (%TFT16MB%) DO (
IF NOT "!FILENAME:%%a=!"=="!FILENAME!" ( IF NOT "!FILENAME:%%a=!"=="!FILENAME!" (
@REM We are working with any of %TFT16MB%. @REM We are working with any of %BIGDB_16MB%.
SET "TFT16=1" SET "BIGDB16=1"
GOTO end_loop_tft16mb GOTO end_loop_bigdb_16mb
) )
) )
:end_loop_tft16mb :end_loop_bigdb_16mb
IF %TFT8% EQU 1 CALL :LOG_MESSAGE INFO "tft and MUI 8mb selected." IF %BIGDB8% EQU 1 CALL :LOG_MESSAGE INFO "BigDB 8mb partition selected."
IF %TFT16% EQU 1 CALL :LOG_MESSAGE INFO "tft and MUI 16mb selected." IF %BIGDB16% EQU 1 CALL :LOG_MESSAGE INFO "BigDB 16mb partition selected."
:no_tft
@REM Extract BASENAME from %FILENAME% for later use. @REM Extract BASENAME from %FILENAME% for later use.
SET "BASENAME=!FILENAME:firmware-=!" SET "BASENAME=!FILENAME:firmware-=!"
CALL :LOG_MESSAGE DEBUG "Computed firmware basename: !BASENAME!" CALL :LOG_MESSAGE DEBUG "Computed firmware basename: !BASENAME!"
@REM Account for S3 and C3 board's different OTA partition. @REM Account for S3 and C3 board's different OTA partition.
SET "S3=s3 v3 t-deck wireless-paper wireless-tracker station-g2 unphone"
FOR %%a IN (%S3%) DO ( FOR %%a IN (%S3%) DO (
IF NOT "!FILENAME:%%a=!"=="!FILENAME!" ( IF NOT "!FILENAME:%%a=!"=="!FILENAME!" (
@REM We are working with any of %S3%. @REM We are working with any of %S3%.
@ -180,7 +179,6 @@ FOR %%a IN (%S3%) DO (
) )
) )
SET "C3=esp32c3"
FOR %%a IN (%C3%) DO ( FOR %%a IN (%C3%) DO (
IF NOT "!FILENAME:%%a=!"=="!FILENAME!" ( IF NOT "!FILENAME:%%a=!"=="!FILENAME!" (
@REM We are working with any of %C3%. @REM We are working with any of %C3%.
@ -209,14 +207,14 @@ CALL :LOG_MESSAGE DEBUG "Set SPIFFS_FILENAME to: !SPIFFS_FILENAME!"
SET "OTA_OFFSET=0x260000" SET "OTA_OFFSET=0x260000"
SET "SPIFFS_OFFSET=0x300000" SET "SPIFFS_OFFSET=0x300000"
@REM Offsets for MUI 8mb. @REM Offsets for BigDB 8mb.
IF %TFT8% EQU 1 IF %TFT_BUILD% EQU 1 ( IF %BIGDB8% EQU 1 (
SET "OTA_OFFSET=0x340000" SET "OTA_OFFSET=0x340000"
SET "SPIFFS_OFFSET=0x670000" SET "SPIFFS_OFFSET=0x670000"
) )
@REM Offsets for MUI 16mb. @REM Offsets for BigDB 16mb.
IF %TFT16% EQU 1 IF %TFT_BUILD% EQU 1 ( IF %BIGDB16% EQU 1 (
SET "OTA_OFFSET=0x650000" SET "OTA_OFFSET=0x650000"
SET "SPIFFS_OFFSET=0xc90000" SET "SPIFFS_OFFSET=0xc90000"
) )

View File

@ -2,9 +2,48 @@
PYTHON=${PYTHON:-$(which python3 python | head -n 1)} PYTHON=${PYTHON:-$(which python3 python | head -n 1)}
WEB_APP=false WEB_APP=false
TFT8=false
TFT16=false
TFT_BUILD=false TFT_BUILD=false
MCU=""
# Variant groups
BIGDB_8MB=(
"picomputer-s3"
"unphone"
"seeed-sensecap-indicator"
"crowpanel-esp32s3"
"heltec_capsule_sensor_v3"
"heltec-v3"
"heltec-vision-master-e213"
"heltec-vision-master-e290"
"heltec-vision-master-t190"
"heltec-wireless-paper"
"heltec-wireless-tracker"
"heltec-wsl-v3"
"icarus"
"seeed-xiao-s3"
"tbeam-s3-core"
"tracksenger"
)
BIGDB_16MB=(
"t-deck"
"mesh-tab"
"t-energy-s3"
"dreamcatcher"
"ESP32-S3-Pico"
"m5stack-cores3"
"station-g2"
"t-eth-elite"
"t-watch-s3"
)
S3_VARIANTS=(
"s3"
"-v3"
"t-deck"
"wireless-paper"
"wireless-tracker"
"station-g2"
"unphone"
)
# Determine the correct esptool command to use # Determine the correct esptool command to use
if "$PYTHON" -m esptool version >/dev/null 2>&1; then if "$PYTHON" -m esptool version >/dev/null 2>&1; then
@ -78,21 +117,13 @@ if [[ $FILENAME != firmware-* ]]; then
exit 1 exit 1
fi fi
# Check if FILENAME contains "-tft-" and set target partitionScheme accordingly. # Check if FILENAME contains "-tft-" and prevent web/mui comingling.
if [[ ${FILENAME//-tft-/} != "$FILENAME" ]]; then if [[ ${FILENAME//-tft-/} != "$FILENAME" ]]; then
TFT_BUILD=true TFT_BUILD=true
if [[ $WEB_APP == true ]] && [[ $TFT_BUILD == true ]]; then if [[ $WEB_APP == true ]] && [[ $TFT_BUILD == true ]]; then
echo "Cannot enable WebUI (--web) and MUI." echo "Cannot enable WebUI (--web) and MUI."
exit 1 exit 1
fi fi
if [[ $FILENAME == *"picomputer-s3"* || $FILENAME == *"unphone"* || $FILENAME == *"seeed-sensecap-indicator"* ]]; then
TFT8=true
fi
if [[ $FILENAME == *"t-deck"* ]]; then
TFT16=true
fi
fi fi
# Extract BASENAME from %FILENAME% for later use. # Extract BASENAME from %FILENAME% for later use.
@ -105,20 +136,31 @@ if [ -f "${FILENAME}" ] && [ -n "${FILENAME##*"update"*}" ]; then
# Default OTA Offset # Default OTA Offset
OTA_OFFSET=0x260000 OTA_OFFSET=0x260000
# littlefs* offset for MUI 8mb and OTA OFFSET. # littlefs* offset for BigDB 8mb and OTA OFFSET.
if [ "$TFT8" = true ] && [ "$TFT_BUILD" = true ]; then for variant in "${BIGDB_8MB[@]}"; do
if [ -n "${FILENAME##*"$variant"*}" ]; then
OFFSET=0x670000 OFFSET=0x670000
OTA_OFFSET=0x340000 OTA_OFFSET=0x340000
fi fi
done
# littlefs* offset for MUI 16mb and OTA OFFSET. # littlefs* offset for BigDB 16mb and OTA OFFSET.
if [ "$TFT16" = true ] && [ "$TFT_BUILD" = true ]; then for variant in "${BIGDB_16MB[@]}"; do
if [ -n "${FILENAME##*"$variant"*}" ]; then
OFFSET=0xc90000 OFFSET=0xc90000
OTA_OFFSET=0x650000 OTA_OFFSET=0x650000
fi fi
done
# Account for S3 board's different OTA partition # Account for S3 board's different OTA partition
if [ -n "${FILENAME##*"s3"*}" ] && [ -n "${FILENAME##*"-v3"*}" ] && [ -n "${FILENAME##*"t-deck"*}" ] && [ -n "${FILENAME##*"wireless-paper"*}" ] && [ -n "${FILENAME##*"wireless-tracker"*}" ] && [ -n "${FILENAME##*"station-g2"*}" ] && [ -n "${FILENAME##*"unphone"*}" ]; then # FIXME: Use PlatformIO info to determine MCU type, this is unmaintainable
for variant in "${S3_VARIANTS[@]}"; do
if [ -n "${FILENAME##*"$variant"*}" ]; then
MCU="esp32s3"
fi
done
if [ "$MCU" != "esp32s3" ]; then
if [ -n "${FILENAME##*"esp32c3"*}" ]; then if [ -n "${FILENAME##*"esp32c3"*}" ]; then
OTAFILE=bleota.bin OTAFILE=bleota.bin
else else

View File

@ -18,10 +18,30 @@
#define MAX_RX_TOPHONE 32 #define MAX_RX_TOPHONE 32
#endif #endif
/// max number of nodes allowed in the mesh /// max number of nodes allowed in the nodeDB
#ifndef MAX_NUM_NODES #ifndef MAX_NUM_NODES
#if defined(ARCH_STM32WL)
#define MAX_NUM_NODES 10
#elif defined(ARCH_NRF52)
#define MAX_NUM_NODES 80
#elif defined(CONFIG_IDF_TARGET_ESP32S3)
#include "Esp.h"
static inline int get_max_num_nodes()
{
uint32_t flash_size = ESP.getFlashChipSize() / (1024 * 1024); // Convert Bytes to MB
if (flash_size >= 15) {
return 250;
} else if (flash_size >= 7) {
return 200;
} else {
return 100;
}
}
#define MAX_NUM_NODES get_max_num_nodes()
#else
#define MAX_NUM_NODES 100 #define MAX_NUM_NODES 100
#endif #endif
#endif
/// Max number of channels allowed /// Max number of channels allowed
#define MAX_NUM_CHANNELS (member_size(meshtastic_ChannelFile, channels) / member_size(meshtastic_ChannelFile, channels[0])) #define MAX_NUM_CHANNELS (member_size(meshtastic_ChannelFile, channels) / member_size(meshtastic_ChannelFile, channels[0]))

View File

@ -14,7 +14,6 @@ Do not expect a working Meshtastic device with this target.
#define _VARIANT_EBYTE_E77_ #define _VARIANT_EBYTE_E77_
#define USE_STM32WLx #define USE_STM32WLx
#define MAX_NUM_NODES 10
#define LED_PIN PB4 // LED1 #define LED_PIN PB4 // LED1
// #define LED_PIN PB3 // LED2 // #define LED_PIN PB3 // LED2

View File

@ -5,6 +5,7 @@ board_build.flash_mode = qio
board_build.psram_type = opi board_build.psram_type = opi
board_upload.flash_size = 8MB board_upload.flash_size = 8MB
board_upload.maximum_size = 8388608 board_upload.maximum_size = 8388608
board_build.partitions = default_8MB.csv
board = esp32-s3-devkitc-1 board = esp32-s3-devkitc-1
;upload_port = /dev/ttyUSB0 ;upload_port = /dev/ttyUSB0
board_level = extra board_level = extra
@ -32,6 +33,7 @@ board_build.flash_mode = qio
board_build.psram_type = opi board_build.psram_type = opi
board_upload.flash_size = 8MB board_upload.flash_size = 8MB
board_upload.maximum_size = 8388608 board_upload.maximum_size = 8388608
board_build.partitions = default_8MB.csv
board = esp32-s3-devkitc-1 board = esp32-s3-devkitc-1
;upload_port = /dev/ttyUSB0 ;upload_port = /dev/ttyUSB0
board_level = extra board_level = extra
@ -59,6 +61,7 @@ board_build.flash_mode = qio
board_build.psram_type = opi board_build.psram_type = opi
board_upload.flash_size = 8MB board_upload.flash_size = 8MB
board_upload.maximum_size = 8388608 board_upload.maximum_size = 8388608
board_build.partitions = default_8MB.csv
board = esp32-s3-devkitc-1 board = esp32-s3-devkitc-1
;upload_port = /dev/ttyUSB0 ;upload_port = /dev/ttyUSB0
board_level = extra board_level = extra

View File

@ -88,6 +88,7 @@ debug_tool = jlink
[env:t-energy-s3_e22] [env:t-energy-s3_e22]
extends = esp32s3_base extends = esp32s3_base
board = esp32-s3-devkitc-1 board = esp32-s3-devkitc-1
board_build.partitions = default_16MB.csv
board_level = extra board_level = extra
board_upload.flash_size = 16MB ;Specify the FLASH capacity as 16MB board_upload.flash_size = 16MB ;Specify the FLASH capacity as 16MB
board_build.arduino.memory_type = qio_opi ;Enable internal PSRAM board_build.arduino.memory_type = qio_opi ;Enable internal PSRAM

View File

@ -1,6 +1,7 @@
[env:dreamcatcher] ; 2301, latest revision [env:dreamcatcher] ; 2301, latest revision
extends = esp32s3_base extends = esp32s3_base
board = esp32s3box board = esp32s3box
board_build.partitions = default_16MB.csv
board_level = extra board_level = extra
build_flags = build_flags =
@ -8,7 +9,7 @@ build_flags =
-D PRIVATE_HW -D PRIVATE_HW
-D OTHERNET_DC_REV=2301 -D OTHERNET_DC_REV=2301
-I variants/dreamcatcher -I variants/dreamcatcher
-DARDUINO_USB_CDC_ON_BOOT=1 -D ARDUINO_USB_CDC_ON_BOOT=1
lib_deps = ${esp32s3_base.lib_deps} lib_deps = ${esp32s3_base.lib_deps}
earlephilhower/ESP8266Audio@^1.9.9 earlephilhower/ESP8266Audio@^1.9.9
@ -17,6 +18,7 @@ lib_deps = ${esp32s3_base.lib_deps}
[env:dreamcatcher-2206] [env:dreamcatcher-2206]
extends = esp32s3_base extends = esp32s3_base
board = esp32s3box board = esp32s3box
board_build.partitions = default_16MB.csv
board_level = extra board_level = extra
build_flags = build_flags =
@ -24,4 +26,4 @@ build_flags =
-D PRIVATE_HW -D PRIVATE_HW
-D OTHERNET_DC_REV=2206 -D OTHERNET_DC_REV=2206
-I variants/dreamcatcher -I variants/dreamcatcher
-DARDUINO_USB_CDC_ON_BOOT=1 -D ARDUINO_USB_CDC_ON_BOOT=1

View File

@ -4,6 +4,7 @@ board_level = extra
extends = esp32s3_base extends = esp32s3_base
upload_protocol = esptool upload_protocol = esptool
board = esp32-s3-pico board = esp32-s3-pico
board_build.partitions = default_16MB.csv
board_upload.use_1200bps_touch = yes board_upload.use_1200bps_touch = yes
board_upload.wait_for_upload_port = yes board_upload.wait_for_upload_port = yes

View File

@ -2,7 +2,7 @@
extends = esp32s3_base extends = esp32s3_base
board = heltec_wifi_lora_32_V3 board = heltec_wifi_lora_32_V3
board_check = true board_check = true
board_build.partitions = default_8MB.csv
build_flags = build_flags =
${esp32s3_base.build_flags} -I variants/heltec_capsule_sensor_v3 ${esp32s3_base.build_flags} -I variants/heltec_capsule_sensor_v3
-D HELTEC_CAPSULE_SENSOR_V3 -D HELTEC_CAPSULE_SENSOR_V3

View File

@ -2,7 +2,7 @@
extends = esp32s3_base extends = esp32s3_base
board = heltec_wifi_lora_32_V3 board = heltec_wifi_lora_32_V3
board_check = true board_check = true
# Temporary until espressif creates a release with this new target board_build.partitions = default_8MB.csv
build_flags = build_flags =
${esp32s3_base.build_flags} -D HELTEC_V3 -I variants/heltec_v3 ${esp32s3_base.build_flags} -D HELTEC_V3 -I variants/heltec_v3
-DGPS_POWER_TOGGLE ; comment this line to disable triple press function on the user button to turn off gps entirely. -D GPS_POWER_TOGGLE ; comment this line to disable triple press function on the user button to turn off gps entirely.

View File

@ -1,6 +1,7 @@
[env:heltec-vision-master-e213] [env:heltec-vision-master-e213]
extends = esp32s3_base extends = esp32s3_base
board = heltec_vision_master_e213 board = heltec_vision_master_e213
board_build.partitions = default_8MB.csv
build_flags = build_flags =
${esp32s3_base.build_flags} ${esp32s3_base.build_flags}
-Ivariants/heltec_vision_master_e213 -Ivariants/heltec_vision_master_e213
@ -22,6 +23,7 @@ upload_speed = 115200
[env:heltec-vision-master-e213-inkhud] [env:heltec-vision-master-e213-inkhud]
extends = esp32s3_base, inkhud extends = esp32s3_base, inkhud
board = heltec_vision_master_e213 board = heltec_vision_master_e213
board_build.partitions = default_8MB.csv
build_src_filter = build_src_filter =
${esp32_base.build_src_filter} ${esp32_base.build_src_filter}
${inkhud.build_src_filter} ${inkhud.build_src_filter}

View File

@ -2,6 +2,7 @@
[env:heltec-vision-master-e290] [env:heltec-vision-master-e290]
extends = esp32s3_base extends = esp32s3_base
board = heltec_vision_master_e290 board = heltec_vision_master_e290
board_build.partitions = default_8MB.csv
build_flags = build_flags =
${esp32s3_base.build_flags} ${esp32s3_base.build_flags}
-I variants/heltec_vision_master_e290 -I variants/heltec_vision_master_e290
@ -26,6 +27,7 @@ upload_speed = 115200
[env:heltec-vision-master-e290-inkhud] [env:heltec-vision-master-e290-inkhud]
extends = esp32s3_base, inkhud extends = esp32s3_base, inkhud
board = heltec_vision_master_e290 board = heltec_vision_master_e290
board_build.partitions = default_8MB.csv
build_src_filter = build_src_filter =
${esp32_base.build_src_filter} ${esp32_base.build_src_filter}
${inkhud.build_src_filter} ${inkhud.build_src_filter}

View File

@ -1,11 +1,11 @@
[env:heltec-vision-master-t190] [env:heltec-vision-master-t190]
extends = esp32s3_base extends = esp32s3_base
board = heltec_vision_master_t190 board = heltec_vision_master_t190
board_build.partitions = default_8MB.csv
build_flags = build_flags =
${esp32s3_base.build_flags} ${esp32s3_base.build_flags}
-Ivariants/heltec_vision_master_t190 -Ivariants/heltec_vision_master_t190
-DHELTEC_VISION_MASTER_T190 -DHELTEC_VISION_MASTER_T190
; -D PRIVATE_HW
lib_deps = lib_deps =
${esp32s3_base.lib_deps} ${esp32s3_base.lib_deps}
lewisxhe/PCF8563_Library@^1.0.1 lewisxhe/PCF8563_Library@^1.0.1

View File

@ -2,6 +2,7 @@
[env:heltec-wireless-paper] [env:heltec-wireless-paper]
extends = esp32s3_base extends = esp32s3_base
board = heltec_wifi_lora_32_V3 board = heltec_wifi_lora_32_V3
board_build.partitions = default_8MB.csv
build_flags = build_flags =
${esp32s3_base.build_flags} ${esp32s3_base.build_flags}
-I variants/heltec_wireless_paper -I variants/heltec_wireless_paper
@ -23,6 +24,7 @@ upload_speed = 115200
[env:heltec-wireless-paper-inkhud] [env:heltec-wireless-paper-inkhud]
extends = esp32s3_base, inkhud extends = esp32s3_base, inkhud
board = heltec_wifi_lora_32_V3 board = heltec_wifi_lora_32_V3
board_build.partitions = default_8MB.csv
build_src_filter = build_src_filter =
${esp32_base.build_src_filter} ${esp32_base.build_src_filter}
${inkhud.build_src_filter} ${inkhud.build_src_filter}

View File

@ -2,6 +2,7 @@
extends = esp32s3_base extends = esp32s3_base
board_level = extra board_level = extra
board = heltec_wifi_lora_32_V3 board = heltec_wifi_lora_32_V3
board_build.partitions = default_8MB.csv
build_flags = build_flags =
${esp32s3_base.build_flags} ${esp32s3_base.build_flags}
-I variants/heltec_wireless_paper_v1 -I variants/heltec_wireless_paper_v1

View File

@ -1,6 +1,7 @@
[env:heltec-wireless-tracker] [env:heltec-wireless-tracker]
extends = esp32s3_base extends = esp32s3_base
board = heltec_wireless_tracker board = heltec_wireless_tracker
board_build.partitions = default_8MB.csv
upload_protocol = esptool upload_protocol = esptool
build_flags = build_flags =

View File

@ -2,6 +2,7 @@
extends = esp32s3_base extends = esp32s3_base
board_level = extra board_level = extra
board = heltec_wireless_tracker board = heltec_wireless_tracker
board_build.partitions = default_8MB.csv
upload_protocol = esptool upload_protocol = esptool
build_flags = build_flags =
${esp32s3_base.build_flags} -I variants/heltec_wireless_tracker_V1_0 ${esp32s3_base.build_flags} -I variants/heltec_wireless_tracker_V1_0

View File

@ -1,7 +1,8 @@
[env:heltec-wsl-v3] [env:heltec-wsl-v3]
extends = esp32s3_base extends = esp32s3_base
board = heltec_wifi_lora_32_V3 board = heltec_wifi_lora_32_V3
board_build.partitions = default_8MB.csv
# Temporary until espressif creates a release with this new target # Temporary until espressif creates a release with this new target
build_flags = build_flags =
${esp32s3_base.build_flags} -D HELTEC_WSL_V3 -I variants/heltec_wsl_v3 ${esp32s3_base.build_flags} -D HELTEC_WSL_V3 -I variants/heltec_wsl_v3
-DGPS_POWER_TOGGLE ; comment this line to disable triple press function on the user button to turn off gps entirely. -D GPS_POWER_TOGGLE ; comment this line to disable triple press function on the user button to turn off gps entirely.

View File

@ -4,6 +4,7 @@ board = icarus
board_level = extra board_level = extra
board_check = true board_check = true
board_build.mcu = esp32s3 board_build.mcu = esp32s3
board_build.partitions = default_8MB.csv
upload_protocol = esptool upload_protocol = esptool
upload_speed = 921600 upload_speed = 921600
platform_packages = platformio/framework-arduinoespressif32@https://github.com/PowerFeather/powerfeather-meshtastic-arduino-lib/releases/download/2.0.16a/esp32-2.0.16.zip platform_packages = platformio/framework-arduinoespressif32@https://github.com/PowerFeather/powerfeather-meshtastic-arduino-lib/releases/download/2.0.16a/esp32-2.0.16.zip
@ -15,5 +16,4 @@ build_unflags =
build_flags = build_flags =
${esp32s3_base.build_flags} -D PRIVATE_HW -I variants/icarus ${esp32s3_base.build_flags} -D PRIVATE_HW -I variants/icarus
-DBOARD_HAS_PSRAM -DBOARD_HAS_PSRAM
-DARDUINO_USB_MODE=0 -DARDUINO_USB_MODE=0

View File

@ -3,6 +3,7 @@
extends = esp32s3_base extends = esp32s3_base
board = m5stack-cores3 board = m5stack-cores3
board_check = true board_check = true
board_build.partitions = default_16MB.csv
upload_protocol = esptool upload_protocol = esptool
build_flags = ${esp32_base.build_flags} build_flags = ${esp32_base.build_flags}

View File

@ -28,7 +28,6 @@ build_flags = ${esp32s3_base.build_flags}
-D USE_LOG_DEBUG -D USE_LOG_DEBUG
-D LOG_DEBUG_INC=\"DebugConfiguration.h\" -D LOG_DEBUG_INC=\"DebugConfiguration.h\"
-D RADIOLIB_SPI_PARANOID=0 -D RADIOLIB_SPI_PARANOID=0
-D MAX_NUM_NODES=250
-D MAX_THREADS=40 -D MAX_THREADS=40
-D HAS_SCREEN=0 -D HAS_SCREEN=0
-D HAS_TFT=1 -D HAS_TFT=1

View File

@ -2,6 +2,7 @@
extends = esp32s3_base extends = esp32s3_base
board = bpi_picow_esp32_s3 board = bpi_picow_esp32_s3
board_check = true board_check = true
board_build.partitions = default_8MB.csv
;OpenOCD flash method ;OpenOCD flash method
;upload_protocol = esp-builtin ;upload_protocol = esp-builtin
;Normal method ;Normal method
@ -22,7 +23,6 @@ build_src_filter =
[env:picomputer-s3-tft] [env:picomputer-s3-tft]
extends = env:picomputer-s3 extends = env:picomputer-s3
board_build.partitions = default_8MB.csv ; just for test
build_flags = build_flags =
${env:picomputer-s3.build_flags} ${env:picomputer-s3.build_flags}
@ -35,7 +35,6 @@ build_flags =
-D INPUTDRIVER_MATRIX_TYPE=1 -D INPUTDRIVER_MATRIX_TYPE=1
-D USE_PIN_BUZZER=PIN_BUZZER -D USE_PIN_BUZZER=PIN_BUZZER
-D USE_SX127x -D USE_SX127x
-D MAX_NUM_NODES=200
-D HAS_SCREEN=0 -D HAS_SCREEN=0
-D HAS_TFT=1 -D HAS_TFT=1
-D RAM_SIZE=1024 -D RAM_SIZE=1024

View File

@ -7,6 +7,5 @@ Do not expect a working Meshtastic device with this target.
#define _VARIANT_RAK3172_ #define _VARIANT_RAK3172_
#define USE_STM32WLx #define USE_STM32WLx
#define MAX_NUM_NODES 10
#endif #endif

View File

@ -6,6 +6,7 @@ platform_packages =
board = seeed-sensecap-indicator board = seeed-sensecap-indicator
board_check = true board_check = true
board_build.partitions = default_8MB.csv
upload_protocol = esptool upload_protocol = esptool
build_flags = ${esp32_base.build_flags} build_flags = ${esp32_base.build_flags}
@ -32,7 +33,6 @@ lib_deps = ${esp32s3_base.lib_deps}
extends = env:seeed-sensecap-indicator extends = env:seeed-sensecap-indicator
board_level = main board_level = main
upload_speed = 460800 upload_speed = 460800
board_build.partitions = default_8MB.csv ; must be here for some reason, board.json is not enough !?
build_flags = build_flags =
${env:seeed-sensecap-indicator.build_flags} ${env:seeed-sensecap-indicator.build_flags}
@ -46,7 +46,6 @@ build_flags =
-D INPUTDRIVER_BUTTON_TYPE=38 -D INPUTDRIVER_BUTTON_TYPE=38
-D HAS_TELEMETRY=0 -D HAS_TELEMETRY=0
-D CONFIG_DISABLE_HAL_LOCKS=1 -D CONFIG_DISABLE_HAL_LOCKS=1
-D MAX_NUM_NODES=250
-D HAS_SCREEN=0 -D HAS_SCREEN=0
-D HAS_TFT=1 -D HAS_TFT=1
-D DISPLAY_SET_RESOLUTION -D DISPLAY_SET_RESOLUTION

View File

@ -2,7 +2,7 @@
extends = esp32s3_base extends = esp32s3_base
board = seeed-xiao-s3 board = seeed-xiao-s3
board_check = true board_check = true
board_build.mcu = esp32s3 board_build.partitions = default_8MB.csv
upload_protocol = esptool upload_protocol = esptool
upload_speed = 921600 upload_speed = 921600
lib_deps = lib_deps =

View File

@ -2,6 +2,7 @@
extends = esp32s3_base extends = esp32s3_base
board = station-g2 board = station-g2
board_check = true board_check = true
board_build.partitions = default_16MB.csv
board_build.mcu = esp32s3 board_build.mcu = esp32s3
upload_protocol = esptool upload_protocol = esptool
;upload_port = /dev/ttyACM0 ;upload_port = /dev/ttyACM0

View File

@ -3,6 +3,7 @@
extends = esp32s3_base extends = esp32s3_base
board = t-deck board = t-deck
board_check = true board_check = true
board_build.partitions = default_16MB.csv
upload_protocol = esptool upload_protocol = esptool
build_flags = ${esp32s3_base.build_flags} build_flags = ${esp32s3_base.build_flags}
@ -20,7 +21,6 @@ lib_deps = ${esp32s3_base.lib_deps}
[env:t-deck-tft] [env:t-deck-tft]
extends = env:t-deck extends = env:t-deck
board_build.partitions = default_16MB.csv
build_flags = build_flags =
${env:t-deck.build_flags} ${env:t-deck.build_flags}
@ -38,7 +38,6 @@ build_flags =
-D INPUTDRIVER_ENCODER_DOWN=15 -D INPUTDRIVER_ENCODER_DOWN=15
-D INPUTDRIVER_ENCODER_BTN=0 -D INPUTDRIVER_ENCODER_BTN=0
-D INPUTDRIVER_BUTTON_TYPE=0 -D INPUTDRIVER_BUTTON_TYPE=0
-D MAX_NUM_NODES=250
-D HAS_SDCARD -D HAS_SDCARD
-D HAS_SCREEN=0 -D HAS_SCREEN=0
-D HAS_TFT=1 -D HAS_TFT=1

View File

@ -2,11 +2,12 @@
extends = esp32s3_base extends = esp32s3_base
board = esp32s3box board = esp32s3box
board_check = true board_check = true
board_build.partitions = default_16MB.csv
build_flags = build_flags =
${esp32s3_base.build_flags} ${esp32s3_base.build_flags}
-D T_ETH_ELITE -D T_ETH_ELITE
-I variants/t-eth-elite -I variants/t-eth-elite
-DGPS_POWER_TOGGLE ; comment this line to disable triple press function on the user button to turn off gps entirely. -D GPS_POWER_TOGGLE ; comment this line to disable triple press function on the user button to turn off gps entirely.
lib_ignore = lib_ignore =
Ethernet Ethernet

View File

@ -3,6 +3,7 @@
extends = esp32s3_base extends = esp32s3_base
board = t-watch-s3 board = t-watch-s3
board_check = true board_check = true
board_build.partitions = default_16MB.csv
upload_protocol = esptool upload_protocol = esptool
build_flags = ${esp32_base.build_flags} build_flags = ${esp32_base.build_flags}

View File

@ -2,6 +2,7 @@
[env:tbeam-s3-core] [env:tbeam-s3-core]
extends = esp32s3_base extends = esp32s3_base
board = tbeam-s3-core board = tbeam-s3-core
board_build.partitions = default_8MB.csv
board_check = true board_check = true
lib_deps = lib_deps =

View File

@ -1,6 +1,7 @@
[env:tracksenger] [env:tracksenger]
extends = esp32s3_base extends = esp32s3_base
board = heltec_wireless_tracker board = heltec_wireless_tracker
board_build.partitions = default_8MB.csv
upload_protocol = esp-builtin upload_protocol = esp-builtin
build_flags = build_flags =
@ -16,6 +17,7 @@ lib_deps =
[env:tracksenger-lcd] [env:tracksenger-lcd]
extends = esp32s3_base extends = esp32s3_base
board = heltec_wireless_tracker board = heltec_wireless_tracker
board_build.partitions = default_8MB.csv
upload_protocol = esp-builtin upload_protocol = esp-builtin
build_flags = build_flags =
@ -31,6 +33,7 @@ lib_deps =
[env:tracksenger-oled] [env:tracksenger-oled]
extends = esp32s3_base extends = esp32s3_base
board = heltec_wireless_tracker board = heltec_wireless_tracker
board_build.partitions = default_8MB.csv
upload_protocol = esp-builtin upload_protocol = esp-builtin
build_flags = build_flags =

View File

@ -3,6 +3,7 @@
[env:unphone] [env:unphone]
extends = esp32s3_base extends = esp32s3_base
board = unphone board = unphone
board_build.partitions = default_8MB.csv
upload_speed = 921600 upload_speed = 921600
monitor_speed = 115200 monitor_speed = 115200
monitor_filters = esp32_exception_decoder monitor_filters = esp32_exception_decoder
@ -32,7 +33,6 @@ lib_deps = ${esp32s3_base.lib_deps}
[env:unphone-tft] [env:unphone-tft]
extends = env:unphone extends = env:unphone
board_build.partitions = default_8MB.csv
build_flags = build_flags =
${env:unphone.build_flags} ${env:unphone.build_flags}
-D MESHTASTIC_EXCLUDE_CANNEDMESSAGES=1 -D MESHTASTIC_EXCLUDE_CANNEDMESSAGES=1
@ -42,7 +42,6 @@ build_flags =
-D MESHTASTIC_EXCLUDE_SERIAL=1 -D MESHTASTIC_EXCLUDE_SERIAL=1
-D MESHTASTIC_EXCLUDE_SOCKETAPI=1 -D MESHTASTIC_EXCLUDE_SOCKETAPI=1
-D INPUTDRIVER_BUTTON_TYPE=21 -D INPUTDRIVER_BUTTON_TYPE=21
-D MAX_NUM_NODES=200
-D MAX_THREADS=40 -D MAX_THREADS=40
-D HAS_SCREEN=0 -D HAS_SCREEN=0
-D HAS_TFT=1 -D HAS_TFT=1

View File

@ -13,7 +13,6 @@ Do not expect a working Meshtastic device with this target.
#define _VARIANT_WIOE5_ #define _VARIANT_WIOE5_
#define USE_STM32WLx #define USE_STM32WLx
#define MAX_NUM_NODES 10
#define LED_PIN PB5 #define LED_PIN PB5
#define LED_STATE_ON 1 #define LED_STATE_ON 1