Commit Graph

1602 Commits

Author SHA1 Message Date
Nav
19103f19b0 Renamed JSON key from supportedTargets to just targets, in --capabilities-machine command output 2024-02-13 20:51:02 +00:00
Nav
bf39260e0e Refactored TDF parsing exceptions 2024-02-13 20:48:06 +00:00
Nav
d47e807a5d Added new exception class for internal fatal errors 2024-02-13 20:47:08 +00:00
Nav
a8a679320c Tidying 2024-02-13 20:24:52 +00:00
Nav
f5677b6235 Updated TDF address space, memory segment and memory segment section extraction to align with new TDF format 2024-02-13 20:24:25 +00:00
Nav
46d75b3f4b Replaced --target-list-machine CLI command with a more generic --capabilities-machine command, so that I can include other info.
- Also moved the `insightAvailable` flag from the `--version-machine` command
2024-02-12 23:22:54 +00:00
Nav
09cea149d8 Tidying 2024-02-12 23:02:27 +00:00
Nav
599637502d Don't instantiate QApplication/QCoreApplication when running CLI commands
QApplication takes around a second to be constructed - annoying when all we want to do is run a CLI command
2024-02-12 23:02:06 +00:00
Nav
f20705db7e Updated help text with new --target-list-machine command 2024-02-12 20:34:41 +00:00
Nav
60dddb847c Added CLI command to list supported targets in JSON format 2024-02-12 20:25:51 +00:00
Nav
4b6e21e43f Typo correction 2024-02-12 19:39:21 +00:00
Nav
8474867563 Added try... member functions to property group class 2024-02-12 19:34:59 +00:00
Nav
039e083a09 Tidying 2024-02-12 19:24:56 +00:00
Nav
a39099d5dd Began updating TDF parsing to align with new format.
- Convenience functions for fetching attributes from XML elements
- Property groups are now being parsed correctly
- Property group lookups (including nested lookups) are working correctly
2024-02-12 19:23:34 +00:00
Nav
a60f5b833a Updated property group structure to align with new TDF format 2024-02-12 19:18:16 +00:00
Nav
3a69647159 Added string to uint conversion and string splitting to StringService 2024-02-12 19:17:19 +00:00
Nav
a4c08c1b0a Stricter string to integer conversion in TDF scripts 2024-02-12 19:14:25 +00:00
Nav
fdf7b936e2 Updated PHP dependencies in README - TDF processing now requires the mbstring PHP extension 2024-02-09 23:38:53 +00:00
Nav
e70b4cc972 Updated TDF mapping generation script to use new services 2024-02-09 23:36:19 +00:00
Nav
025d2d6e08 Updated TDF validation script to use new services 2024-02-09 23:35:53 +00:00
Nav
e991077c5a New TDF validation service for AVR8 TDFs 2024-02-09 23:35:26 +00:00
Nav
955f738691 New TDF validation service 2024-02-09 23:34:45 +00:00
Nav
8ec72afaef New TDF discovery service 2024-02-09 23:34:22 +00:00
Nav
5ea04625ef New service for converting TDFs to/from XML documents 2024-02-09 23:32:58 +00:00
Nav
c563443737 Refactored TDF processing PHP code to confirm to new TDF format 2024-02-09 23:30:47 +00:00
Nav
09a5be91fd Revised TDF format to accommodate targets from other families
- Refactored all AVR8 TDFs to conform to new format
2024-02-09 00:13:22 +00:00
Nav
647b8aa8a3 Enum value for all possible memory segment types 2023-12-19 21:54:30 +00:00
Nav
0d1ab0205d Used 'aliased' memory segment type for "MAPPED_PROGMEM" segments in AVR8 TDFs 2023-12-19 21:53:25 +00:00
Nav
e3d7ea7226 Persistent memory segment type for "PROD_SIGNATURES" segments in AVR8 TDFs 2023-12-19 21:50:51 +00:00
Nav
cc33eea712 RISC-V target ID verification upon activation 2023-12-17 18:43:16 +00:00
Nav
66cbd89051 - Refactored AVR8 constructor, moving TDF construction to the TargetControllerComponent
- The `TargetControllerComponent` now resolves the target via the new generated mapping approach
- Added `TargetDescriptionFile` derived class
- Removed obsolete JSON map processing code
- Other bits of refactoring and tidying
2023-12-17 18:40:52 +00:00
Nav
866cdbdcc5 Replaced target architecture with target family in TDF build scripts 2023-12-17 17:57:35 +00:00
Nav
4dd6050781 Renamed variant 'ordercode' to 'name' 2023-12-13 23:03:04 +00:00
Nav
89f34ee3b8 Replaced constants with PHP enums in TDF scripts. Updated PHP version in dependency list in the README 2023-12-13 21:03:50 +00:00
Nav
dc09fe77a8 Added TargetFamily in TDF scripts 2023-12-13 21:00:37 +00:00
Nav
e2ed0002bd More TDF reformatting 2023-12-13 20:40:14 +00:00
Nav
0ed72979b8 Added single file support in TDF validation script 2023-12-13 20:34:37 +00:00
Nav
4e373ea45d Tidying AVR8 TDFs 2023-12-13 20:33:41 +00:00
Nav
b5587d1e3c Added target family attribute to AVR8 TDFs and renamed AVR family attribute to avr-family 2023-12-13 00:50:10 +00:00
Nav
5dd4af6705 Removed redundant MAKE_DIRECTORY call 2023-12-12 23:37:53 +00:00
Nav
41a6e0bbbd Tidying 2023-12-12 23:25:29 +00:00
Nav
ec51a21846 - Began refactoring TDF build scripts
- Separated TDF validation and mapping generation
- Moving away from the JSON mapping file, to a generated header file containing the TDF mapping.
- Other bits of tidying
2023-12-12 23:19:21 +00:00
Nav
275885e6ec Moved TargetFamily enum into separate header file 2023-12-12 19:02:54 +00:00
Nav
7924478145 Tidying TDF processing in preparation for RISC-V accomodation 2023-12-10 13:04:05 +00:00
Nav
7630baf51b Implemented RiscVProgramInterface in WchLinkInterface 2023-12-09 18:22:32 +00:00
Nav
d6c3f8044a Tidying 2023-12-08 23:04:13 +00:00
Nav
f4b30dbdf6 Added RiscVProgramInterface for RISC-V debug tools that are unable to program RISC-V targets via the debug interface 2023-12-08 23:04:04 +00:00
Nav
084eef1a30 Moved wMaxPacketSize retrieval to Usb::UsbDevice class.
And some other bits of tidying
2023-12-02 19:31:26 +00:00
Nav
eab1688b1a Memory access commands should be LSB 2023-12-02 14:00:06 +00:00
Nav
c792f92493 Corrected hart discovery bug 2023-12-02 13:59:18 +00:00