On boards and chip with a high pin count, like the CH32V307EVT, the number of "arduino pins" defined in the digitalPin[] array is much smaller than the number of GPIO pins broken out on the other board connectors, which prevents them from being used by the Arduino APIs.
Ideally, there should be some sort of symbol like PIN_PD13 for every possible gpio, which maps to an index in the digitalPins[] array (ie "is an Arduino Pin Number"), which will then map it back to a WCH SDK symbol like PD_13. Or at least a compile/menu option to enable this.
On boards and chip with a high pin count, like the CH32V307EVT, the number of "arduino pins" defined in the digitalPin[] array is much smaller than the number of GPIO pins broken out on the other board connectors, which prevents them from being used by the Arduino APIs.
Ideally, there should be some sort of symbol like PIN_PD13 for every possible gpio, which maps to an index in the digitalPins[] array (ie "is an Arduino Pin Number"), which will then map it back to a WCH SDK symbol like PD_13. Or at least a compile/menu option to enable this.