board.chcfg processor ignores <pinX> assignments

Report here problems in any of ChibiOS components. This forum is NOT for support.
faisal
Posts: 374
Joined: Wed Jul 19, 2017 12:44 am
Has thanked: 44 times
Been thanked: 60 times

board.chcfg processor ignores <pinX> assignments

Postby faisal » Tue Mar 27, 2018 9:53 pm

As it is right now, the template ignores the <pinX> pin number, and just outputs whatever pins have been defined in the .chcfg file in increasing order from 0.

Default values should be defined in the template file or somewhere such that if you do not have the definition of a GPIO block or pin, it uses a default value. The 'default' values in the template .xml files are currently set to be Inputs. That should be changed so that they are "Analog" which is a lower power state for unused pins. Also, if you have a missing field in the <pin> configuration, it fails. Again, there should be a default which is applied.

User avatar
Giovanni
Site Admin
Posts: 14455
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1076 times
Been thanked: 922 times
Contact:

Re: board.chcfg processor ignores <pinX> assignments

Postby Giovanni » Sun Nov 10, 2019 10:32 am

bump


Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 12 guests