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>
571 B
571 B
| 1 | A0 | PA02 |
|---|---|---|
| 2 | A1 | PA05 |
| 3 | A2 | PA06 |
| 4 | A3 | PB00 |
| 5 | A4 | PB08 |
| 6 | A5 | PB09 |
| 7 | AREF | PA03 |
| 8 | D0 | PA23 |
| 9 | D1 | PA22 |
| 10 | D2 | PB17 |
| 11 | D3 | PB16 |
| 12 | D4 | PB13 |
| 13 | D5 | PB14 |
| 14 | D6 | PB15 |
| 15 | D7 | PB12 |
| 16 | D8 | PA21 |
| 17 | D9 | PA20 |
| 18 | D10 | PA18 |
| 19 | D11 | PA19 |
| 20 | D12 | PA17 |
| 21 | D13 | PA16 |
| 22 | SDA | PB02 |
| 23 | SCL | PB03 |
| 24 | SCK | PA13 |
| 25 | MOSI | PA12 |
| 26 | MISO | PA14 |
| 27 | NEOPIXEL | PB22 |
| 28 | RXLED | PB06 |
| 29 | TXLED | PB07 |
| 30 | # Airlift | |
| 31 | ESP_RESET | PB05 |
| 32 | ESP_BUSY | PB04 |
| 33 | ESP_CS | PA15 |
| 34 | ESP_GPIO0 | PB01 |
| 35 | ESP_RX | PA07 |
| 36 | ESP_TX | PA04 |
| 37 | ESP_RTS | PB23 |
| 38 | # QSPI flash | |
| 39 | FLASH_MOSI | PA08 |
| 40 | FLASH_MISO | PA09 |
| 41 | FLASH_WP | PA10 |
| 42 | FLASH_HOLD | PA11 |
| 43 | FLASH_SCK | PB10 |
| 44 | FLASH_CS | PB11 |
| 45 | # USB | |
| 46 | USB_DM | PA24 |
| 47 | USB_DP | PA25 |
| 48 | USB_SOF | PA23 |
| 49 | #USB_HOSTEN | PA17 |
| 50 | # JLink | |
| 51 | SWCLK | PA30 |
| 52 | SWDIO | PA31 |
| 53 | SWO | PB30 |