You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Segger RTT: support CONFIG_SEGGER_RTT_INIT_MODE and optimizations
* Different initialization modes of Control Block
* Safer INIT() like in SystemView V352a
* Made _aTerminalId const like in SystemView V352a
Signed-off-by: Giancarlo Stasi <[email protected]>
staticconstchar_aInitStr[] ="\0\0\0\0\0\0TTR REGGES"; // Init complete ID string to make sure that things also work if RTT is linked to a no-init memory area
volatileSEGGER_RTT_CB*p; // Volatile to make sure that compiler cannot change the order of accesses to the control block
320
-
staticconstchar_aInitStr[] ="\0\0\0\0\0\0TTR REGGES"; // Init complete ID string to make sure that things also work if RTT is linked to a no-init memory area
321
322
unsignedi;
322
323
//
323
324
// Initialize control block
@@ -1892,6 +1893,28 @@ int SEGGER_RTT_SetFlagsDownBuffer(unsigned BufferIndex, unsigned Flags) {
0 commit comments