Commit Graph

1849 Commits

Author SHA1 Message Date
Nav
6c82c4295a Corrected return type of getRegisterGroup() member function in Module TDF struct 2024-03-20 21:28:05 +00:00
Nav
af815fba13 Added tryGetDeviceAttribute() member function to TDF class 2024-03-20 21:13:32 +00:00
Nav
0ee769c872 Used TargetRegisterAccess object in place of a string for Register TDF struct 2024-03-20 21:12:00 +00:00
Nav
af9a8304bd Corrected return type of RegisterGroup::getSubgroup() member function 2024-03-17 13:54:19 +00:00
Nav
b94d76cb45 Added getIntersectingMemorySegmentDescriptors() member function to address space descriptor struct 2024-03-17 13:12:10 +00:00
Nav
6ca2f7681b Moved TargetAddressSpaceDescriptor member functions to separate source file 2024-03-16 16:55:55 +00:00
Nav
11a714d4b6 Used TargetMemoryAddressRange in address space and memory segment descriptors 2024-03-16 16:23:13 +00:00
Nav
4675d1fddc Added size() member function to TargeMemoryAddressRange 2024-03-16 16:21:43 +00:00
Nav
95dd0e0119 Added missing include 2024-03-16 00:07:55 +00:00
Nav
2e68383a3b Address space count validation in TDF validation script 2024-03-16 00:07:34 +00:00
Nav
47e92157f7 Added target address space and memory segment descriptor structs 2024-03-16 00:06:53 +00:00
Nav
e2f7fb48f3 Corrected outdated access attribute name in TDF parsing class 2024-03-15 18:48:05 +00:00
Nav
9002d739fe TargetMemorySegmentType enum (should have been included in a previous commit) 2024-03-15 18:46:14 +00:00
Nav
64af03c101 Used target memory aliases in TDF structs 2024-03-15 18:45:48 +00:00
Nav
cbdb1e27e4 Added access member to TDF MemorySegment struct. Also used target memory alias types 2024-03-15 18:39:49 +00:00
Nav
df0e74ea74 Renamed TDF attribute rw to access 2024-03-14 23:59:15 +00:00
Nav
289d1cd3b4 Moved memory segment types to Target scope 2024-03-14 21:48:55 +00:00
Nav
75d5124265 Moved TargetRegisterDescriptor struct to separate file 2024-03-09 17:16:29 +00:00
Nav
534b269b56 Updated TDF variant extraction to align with new TDF format 2024-03-09 15:40:05 +00:00
Nav
4bb273124a Tidying 2024-03-09 15:20:55 +00:00
Nav
7358a116e9 Corrected exception usage in TargetDescriptionFile class 2024-03-09 15:20:24 +00:00
Nav
e5cac7e39c Updated TDF pinout and pin extraction to align with new TDF format 2024-03-09 01:55:54 +00:00
Nav
024058db53 Converted the ValidateTargetDescriptionFiles and GenerateBriefTargetDescriptors custom targets back to a custom commands in CMake, after realising that custom targets will always be built, even if all byproducts already exist and no dependency has changed.
Also specified a list of all TDF files as dependencies of the custom commands, so that they will run whenever any of the TDFs are modified.
2024-03-08 00:49:36 +00:00
Nav
1de011f948 Correcting outdated comment and some tidying 2024-03-02 02:00:43 +00:00
Nav
4aa8ed30de - Renamed build script for brief target descriptor generation
- Created new TargetService class
- Moved brief target descriptor mapping to new TargetService class
- Replaced CMake custom commands with custom targets, for TDF validation and brief target descriptor generation build scripts
- Moved BriefTargetDescriptor into separate header file
2024-03-02 01:59:55 +00:00
Nav
e75ce8b403 Tidying 2024-02-27 21:27:41 +00:00
Nav
94c20b2978 Updated TDF peripheral, register group instance and signal extraction to align with new TDF format 2024-02-27 21:01:46 +00:00
Nav
1b2f9b8194 Removed unused property in Peripheral TDF class 2024-02-27 19:29:07 +00:00
Nav
11c0106fd6 Tidying 2024-02-26 20:51:45 +00:00
Nav
041c61e3fd Used more appropriate exception in TDF member functions 2024-02-26 19:28:18 +00:00
Nav
205ed1d55c Updated TDF module, register group, register group reference, register and bit field extraction to align with new TDF format 2024-02-26 19:27:36 +00:00
Nav
98f10bc1f4 Corrected return type of getters in TDF structs 2024-02-26 00:57:52 +00:00
Nav
7918b7c9f7 Tidying 2024-02-25 16:41:57 +00:00
Nav
44b01ecd84 New script for converting Microchip ATDFs to Bloom's new TDF format 2024-02-22 21:28:01 +00:00
Nav
35873cf031 New AtdfService - provides conversion of Microchip ATDF files to Bloom's new TDF format 2024-02-22 21:09:27 +00:00
Nav
ccf631fcc7 Tidying 2024-02-22 20:41:32 +00:00
Nav
0c8ba1b7b7 Renamed "boot_sections" property group to more accurate "boot_section_options" in AVR8 TDFs 2024-02-22 20:40:59 +00:00
Nav
67133804c0 Corrected address-space-key attribute value in AVR8 TDFs 2024-02-21 20:08:05 +00:00
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