Skip to content

Commit b19e71e

Browse files
committed
fix the complier error
1 parent 5c73b3e commit b19e71e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

bsp/nrf5x/nrf52832/board/board.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@ extern int __bss_end__;
2121
#define HEAP_BEGIN ((void *)&__bss_end__)
2222
#endif
2323

24-
#define HEAP_SIZE 16*1024
25-
#define HEAP_END (HEAP_BEGIN + HEAP_SIZE)
24+
#define HEAP_END (MCU_SRAM_END_ADDRESS)
2625

2726
void rt_hw_board_init(void);
2827

0 commit comments

Comments
 (0)