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