refactoring files

Dieser Commit ist enthalten in:
tom committed 2026-10-17 19:38:30 +02:00
1 Ursprung 58dcdbdcb3
Commit ab51ed746a
15 Dateien geändert
+945 -292

Keine Dateien entsprechen Ihrer Suche

+27 -29
Datei anzeigen
@@ -1,6 +1,9 @@
; PlatformIO Project Configuration File
; Project: FoxMesh
; Author: Tom OE3TKT
; =============================================================================
; Project: FoxMesh
; Author: Tom OE3TKT
; Platform: espressif32
; Description: PlatformIO Project Configuration File
; =============================================================================
[platformio]
; Enable global PlatformIO Cache
@@ -10,36 +13,31 @@ build_cache_dir = ~/.platformio/.cache
platform = espressif32
board = ttgo-lora32-v21
framework = espidf
board_upload.flash_size = 4MB
board_upload.maximum_size = 4194304
monitor_speed = 115200
monitor_filters = esp32_exception_decoder
; lib_deps = bodmer/TFT_eSPI@^2.5.43
; Forces PlatformIO to use the customized SCons engine to prevent firmware.elf build errors
;platform_packages =
; platformio/tool-scons @ ~4.41101.0
; Advanced Compiler Configurations and Maximum Warning Profiles
; Advanced Compiler Configurations for Framework and System Headers
build_flags =
; REMOVED: CONFIG_IDF_TARGET_ESP32 (automatically predefined by PlatformIO's framework engine)
-D CCACHE_ENABLE=1
-Wno-error=pedantic
-Wno-pedantic
-Wno-gnu-include-next
; Treats ESP-IDF libc extensions headers as system headers to suppress external warnings
; -isystem /home/tom/.platformio/packages/framework-espidf/components/esp_libc/platform_include
; --- STRICT MODE FOR MY OWN CODE ONLY ---
; These flags are strictly applied ONLY to files inside the src/ directory.
; The ESP-IDF framework is completely excluded from these rules!
; Maximum Compiler Warnings (Strict Mode)
; --- STRICT MODE FOR PROJECT APPLICATION CODE ONLY ---
; These flags are strictly applied ONLY to C++ files inside the src/ directory.
build_src_flags =
-Wall ; Enables all standard compiler warning flags
-Wextra ; Enables additional strict development warnings
-Wpedantic ; Enforces strict ISO C++ standard compliance (only on own files)
-Wconversion ; Warns on implicit type conversions (e.g., int to uint8_t)
-Wshadow ; Warns if a local variable shadows another variable in scope
-Werror ; Promotes all warnings to hard compilation errors to guarantee clean code
-Wno-gnu-include-next ; no warning to #include_next (GNU extension), used in static_assert()
; Serial flashing interface configuration overrides (leave commented out for dynamic CLI arguments)
; upload_port = /dev/ttyUSB0
; monitor_port = /dev/ttyUSB0
; Enables all standard compiler warning flags
-Wall
; Enables additional strict development warnings
-Wextra
; Enforces strict ISO C++ standard compliance on application source files
-Wpedantic
; FIXED: Prevents third-party IDF anonymous structs from breaking the C++ build
-Wno-error=pedantic
; Warns on implicit type conversions (e.g., int to uint8_t)
-Wconversion
; Warns if a local variable shadows another variable in scope
-Wshadow
; Promotes all warnings to hard compilation errors to guarantee clean code
;-Werror