Tool/software: TI-RTOS
Hi,
I am an newbi in CC2640 developer.
I meet a issue when I use memset() for a struct. When I do step over a memset() in IAR debug mode, the break point will move to the
__ATTRIBUTES void * memset(void * _D, int _C, size_t _N)
{
__aeabi_memset(_D, _N, _C);
return _D;
}
inside DLib_Product_string.h
The break point will not be on the next line of memset() when I do step out the memset().
I can use memset() with a int or char variable, but I can use it for struct.
My struct definition is
typedef struct
{
uint8_t ppg;
uint8_t gsr;
uint8_t ntc;
uint8_t prv;
} SecondCounters_t;
My developing environment is
1. IAR V7.4
2. My Application bases on C:\ti\simplelink\ble_cc26xx_2_01_01_44627
3. I have set the optimizations as None for my application node - FlashROM
How can I resolve this issue?
Thank you for your kindly help.
Allen