2022-09-12 12:02:21 +00:00
|
|
|
; Common settings for ESP targes, mixin with extends = esp32_base
|
|
|
|
[esp32_base]
|
|
|
|
extends = arduino_base
|
2024-05-30 15:59:10 +00:00
|
|
|
custom_esp32_kind = esp32
|
2024-05-22 02:02:09 +00:00
|
|
|
platform = platformio/espressif32@6.7.0
|
2023-05-08 12:03:03 +00:00
|
|
|
|
2022-09-12 12:02:21 +00:00
|
|
|
build_src_filter =
|
Native Webserver (#3343)
* Added WebServer/WebServices for Native Linux Meshtastic and web gui
* Fix bug in login functionality
* Added customized config of portdunio.ini with LovyannGFX from marelab repro
* Compile Problem resolved with developer version of LovyanGFX.git
* Compile against dev version
* Fixes to fit into main branch
* Update variant.h, main.cpp, .gitignore, WebServer.cpp, esp32s2.ini, WebServer.h, ContentHandler.cpp, rp2040.ini, nrf52.ini, ContentHelper.cpp, Dockerfile, ContentHandler.h, esp32.ini, stm32wl5e.ini
* Added linux pi std /usr/include dir
* Adding /usr/innclude for Linux compile against native libs that are not hadled by platformio
* Review log level changes & translation
* Update Dockerfile
* Fix Typo & VFS ref. Part1
* Fix Typo & VFS ref.
* Dev Version for ulfius web lib
* Update platformio.ini
* Free VFS path string
* Remove unintended changes
* More unintentional changes
* Make the HTTP server optional on native
* Tune-up for Native web defaults
* Don't modify build system yet
* Remove more unneeded changes
---------
Co-authored-by: marc hammermann <marchammermann@googlemail.com>
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
Co-authored-by: Thomas Göttgens <tgoettgens@gmail.com>
2024-03-06 22:23:04 +00:00
|
|
|
${arduino_base.build_src_filter} -<platform/nrf52/> -<platform/stm32wl> -<platform/rp2040> -<mesh/eth/> -<mesh/raspihttp>
|
2023-05-08 12:03:03 +00:00
|
|
|
|
2022-09-19 07:36:13 +00:00
|
|
|
upload_speed = 921600
|
2022-09-12 12:02:21 +00:00
|
|
|
debug_init_break = tbreak setup
|
2022-09-23 17:52:07 +00:00
|
|
|
monitor_filters = esp32_exception_decoder
|
2023-05-08 12:03:03 +00:00
|
|
|
|
2022-09-26 22:16:12 +00:00
|
|
|
board_build.filesystem = littlefs
|
2022-09-12 12:02:21 +00:00
|
|
|
|
|
|
|
# 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
|
2024-05-22 02:02:09 +00:00
|
|
|
build_unflags = -fno-lto
|
2022-09-12 12:02:21 +00:00
|
|
|
build_flags =
|
|
|
|
${arduino_base.build_flags}
|
2024-05-22 02:02:09 +00:00
|
|
|
-flto
|
2022-09-12 12:02:21 +00:00
|
|
|
-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
|
2023-07-17 11:23:27 +00:00
|
|
|
-DCONFIG_BT_NIMBLE_HOST_TASK_STACK_SIZE=5120
|
2022-09-23 10:37:59 +00:00
|
|
|
-DESP_OPENSSL_SUPPRESS_LEGACY_WARNING
|
2023-08-12 14:29:44 +00:00
|
|
|
-DSERIAL_BUFFER_SIZE=4096
|
2023-12-17 15:00:57 +00:00
|
|
|
-DLIBPAX_ARDUINO
|
|
|
|
-DLIBPAX_WIFI
|
|
|
|
-DLIBPAX_BLE
|
2023-02-09 22:33:53 +00:00
|
|
|
;-DDEBUG_HEAP
|
2022-09-12 12:02:21 +00:00
|
|
|
|
|
|
|
lib_deps =
|
|
|
|
${arduino_base.lib_deps}
|
|
|
|
${networking_base.lib_deps}
|
|
|
|
${environmental_base.lib_deps}
|
2022-11-21 12:46:22 +00:00
|
|
|
https://github.com/meshtastic/esp32_https_server.git#23665b3adc080a311dcbb586ed5941b5f94d6ea2
|
2024-06-22 13:49:55 +00:00
|
|
|
h2zero/NimBLE-Arduino@^1.4.2
|
2023-12-17 15:00:57 +00:00
|
|
|
https://github.com/dbSuS/libpax.git#7bcd3fcab75037505be9b122ab2b24cc5176b587
|
2022-11-29 10:22:18 +00:00
|
|
|
https://github.com/lewisxhe/XPowersLib.git#84b7373faea3118b6c37954d52f98b8a337148d6
|
2023-04-12 12:39:25 +00:00
|
|
|
https://github.com/meshtastic/ESP32_Codec2.git#633326c78ac251c059ab3a8c430fcdf25b41672f
|
2022-09-12 12:02:21 +00:00
|
|
|
|
|
|
|
lib_ignore =
|
|
|
|
segger_rtt
|
|
|
|
ESP32 BLE Arduino
|
|
|
|
|
|
|
|
; leave this commented out to avoid breaking Windows
|
|
|
|
;upload_port = /dev/ttyUSB0
|
|
|
|
;monitor_port = /dev/ttyUSB0
|
|
|
|
|
|
|
|
; Please don't delete these lines. JM uses them.
|
|
|
|
;upload_port = /dev/cu.SLAB_USBtoUART
|
|
|
|
;monitor_port = /dev/cu.SLAB_USBtoUART
|
|
|
|
|
|
|
|
; customize the partition table
|
|
|
|
; http://docs.platformio.org/en/latest/platforms/espressif32.html#partition-tables
|
2023-11-30 01:46:15 +00:00
|
|
|
board_build.partitions = partition-table.csv
|