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>
332 B
332 B
| 1 | D0 | PA13 |
|---|---|---|
| 2 | D1 | PA12 |
| 3 | D4 | PA06 |
| 4 | D5 | PA15 |
| 5 | D6 | PA20 |
| 6 | D7 | PA21 |
| 7 | D9 | PA07 |
| 8 | D10 | PA18 |
| 9 | D11 | PA16 |
| 10 | D12 | PA19 |
| 11 | D13 | PA17 |
| 12 | A0 | PA02 |
| 13 | A1 | PB08 |
| 14 | A2 | PB09 |
| 15 | A3 | PA04 |
| 16 | A4 | PA05 |
| 17 | A5 | PB02 |
| 18 | SDA | PA22 |
| 19 | SCL | PA23 |
| 20 | MOSI | PB12 |
| 21 | MISO | PB11 |
| 22 | SCK | PB13 |
| 23 | FLASH_MOSI | PA08 |
| 24 | FLASH_SCK | PA09 |
| 25 | FLASH_CS | PA10 |
| 26 | FLASH_MISO | PA11 |
| 27 | RXLED | PB03 |
| 28 | TXLED | PA27 |
| 29 | USB_DM | PA24 |
| 30 | USB_DP | PA25 |
| 31 | USB_SOF | PA23 |
| 32 | SWCLK | PA30 |
| 33 | SWDIO | PA31 |