From 950ff5a49d621f3df418431f1ab3a7cf6f7193d7 Mon Sep 17 00:00:00 2001 From: per1234 Date: Sun, 26 Jul 2020 08:47:27 -0700 Subject: [PATCH] Document automatic generation of recipe.preproc.macros --- docs/platform-specification.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/platform-specification.md b/docs/platform-specification.md index 3ce51a7d449..97cf71940b2 100644 --- a/docs/platform-specification.md +++ b/docs/platform-specification.md @@ -293,6 +293,8 @@ which will usually result in a permission error. Since platforms typically inclu includes `-MMD`, the `-MMD` option is automatically filtered out of the `recipe.preproc.macros` recipe to prevent this error. +If **recipe.preproc.macros** is not defined, it is automatically generated from **recipe.cpp.o.pattern**. + Note that older Arduino IDE versions used the **recipe.preproc.includes** recipe to determine includes, which is undocumented here. Since Arduino IDE 1.6.7 (arduino-builder 1.2.0) this was changed and **recipe.preproc.includes** is no longer used.