1
0
mirror of https://github.com/danbee/unicorn synced 2026-06-20 22:52:22 +00:00
unicorn/boards/pico2_w_unicorn/mpconfigboard.h
2024-12-04 12:19:05 +00:00

15 lines
574 B
C

// Board and hardware specific configuration
#define MICROPY_HW_BOARD_NAME "Raspberry Pi Pico2 W (Unicorn)"
// Leave 50/50 split - 2MB firmware, 2MB user filesystem
#define MICROPY_HW_FLASH_STORAGE_BYTES (PICO_FLASH_SIZE_BYTES - (2 * 1024 * 1024))
// Enable networking.
#define MICROPY_PY_NETWORK_PPP_LWIP (1)
#define MICROPY_PY_NETWORK_HOSTNAME_DEFAULT "Unicorn2W"
#include "enable_cyw43.h"
// For debugging mbedtls - also set
// Debug level (0-4) 1=warning, 2=info, 3=debug, 4=verbose
// #define MODUSSL_MBEDTLS_DEBUG_LEVEL 1