Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions boards/pimoroni_tiny2350/manifest.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
require("bundle-networking")

include("$(PORT_DIR)/boards/manifest.py")

include("../manifest_pico2.py")
4 changes: 4 additions & 0 deletions boards/pimoroni_tiny2350/mpconfigboard.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,8 @@ set(MICROPY_FROZEN_MANIFEST ${MICROPY_BOARD_DIR}/manifest.py)

set(MICROPY_C_HEAP_SIZE 4096)

# Links micropy_lib_lwip and sets MICROPY_PY_LWIP = 1
# Picked up and expanded upon in mpconfigboard.h
set(MICROPY_PY_LWIP ON)

include(${CMAKE_CURRENT_LIST_DIR}/../common.cmake)
9 changes: 8 additions & 1 deletion boards/pimoroni_tiny2350/mpconfigboard.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
// Board and hardware specific configuration
#define MICROPY_HW_BOARD_NAME "Pimoroni Tiny 2350"
#define MICROPY_HW_BOARD_NAME "Pimoroni Tiny 2350 (PPP)"
#define MICROPY_HW_FLASH_STORAGE_BYTES (PICO_FLASH_SIZE_BYTES - (2 * 1024 * 1024))

// Set up networking.
#define MICROPY_PY_NETWORK_HOSTNAME_DEFAULT "PPP2"

// Enable Networking & PPP
#define MICROPY_PY_NETWORK (1)
#define MICROPY_PY_NETWORK_PPP_LWIP (1)

// I2C0 (non-default)
#define MICROPY_HW_I2C0_SCL (4)
#define MICROPY_HW_I2C0_SDA (5)