summaryrefslogtreecommitdiff
path: root/bsp
diff options
context:
space:
mode:
authorsupperthomas <[email protected]>2021-02-18 06:33:45 +0800
committersupperthomas <[email protected]>2021-02-18 06:33:45 +0800
commitb19e71e18e1b1785f3fe045e39bcd6ae736dfdc5 (patch)
tree0281462177c2b794bcada481c32b94a1ee47a14d /bsp
parent5c73b3e6e903e3007ec3f4586b4b19dca734a7ef (diff)
fix the complier error
Diffstat (limited to 'bsp')
-rw-r--r--bsp/nrf5x/nrf52832/board/board.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/bsp/nrf5x/nrf52832/board/board.h b/bsp/nrf5x/nrf52832/board/board.h
index 5357cca291..32acd6b56c 100644
--- a/bsp/nrf5x/nrf52832/board/board.h
+++ b/bsp/nrf5x/nrf52832/board/board.h
@@ -21,8 +21,7 @@ extern int __bss_end__;
#define HEAP_BEGIN ((void *)&__bss_end__)
#endif
-#define HEAP_SIZE 16*1024
-#define HEAP_END (HEAP_BEGIN + HEAP_SIZE)
+#define HEAP_END (MCU_SRAM_END_ADDRESS)
void rt_hw_board_init(void);