Djordje Nedic facab8c5a7 tools: Increase the minimal supported CMake version to 3.16 hace 3 años
..
main 9b988ca097 config: Add new option to replace IDF_PATH and project path with placeholders in macros hace 4 años
CMakeLists.txt facab8c5a7 tools: Increase the minimal supported CMake version to 3.16 hace 3 años
README.md 2aead8ba57 Support ESP32S3 Beta 3 target hace 4 años
check_for_file_paths.py 9ae01e40b5 ci: Add a test app for not placing embedded file paths into binaries hace 4 años
sdkconfig.ci.noasserts 7255497146 freertos: remove FREERTOS_ASSERT option hace 4 años
sdkconfig.ci.noasserts.nimble 7255497146 freertos: remove FREERTOS_ASSERT option hace 4 años
sdkconfig.ci.replacepaths 9b988ca097 config: Add new option to replace IDF_PATH and project path with placeholders in macros hace 4 años
sdkconfig.ci.silentasserts 9b988ca097 config: Add new option to replace IDF_PATH and project path with placeholders in macros hace 4 años
sdkconfig.ci.silentasserts.nimble 7255497146 freertos: remove FREERTOS_ASSERT option hace 4 años

README.md

Supported Targets ESP32 ESP32-S2 ESP32-C3

No Embedded Paths

This test app exists to verify that paths (like FILE) are not compiled into any object files in configurations where this should be avoided.

Configurations where this is relevant include:

  • Assertions disabled (doubles up as a build-time check that disabling assertions doesn't lead to any warnings)
  • Silent assertions
  • CONFIG_COMPILER_HIDE_PATHS_MACROS is set to replace IDF_PATH and project dir with placeholders when expanding __FILE__

Not embedding paths reduces the binary size, avoids leaking information about the compilation environment, and is a necessary step to support reproducible builds across projects built in different directories.