cancel
Showing results for 
Search instead for 
Did you mean: 

STM32WB - PLACE_IN_SECTION

DS.4
Senior II

Looking at the HearRate Example with RTOS.

I see that user app holds all the handlers in :

PLACE_IN_SECTION("BLE_DRIVER_CONTEXT") static HRS_Context_t HRS_Context;

What is the purpose of this placement?

Can it be changed to a simple static?

thanks

2 REPLIES 2
Remi QUINTIN
ST Employee

This section is not used anymore. We will remove those lines from the code.

The original idea was to identify all BLE contexts to record them in memory when using standby mode.

BBurc.1
Associate

Dear Sirs,

I am fighting with a similar problem: Inside hci_tlc.c these variables are declared and the program tries to catch data from  address 0x300cf810. "Cannot access memory at address 0x300cf810" is the exact error message. Since the variable "pCmdBuffer->cmdserial.cmd.cmdcode = opcode;" is used in proc "static void SendCmd(uint16_t opcode, uint8_t plen, void *param)" at line 243, this causes a program halt.

So, how to proceed to continue with coding?

BR Bernd