2022-07-13 10:41:36 +08:00
|
|
|
| Supported Targets | ESP32 | ESP32-C3 | ESP32-S2 |
|
2021-03-17 18:48:05 +08:00
|
|
|
| ----------------- | ----- | -------- | -------- |
|
|
|
|
|
2021-02-18 11:08:49 +11:00
|
|
|
# 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.
|
|
|
|
|
2021-02-18 16:02:23 +11:00
|
|
|
Configurations where this is relevant include:
|
2021-02-18 11:08:49 +11:00
|
|
|
|
2021-02-18 16:02:23 +11:00
|
|
|
* 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__`
|
2021-02-18 11:08:49 +11:00
|
|
|
|
|
|
|
Not embedding paths reduces the binary size, avoids leaking information about
|
2021-02-18 16:02:23 +11:00
|
|
|
the compilation environment, and is a necessary step to support reproducible
|
2021-02-18 11:08:49 +11:00
|
|
|
builds across projects built in different directories.
|