File tree Expand file tree Collapse file tree 5 files changed +5
-22
lines changed
scripts/west_commands/runners Expand file tree Collapse file tree 5 files changed +5
-22
lines changed Original file line number Diff line number Diff line change @@ -75,6 +75,9 @@ Removed APIs in this release:
75
75
is changed so that it more closely mimics the real UART controller,
76
76
option is no longer necessary.
77
77
78
+ * Removed Kconfig option ``CONFIG_OPENOCD_SUPPORT `` in favor of
79
+ ``CONFIG_DEBUG_THREAD_INFO ``.
80
+
78
81
Deprecated in this release:
79
82
80
83
* :c:macro: `USBD_CFG_DATA_DEFINE ` is deprecated in favor of utilizing
Original file line number Diff line number Diff line change @@ -552,11 +552,9 @@ def build_conf(self) -> BuildConfiguration:
552
552
@property
553
553
def thread_info_enabled (self ) -> bool :
554
554
'''Returns True if self.build_conf has
555
- CONFIG_DEBUG_THREAD_INFO enabled. This supports the
556
- CONFIG_OPENOCD_SUPPORT fallback as well for now.
555
+ CONFIG_DEBUG_THREAD_INFO enabled.
557
556
'''
558
- return (self .build_conf .getboolean ('CONFIG_DEBUG_THREAD_INFO' ) or
559
- self .build_conf .getboolean ('CONFIG_OPENOCD_SUPPORT' ))
557
+ return self .build_conf .getboolean ('CONFIG_DEBUG_THREAD_INFO' )
560
558
561
559
@classmethod
562
560
def dev_id_help (cls ) -> str :
Original file line number Diff line number Diff line change 1
1
# SPDX-License-Identifier: Apache-2.0
2
2
3
- if (CONFIG_OPENOCD_SUPPORT)
4
- message (WARNING "CONFIG_OPENOCD_SUPPORT is deprecated
5
- Please use DEBUG_THREAD_INFO instead."
6
- )
7
- endif ()
8
-
9
3
zephyr_sources_ifdef(
10
4
CONFIG_DEBUG_THREAD_INFO
11
5
thread_info.c
Original file line number Diff line number Diff line change @@ -322,12 +322,6 @@ config EXCEPTION_STACK_TRACE
322
322
#
323
323
# Miscellaneous debugging options
324
324
#
325
- config OPENOCD_SUPPORT
326
- bool "OpenOCD support (DEPRECATED)"
327
- select DEBUG_THREAD_INFO
328
- help
329
- This is deprecated, please use DEBUG_THREAD_INFO instead.
330
-
331
325
config DEBUG_THREAD_INFO
332
326
bool "Thread awareness support"
333
327
depends on !SMP
Original file line number Diff line number Diff line change @@ -122,15 +122,9 @@ size_t _kernel_thread_info_offsets[] = {
122
122
* checked with _kernel_thread_info_num_offsets.
123
123
*/
124
124
};
125
- extern size_t __attribute__((alias ("_kernel_thread_info_offsets" )))
126
- _kernel_openocd_offsets ;
127
125
128
126
__attribute__((used , section (".dbg_thread_info" )))
129
127
size_t _kernel_thread_info_num_offsets = ARRAY_SIZE (_kernel_thread_info_offsets );
130
- extern size_t __attribute__((alias ("_kernel_thread_info_num_offsets" )))
131
- _kernel_openocd_num_offsets ;
132
128
133
129
__attribute__((used , section (".dbg_thread_info" )))
134
130
uint8_t _kernel_thread_info_size_t_size = (uint8_t )sizeof (size_t );
135
- extern uint8_t __attribute__((alias ("_kernel_thread_info_size_t_size" )))
136
- _kernel_openocd_size_t_size ;
You can’t perform that action at this time.
0 commit comments