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