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>
133 B
133 B
| 1 | D0 | PA08 |
|---|---|---|
| 2 | D1 | PA02 |
| 3 | D2 | PA09 |
| 4 | D3 | PA07 |
| 5 | D4 | PA06 |
| 6 | DOTSTAR_DATA | PA00 |
| 7 | DOTSTAR_CLK | PA01 |
| 8 | LED | PA10 |
| 9 | USB_DM | PA24 |
| 10 | USB_DP | PA25 |
| 11 | SWCLK | PA30 |
| 12 | SWDIO | PA31 |