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
{IDF_TARGET_NAME} has a few hundred kilobytes of internal RAM, residing on the same die as the rest of the chip components. It can be insufficient for some purposes, so {IDF_TARGET_NAME} has the ability to use up to {IDF_TARGET_PSRAM_VADDR_SIZE} of virtual addresses for external PSRAM (Psuedostatic RAM) memory. The external memory is incorporated in the memory map and, with certain restrictions, is usable in the same way as internal data RAM.
14
+
{IDF_TARGET_NAME} has a few hundred kilobytes of internal RAM, residing on the same die as the rest of the chip components. It can be insufficient for some purposes, so {IDF_TARGET_NAME} has the ability to use up to {IDF_TARGET_PSRAM_VADDR_SIZE} of virtual addresses for external PSRAM (pseudo-static RAM) memory. The external memory is incorporated in the memory map and, with certain restrictions, is usable in the same way as internal data RAM.
Copy file name to clipboardExpand all lines: docs/en/migration-guides/release-6.x/6.0/toolchain.rst
+15-16Lines changed: 15 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,22 +1,22 @@
1
1
Toolchain
2
-
*********
2
+
==========
3
3
4
4
:link_to_translation:`zh_CN:[中文]`
5
5
6
6
GCC Version
7
-
===========
7
+
-----------
8
8
9
-
The previous GCC version 14.2.0 has been upgraded to 15.1.0 across all chip targets. Upgrading to ESP-IDF v6.0 requires porting code to GCC 15.1.0. Refer to the official `GCC 15 porting guide <https://gcc.gnu.org/gcc-15/porting_to.html>`_
9
+
The previous GCC version 14.2.0 has been upgraded to 15.1.0 across all chip targets. Upgrading to ESP-IDF v6.0 requires porting code to GCC 15.1.0. Refer to the official guide `Porting to GCC 15 <https://gcc.gnu.org/gcc-15/porting_to.html>`_.
10
10
11
11
Warnings
12
-
========
12
+
--------
13
13
14
14
The upgrade to GCC 15.1.0 has resulted in the addition of new warnings, or enhancements to existing warnings. The full details of all GCC warnings can be found in `GCC Warning Options <https://gcc.gnu.org/onlinedocs/gcc-15.1.0/gcc/Warning-Options.html>`_. Users are advised to double-check their code, then fix the warnings if possible. Unfortunately, depending on the warning and the complexity of the user's code, some warnings will be false positives that require non-trivial fixes. In such cases, users can choose to suppress the warning in multiple ways. This section outlines some common warnings that users are likely to encounter and ways to fix them.
15
15
16
-
To suprress all new warnings enable :ref:`CONFIG_COMPILER_DISABLE_GCC15_WARNINGS` config option.
16
+
To suprress all new warnings, enable :ref:`CONFIG_COMPILER_DISABLE_GCC15_WARNINGS` config option.
17
17
18
18
``-Wno-unterminated-string-initialization``
19
-
-------------------------------------------
19
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
20
20
21
21
Warn about character arrays initialized as unterminated character sequences with a string literal, unless the declaration being initialized has the nonstring attribute.
22
22
@@ -28,7 +28,7 @@ Warn about character arrays initialized as unterminated character sequences with
28
28
NONSTRING_ATTR char arr2[3] = "bar"; /* No warning. */
29
29
30
30
``-Wno-header-guard``
31
-
---------------------
31
+
^^^^^^^^^^^^^^^^^^^^^^^
32
32
33
33
Warn if a header file has a typo in its include guard. When #ifndef and #define use different names.
34
34
@@ -40,9 +40,9 @@ Warn if a header file has a typo in its include guard. When #ifndef and #define
40
40
#endif
41
41
42
42
``-Wno-self-move (C++ only)``
43
-
-----------------------------
43
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
44
44
45
-
Warns when a value is moved to itself with std::move. Such a std::move typically has no effect.
45
+
Warns when a value is moved to itself with `std::move`. Such a `std::move` typically has no effect.
46
46
47
47
.. code-block:: cpp
48
48
@@ -58,7 +58,7 @@ Warns when a value is moved to itself with std::move. Such a std::move typically
58
58
59
59
60
60
``-Wno-template-body (C++ only)``
61
-
---------------------------------
61
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
62
62
63
63
Disable diagnosing errors when parsing a template, and instead issue an error only upon instantiation of the template.
64
64
@@ -71,7 +71,7 @@ Disable diagnosing errors when parsing a template, and instead issue an error on
71
71
}
72
72
73
73
``-Wno-dangling-reference (C++ only)``
74
-
--------------------------------------
74
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
75
75
76
76
Warn when a reference is bound to a temporary whose lifetime has ended.
77
77
@@ -81,7 +81,7 @@ Warn when a reference is bound to a temporary whose lifetime has ended.
81
81
const int& r = std::max(n - 1, n + 1); /* r is dangling. */
82
82
83
83
``-Wno-defaulted-function-deleted (C++ only)``
84
-
----------------------------------------------
84
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
85
85
86
86
Warn when an explicitly defaulted function is deleted by the compiler. That can occur when the function’s declared type does not match the type of the function that would have been implicitly declared.
87
87
@@ -94,15 +94,14 @@ Warn when an explicitly defaulted function is deleted by the compiler. That can
94
94
};
95
95
96
96
Picolibc
97
-
========
97
+
--------
98
98
99
99
When building with :ref:`CONFIG_LIBC_PICOLIBC<CONFIG_LIBC_PICOLIBC>` enabled, the following adaptation is required.
100
100
101
101
``sys/signal.h header removed``
102
-
-------------------------------
102
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
103
103
104
-
The header ``<sys/signal.h>`` is no longer available in Picolibc.
105
-
To ensure compatibility and improve portability across libc implementations, replace it with the standard C header ``<signal.h>``.
104
+
The header ``<sys/signal.h>`` is no longer available in Picolibc. To ensure compatibility and improve portability across libc implementations, replace it with the standard C header ``<signal.h>``.
0 commit comments