aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/debugger/peripheralregisterhandler.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Debugger: Some compilation with Qt 6hjk2020-06-241-0/+2
| | | | | Change-Id: Ifffe68a3c902bbad026919171ac906ae05ec86f2 Reviewed-by: David Schulz <david.schulz@qt.io>
* BareMetal: Choose peripheral description file on debug provider pageDenis Shienkov2020-03-061-8/+7
| | | | | | | | | | | | | | | | | | | | | ... instead of device page. Reason is that a path to the peripheral description file comes from the inside of the provider for some providers (e.g. for the UVSC provider at parsing the selected "Software Device Pack" file). This complicates a code for assigning of the selected peripheral description file path to the device configuration page. So, it is makes sense to make it possible to choose a peripheral description file from the debug server provider page. In this case we will pass a path to the selected peripheral description file via the runnable's extra data variable. Tested with STM32 NUCLEO-F767ZI board on Windows. Change-Id: Iec4d738dd236449969fd669e7fbe58da3a660938 Reviewed-by: hjk <hjk@qt.io>
* Merge remote-tracking branch 'origin/4.11'Eike Ziller2020-02-051-124/+137
|\ | | | | | | | | | | | | Conflicts: src/plugins/genericprojectmanager/genericproject.cpp Change-Id: Ib54f1645ec70a9e6460a888a13190ede130bccca
| * Debugger: Inherit register field access rights from registerDenis Shienkov2020-02-041-0/+6
| | | | | | | | | | | | | | | | ... if this field has not the access rights information. Fixes: QTCREATORBUG-23542 Change-Id: I3440fa0fd34dc91164eefcafc1ba74e852e103b9 Reviewed-by: hjk <hjk@qt.io>
| * Debugger: Improve parsing of SVD fileDenis Shienkov2020-01-301-124/+131
| | | | | | | | | | | | | | | | | | | | The previous implementation was done in a hurry and a bit overcomplicated for maintenance. Now it is simplified and a common code moved to a separate functions. Change-Id: I86e9131e08154ec24bb7778c3a7d4c3d6b042751 Reviewed-by: hjk <hjk@qt.io>
* | Debugger: Add ability to hide view columnshjk2019-12-131-1/+1
|/ | | | | | | | | | | Not perfect, e.g. one would probably expect the items to appear in the context menu of the header views, too, not just on the main background of the view, but better than nothing. Task-number: QTCREATORBUG-23342 Change-Id: Ifdc44dcfd390112faa7b15bb8a51d809e42d7b29 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Debugger: Make peripheral register group menu scrollableDenis Shienkov2019-08-051-0/+1
| | | | | | | ... to save a display space. Change-Id: I93812bb97538dc88cc6e871a40e1bce6419024c1 Reviewed-by: hjk <hjk@qt.io>
* Debugger: Fix start/stop bits order in peripheral register field tooltipDenis Shienkov2019-08-011-1/+1
| | | | | | | Usually this order should be displayed as [to..from] instead of [from..to]. Change-Id: I4a309eedc104b10ac89a48beacb0e187af5c1899 Reviewed-by: hjk <hjk@qt.io>
* Debugger: Add peripheral registers description file supportDenis Shienkov2019-07-311-0/+956
This feature is useful for the bare-metal programming. It allows to view the peripheral registers of the debugged device using the GDB. An information about the peripheral registers for a concrete device contains in a special SVD file. A format of this file described e.g. here: * https://www.keil.com/pack/doc/CMSIS/SVD/html/svd_Format_pg.html This feature supported only for ARM devices, and an appropriate SVD files can be found in the Internet, also this files provides by KEIL or IAR EW IDE's. A use case in QtC is that the user should to choose desired SVD file and set its path to the bare-metal device configuration widget. After this, the user can enable the "Peripheral Registers" view, choose a desired register group and to see a peripheral register values. Currently the following basic features are implemented: * Choosing SVD file for a target bare-metal device. * Choosing any peripheral register group, which is available for this device. * Seeing the info about the each peripheral register and its fields. * Seeing the value for the each peripheral register and its fields. * Changing the value for the each peripheral register and its fields (if it is allowed by access for a concrete register or field). * Changing the format of the values (hexadecimal, decimal, octal, binary). Fixes: QTCREATORBUG-18729 Change-Id: I3c38ea50ccd2e128746458f9b918095b4c2d644a Reviewed-by: hjk <hjk@qt.io>