Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pio check using clangtidy fails on large project #4446

Open
1 task
grisharav opened this issue Oct 31, 2022 · 7 comments
Open
1 task

pio check using clangtidy fails on large project #4446

grisharav opened this issue Oct 31, 2022 · 7 comments

Comments

@grisharav
Copy link

What kind of issue is this?

  • PlatformIO Core.
    If you’ve found a bug, please provide an information below.

You can erase any parts of this template not applicable to your Issue.


Configuration

Operating system:
Windows 11 21H2

PlatformIO Version (platformio --version):
PlatformIO Core, version 6.1.5rc1
Tested on latest available version

Description of problem

When running pio check I get an exception:

Checking gpt_pcb > cppcheck (board: pico32; framework: arduino; platform: espressif32)
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
No defects found
=========================================================================== [PASSED] Took 76.57 seconds ===========================================================================
Checking gpt_pcb > clangtidy (board: pico32; framework: arduino; platform: espressif32)
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Tool Manager: Installing platformio/tool-clangtidy @ ~1.120001.0
Downloading  [####################################]  100%
Unpacking  [####################################]  100%
Tool Manager: tool-clangtidy@1.120001.0 has been installed!
Error: Traceback (most recent call last):
  File "C:\Users\GregRavikovich\.platformio\penv\lib\site-packages\platformio\__main__.py", line 102, in main
    cli()  # pylint: disable=no-value-for-parameter
  File "C:\Users\GregRavikovich\.platformio\penv\lib\site-packages\click\core.py", line 1130, in __call__
    return self.main(*args, **kwargs)
  File "C:\Users\GregRavikovich\.platformio\penv\lib\site-packages\click\core.py", line 1055, in main
    rv = self.invoke(ctx)
  File "C:\Users\GregRavikovich\.platformio\penv\lib\site-packages\platformio\cli.py", line 71, in invoke
    return super().invoke(ctx)
  File "C:\Users\GregRavikovich\.platformio\penv\lib\site-packages\click\core.py", line 1657, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "C:\Users\GregRavikovich\.platformio\penv\lib\site-packages\click\core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "C:\Users\GregRavikovich\.platformio\penv\lib\site-packages\click\core.py", line 760, in invoke
    return __callback(*args, **kwargs)
  File "C:\Users\GregRavikovich\.platformio\penv\lib\site-packages\platformio\check\cli.py", line 136, in cli
    rc = ct.check(
  File "C:\Users\GregRavikovich\.platformio\penv\lib\site-packages\platformio\check\tools\base.py", line 236, in check
    self.execute_check_cmd(cmd)
  File "C:\Users\GregRavikovich\.platformio\penv\lib\site-packages\platformio\check\tools\base.py", line 185, in execute_check_cmd
    result = proc.exec_command(
  File "C:\Users\GregRavikovich\.platformio\penv\lib\site-packages\platformio\proc.py", line 114, in exec_command
    with subprocess.Popen(*args, **kwargs) as p:
  File "C:\Users\GregRavikovich\.platformio\python3\lib\subprocess.py", line 951, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "C:\Users\GregRavikovich\.platformio\python3\lib\subprocess.py", line 1420, in _execute_child
    hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 206] The filename or extension is too long

============================================================

An unexpected error occurred. Further steps:

* Verify that you have the latest version of PlatformIO using
  `pip install -U platformio` command

* Try to find answer in FAQ Troubleshooting section
  https://docs.platformio.org/page/faq/index.html

* Report this problem to the developers
  https://github.com/platformio/platformio-core/issues

============================================================

This started to happen after the project has grown enough.

I do have long path enabled, see the discussion under https://community.platformio.org/t/filename-too-long-when-running-check/28986

Steps to Reproduce

  1. Create a large project (unfortunately can't submit it, proprietary)
  2. Setup check using clangtidy
  3. run pio check

Actual Results

The error above

Expected Results

Check results available.

If problems with PlatformIO Build System:

The content of platformio.ini:

; PlatformIO Project Configuration File
;
;   Build options: build flags, source filter
;   Upload options: custom upload port, speed and extra flags
;   Library options: dependencies, extra library storages
;   Advanced options: extra scripting
;
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html

[env]
build_flags = 
	!python ./git_rev_macro/git_rev_macro.py
	-std=gnu++17
build_unflags =
    -std=gnu++11
board = pico32
framework = arduino
platform = espressif32@5.1.1
monitor_speed = 115200
build_type = release
check_tool = cppcheck, clangtidy
check_skip_packages = yes
check_patterns = lib/sgtcm_lib/*
check_flags = 
	cppcheck: --suppress=*:*.pio\* --suppress=noExplicitConstructor --suppress=unusedFunction --suppress=*:*lib\sgtcm_lib\src\SolarPosition.cpp
	clangtidy: --checks=clang-analyzer-*,readability-*,performance-*,hicpp-*,bugprone-*,modernize-*,-modernize-use-trailing-return-type --suppress=readability-qualified-auto
monitor_filters = esp32_exception_decoder
lib_ldf_mode = deep
custom_nanopb_protos = 
	+<../../shared_models/tracker_models.proto>
custom_nanopb_options =
    --error-on-unmatched --cpp-descriptors
lib_deps =
	rlogiacco/CircularBuffer@^1.3.3
	lasselukkari/aWOT@^3.4.0
	paulstoffregen/Time@^1.6.1
	hideakitai/ArduinoEigen@^0.2.3
	nanopb/Nanopb@0.4.6+3


[env:gpt_pcb]
build_flags = ${env.build_flags} -D GRID_POWER_TRACKER
debug_tool = esp-prog
debug_init_break = tbreak setup

lib_deps =
	${env.lib_deps}
	sparkfun/SparkFun L6470 AutoDriver@^1.3.3


[env:spt_pcb]
build_flags = ${env.build_flags} -D SELF_POWER_TRACKER

debug_init_break = tbreak setup
debug_tool = esp-prog

lib_deps =
	${env.lib_deps}
    teemuatlut/TMC2130Stepper@^2.5.1
    gin66/FastAccelStepper@^0.27.5
    felias-fogg/SlowSoftI2CMaster@^1.0.0

Note that removing all flags from clangtidy doesn't change the error

Source file to reproduce issue:

Sorry, can't provide full source

Additional info

@grisharav
Copy link
Author

I think it's a matter of command line string length. See https://stackoverflow.com/questions/3205027/maximum-length-of-command-line-string for example. Should consider using some sort of a response file instead of direct command line invocation.
Here's the output when running with the --verbose flag:

C:\Users\GregRavikovich\.platformio\packages\tool-clangtidy\clang-tidy --quiet --checks=clang-analyzer-*,readability-*,performance-*,hicpp-*,bugprone-*,modernize-*,-modernize-use-trailing-return-type --suppress=readability-qualified-auto C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\src\operation_context.cpp C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\src\sg_communicator.cpp C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\src\sg_controller.cpp C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\src\sg_controller_factory.cpp C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\src\sg_handlers.cpp C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\src\sg_parsing.cpp C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\src\sg_time_format.cpp C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\src\esp32\esp32_controller_factory.cpp C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\src\esp32\esp32_pinout.cpp C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\src\esp32\esp32_wifi_network_manager.cpp C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\src\esp32\sg_esp32_platform.cpp C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\src\handlers\motion_status_handler.cpp C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\src\handlers\sg_engineering_command_handler.cpp C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\src\handlers\sg_mcs_command_handler.cpp C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\src\handlers\sg_metadata_handler.cpp C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\src\handlers\sg_set_smart_tracking_points_command_handler.cpp C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\src\handlers\sg_set_state_command_handler.cpp C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\src\handlers\sg_status_handler.cpp C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\src\handlers\sg_update_ota_command_handler.cpp C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\src\health\keep_alive_manager.cpp C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\src\health\safety_monitor.cpp C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\src\homing\homing_accuracy.cpp C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\src\homing\homing_magnet_manager.cpp C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\src\homing\homing_procedure_type.cpp C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\src\homing\homing_sensor_manager.cpp C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\src\homing\homing_target.cpp C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\src\logger\log_manager.cpp C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\src\logger\log_message_params_writers.cpp C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\src\logger\log_message_writer.cpp C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\src\logger\log_record.cpp C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\src\logger\log_severity.cpp C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\src\motor\motor_controller_base.cpp C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\src\motor\motor_specific_params_defines.cpp C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\src\motor\l6470\l6470_motor_controller.cpp C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\src\motor\l6470\l6470_motor_driver_status.cpp C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\src\motor\tmc2130\tmc2130_motor_controller.cpp C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\src\motor\tmc2130\tmc2130_motor_driver_status.cpp C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\src\movement\basic_movement_owner.cpp C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\src\movement\homing_movement_owner.cpp C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\src\movement\tracking\analytical_backtracking_calculator.cpp C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\src\movement\tracking\smart_tracking_calculator.cpp C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\src\movement\tracking\tracking_calculator.cpp C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\src\movement\tracking\tracking_movement_owner.cpp C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\src\network\network_connection_params.cpp C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\src\network\wifi_network_manager_base.cpp C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\src\orientation\orientation_data.cpp C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\src\orientation\orientation_manager.cpp C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\src\params\params_base.cpp C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\src\platform\hardware_platform.cpp C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\src\power\battery_manager.cpp C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\src\power\input_power_monitor.cpp C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\src\power\power_manager.cpp C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\src\power\power_state.cpp C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\src\power\battery\charge_state.cpp C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\src\power\battery\fuel_gauge_manager.cpp C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\src\power\battery\fuel_gauge_registers.cpp C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\src\power\battery\fuel_gauge_status.cpp C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\src\power\battery\power_charger.cpp C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\src\serial\serial_handler.cpp C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\src\serial\serial_port.cpp C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\src\serial\http_comm\http_over_serial_command.cpp C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\src\smart_tracking\smart_tracking_points.cpp C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\src\state\state_manager.cpp C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\src\state\tracker_states_enum.cpp C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\src\state\tracking_type.cpp C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\src\storage\rtc\orientation_data_rtc_storage.cpp C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\src\sun_pos\sg_sunposition.cpp C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\src\sun_pos\SolTrack.cpp C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\src\sun_pos\sol_track_position.cpp C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\src\time_provider\ntp_time_provider.cpp C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\src\utils\stopwatch.cpp C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\mac_address.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\operation_context.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\sg_communicator.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\sg_controller.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\sg_controller_factory.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\sg_geometry.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\sg_geo_location.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\sg_handlers.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\sg_parsing.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\sg_periodic_task.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\sg_result_status.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\sg_time_format.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\sg_units.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\esp32\esp32_controller_factory.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\esp32\esp32_pinout.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\esp32\esp32_serial_port.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\esp32\esp32_wifi_network_manager.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\esp32\sg_esp32_platform.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\handlers\motion_status_handler.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\handlers\sg_engineering_command_handler.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\handlers\sg_mcs_command_handler.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\handlers\sg_metadata_handler.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\handlers\sg_set_smart_tracking_points_command_handler.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\handlers\sg_set_state_command_handler.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\handlers\sg_status_handler.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\handlers\sg_update_ota_command_handler.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\health\keep_alive_manager.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\health\keep_alive_params.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\health\safety_monitor.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\homing\homing_accuracy.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\homing\homing_magnet_manager.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\homing\homing_params.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\homing\homing_procedure_type.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\homing\homing_sensor_manager.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\homing\homing_sensor_manager_base.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\homing\homing_sensor_params.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\homing\homing_target.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\logger\logger.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\logger\logger_scope.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\logger\log_manager.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\logger\log_message_params_writers.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\logger\log_message_writer.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\logger\log_params.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\logger\log_record.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\logger\log_severity.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\motor\motor_controller_base.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\motor\motor_control_params.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\motor\motor_specific_params_defines.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\motor\l6470_driver\l6470_driver_params.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\motor\l6470_driver\l6470_motor_controller.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\motor\l6470_driver\l6470_motor_driver_status.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\motor\tmc2130_driver\tmc2130_driver_params.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\motor\tmc2130_driver\tmc2130_motor_controller.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\motor\tmc2130_driver\tmc2130_motor_driver_status.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\movement\basic_movement_owner.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\movement\homing_movement_owner.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\movement\movement_owner_base.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\movement\tracking\analytical_backtracking_calculator.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\movement\tracking\itracking_calculator.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\movement\tracking\smart_tracking_calculator.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\movement\tracking\tracking_calculator.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\movement\tracking\tracking_movement_owner.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\network\network_connection_params.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\network\network_manager.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\network\network_secrets.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\network\wifi_network_manager_base.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\orientation\motion_status.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\orientation\orientation_data.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\orientation\orientation_manager.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\orientation\orientation_parameters.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\params\controller_params.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\params\params_base.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\params\position_params.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\params\protobuf\defaultable_protobuf_params_base.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\params\protobuf\non_defaultable_protobuf_params_base.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\params\protobuf\protobuf_params_base.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\platform\hardware_platform.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\platform\motor_specific.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\platform\platform_framework.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\power\battery_manager.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\power\input_power_monitor.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\power\power_manager.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\power\power_state.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\power\battery\battery_params.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\power\battery\battery_status.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\power\battery\charge_state.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\power\battery\fuel_gauge_manager.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\power\battery\fuel_gauge_registers.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\power\battery\fuel_gauge_status.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\power\battery\power_charger.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\serial\serial_command_base.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\serial\serial_handler.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\serial\serial_port.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\serial\http_comm\buffer_read_stream.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\serial\http_comm\http_over_serial_command.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\serial\http_comm\serial_request_accessor.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\serial\http_comm\serial_response_accessor.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\smart_tracking\smart_tracking_params.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\smart_tracking\smart_tracking_points.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\state\istate_transition_events.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\state\istate_transition_requests.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\state\itrigger_state_conditions_change.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\state\state_conditions.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\state\state_manager.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\state\state_params.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\state\tracker_states_enum.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\state\tracking_type.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\state\states\base_state.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\state\states\error_state.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\state\states\homing_state.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\state\states\init_state.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\state\states\manual_state.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\state\states\safe_state.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\state\states\sleep_state.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\state\states\smart_tracking_state.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\state\states\state_arguments.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\state\states\state_macros.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\state\states\tracking_state.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\storage\flash_storage.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\storage\rtc_storage.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\storage\storage_type.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\storage\rtc\orientation_data_rtc_storage.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\sun_pos\sg_sunposition.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\sun_pos\SolTrack.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\sun_pos\sol_track_position.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\time_provider\ntp_time_provider.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\time_provider\ntp_time_provider_params.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\time_provider\time_provider_base.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\utils\comm_types_convertions.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\utils\encryption_utils.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\utils\enum_string_utils.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\utils\limited_buffer_vector.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\utils\math_utils.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\utils\post_scope_action.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\utils\printable_buffer.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\utils\protobuf_utils.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\utils\samples_stats_calculator.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\utils\span.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\utils\stopwatch.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\utils\string_utils.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\utils\table_printer.h C:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include\utils\details\pb_stream_containers.h -- -DPLATFORMIO=60105 -DARDUINO_ESP32_PICO -D__BUILD_COMMIT_ID__="dcea6fe5" -D__BUILD_VERSION__="2.4.1" -D__BUILD_VERSION_EXTENDED__="2.4.1+" -DGRID_POWER_TRACKER -DHAVE_CONFIG_H -DMBEDTLS_CONFIG_FILE="mbedtls/esp_config.h" -DUNITY_INCLUDE_CONFIG_H -DWITH_POSIX -D_GNU_SOURCE -DIDF_VER="v4.4.1-472-gc9140caf8c" -DESP_PLATFORM -D_POSIX_READER_WRITER_LOCKS -DARDUINO_ARCH_ESP32 -DESP32 -DF_CPU=240000000L -DARDUINO=10812 -DARDUINO_VARIANT="pico32" -DARDUINO_BOARD="ESP32 Pico Kit" -DARDUINO_PARTITION_default -D__DBL_MIN_EXP__=(-1021) -D__FLT32X_MAX_EXP__=1024 -D__cpp_attributes=200809 -D__cpp_nontype_template_parameter_auto=201606 -D__UINT_LEAST16_MAX__=0xffff -D__ATOMIC_ACQUIRE=2 -D__FLT_MIN__=1.1754943508222875e-38F -D__GCC_IEC_559_COMPLEX=0 -D__cpp_aggregate_nsdmi=201304 -D__UINT_LEAST8_TYPE__=unsigned char -D__INTMAX_C(c)=c ## LL -D__CHAR_BIT__=8 -D__UINT8_MAX__=0xff -D__WINT_MAX__=0xffffffffU -D__FLT32_MIN_EXP__=(-125) -D__cpp_static_assert=201411 -D__ORDER_LITTLE_ENDIAN__=1234 -D__SIZE_MAX__=0xffffffffU -D__WCHAR_MAX__=0xffff -D__GCC_HAVE_SYNC_COMPARE_AND_SWAP_1=1 -D__GCC_HAVE_SYNC_COMPARE_AND_SWAP_2=1 -D__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4=1 -D__DBL_DENORM_MIN__=double(4.9406564584124654e-324L) -D__GCC_ATOMIC_CHAR_LOCK_FREE=2 -D__GCC_IEC_559=0 -D__FLT32X_DECIMAL_DIG__=17 -D__FLT_EVAL_METHOD__=0 -D__cpp_enumerator_attributes=201411 -D__cpp_binary_literals=201304 -D__FLT64_DECIMAL_DIG__=17 -D__cpp_noexcept_function_type=201510 -D__GCC_ATOMIC_CHAR32_T_LOCK_FREE=2 -D__cpp_variadic_templates=200704 -D__UINT_FAST64_MAX__=0xffffffffffffffffULL -D__SIG_ATOMIC_TYPE__=int -D__DBL_MIN_10_EXP__=(-307) -D__FINITE_MATH_ONLY__=0 -D__cpp_variable_templates=201304 -D__GNUC_PATCHLEVEL__=0 -D__FLT32_HAS_DENORM__=1 -D__UINT_FAST8_MAX__=0xffffffffU -D__has_include(STR)=__has_include__(STR) -D__FLT32_MAX_10_EXP__=38 -D__DEC64_MAX_EXP__=385 -D__INT8_C(c)=c -D__INT_LEAST8_WIDTH__=8 -D__cpp_variadic_using=201611 -D__UINT_LEAST64_MAX__=0xffffffffffffffffULL -D__cpp_capture_star_this=201603 -D__SHRT_MAX__=0x7fff -D__LDBL_MAX__=1.7976931348623157e+308L -D__cpp_if_constexpr=201606 -D__UINT_LEAST8_MAX__=0xff -D__GCC_ATOMIC_BOOL_LOCK_FREE=2 -D__UINTMAX_TYPE__=long long unsigned int -D__DEC32_EPSILON__=1E-6DF -D__FLT_EVAL_METHOD_TS_18661_3__=0 -D__CHAR_UNSIGNED__=1 -D__UINT32_MAX__=0xffffffffU -D__GXX_EXPERIMENTAL_CXX0X__=1 -D__LDBL_MAX_EXP__=1024 -D__WINT_MIN__=0U -D__INT_LEAST16_WIDTH__=16 -D__SCHAR_MAX__=0x7f -D__WCHAR_MIN__=0 -D__INT64_C(c)=c ## LL -D__DBL_DIG__=15 -D__GCC_ATOMIC_POINTER_LOCK_FREE=2 -D__SIZEOF_INT__=4 -D__SIZEOF_POINTER__=4 -D__GCC_ATOMIC_CHAR16_T_LOCK_FREE=2 -D__cpp_aligned_new=201606 -D__USER_LABEL_PREFIX__ -D__STDC_HOSTED__=1 -D__LDBL_HAS_INFINITY__=1 -D__XTENSA_EL__=1 -D__FLT32_DIG__=6 -D__FLT_EPSILON__=1.1920928955078125e-7F -D__GXX_WEAK__=1 -D__SHRT_WIDTH__=16 -D__LDBL_MIN__=2.2250738585072014e-308L -D__DEC32_MAX__=9.999999E96DF -D__cpp_threadsafe_static_init=200806 -D__FLT32X_HAS_INFINITY__=1 -D__INT32_MAX__=0x7fffffff -D__INT_WIDTH__=32 -D__SIZEOF_LONG__=4 -D__UINT16_C(c)=c -D__PTRDIFF_WIDTH__=32 -D__DECIMAL_DIG__=17 -D__FLT64_EPSILON__=2.2204460492503131e-16F64 -D__INTMAX_WIDTH__=64 -D__FLT64_MIN_EXP__=(-1021) -D__has_include_next(STR)=__has_include_next__(STR) -D__LDBL_HAS_QUIET_NAN__=1 -D__FLT64_MANT_DIG__=53 -D__GNUC__=8 -D__cpp_delegating_constructors=200604 -D__FLT_HAS_DENORM__=1 -D__SIZEOF_LONG_DOUBLE__=8 -D__BIGGEST_ALIGNMENT__=16 -D__STDC_UTF_16__=1 -D__FLT64_MAX_10_EXP__=308 -D__FLT32_HAS_INFINITY__=1 -D__DBL_MAX__=double(1.7976931348623157e+308L) -D__cpp_raw_strings=200710 -D__INT_FAST32_MAX__=0x7fffffff -D__DBL_HAS_INFINITY__=1 -D__cpp_deduction_guides=201611 -D__cpp_fold_expressions=201603 -D__DEC32_MIN_EXP__=(-94) -D__INTPTR_WIDTH__=32 -D__FLT32X_HAS_DENORM__=1 -D__INT_FAST16_TYPE__=int -D__LDBL_HAS_DENORM__=1 -D__cplusplus=201703L -D__cpp_ref_qualifiers=200710 -D__DEC128_MAX__=9.999999999999999999999999999999999E6144DL -D__INT_LEAST32_MAX__=0x7fffffff -D__DEC32_MIN__=1E-95DF -D__DEPRECATED=1 -D__cpp_rvalue_references=200610 -D__DBL_MAX_EXP__=1024 -D__WCHAR_WIDTH__=16 -D__FLT32_MAX__=3.4028234663852886e+38F32 -D__DEC128_EPSILON__=1E-33DL -D__PTRDIFF_MAX__=0x7fffffff -D__FLT32_HAS_QUIET_NAN__=1 -D__GNUG__=8 -D__LONG_LONG_MAX__=0x7fffffffffffffffLL -D__SIZEOF_SIZE_T__=4 -D__cpp_rvalue_reference=200610 -D__cpp_nsdmi=200809 -D__SIZEOF_WINT_T__=4 -D__LONG_LONG_WIDTH__=64 -D__cpp_initializer_lists=200806 -D__FLT32_MAX_EXP__=128 -D__cpp_hex_float=201603 -D__GXX_ABI_VERSION=1013 -D__FLT_MIN_EXP__=(-125) -D__cpp_lambdas=200907 -D__INT_FAST64_TYPE__=long long int -D__FP_FAST_FMAF=1 -D__FLT64_DENORM_MIN__=4.9406564584124654e-324F64 -D__DBL_MIN__=double(2.2250738585072014e-308L) -D__FLT32X_EPSILON__=2.2204460492503131e-16F32x -D__FLT64_MIN_10_EXP__=(-307) -D__DEC128_MIN__=1E-6143DL -D__REGISTER_PREFIX__ -D__UINT16_MAX__=0xffff -D__DBL_HAS_DENORM__=1 -D__FLT32_MIN__=1.1754943508222875e-38F32 -D__UINT8_TYPE__=unsigned char -D__NO_INLINE__=1 -D__FLT_MANT_DIG__=24 -D__LDBL_DECIMAL_DIG__=17 -D__VERSION__="8.4.0" -D__UINT64_C(c)=c ## ULL -D__cpp_unicode_characters=201411 -D__cpp_decltype_auto=201304 -D__GCC_ATOMIC_INT_LOCK_FREE=2 -D__FLT32_MANT_DIG__=24 -D__FLOAT_WORD_ORDER__=__ORDER_LITTLE_ENDIAN__ -D__cpp_aggregate_bases=201603 -D__SCHAR_WIDTH__=8 -D__INT32_C(c)=c -D__DEC64_EPSILON__=1E-15DD -D__ORDER_PDP_ENDIAN__=3412 -D__DEC128_MIN_EXP__=(-6142) -D__cpp_nested_namespace_definitions=201411 -D__INT_FAST32_TYPE__=int -D__UINT_LEAST16_TYPE__=short unsigned int -D__INT16_MAX__=0x7fff -D__SIZE_TYPE__=unsigned int -D__UINT64_MAX__=0xffffffffffffffffULL -D__INT8_TYPE__=signed char -D__cpp_digit_separators=201309 -D__ELF__=1 -D__xtensa__=1 -D__FLT_RADIX__=2 -D__INT_LEAST16_TYPE__=short int -D__LDBL_EPSILON__=2.2204460492503131e-16L -D__UINTMAX_C(c)=c ## ULL -D__SIG_ATOMIC_MAX__=0x7fffffff -D__GCC_ATOMIC_WCHAR_T_LOCK_FREE=2 -D__SIZEOF_PTRDIFF_T__=4 -D__FLT32X_MANT_DIG__=53 -D__FLT32X_MIN_EXP__=(-1021) -D__DEC32_SUBNORMAL_MIN__=0.000001E-95DF -D__INT_FAST16_MAX__=0x7fffffff -D__FLT64_DIG__=15 -D__UINT_FAST32_MAX__=0xffffffffU -D__UINT_LEAST64_TYPE__=long long unsigned int -D__FLT_HAS_QUIET_NAN__=1 -D__FLT_MAX_10_EXP__=38 -D__LONG_MAX__=0x7fffffffL -D__DEC128_SUBNORMAL_MIN__=0.000000000000000000000000000000001E-6143DL -D__FLT_HAS_INFINITY__=1 -D__cpp_unicode_literals=200710 -D__UINT_FAST16_TYPE__=unsigned int -D__DEC64_MAX__=9.999999999999999E384DD -D__INT_FAST32_WIDTH__=32 -D__CHAR16_TYPE__=short unsigned int -D__PRAGMA_REDEFINE_EXTNAME=1 -D__SIZE_WIDTH__=32 -D__INT_LEAST16_MAX__=0x7fff -D__DEC64_MANT_DIG__=16 -D__INT64_MAX__=0x7fffffffffffffffLL -D__UINT_LEAST32_MAX__=0xffffffffU -D__FLT32_DENORM_MIN__=1.4012984643248171e-45F32 -D__GCC_ATOMIC_LONG_LOCK_FREE=2 -D__SIG_ATOMIC_WIDTH__=32 -D__INT_LEAST64_TYPE__=long long int -D__INT16_TYPE__=short int -D__INT_LEAST8_TYPE__=signed char -D__cpp_structured_bindings=201606 -D__DEC32_MAX_EXP__=97 -D__INT_FAST8_MAX__=0x7fffffff -D__INTPTR_MAX__=0x7fffffff -D__cpp_sized_deallocation=201309 -D__cpp_guaranteed_copy_elision=201606 -D__cpp_range_based_for=201603 -D__FLT64_HAS_QUIET_NAN__=1 -D__FLT32_MIN_10_EXP__=(-37) -D__EXCEPTIONS=1 -D__LDBL_MANT_DIG__=53 -D__DBL_HAS_QUIET_NAN__=1 -D__FLT64_HAS_INFINITY__=1 -D__STDCPP_DEFAULT_NEW_ALIGNMENT__=8 -D__SIG_ATOMIC_MIN__=(-__SIG_ATOMIC_MAX__ - 1) -D__cpp_nontype_template_args=201411 -D__cpp_return_type_deduction=201304 -D__INTPTR_TYPE__=int -D__UINT16_TYPE__=short unsigned int -D__WCHAR_TYPE__=short unsigned int -D__SIZEOF_FLOAT__=4 -D__UINTPTR_MAX__=0xffffffffU -D__INT_FAST64_WIDTH__=64 -D__DEC64_MIN_EXP__=(-382) -D__cpp_decltype=200707 -D__FLT32_DECIMAL_DIG__=9 -D__INT_FAST64_MAX__=0x7fffffffffffffffLL -D__GCC_ATOMIC_TEST_AND_SET_TRUEVAL=1 -D__FLT_DIG__=6 -D__UINT_FAST64_TYPE__=long long unsigned int -D__cpp_inline_variables=201606 -D__INT_MAX__=0x7fffffff -D__INT64_TYPE__=long long int -D__FLT_MAX_EXP__=128 -D__DBL_MANT_DIG__=53 -D__cpp_inheriting_constructors=201511 -D__INT_LEAST64_MAX__=0x7fffffffffffffffLL -D__FP_FAST_FMAF32=1 -D__DEC64_MIN__=1E-383DD -D__WINT_TYPE__=unsigned int -D__UINT_LEAST32_TYPE__=unsigned int -D__SIZEOF_SHORT__=2 -D__LDBL_MIN_EXP__=(-1021) -D__FLT64_MAX__=1.7976931348623157e+308F64 -D__WINT_WIDTH__=32 -D__cpp_template_auto=201606 -D__INT_LEAST8_MAX__=0x7f -D__FLT32X_MAX_10_EXP__=308 -D__SSP__=1 -D__WCHAR_UNSIGNED__=1 -D__LDBL_MAX_10_EXP__=308 -D__ATOMIC_RELAXED=0 -D__DBL_EPSILON__=double(2.2204460492503131e-16L) -D__XTENSA_WINDOWED_ABI__=1 -D__UINT8_C(c)=c -D__FLT64_MAX_EXP__=1024 -D__INT_LEAST32_TYPE__=int -D__SIZEOF_WCHAR_T__=2 -D__INT_FAST8_TYPE__=int -D__GNUC_STDC_INLINE__=1 -D__FLT64_HAS_DENORM__=1 -D__FLT32_EPSILON__=1.1920928955078125e-7F32 -D__DBL_DECIMAL_DIG__=17 -D__STDC_UTF_32__=1 -D__INT_FAST8_WIDTH__=32 -D__DEC_EVAL_METHOD__=2 -D__FLT32X_MAX__=1.7976931348623157e+308F32x -D__XTENSA__=1 -D__ORDER_BIG_ENDIAN__=4321 -D__cpp_runtime_arrays=198712 -D__UINT64_TYPE__=long long unsigned int -D__cpp_namespace_attributes=201411 -D__UINT32_C(c)=c ## U -D__INTMAX_MAX__=0x7fffffffffffffffLL -D__cpp_alias_templates=200704 -D__BYTE_ORDER__=__ORDER_LITTLE_ENDIAN__ -D__FLT_DENORM_MIN__=1.4012984643248171e-45F -D__INT8_MAX__=0x7f -D__LONG_WIDTH__=32 -D__UINT_FAST32_TYPE__=unsigned int -D__CHAR32_TYPE__=unsigned int -D__FLT_MAX__=3.4028234663852886e+38F -D__cpp_constexpr=201603 -D__INT32_TYPE__=int -D__SIZEOF_DOUBLE__=8 -D__cpp_exceptions=199711 -D__FLT_MIN_10_EXP__=(-37) -D__FLT64_MIN__=2.2250738585072014e-308F64 -D__INT_LEAST32_WIDTH__=32 -D__INTMAX_TYPE__=long long int -D__DEC128_MAX_EXP__=6145 -D__FLT32X_HAS_QUIET_NAN__=1 -D__ATOMIC_CONSUME=1 -D__GNUC_MINOR__=4 -D__INT_FAST16_WIDTH__=32 -D__UINTMAX_MAX__=0xffffffffffffffffULL -D__DEC32_MANT_DIG__=7 -D__FLT32X_DENORM_MIN__=4.9406564584124654e-324F32x -D__cpp_template_template_args=201611 -D__DBL_MAX_10_EXP__=308 -D__LDBL_DENORM_MIN__=4.9406564584124654e-324L -D__INT16_C(c)=c -D__cpp_generic_lambdas=201304 -D__STDC__=1 -D__FLT32X_DIG__=15 -D__PTRDIFF_TYPE__=int -D__ATOMIC_SEQ_CST=5 -D__UINT32_TYPE__=unsigned int -D__FLT32X_MIN_10_EXP__=(-307) -D__UINTPTR_TYPE__=unsigned int -D__DEC64_SUBNORMAL_MIN__=0.000000000000001E-383DD -D__DEC128_MANT_DIG__=34 -D__LDBL_MIN_10_EXP__=(-307) -D__SIZEOF_LONG_LONG__=8 -D__cpp_user_defined_literals=200809 -D__GCC_ATOMIC_LLONG_LOCK_FREE=1 -D__FLT32X_MIN__=2.2250738585072014e-308F32x -D__LDBL_DIG__=15 -D__FLT_DECIMAL_DIG__=9 -D__UINT_FAST16_MAX__=0xffffffffU -D__GCC_ATOMIC_SHORT_LOCK_FREE=2 -D__INT_LEAST64_WIDTH__=64 -D__UINT_FAST8_TYPE__=unsigned int -D__cpp_init_captures=201304 -D__ATOMIC_ACQ_REL=4 -D__ATOMIC_RELEASE=3 -IC:\workspace\control\local-control\SGTCM-PlatformIo\include -IC:\workspace\control\local-control\SGTCM-PlatformIo\src -IC:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\include -IC:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_lib\src -IC:\workspace\control\local-control\SGTCM-PlatformIo\.pio\libdeps\gpt_pcb\SparkFun L6470 AutoDriver\src -IC:\workspace\control\local-control\SGTCM-PlatformIo\.pio\libdeps\gpt_pcb\Nanopb -IC:\workspace\control\local-control\SGTCM-PlatformIo\.pio\build\gpt_pcb\nanopb\generated-src -IC:\workspace\control\local-control\SGTCM-PlatformIo\.pio\libdeps\gpt_pcb\ArduinoEigen -IC:\workspace\control\local-control\SGTCM-PlatformIo\.pio\libdeps\gpt_pcb\Time -IC:\workspace\control\local-control\SGTCM-PlatformIo\.pio\libdeps\gpt_pcb\aWOT\src -IC:\workspace\control\local-control\SGTCM-PlatformIo\.pio\libdeps\gpt_pcb\CircularBuffer -IC:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_simulation\include -IC:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_simulation\src -IC:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_test_lib\include -IC:\workspace\control\local-control\SGTCM-PlatformIo\lib\sgtcm_test_lib\src -IC:\workspace\control\local-control\SGTCM-PlatformIo\.pio\libdeps\gpt_pcb\Unity\src -IC:\workspace\control\local-control\SGTCM-PlatformIo\.pio\libdeps\gpt_pcb\fmt\include -IC:\workspace\control\local-control\SGTCM-PlatformIo\.pio\libdeps\gpt_pcb\fmt\src

which is more than 34.2K characters...

@Abasz
Copy link

Abasz commented Mar 9, 2023

clang-tidy can take a yaml file (--config-file=.clang-tidy) that could include the necessary include path in the ExtraArgs property. This way these do not need to be passed as cmd argument and the command can be shortened.

@Bascy
Copy link

Bascy commented Mar 31, 2023

Would love to see a fix for this

@nschurando
Copy link

nschurando commented Apr 18, 2023

Same here. Using the --verbose argument, I was able to confirm that platformio generates for my project a 39376 character long command line call to clang-tidy. Maybe calling clang-tidy once per source file could be a fix?

@PBrunot
Copy link

PBrunot commented Apr 23, 2023

It fails even with a simple project, provided the toolchain / libraries have enough included files.

Example with --verbose:

C:\Users\pasca\.platformio\packages\tool-clangtidy\clang-tidy --quiet --checks=-*,cert-*,clang-analyzer-* --fix C:\Users\pasca\Git\rfid-arduino\src\AuthProvider.cpp C:\Users\pasca\Git\rfid-arduino\src\BoardState.cpp C:\Users\pasca\Git\rfid-arduino\src\FabServer.cpp C:\Users\pasca\Git\rfid-arduino\src\Machine.cpp C:\Users\pasca\Git\rfid-arduino\src\main.cpp C:\Users\pasca\Git\rfid-arduino\src\RFIDWrapper.cpp C:\Users\pasca\Git\rfid-arduino\include\AuthProvider.h C:\Users\pasca\Git\rfid-arduino\include\Board.h C:\Users\pasca\Git\rfid-arduino\include\BoardState.h C:\Users\pasca\Git\rfid-arduino\include\card.h C:\Users\pasca\Git\rfid-arduino\include\conf.h C:\Users\pasca\Git\rfid-arduino\include\FabServer.h C:\Users\pasca\Git\rfid-arduino\include\FabUser.h C:\Users\pasca\Git\rfid-arduino\include\LCDWrapper.h C:\Users\pasca\Git\rfid-arduino\include\Machine.h C:\Users\pasca\Git\rfid-arduino\include\pins.h C:\Users\pasca\Git\rfid-arduino\include\RFIDWrapper.h C:\Users\pasca\Git\rfid-arduino\include\secrets.h -- -DPLATFORMIO=60106 -DARDUINO_ESP32S3_DEV -DARDUINO_USB_MODE=1 -DARDUINO_RUNNING_CORE=1 -DARDUINO_EVENT_RUNNING_CORE=1 -DPINS_ESP32S3 -DHAVE_CONFIG_H -DMBEDTLS_CONFIG_FILE="mbedtls/esp_config.h" -DUNITY_INCLUDE_CONFIG_H -DWITH_POSIX -D_GNU_SOURCE -DIDF_VER="v4.4.4" -DESP_PLATFORM -D_POSIX_READER_WRITER_LOCKS -DARDUINO_ARCH_ESP32 -DESP32 -DF_CPU=160000000L -DARDUINO=10812 -DARDUINO_VARIANT="esp32s3" -DARDUINO_BOARD="Espressif ESP32-S3-DevKitC-1-N8 (8 MB QD, No PSRAM)" -DARDUINO_PARTITION_default -D__DBL_MIN_EXP__=(-1021) -D__FLT32X_MAX_EXP__=1024 -D__cpp_attributes=200809 -D__cpp_nontype_template_parameter_auto=201606 -D__UINT_LEAST16_MAX__=0xffff -D__ATOMIC_ACQUIRE=2 -D__FLT_MIN__=1.1754943508222875e-38F -D__GCC_IEC_559_COMPLEX=0 -D__cpp_aggregate_nsdmi=201304 -D__UINT_LEAST8_TYPE__=unsigned char -D__INTMAX_C(c)=c ## LL -D__CHAR_BIT__=8 -D__UINT8_MAX__=0xff -D__WINT_MAX__=0xffffffffU -D__FLT32_MIN_EXP__=(-125) -D__cpp_static_assert=201411 -D__ORDER_LITTLE_ENDIAN__=1234 -D__SIZE_MAX__=0xffffffffU -D__WCHAR_MAX__=0xffff -D__GCC_HAVE_SYNC_COMPARE_AND_SWAP_1=1 -D__GCC_HAVE_SYNC_COMPARE_AND_SWAP_2=1 -D__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4=1 -D__DBL_DENORM_MIN__=double(4.9406564584124654e-324L) -D__GCC_ATOMIC_CHAR_LOCK_FREE=2 -D__GCC_IEC_559=0 -D__FLT32X_DECIMAL_DIG__=17 -D__FLT_EVAL_METHOD__=0 -D__cpp_enumerator_attributes=201411 -D__cpp_binary_literals=201304 -D__FLT64_DECIMAL_DIG__=17 -D__cpp_noexcept_function_type=201510 -D__GCC_ATOMIC_CHAR32_T_LOCK_FREE=2 -D__cpp_variadic_templates=200704 -D__UINT_FAST64_MAX__=0xffffffffffffffffULL -D__SIG_ATOMIC_TYPE__=int -D__DBL_MIN_10_EXP__=(-307) -D__FINITE_MATH_ONLY__=0 -D__cpp_variable_templates=201304 -D__GNUC_PATCHLEVEL__=0 -D__FLT32_HAS_DENORM__=1 -D__UINT_FAST8_MAX__=0xffffffffU -D__has_include(STR)=__has_include__(STR) -D__FLT32_MAX_10_EXP__=38 -D__DEC64_MAX_EXP__=385 -D__INT8_C(c)=c -D__INT_LEAST8_WIDTH__=8 -D__cpp_variadic_using=201611 -D__UINT_LEAST64_MAX__=0xffffffffffffffffULL -D__cpp_capture_star_this=201603 -D__SHRT_MAX__=0x7fff -D__LDBL_MAX__=1.7976931348623157e+308L -D__cpp_if_constexpr=201606 -D__UINT_LEAST8_MAX__=0xff -D__GCC_ATOMIC_BOOL_LOCK_FREE=2 -D__UINTMAX_TYPE__=long long unsigned int -D__DEC32_EPSILON__=1E-6DF -D__FLT_EVAL_METHOD_TS_18661_3__=0 -D__CHAR_UNSIGNED__=1 -D__UINT32_MAX__=0xffffffffU -D__GXX_EXPERIMENTAL_CXX0X__=1 -D__LDBL_MAX_EXP__=1024 -D__WINT_MIN__=0U -D__INT_LEAST16_WIDTH__=16 -D__SCHAR_MAX__=0x7f -D__WCHAR_MIN__=0 -D__INT64_C(c)=c ## LL -D__DBL_DIG__=15 -D__GCC_ATOMIC_POINTER_LOCK_FREE=2 -D__SIZEOF_INT__=4 -D__SIZEOF_POINTER__=4 -D__GCC_ATOMIC_CHAR16_T_LOCK_FREE=2 -D__cpp_aligned_new=201606 -D__USER_LABEL_PREFIX__ -D__STDC_HOSTED__=1 -D__LDBL_HAS_INFINITY__=1 -D__XTENSA_EL__=1 -D__FLT32_DIG__=6 -D__FLT_EPSILON__=1.1920928955078125e-7F -D__GXX_WEAK__=1 -D__SHRT_WIDTH__=16 -D__LDBL_MIN__=2.2250738585072014e-308L -D__DEC32_MAX__=9.999999E96DF -D__cpp_threadsafe_static_init=200806 -D__FLT32X_HAS_INFINITY__=1 -D__INT32_MAX__=0x7fffffff -D__INT_WIDTH__=32 -D__SIZEOF_LONG__=4 -D__UINT16_C(c)=c -D__PTRDIFF_WIDTH__=32 -D__DECIMAL_DIG__=17 -D__FLT64_EPSILON__=2.2204460492503131e-16F64 -D__INTMAX_WIDTH__=64 -D__FLT64_MIN_EXP__=(-1021) -D__has_include_next(STR)=__has_include_next__(STR) -D__LDBL_HAS_QUIET_NAN__=1 -D__FLT64_MANT_DIG__=53 -D__GNUC__=8 -D__cpp_delegating_constructors=200604 -D__FLT_HAS_DENORM__=1 -D__SIZEOF_LONG_DOUBLE__=8 -D__BIGGEST_ALIGNMENT__=16 -D__STDC_UTF_16__=1 -D__FLT64_MAX_10_EXP__=308 -D__FLT32_HAS_INFINITY__=1 -D__DBL_MAX__=double(1.7976931348623157e+308L) -D__cpp_raw_strings=200710 -D__INT_FAST32_MAX__=0x7fffffff -D__DBL_HAS_INFINITY__=1 -D__cpp_deduction_guides=201611 -D__cpp_fold_expressions=201603 -D__DEC32_MIN_EXP__=(-94) -D__INTPTR_WIDTH__=32 -D__FLT32X_HAS_DENORM__=1 -D__INT_FAST16_TYPE__=int -D__LDBL_HAS_DENORM__=1 -D__cplusplus=201703L -D__cpp_ref_qualifiers=200710 -D__DEC128_MAX__=9.999999999999999999999999999999999E6144DL -D__INT_LEAST32_MAX__=0x7fffffff -D__DEC32_MIN__=1E-95DF -D__DEPRECATED=1 -D__cpp_rvalue_references=200610 -D__DBL_MAX_EXP__=1024 -D__WCHAR_WIDTH__=16 -D__FLT32_MAX__=3.4028234663852886e+38F32 -D__DEC128_EPSILON__=1E-33DL -D__PTRDIFF_MAX__=0x7fffffff -D__FLT32_HAS_QUIET_NAN__=1 -D__GNUG__=8 -D__LONG_LONG_MAX__=0x7fffffffffffffffLL -D__SIZEOF_SIZE_T__=4 -D__cpp_rvalue_reference=200610 -D__cpp_nsdmi=200809 -D__SIZEOF_WINT_T__=4 -D__LONG_LONG_WIDTH__=64 -D__cpp_initializer_lists=200806 -D__FLT32_MAX_EXP__=128 -D__cpp_hex_float=201603 -D__GXX_ABI_VERSION=1013 -D__FLT_MIN_EXP__=(-125) -D__cpp_lambdas=200907 -D__INT_FAST64_TYPE__=long long int -D__FP_FAST_FMAF=1 -D__FLT64_DENORM_MIN__=4.9406564584124654e-324F64 -D__DBL_MIN__=double(2.2250738585072014e-308L) -D__FLT32X_EPSILON__=2.2204460492503131e-16F32x -D__FLT64_MIN_10_EXP__=(-307) -D__DEC128_MIN__=1E-6143DL -D__REGISTER_PREFIX__ -D__UINT16_MAX__=0xffff -D__DBL_HAS_DENORM__=1 -D__FLT32_MIN__=1.1754943508222875e-38F32 -D__UINT8_TYPE__=unsigned char -D__NO_INLINE__=1 -D__FLT_MANT_DIG__=24 -D__LDBL_DECIMAL_DIG__=17 -D__VERSION__="8.4.0" -D__UINT64_C(c)=c ## ULL -D__cpp_unicode_characters=201411 -D__cpp_decltype_auto=201304 -D__GCC_ATOMIC_INT_LOCK_FREE=2 -D__FLT32_MANT_DIG__=24 -D__FLOAT_WORD_ORDER__=__ORDER_LITTLE_ENDIAN__ -D__cpp_aggregate_bases=201603 -D__SCHAR_WIDTH__=8 -D__INT32_C(c)=c -D__DEC64_EPSILON__=1E-15DD -D__ORDER_PDP_ENDIAN__=3412 -D__DEC128_MIN_EXP__=(-6142) -D__cpp_nested_namespace_definitions=201411 -D__INT_FAST32_TYPE__=int -D__UINT_LEAST16_TYPE__=short unsigned int -D__INT16_MAX__=0x7fff -D__SIZE_TYPE__=unsigned int -D__UINT64_MAX__=0xffffffffffffffffULL -D__INT8_TYPE__=signed char -D__cpp_digit_separators=201309 -D__ELF__=1 -D__xtensa__=1 -D__FLT_RADIX__=2 -D__INT_LEAST16_TYPE__=short int -D__LDBL_EPSILON__=2.2204460492503131e-16L -D__UINTMAX_C(c)=c ## ULL -D__SIG_ATOMIC_MAX__=0x7fffffff -D__GCC_ATOMIC_WCHAR_T_LOCK_FREE=2 -D__SIZEOF_PTRDIFF_T__=4 -D__FLT32X_MANT_DIG__=53 -D__FLT32X_MIN_EXP__=(-1021) -D__DEC32_SUBNORMAL_MIN__=0.000001E-95DF -D__INT_FAST16_MAX__=0x7fffffff -D__FLT64_DIG__=15 -D__UINT_FAST32_MAX__=0xffffffffU -D__UINT_LEAST64_TYPE__=long long unsigned int -D__FLT_HAS_QUIET_NAN__=1 -D__FLT_MAX_10_EXP__=38 -D__LONG_MAX__=0x7fffffffL -D__DEC128_SUBNORMAL_MIN__=0.000000000000000000000000000000001E-6143DL -D__FLT_HAS_INFINITY__=1 -D__cpp_unicode_literals=200710 -D__UINT_FAST16_TYPE__=unsigned int -D__DEC64_MAX__=9.999999999999999E384DD -D__INT_FAST32_WIDTH__=32 -D__CHAR16_TYPE__=short unsigned int -D__PRAGMA_REDEFINE_EXTNAME=1 -D__SIZE_WIDTH__=32 -D__INT_LEAST16_MAX__=0x7fff -D__DEC64_MANT_DIG__=16 -D__INT64_MAX__=0x7fffffffffffffffLL -D__UINT_LEAST32_MAX__=0xffffffffU -D__FLT32_DENORM_MIN__=1.4012984643248171e-45F32 -D__GCC_ATOMIC_LONG_LOCK_FREE=2 -D__SIG_ATOMIC_WIDTH__=32 -D__INT_LEAST64_TYPE__=long long int -D__INT16_TYPE__=short int -D__INT_LEAST8_TYPE__=signed char -D__cpp_structured_bindings=201606 -D__DEC32_MAX_EXP__=97 -D__INT_FAST8_MAX__=0x7fffffff -D__INTPTR_MAX__=0x7fffffff -D__cpp_sized_deallocation=201309 -D__cpp_guaranteed_copy_elision=201606 -D__cpp_range_based_for=201603 -D__FLT64_HAS_QUIET_NAN__=1 -D__FLT32_MIN_10_EXP__=(-37) -D__EXCEPTIONS=1 -D__LDBL_MANT_DIG__=53 -D__DBL_HAS_QUIET_NAN__=1 -D__FLT64_HAS_INFINITY__=1 -D__STDCPP_DEFAULT_NEW_ALIGNMENT__=8 -D__SIG_ATOMIC_MIN__=(-__SIG_ATOMIC_MAX__ - 1) -D__cpp_nontype_template_args=201411 -D__cpp_return_type_deduction=201304 -D__INTPTR_TYPE__=int -D__UINT16_TYPE__=short unsigned int -D__WCHAR_TYPE__=short unsigned int -D__SIZEOF_FLOAT__=4 -D__UINTPTR_MAX__=0xffffffffU -D__INT_FAST64_WIDTH__=64 -D__DEC64_MIN_EXP__=(-382) -D__cpp_decltype=200707 -D__FLT32_DECIMAL_DIG__=9 -D__INT_FAST64_MAX__=0x7fffffffffffffffLL -D__GCC_ATOMIC_TEST_AND_SET_TRUEVAL=1 -D__FLT_DIG__=6 -D__UINT_FAST64_TYPE__=long long unsigned int -D__cpp_inline_variables=201606 -D__INT_MAX__=0x7fffffff -D__INT64_TYPE__=long long int -D__FLT_MAX_EXP__=128 -D__DBL_MANT_DIG__=53 -D__cpp_inheriting_constructors=201511 -D__INT_LEAST64_MAX__=0x7fffffffffffffffLL -D__FP_FAST_FMAF32=1 -D__DEC64_MIN__=1E-383DD -D__WINT_TYPE__=unsigned int -D__UINT_LEAST32_TYPE__=unsigned int -D__SIZEOF_SHORT__=2 -D__LDBL_MIN_EXP__=(-1021) -D__FLT64_MAX__=1.7976931348623157e+308F64 -D__WINT_WIDTH__=32 -D__cpp_template_auto=201606 -D__INT_LEAST8_MAX__=0x7f -D__FLT32X_MAX_10_EXP__=308 -D__SSP__=1 -D__WCHAR_UNSIGNED__=1 -D__LDBL_MAX_10_EXP__=308 -D__ATOMIC_RELAXED=0 -D__DBL_EPSILON__=double(2.2204460492503131e-16L) -D__XTENSA_WINDOWED_ABI__=1 -D__UINT8_C(c)=c -D__FLT64_MAX_EXP__=1024 -D__INT_LEAST32_TYPE__=int -D__SIZEOF_WCHAR_T__=2 -D__INT_FAST8_TYPE__=int -D__GNUC_STDC_INLINE__=1 -D__FLT64_HAS_DENORM__=1 -D__FLT32_EPSILON__=1.1920928955078125e-7F32 -D__DBL_DECIMAL_DIG__=17 -D__STDC_UTF_32__=1 -D__INT_FAST8_WIDTH__=32 -D__DEC_EVAL_METHOD__=2 -D__FLT32X_MAX__=1.7976931348623157e+308F32x -D__XTENSA__=1 -D__ORDER_BIG_ENDIAN__=4321 -D__cpp_runtime_arrays=198712 -D__UINT64_TYPE__=long long unsigned int -D__cpp_namespace_attributes=201411 -D__UINT32_C(c)=c ## U -D__INTMAX_MAX__=0x7fffffffffffffffLL -D__cpp_alias_templates=200704 -D__BYTE_ORDER__=__ORDER_LITTLE_ENDIAN__ -D__FLT_DENORM_MIN__=1.4012984643248171e-45F -D__INT8_MAX__=0x7f -D__LONG_WIDTH__=32 -D__UINT_FAST32_TYPE__=unsigned int -D__CHAR32_TYPE__=unsigned int -D__FLT_MAX__=3.4028234663852886e+38F -D__cpp_constexpr=201603 -D__INT32_TYPE__=int -D__SIZEOF_DOUBLE__=8 -D__cpp_exceptions=199711 -D__FLT_MIN_10_EXP__=(-37) -D__FLT64_MIN__=2.2250738585072014e-308F64 -D__INT_LEAST32_WIDTH__=32 -D__INTMAX_TYPE__=long long int -D__DEC128_MAX_EXP__=6145 -D__FLT32X_HAS_QUIET_NAN__=1 -D__ATOMIC_CONSUME=1 -D__GNUC_MINOR__=4 -D__INT_FAST16_WIDTH__=32 -D__UINTMAX_MAX__=0xffffffffffffffffULL -D__DEC32_MANT_DIG__=7 -D__FLT32X_DENORM_MIN__=4.9406564584124654e-324F32x -D__cpp_template_template_args=201611 -D__DBL_MAX_10_EXP__=308 -D__LDBL_DENORM_MIN__=4.9406564584124654e-324L -D__INT16_C(c)=c -D__cpp_generic_lambdas=201304 -D__STDC__=1 -D__FLT32X_DIG__=15 -D__PTRDIFF_TYPE__=int -D__ATOMIC_SEQ_CST=5 -D__UINT32_TYPE__=unsigned int -D__FLT32X_MIN_10_EXP__=(-307) -D__UINTPTR_TYPE__=unsigned int -D__DEC64_SUBNORMAL_MIN__=0.000000000000001E-383DD -D__DEC128_MANT_DIG__=34 -D__LDBL_MIN_10_EXP__=(-307) -D__SIZEOF_LONG_LONG__=8 -D__cpp_user_defined_literals=200809 -D__GCC_ATOMIC_LLONG_LOCK_FREE=1 -D__FLT32X_MIN__=2.2250738585072014e-308F32x -D__LDBL_DIG__=15 -D__FLT_DECIMAL_DIG__=9 -D__UINT_FAST16_MAX__=0xffffffffU -D__GCC_ATOMIC_SHORT_LOCK_FREE=2 -D__INT_LEAST64_WIDTH__=64 -D__UINT_FAST8_TYPE__=unsigned int -D__cpp_init_captures=201304 -D__ATOMIC_ACQ_REL=4 -D__ATOMIC_RELEASE=3 -IC:\Users\pasca\Git\rfid-arduino\include -IC:\Users\pasca\Git\rfid-arduino\src -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\libraries\WiFi\src -IC:\Users\pasca\Git\rfid-arduino\.pio\libdeps\esp32-s3-devkitc-1\RFID_MFRC522v2\src -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\libraries\Wire\src -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\libraries\SPI\src -IC:\Users\pasca\Git\rfid-arduino\.pio\libdeps\esp32-s3-devkitc-1\LiquidCrystal\src -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\newlib\platform_include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\freertos\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\freertos\include\esp_additions\freertos -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\freertos\port\xtensa\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\freertos\include\esp_additions -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\esp_hw_support\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\esp_hw_support\include\soc -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\esp_hw_support\include\soc\esp32s3 -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\esp_hw_support\port\esp32s3 -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\esp_hw_support\port\esp32s3\private_include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\heap\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\log\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\lwip\include\apps -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\lwip\include\apps\sntp -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\lwip\lwip\src\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\lwip\port\esp32\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\lwip\port\esp32\include\arch -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\soc\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\soc\esp32s3 -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\soc\esp32s3\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\hal\esp32s3\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\hal\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\hal\platform_port\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\esp_rom\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\esp_rom\include\esp32s3 -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\esp_rom\esp32s3 -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\esp_common\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\esp_system\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\esp_system\port\soc -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\esp_system\port\public_compat -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\xtensa\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\xtensa\esp32s3\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\driver\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\driver\esp32s3\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\esp_pm\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\esp_ringbuf\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\efuse\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\efuse\esp32s3\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\vfs\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\esp_wifi\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\esp_event\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\esp_netif\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\esp_eth\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\tcpip_adapter\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\esp_phy\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\esp_phy\esp32s3\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\esp_ipc\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\app_trace\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\esp_timer\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\mbedtls\port\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\mbedtls\mbedtls\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\mbedtls\esp_crt_bundle\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\app_update\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\spi_flash\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\bootloader_support\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\nvs_flash\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\pthread\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\esp_gdbstub\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\esp_gdbstub\xtensa -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\esp_gdbstub\esp32s3 -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\espcoredump\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\espcoredump\include\port\xtensa -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\wpa_supplicant\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\wpa_supplicant\port\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\wpa_supplicant\esp_supplicant\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\ieee802154\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\console -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\asio\asio\asio\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\asio\port\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\bt\common\osi\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\bt\include\esp32s3\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\bt\common\api\include\api -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\bt\common\btc\profile\esp\blufi\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\bt\common\btc\profile\esp\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\bt\host\bluedroid\api\include\api -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\bt\esp_ble_mesh\mesh_common\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\bt\esp_ble_mesh\mesh_common\tinycrypt\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\bt\esp_ble_mesh\mesh_core -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\bt\esp_ble_mesh\mesh_core\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\bt\esp_ble_mesh\mesh_core\storage -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\bt\esp_ble_mesh\btc\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\bt\esp_ble_mesh\mesh_models\common\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\bt\esp_ble_mesh\mesh_models\client\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\bt\esp_ble_mesh\mesh_models\server\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\bt\esp_ble_mesh\api\core\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\bt\esp_ble_mesh\api\models\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\bt\esp_ble_mesh\api -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\cbor\port\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\unity\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\unity\unity\src -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\cmock\CMock\src -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\coap\port\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\coap\libcoap\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\nghttp\port\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\nghttp\nghttp2\lib\includes -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\esp-tls -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\esp-tls\esp-tls-crypto -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\esp_adc_cal\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\esp_hid\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\tcp_transport\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\esp_http_client\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\esp_http_server\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\esp_https_ota\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\esp_https_server\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\esp_lcd\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\esp_lcd\interface -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\protobuf-c\protobuf-c -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\protocomm\include\common -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\protocomm\include\security -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\protocomm\include\transports -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\mdns\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\esp_local_ctrl\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\sdmmc\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\esp_serial_slave_link\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\esp_websocket_client\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\expat\expat\expat\lib -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\expat\port\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\wear_levelling\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\fatfs\diskio -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\fatfs\vfs -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\fatfs\src -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\freemodbus\freemodbus\common\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\idf_test\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\idf_test\include\esp32s3 -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\jsmn\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\json\cJSON -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\libsodium\libsodium\src\libsodium\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\libsodium\port_include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\mqtt\esp-mqtt\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\openssl\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\perfmon\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\spiffs\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\usb\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\ulp\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\wifi_provisioning\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\rmaker_common\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\json_parser\upstream\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\json_parser\upstream -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\json_generator\upstream -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\esp_schedule\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\esp_rainmaker\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\gpio_button\button\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\qrcode\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\ws2812_led -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\esp_diagnostics\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\rtc_store\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\esp_insights\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\esp-dsp\modules\dotprod\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\esp-dsp\modules\support\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\esp-dsp\modules\windows\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\esp-dsp\modules\windows\hann\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\esp-dsp\modules\windows\blackman\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\esp-dsp\modules\windows\blackman_harris\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\esp-dsp\modules\windows\blackman_nuttall\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\esp-dsp\modules\windows\nuttall\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\esp-dsp\modules\windows\flat_top\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\esp-dsp\modules\iir\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\esp-dsp\modules\fir\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\esp-dsp\modules\math\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\esp-dsp\modules\math\add\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\esp-dsp\modules\math\sub\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\esp-dsp\modules\math\mul\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\esp-dsp\modules\math\addc\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\esp-dsp\modules\math\mulc\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\esp-dsp\modules\math\sqrt\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\esp-dsp\modules\matrix\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\esp-dsp\modules\fft\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\esp-dsp\modules\dct\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\esp-dsp\modules\conv\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\esp-dsp\modules\common\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\esp-dsp\modules\kalman\ekf\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\esp-dsp\modules\kalman\ekf_imu13states\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\freertos\include\freertos -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\arduino_tinyusb\tinyusb\src -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\arduino_tinyusb\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\esp_littlefs\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\esp-dl\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\esp-dl\include\tool -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\esp-dl\include\typedef -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\esp-dl\include\image -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\esp-dl\include\math -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\esp-dl\include\nn -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\esp-dl\include\layer -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\esp-dl\include\detect -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\esp-dl\include\model_zoo -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\esp-sr\src\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\esp-sr\esp-tts\esp_tts_chinese\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\esp-sr\include\esp32s3 -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\esp32-camera\driver\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\esp32-camera\conversions\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\include\fb_gfx\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3\dio_qspi\include -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\cores\esp32 -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\variants\esp32s3 -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\libraries\ArduinoOTA\src -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\libraries\AsyncUDP\src -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\libraries\BLE\src -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\libraries\BluetoothSerial\src -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\libraries\DNSServer\src -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\libraries\EEPROM\src -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\libraries\ESP32\src -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\libraries\ESPmDNS\src -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\libraries\Ethernet\src -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\libraries\FFat\src -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\libraries\FS\src -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\libraries\HTTPClient\src -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\libraries\HTTPUpdate\src -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\libraries\HTTPUpdateServer\src -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\libraries\I2S\src -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\libraries\Insights\src -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\libraries\LittleFS\src -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\libraries\NetBIOS\src -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\libraries\Preferences\src -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\libraries\RainMaker\src -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\libraries\SD\src -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\libraries\SD_MMC\src -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\libraries\SPIFFS\src -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\libraries\SimpleBLE\src -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\libraries\Ticker\src -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\libraries\USB\src -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\libraries\Update\src -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\libraries\WebServer\src -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\libraries\WiFiClientSecure\src -IC:\Users\pasca\.platformio\packages\framework-arduinoespressif32\libraries\WiFiProv\src -IC:\Users\pasca\.platformio\packages\toolchain-riscv32-esp\riscv32-esp-elf\include\c++\8.4.0 -IC:\Users\pasca\.platformio\packages\toolchain-riscv32-esp\riscv32-esp-elf\include\c++\8.4.0\riscv32-esp-elf -IC:\Users\pasca\.platformio\packages\toolchain-riscv32-esp\lib\gcc\riscv32-esp-elf\8.4.0\include -IC:\Users\pasca\.platformio\packages\toolchain-riscv32-esp\lib\gcc\riscv32-esp-elf\8.4.0\include-fixed -IC:\Users\pasca\.platformio\packages\toolchain-riscv32-esp\riscv32-esp-elf\include -IC:\Users\pasca\.platformio\packages\toolchain-xtensa-esp32s3\xtensa-esp32s3-elf\include\c++\8.4.0 -IC:\Users\pasca\.platformio\packages\toolchain-xtensa-esp32s3\xtensa-esp32s3-elf\include\c++\8.4.0\xtensa-esp32s3-elf -IC:\Users\pasca\.platformio\packages\toolchain-xtensa-esp32s3\lib\gcc\xtensa-esp32s3-elf\8.4.0\include -IC:\Users\pasca\.platformio\packages\toolchain-xtensa-esp32s3\lib\gcc\xtensa-esp32s3-elf\8.4.0\include-fixed -IC:\Users\pasca\.platformio\packages\toolchain-xtensa-esp32s3\xtensa-esp32s3-elf\include
Error: Traceback (most recent call last):
  File "C:\Users\pasca\.platformio\penv\lib\site-packages\platformio\__main__.py", line 102, in main
    cli()  # pylint: disable=no-value-for-parameter
  File "C:\Users\pasca\.platformio\penv\lib\site-packages\click\core.py", line 1130, in __call__
    return self.main(*args, **kwargs)
  File "C:\Users\pasca\.platformio\penv\lib\site-packages\click\core.py", line 1055, in main
    rv = self.invoke(ctx)
  File "C:\Users\pasca\.platformio\penv\lib\site-packages\platformio\cli.py", line 71, in invoke
    return super().invoke(ctx)
  File "C:\Users\pasca\.platformio\penv\lib\site-packages\click\core.py", line 1657, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "C:\Users\pasca\.platformio\penv\lib\site-packages\click\core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "C:\Users\pasca\.platformio\penv\lib\site-packages\click\core.py", line 760, in invoke
    return __callback(*args, **kwargs)
  File "C:\Users\pasca\.platformio\penv\lib\site-packages\platformio\check\cli.py", line 136, in cli
    rc = ct.check(
  File "C:\Users\pasca\.platformio\penv\lib\site-packages\platformio\check\tools\base.py", line 236, in check  
    self.execute_check_cmd(cmd)
  File "C:\Users\pasca\.platformio\penv\lib\site-packages\platformio\check\tools\base.py", line 185, in execute_check_cmd
    result = proc.exec_command(
  File "C:\Users\pasca\.platformio\penv\lib\site-packages\platformio\proc.py", line 114, in exec_command       
    with subprocess.Popen(*args, **kwargs) as p:
  File "C:\Users\pasca\.platformio\python3\lib\subprocess.py", line 951, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "C:\Users\pasca\.platformio\python3\lib\subprocess.py", line 1420, in _execute_child
    hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 206] Nome del file o estensione troppo lunga

============================================================

An unexpected error occurred. Further steps:

* Verify that you have the latest version of PlatformIO using
  `pip install -U platformio` command

* Try to find answer in FAQ Troubleshooting section
  https://docs.platformio.org/page/faq/index.html

* Report this problem to the developers
  https://github.com/platformio/platformio-core/issues

============================================================
``

@PBrunot
Copy link

PBrunot commented Feb 11, 2024

With clang-tidy ( LLVM version 17.0.6 ) I can't find a workaround.

I tried to put all the long command-line arguments into a .clang-tidy YAML file with ExtraArgs : '' and manually run clang-tidy --config-file=.clang.tidy but was not successfull.

Command line :

clang-tidy --config-file=.clang-tidy <my_cpp_file>.cpp

Clang.tidy file:

# Disable all checks except for those starting with "cert-" and "clang-analyzer-"
Checks: 
  - 'cert-*'
  - 'clang-analyzer-*'

# ExtraArgs
ExtraArgs: 
  - ' -- -DPLATFORMIO=60113 -DARDUINO_ESP32S3_DEV -DARDUINO_USB_MODE=1 -DARDUINO_RUNNING_CORE=1 -DARDUINO_EVENT_RUNNING_CORE=1 -DGIT_VERSION="0.3.2-2-gec4c5bc" -DHAVE_CONFIG_H -DMBEDTLS_CONFIG_FILE="mbedtls/esp_config.h" -DUNITY_INCLUDE_CONFIG_H -DWITH_POSIX -D_GNU_SOURCE -DIDF_VER="v4.4.5" -DESP_PLATFORM -D_POSIX_READER_WRITER_LOCKS -DARDUINO_ARCH_ESP32 -DESP32 -DF_CPU=160000000L -DARDUINO=10812 -DARDUINO_VARIANT="esp32s3" -DARDUINO_BOARD="Espressif ESP32-S3-DevKitC-1-N8 (8 MB QD, No PSRAM)" -DARDUINO_PARTITION_default -DCORE_DEBUG_LEVEL=4 
  <omitted>

clang-tidy fails not finding the headers who are nevertheless present in the ExtraArgs as "-Ic:\path\to\folder"

I tried ExtraArgsBefore instead of ExtraArgs, no success.

@PBrunot
Copy link

PBrunot commented Feb 13, 2024

I found a workaround : using vscode under Linux. At least this proves the issue is due to command line arguments length.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants