Skip to content

Commit 0e3a782

Browse files
committed
pbio/platform/ev3: Enable more storage and heap.
This bare metal EV3 version has more resources than we know what to do with. We'll start with relatively small values, about four times as much as SPIKE Prime has.
1 parent bccfbae commit 0e3a782

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/pbio/platform/ev3/pbdrvconfig.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@
2929
#define PBDRV_CONFIG_BATTERY_EV3 (1)
3030

3131
#define PBDRV_CONFIG_BLOCK_DEVICE (1)
32-
#define PBDRV_CONFIG_BLOCK_DEVICE_RAM_SIZE (10 * 1024)
32+
#define PBDRV_CONFIG_BLOCK_DEVICE_RAM_SIZE (1 * 1024 * 1024)
3333
#define PBDRV_CONFIG_BLOCK_DEVICE_EV3 (1)
34-
#define PBDRV_CONFIG_BLOCK_DEVICE_EV3_SIZE (8 * 1024) // TBD, can be a few MB
34+
#define PBDRV_CONFIG_BLOCK_DEVICE_EV3_SIZE (1 * 1024 * 1024 * 3 / 4)
3535
#define PBDRV_CONFIG_BLOCK_DEVICE_EV3_SIZE_USER (512)
36-
#define PBDRV_CONFIG_BLOCK_DEVICE_EV3_START_ADDRESS (10 * 1024 * 1024) // TBD
36+
#define PBDRV_CONFIG_BLOCK_DEVICE_EV3_START_ADDRESS (10 * 1024 * 1024)
3737

3838
#define PBDRV_CONFIG_IOPORT (1)
3939
#define PBDRV_CONFIG_IOPORT_HAS_ADC (1)

0 commit comments

Comments
 (0)