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>
360 B
360 B
| 1 | A0 | PA02 |
|---|---|---|
| 2 | A1 | PB08 |
| 3 | A2 | PB09 |
| 4 | A3 | PA04 |
| 5 | A4 | PA05 |
| 6 | A5 | PA06 |
| 7 | A6 | PA07 |
| 8 | RX | PA16 |
| 9 | TX | PA17 |
| 10 | D3 | PA19 |
| 11 | D4 | PA20 |
| 12 | D5 | PA21 |
| 13 | LED | PA15 |
| 14 | BUTTON | PA00 |
| 15 | AREF | PA03 |
| 16 | SDA | PA12 |
| 17 | SCL | PA13 |
| 18 | MOSI | PB22 |
| 19 | MISO | PB23 |
| 20 | SCK | PA01 |
| 21 | DOTSTAR_DATA | PB03 |
| 22 | DOTSTAR_CLK | PB02 |
| 23 | QSPI_CS | PB11 |
| 24 | QSPI_SCK | PB10 |
| 25 | QSPI_D0 | PA08 |
| 26 | QSPI_D1 | PA09 |
| 27 | QSPI_D2 | PA10 |
| 28 | QSPI_D3 | PA11 |
| 29 | LED | PA15 |
| 30 | USB_DM | PA24 |
| 31 | USB_DP | PA25 |
| 32 | USB_SOF | PA23 |
| 33 | SWCLK | PA30 |
| 34 | SWDIO | PA31 |