mirror of
https://github.com/danbee/unicorn
synced 2026-06-20 22:52:22 +00:00
15 lines
587 B
C
15 lines
587 B
C
// Board and hardware specific configuration
|
|
#define MICROPY_HW_BOARD_NAME "Raspberry Pi Pico2 W (Cosmic 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 "CosmicUnicorn2W"
|
|
#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
|