Skip to content

Commit 7e728e8

Browse files
committed
Add large binary variant of XRP
1 parent ca45e4b commit 7e728e8

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

ports/rp2/boards/SPARKFUN_XRP_CONTROLLER/mpconfigboard.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
// Board and hardware specific configuration
2+
#ifndef MICROPY_HW_BOARD_NAME
23
#define MICROPY_HW_BOARD_NAME "SparkFun XRP Controller"
4+
#endif
5+
6+
#ifndef MICROPY_HW_FLASH_STORAGE_BYTES
37
#define MICROPY_HW_FLASH_STORAGE_BYTES (PICO_FLASH_SIZE_BYTES - 1536 * 1024)
8+
#endif
49

510
// Enable networking.
611
#define MICROPY_PY_NETWORK 1
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
list(APPEND MICROPY_DEF_BOARD
2+
# Board name
3+
"MICROPY_HW_BOARD_NAME=\"SparkFun XRP Controller (Large Binary)\""
4+
# 8MB (8 * 1024 * 1024)
5+
"MICROPY_HW_FLASH_STORAGE_BYTES=8388608"
6+
)

0 commit comments

Comments
 (0)