Commit Graph

1611 Commits

Author SHA1 Message Date
Nav
64b8846d7c Corrected memory segment type for the production signatures memory segment, in XMEGA TDFs 2024-02-18 21:48:38 +00:00
Nav
7ac54ec259 Implemented parsing for new register-group-instance element in TDF scripts 2024-02-17 21:44:02 +00:00
Nav
de096f63f0 Another TDF refactor - replaced register-group-reference with register-group-instance in peripheral elements
The `register-group-instance` element is very similar to `register-group-reference` but with the additional `address-space-key` attribute.
2024-02-17 21:30:31 +00:00
Nav
2a9dfda2c2 Added start address, offset and size bit-width validation in TDF validation script 2024-02-17 19:41:58 +00:00
Nav
b6dc0b87f9 Removed unused property in TDF RegisterGroup class 2024-02-17 17:39:51 +00:00
Nav
a09de592f4 Tidying 2024-02-15 21:25:32 +00:00
Nav
7e9e28286f Made physical interface enum more generic (moved out of AVR8-specific context) 2024-02-15 21:25:12 +00:00
Nav
f33b4d8c70 Updated TDF physical interface extraction to align with new TDF format 2024-02-15 19:40:22 +00:00
Nav
9c038ddaaf Removed machine commands from help text 2024-02-15 18:37:01 +00:00
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