Skip to content

Commit 15473a3

Browse files
committed
rp2: Set MICROPY_PY_NETWORK_HOSTNAME_DEFAULT.
For pico_w and pico2_w. This had inadvertently been removed. Signed-off-by: Peter Harper <[email protected]>
1 parent 202b119 commit 15473a3

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

ports/rp2/boards/RPI_PICO2_W/mpconfigboard.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,6 @@
22
#define MICROPY_HW_BOARD_NAME "Raspberry Pi Pico 2 W"
33
#define MICROPY_HW_FLASH_STORAGE_BYTES (PICO_FLASH_SIZE_BYTES - 1024 * 1024)
44

5+
#define MICROPY_PY_NETWORK_HOSTNAME_DEFAULT "Pico2W"
6+
57
#include "enable_cyw43.h"

ports/rp2/boards/RPI_PICO_W/mpconfigboard.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,6 @@
44
// todo: We need something to check our binary size
55
#define MICROPY_HW_FLASH_STORAGE_BYTES (848 * 1024)
66

7+
#define MICROPY_PY_NETWORK_HOSTNAME_DEFAULT "PicoW"
8+
79
#include "enable_cyw43.h"

0 commit comments

Comments
 (0)