mirror of
https://github.com/meshtastic/firmware.git
synced 2026-09-20 05:18:54 -04:00
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
62 lines
3.0 KiB
INI
62 lines
3.0 KiB
INI
; Common settings for ESP32 OG (without suffix)
|
|
; See 'esp32_common' for common ESP32-family settings
|
|
[esp32_base]
|
|
extends = esp32_common
|
|
custom_esp32_kind = esp32
|
|
|
|
build_src_filter =
|
|
${esp32_common.build_src_filter}
|
|
-<modules/esp32/PaxcounterModule.cpp>
|
|
-<mesh/http/>
|
|
|
|
build_flags =
|
|
${esp32_common.build_flags}
|
|
-mtext-section-literals
|
|
-D ESP32_FORCE_IRAM_MEMSET
|
|
-Wl,--wrap=memset
|
|
-Wl,--wrap=memcpy
|
|
-DMESHTASTIC_EXCLUDE_AUDIO=1
|
|
-DMESHTASTIC_EXCLUDE_ACCELEROMETER=1
|
|
-DMESHTASTIC_EXCLUDE_PAXCOUNTER=1
|
|
-DMESHTASTIC_EXCLUDE_WEBSERVER=1
|
|
; HACK HACK HACK Original ESP32+NimBLE
|
|
; These includes need to be done properly somehow.
|
|
; Sourced from ~/.platformio/packages/framework-espidf/components/bt/host/nimble/CMakeLists.txt
|
|
; Quotes keep Windows packages_dir backslashes intact through POSIX flag parsing
|
|
-I"${platformio.packages_dir}/framework-espidf/components/bt/porting/include"
|
|
-I"${platformio.packages_dir}/framework-espidf/components/bt/host/nimble/nimble/nimble/host/include"
|
|
-I"${platformio.packages_dir}/framework-espidf/components/bt/host/nimble/nimble/nimble/include"
|
|
-I"${platformio.packages_dir}/framework-espidf/components/bt/host/nimble/nimble/porting/nimble/include"
|
|
-I"${platformio.packages_dir}/framework-espidf/components/bt/host/nimble/port/include"
|
|
-I"${platformio.packages_dir}/framework-espidf/components/bt/host/nimble/nimble/porting/npl/freertos/include"
|
|
-I"${platformio.packages_dir}/framework-espidf/components/bt/host/nimble/nimble/nimble/transport/include"
|
|
-I"${platformio.packages_dir}/framework-espidf/components/bt/host/nimble/nimble/nimble/host/services/gap/include"
|
|
-I"${platformio.packages_dir}/framework-espidf/components/bt/host/nimble/esp-hci/include"
|
|
-I"${platformio.packages_dir}/framework-espidf/components/bt/host/nimble/nimble/nimble/host/services/gatt/include"
|
|
-I"${platformio.packages_dir}/framework-espidf/components/bt/host/nimble/nimble/nimble/host/util/include"
|
|
|
|
custom_sdkconfig =
|
|
${esp32_common.custom_sdkconfig}
|
|
CONFIG_BTDM_CTRL_MODE_BLE_ONLY=y
|
|
'# CONFIG_BTDM_CTRL_MODE_BR_EDR_ONLY is not set'
|
|
'# CONFIG_BTDM_CTRL_MODE_BTDM is not set'
|
|
'# CONFIG_BT_BLUEDROID_ENABLED is not set'
|
|
CONFIG_BT_NIMBLE_ENABLED=y
|
|
CONFIG_SPI_FLASH_SUPPORT_BOYA_CHIP=y
|
|
|
|
; Overrides esp32_common's lib_deps: adds networking_extra and omits
|
|
; esp32_https_server (mesh/http is excluded from this target's build_src_filter)
|
|
lib_deps =
|
|
${arduino_base.lib_deps}
|
|
${networking_base.lib_deps}
|
|
${networking_extra.lib_deps}
|
|
${radiolib_base.lib_deps}
|
|
${environmental_base.lib_deps}
|
|
${environmental_extra.lib_deps}
|
|
# TODO renovate
|
|
https://github.com/mverch67/libpax/archive/6f52ee989301cdabaeef00bcbf93bff55708ce2f.zip
|
|
# renovate: datasource=custom.pio depName=XPowersLib packageName=lewisxhe/library/XPowersLib
|
|
lewisxhe/XPowersLib@0.3.3
|
|
# renovate: datasource=git-refs depName=meshtastic/Crypto packageName=https://github.com/meshtastic/Crypto gitBranch=main
|
|
https://github.com/meshtastic/Crypto/archive/1c817c2f27aa4593e07d0f7e13b3dbf8d980bcae.zip
|