This replaces the previous make-pin-table.py with an implementation based on boardgen.py. - MICROPY_PY_MACHINE_PIN_BOARD_CPU macro is removed. This isn't optional on other ports, so no need for it to be optional on SAMD. - pin_af_table is removed, and lookups just search the cpu dict instead (this saves N*wordsize bytes of firmware size to have this extra table). - pins.csv is now BOARD,CPU to match other ports. This work was funded through GitHub Sponsors. Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
362 B
362 B
| 1 | D0 | PB17 |
|---|---|---|
| 2 | D1 | PB16 |
| 3 | D4 | PA14 |
| 4 | D5 | PA16 |
| 5 | D6 | PA18 |
| 6 | D8 | PB03 |
| 7 | D9 | PA19 |
| 8 | D10 | PA20 |
| 9 | D11 | PA21 |
| 10 | D12 | PA22 |
| 11 | D13 | PA23 |
| 12 | A0 | PA02 |
| 13 | A1 | PA05 |
| 14 | A2 | PB08 |
| 15 | A3 | PB09 |
| 16 | A4 | PA04 |
| 17 | A5 | PB06 |
| 18 | SCL | PA13 |
| 19 | SDA | PA12 |
| 20 | MOSI | PB23 |
| 21 | MISO | PB22 |
| 22 | SCK | PA17 |
| 23 | VDIV | PB01 |
| 24 | AREF | PA03 |
| 25 | NEOPIXEL | PB03 |
| 26 | QSPI_CS | PB11 |
| 27 | QSPI_SCK | PB10 |
| 28 | QSPI_D0 | PA08 |
| 29 | QSPI_D1 | PA09 |
| 30 | QSPI_D2 | PA10 |
| 31 | QSPI_D3 | PA11 |
| 32 | USB_DM | PA24 |
| 33 | USB_DP | PA25 |
| 34 | USB_SOF | PA23 |
| 35 | SWCLK | PA30 |
| 36 | SWDIO | PA31 |