Tiny2350: Add PPP support for LTE module.
This commit is contained in:
parent
7319462023
commit
c18ebf7c4c
@ -1,3 +1,5 @@
|
||||
require("bundle-networking")
|
||||
|
||||
include("$(PORT_DIR)/boards/manifest.py")
|
||||
|
||||
include("../manifest_pico2.py")
|
||||
@ -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)
|
||||
|
||||
@ -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)
|
||||
Loading…
Reference in New Issue
Block a user