diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/Config_Changes.md | 6 | ||||
-rw-r--r-- | docs/Config_Reference.md | 16 |
2 files changed, 16 insertions, 6 deletions
diff --git a/docs/Config_Changes.md b/docs/Config_Changes.md index 39dcafb7..ff3a2028 100644 --- a/docs/Config_Changes.md +++ b/docs/Config_Changes.md @@ -6,6 +6,12 @@ All dates in this document are approximate. # Changes +20201120: The `[board_pins]` config section now specifies the mcu name +in an explicit `mcu:` parameter. If using board_pins for a secondary +mcu, then the config must be updated to specify that name. See the +[config reference](Config_Reference.md#[board_pins]) for further +details. + 20201112: The time reported by `print_stats.print_duration` has changed. The duration prior to the first detected extrusion is now excluded. diff --git a/docs/Config_Reference.md b/docs/Config_Reference.md index d507d81a..dbc8d7d2 100644 --- a/docs/Config_Reference.md +++ b/docs/Config_Reference.md @@ -1396,19 +1396,23 @@ software dependencies must be installed; refer to ## [board_pins] -Board pin aliases. One may define aliases for the pins on a -micro-controller. (If a micro-controller name is omitted in the -board_pins config section name then it defaults to "mcu".) +Board pin aliases (one may define any number of sections with a +"board_pins" prefix). Use this to define aliases for the pins on a +micro-controller. ``` -[board_pins mcu] +[board_pins my_aliases] +mcu: mcu +# A comma separated list of micro-controllers that may use the +# aliases. The default is to apply the aliases to the main "mcu". aliases: +aliases_<name>: # A comma separated list of "name=value" aliases to create for the # given micro-controller. For example, "EXP1_1=PE6" would create an # "EXP1_1" alias for the "PE6" pin. However, if "value" is enclosed # in "<>" then "name" is created as a reserved pin (for example, -# "EXP1_9=<GND>" would reserve "EXP1_9"). This parameter must be -# provided. +# "EXP1_9=<GND>" would reserve "EXP1_9"). Any number of options +# starting with "aliases_" may be specified. ``` ## [include] |