Skip to content

Commit 705cc6d

Browse files
committed
Update memory.h
1 parent 187d550 commit 705cc6d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/eez/memory.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ static const uint32_t MEMORY_SIZE = 64 * 1024 * 1024;
3737

3838
static uint8_t * const DECOMPRESSED_ASSETS_START_ADDRESS = MEMORY_BEGIN;
3939
#if defined(EEZ_PLATFORM_STM32)
40-
static const uint32_t DECOMPRESSED_ASSETS_SIZE = (3 * 512 - 20) * 1024;
40+
static const uint32_t DECOMPRESSED_ASSETS_SIZE = (3 * 512 - 32) * 1024;
4141
#endif
4242
#if defined(EEZ_PLATFORM_SIMULATOR)
4343
static const uint32_t DECOMPRESSED_ASSETS_SIZE = 8 * 1024 * 1024;
@@ -55,7 +55,7 @@ static const uint32_t FILE_VIEW_BUFFER_SIZE = 3 * 512 * 1024;
5555
#endif
5656

5757
static uint8_t * const EXTERNAL_ASSETS_BUFFER = FILE_VIEW_BUFFER + FILE_VIEW_BUFFER_SIZE;
58-
static const uint32_t EXTERNAL_ASSETS_BUFFER_SIZE = 1024 * 1024;
58+
static const uint32_t EXTERNAL_ASSETS_BUFFER_SIZE = 768 * 1024;
5959

6060
static uint8_t * const MP_BUFFER = EXTERNAL_ASSETS_BUFFER + EXTERNAL_ASSETS_BUFFER_SIZE;
6161
static const uint32_t MP_BUFFER_SIZE = 512 * 1024;

0 commit comments

Comments
 (0)