Skip to content

Commit

Permalink
Fix: Move EvtPool array from MB_MEM2 to MB_MEM1
Browse files Browse the repository at this point in the history
MB_MEM1 and MB_MEM2 ae now respectively in SRAM2a and SRAM2b
SRAM2a being too small to put all shared memory variables
Warning depends on split made on core:
variants/STM32WBxx/WB55R(C-E-G)V/ldscript.ld

Signed-off-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
  • Loading branch information
ABOSTM committed Oct 6, 2022
1 parent 3f23425 commit f77db6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utility/HCISharedMemTransport.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
/* Private variables ---------------------------------------------------------*/
PLACE_IN_SECTION("MB_MEM1") ALIGN(4) static TL_CmdPacket_t BleCmdBuffer;

PLACE_IN_SECTION("MB_MEM2") ALIGN(4) static uint8_t EvtPool[POOL_SIZE];
PLACE_IN_SECTION("MB_MEM1") ALIGN(4) static uint8_t EvtPool[POOL_SIZE];
PLACE_IN_SECTION("MB_MEM2") ALIGN(4) static TL_CmdPacket_t SystemCmdBuffer;
PLACE_IN_SECTION("MB_MEM2") ALIGN(4) static uint8_t
SystemSpareEvtBuffer[sizeof(TL_PacketHeader_t) + TL_EVT_HDR_SIZE + 255];
Expand Down

0 comments on commit f77db6b

Please sign in to comment.