Skip to content

Commit

Permalink
Fix RAM0 overflow (#17899)
Browse files Browse the repository at this point in the history
Place BLE controller exchange buffer in RAM1.

Signed-off-by: Doru Gucea <[email protected]>
  • Loading branch information
doru91 authored Apr 29, 2022
1 parent 145d7bf commit 18ce67c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -211,8 +211,9 @@ SECTIONS

_etext = .;

.heap (COPY):
.heap_controller (COPY):
{
*(.ll_exchange_mem)
__HeapBase = .;
_heap = .;
KEEP(*(.heap*))
Expand Down
4 changes: 2 additions & 2 deletions third_party/nxp/k32w0_sdk/k32w0_sdk.gni
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ template("k32w0_sdk") {
"USE_SDK_OSA=0",
"gSerialManagerMaxInterfaces_c=2",
"FSL_RTOS_FREE_RTOS=1",
"gTotalHeapSize_c=0xF000",
"gTotalHeapSize_c=0xDC00",
"gUartDebugConsole_d=1",
"DEBUG_SERIAL_INTERFACE_INSTANCE=0",
"APP_SERIAL_INTERFACE_INSTANCE=1",
Expand Down Expand Up @@ -189,7 +189,7 @@ template("k32w0_sdk") {
"gEnableBleInactivityTimeNotify=1",
"DUAL_MODE_APP=1",
"gMainThreadStackSize_c=5096",
"HEAP_SIZE=0xF000",
"HEAP_SIZE=gTotalHeapSize_c",
"gLoggingActive_d=0",
"gLogRingPlacementOffset_c=0xF000",
]
Expand Down

0 comments on commit 18ce67c

Please sign in to comment.