All: Breaking: Change firmware/filesytem sizes.
Pico 2 / Pico 2B: Change to match upstream RPI_PICO2 Pico Plus 2: Allocate 2MB to firmware Tiny 2350: Allocate 2MB to firmware Plasma 2350: Allocate 2MB to firmware
This commit is contained in:
parent
dd62958b83
commit
ff191e04b9
@ -3,6 +3,6 @@
|
|||||||
// Might be defined by mpconfigvariant.cmake
|
// Might be defined by mpconfigvariant.cmake
|
||||||
#define MICROPY_HW_BOARD_NAME "Pimoroni Pico Plus 2"
|
#define MICROPY_HW_BOARD_NAME "Pimoroni Pico Plus 2"
|
||||||
#endif
|
#endif
|
||||||
#define MICROPY_HW_FLASH_STORAGE_BYTES (1024 * 1024 * 15)
|
#define MICROPY_HW_FLASH_STORAGE_BYTES (PICO_FLASH_SIZE_BYTES - (2 * 1024 * 1024))
|
||||||
|
|
||||||
#define MICROPY_HW_PSRAM_CS_PIN PIMORONI_PICO_PLUS2_PSRAM_CS_PIN
|
#define MICROPY_HW_PSRAM_CS_PIN PIMORONI_PICO_PLUS2_PSRAM_CS_PIN
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
// Board and hardware specific configuration
|
// Board and hardware specific configuration
|
||||||
#define MICROPY_HW_BOARD_NAME "Pimoroni Plasma 2350"
|
#define MICROPY_HW_BOARD_NAME "Pimoroni Plasma 2350"
|
||||||
#define MICROPY_HW_FLASH_STORAGE_BYTES (1024 * 1024 * 7)
|
#define MICROPY_HW_FLASH_STORAGE_BYTES (PICO_FLASH_SIZE_BYTES - (2 * 1024 * 1024))
|
||||||
|
|
||||||
// I2C0 (non-default)
|
// I2C0 (non-default)
|
||||||
#define MICROPY_HW_I2C0_SCL (PLASMA2350_SDA_PIN)
|
#define MICROPY_HW_I2C0_SCL (PLASMA2350_SDA_PIN)
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
// Board and hardware specific configuration
|
// Board and hardware specific configuration
|
||||||
#define MICROPY_HW_BOARD_NAME "Pimoroni Tiny 2350"
|
#define MICROPY_HW_BOARD_NAME "Pimoroni Tiny 2350"
|
||||||
#define MICROPY_HW_FLASH_STORAGE_BYTES (1024 * 1024 * 7)
|
#define MICROPY_HW_FLASH_STORAGE_BYTES (PICO_FLASH_SIZE_BYTES - (2 * 1024 * 1024))
|
||||||
|
|
||||||
// I2C0 (non-default)
|
// I2C0 (non-default)
|
||||||
#define MICROPY_HW_I2C0_SCL (4)
|
#define MICROPY_HW_I2C0_SCL (4)
|
||||||
|
|||||||
@ -1,3 +1,3 @@
|
|||||||
// Board and hardware specific configuration
|
// Board and hardware specific configuration
|
||||||
#define MICROPY_HW_BOARD_NAME "Raspberry Pi Pico"
|
#define MICROPY_HW_BOARD_NAME "Raspberry Pi Pico"
|
||||||
#define MICROPY_HW_FLASH_STORAGE_BYTES (1408 * 1024)
|
#define MICROPY_HW_FLASH_STORAGE_BYTES (PICO_FLASH_SIZE_BYTES - 1024 * 1024)
|
||||||
@ -1,3 +1,3 @@
|
|||||||
// Board and hardware specific configuration
|
// Board and hardware specific configuration
|
||||||
#define MICROPY_HW_BOARD_NAME "Raspberry Pi Pico"
|
#define MICROPY_HW_BOARD_NAME "Raspberry Pi Pico"
|
||||||
#define MICROPY_HW_FLASH_STORAGE_BYTES (1408 * 1024)
|
#define MICROPY_HW_FLASH_STORAGE_BYTES (PICO_FLASH_SIZE_BYTES - 1024 * 1024)
|
||||||
Loading…
Reference in New Issue
Block a user