-
Notifications
You must be signed in to change notification settings - Fork 7.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'feature/upgrade-systemview-to-3_32' into 'master'
app_trace: sys_view: upgrade to version 3.42 Closes IDF-4646 See merge request espressif/esp-idf!21306
- Loading branch information
Showing
19 changed files
with
2,082 additions
and
750 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
/* | ||
* SPDX-FileCopyrightText: 2015-2017 SEGGER Microcontroller GmbH & Co. KG | ||
* SPDX-FileCopyrightText: 1995-2021 SEGGER Microcontroller GmbH | ||
* | ||
* SPDX-License-Identifier: BSD-3-Clause | ||
* SPDX-License-Identifier: BSD-1-Clause | ||
*/ | ||
/********************************************************************* | ||
* SEGGER Microcontroller GmbH & Co. KG * | ||
* SEGGER Microcontroller GmbH * | ||
* The Embedded Experts * | ||
********************************************************************** | ||
* * | ||
* (c) 2015 - 2017 SEGGER Microcontroller GmbH & Co. KG * | ||
* (c) 1995 - 2021 SEGGER Microcontroller GmbH * | ||
* * | ||
* www.segger.com Support: [email protected] * | ||
* * | ||
|
@@ -22,24 +22,14 @@ | |
* * | ||
* SEGGER strongly recommends to not make any changes * | ||
* to or modify the source code of this software in order to stay * | ||
* compatible with the RTT protocol and J-Link. * | ||
* compatible with the SystemView and RTT protocol, and J-Link. * | ||
* * | ||
* Redistribution and use in source and binary forms, with or * | ||
* without modification, are permitted provided that the following * | ||
* conditions are met: * | ||
* condition is met: * | ||
* * | ||
* o Redistributions of source code must retain the above copyright * | ||
* notice, this list of conditions and the following disclaimer. * | ||
* * | ||
* o Redistributions in binary form must reproduce the above * | ||
* copyright notice, this list of conditions and the following * | ||
* disclaimer in the documentation and/or other materials provided * | ||
* with the distribution. * | ||
* * | ||
* o Neither the name of SEGGER Microcontroller GmbH & Co. KG * | ||
* nor the names of its contributors may be used to endorse or * | ||
* promote products derived from this software without specific * | ||
* prior written permission. * | ||
* notice, this condition and the following disclaimer. * | ||
* * | ||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND * | ||
* CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, * | ||
|
@@ -57,7 +47,7 @@ | |
* * | ||
********************************************************************** | ||
* * | ||
* SystemView version: V2.42 * | ||
* SystemView version: 3.42 * | ||
* * | ||
********************************************************************** | ||
---------------------------------------------------------------------- | ||
|
@@ -67,20 +57,34 @@ Purpose : Global types | |
merge the files. In order to use Segger code, the types | ||
U8, U16, U32, I8, I16, I32 need to be defined in Global.h; | ||
additional definitions do not hurt. | ||
Revision: $Rev: 12501 $ | ||
---------------------------END-OF-HEADER------------------------------ | ||
*/ | ||
|
||
#ifndef GLOBAL_H // Guard against multiple inclusion | ||
#define GLOBAL_H | ||
|
||
#define U8 unsigned char | ||
#define U16 unsigned short | ||
#define U32 unsigned long | ||
#define I8 signed char | ||
#define U16 unsigned short | ||
#define I16 signed short | ||
#ifdef __x86_64__ | ||
#define U32 unsigned | ||
#define I32 int | ||
#else | ||
#define U32 unsigned long | ||
#define I32 signed long | ||
#endif | ||
|
||
#ifdef _WIN32 | ||
// | ||
// CC_NO_LONG_SUPPORT can be defined to compile test | ||
// without long support for compilers that do not | ||
// support C99 and its long type. | ||
// | ||
#ifdef CC_NO_LONG_SUPPORT | ||
#define PTR_ADDR U32 | ||
#else // Supports long type. | ||
#if defined(_WIN32) && !defined(__clang__) && !defined(__MINGW32__) | ||
// | ||
// Microsoft VC6 compiler related | ||
// | ||
|
@@ -102,6 +106,13 @@ Purpose : Global types | |
#define U64_C(x) x##ULL | ||
#endif | ||
|
||
#if (defined(_WIN64) || defined(__LP64__)) // 64-bit symbols used by Visual Studio and GCC, maybe others as well. | ||
#define PTR_ADDR U64 | ||
#else | ||
#define PTR_ADDR U32 | ||
#endif | ||
#endif // Supports long type. | ||
|
||
#endif // Avoid multiple inclusion | ||
|
||
/*************************** End of file ****************************/ |
Oops, something went wrong.