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>
210 B
210 B
| 1 | A0_D0 | PA02 |
|---|---|---|
| 2 | A1_D1 | PA04 |
| 3 | A2_D2 | PA10 |
| 4 | A3_D3 | PA11 |
| 5 | A4_D4 | PA08 |
| 6 | A5_D5 | PA09 |
| 7 | A6_D6 | PB08 |
| 8 | A7_D7 | PB09 |
| 9 | A8_D8 | PA07 |
| 10 | A9_D9 | PA05 |
| 11 | A10_D10 | PA06 |
| 12 | USER_LED | PA17 |
| 13 | RX_LED | PA18 |
| 14 | TX_LED | PA19 |
| 15 | USB_DM | PA24 |
| 16 | USB_DP | PA25 |
| 17 | SWCLK | PA30 |
| 18 | SWDIO | PA31 |