From 96c1fbcd0a1329ce3f674d3d53bc8b31eecd903f Mon Sep 17 00:00:00 2001 From: Denis Shienkov Date: Fri, 24 Jan 2020 17:08:27 +0300 Subject: BareMetal: Long live support for KEIL uVision v5.x debugger This patch adds debugger integration from the KEIL uVision IDE: * http://www2.keil.com/mdk5/uvision/ This IDE has the uVision Socket Interface (UVSC) that allows to the applications configuration, building and debugging: * http://www.keil.com/appnotes/docs/apnt_198.asp Besides, it provides a binary client libraries for Windows, which are implements some API which we are use in this patch. Currently implemented the following features: * Enumeration of a stack frames. * Enumeration of a threads (tasks). * Registers view (read/write). * Local variables view (read/write). * Watchers view (read/write). * Disassembler view. * Current location marker. * Break-points. * Step-in. * Step-over. * Step-out. * Step-by-instruction. * Start/stop/pause/continue debugger. * Auto-detection for the installed uVision instances (as debuggers). * Wizard for choosing and configuring of the UVSC debug providers. At this moment added support only for the 32-bit ARM devices, provided by the STMicroelectronics: https://www.st.com/en/microcontrollers-microprocessors/stm32-32-bit-arm-cortex-mcus.html For this are implemented two debugger providers: * Simulator - allow to simulate the target device. * ST-Link v2 - it is a HW debugger. This implementation tested only with the QBS using the following target boards: * NUCLEO-F767ZI (based on STM32F767ZIT6 MCU). * STM32F4DISCOVERY (based on STM32F407VG MCU). * STM32F103x (based on STM32F103C8T6 MCU). A more detailed information about this patch can be found in a bug-tracker. Fixes: QTCREATORBUG-23426 Change-Id: Ie36a1f7430b56c33d6665cc35e43fe9bd95d28f1 Reviewed-by: hjk Reviewed-by: Alessandro Portale --- src/plugins/debugger/debugger.pro | 1 + 1 file changed, 1 insertion(+) (limited to 'src/plugins/debugger/debugger.pro') diff --git a/src/plugins/debugger/debugger.pro b/src/plugins/debugger/debugger.pro index 52bfd05eade..ec492d859fa 100644 --- a/src/plugins/debugger/debugger.pro +++ b/src/plugins/debugger/debugger.pro @@ -133,6 +133,7 @@ include(cdb/cdb.pri) include(gdb/gdb.pri) include(pdb/pdb.pri) include(lldb/lldb.pri) +include(uvsc/uvsc.pri) include(qml/qml.pri) include(namedemangler/namedemangler.pri) include(console/console.pri) -- cgit v1.2.3