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