| 1 |
// Board config for Wiznet W5500-EVB-Pico. |
| 2 |
|
| 3 |
// Board and hardware specific configuration |
| 4 |
#define MICROPY_HW_BOARD_NAME "W5500-EVB-Pico" |
| 5 |
#define MICROPY_HW_FLASH_STORAGE_BYTES (1408 * 1024) |
| 6 |
|
| 7 |
// Enable networking. |
| 8 |
#define MICROPY_PY_NETWORK (1) |
| 9 |
#define MICROPY_PY_NETWORK_HOSTNAME_DEFAULT "W5500-EVB" |
| 10 |
|
| 11 |
// Wiznet HW config. |
| 12 |
#define MICROPY_HW_WIZNET_SPI_ID (0) |
| 13 |
#define MICROPY_HW_WIZNET_SPI_BAUDRATE (20 * 1000 * 1000) |
| 14 |
#define MICROPY_HW_WIZNET_SPI_SCK (18) |
| 15 |
#define MICROPY_HW_WIZNET_SPI_MOSI (19) |
| 16 |
#define MICROPY_HW_WIZNET_SPI_MISO (16) |
| 17 |
#define MICROPY_HW_WIZNET_PIN_CS (17) |
| 18 |
#define MICROPY_HW_WIZNET_PIN_RST (20) |
| 19 |
// Connecting the INTN pin enables RECV interrupt handling of incoming data. |
| 20 |
#define MICROPY_HW_WIZNET_PIN_INTN (21) |