Commit Graph

1819 Commits

Author SHA1 Message Date
Nav
49bf0e0fdd Enforced single register group instance in GPIO port peripherals, in AVR8 TDFs 2024-04-29 20:27:07 +01:00
Nav
081d1e0bcd Added executable flag to memory segments in TDFs 2024-04-29 20:25:36 +01:00
Nav
c0836a1b6d Tidying 2024-04-06 19:04:45 +01:00
Nav
bd153c094f Check for "fuses" memory segment in AVR8 TDF validation 2024-04-06 19:04:22 +01:00
Nav
7e4440cb99 Tidying 2024-04-04 22:49:00 +01:00
Nav
8324d30742 Added address space for the register file, in AVR8 targets, where the register file is not located in the data address space 2024-04-04 22:48:55 +01:00
Nav
bfd767da7d Tidying 2024-03-30 19:40:01 +00:00
Nav
7393b227a8 Added AVR SREG and SP register validation in TDF validation 2024-03-30 19:39:57 +00:00
Nav
ed54b0e726 Tidying 2024-03-29 16:31:14 +00:00
Nav
779a5ad151 Corrected EEARL/H register address extraction from AVR8 TDFs.
Some other bits of tidying
2024-03-29 16:16:35 +00:00
Nav
b9d537e924 Created EdbgAvr8Session struct and moved EDBG target info to it 2024-03-28 21:10:08 +00:00
Nav
266cc8f196 Added signature memory segment check to validation script for AVR8 TDFs 2024-03-28 20:54:23 +00:00
Nav
ab19fc5a45 Moved AVR8 TDF class 2024-03-25 19:21:36 +00:00
Nav
3c8efa60a6 Added EDBG parameter structs with TDF-based initialisation 2024-03-25 18:59:15 +00:00
Nav
dd0b4dd7e1 Added EDBG parameter size validation to TDF script and other bits of tidying 2024-03-25 18:57:30 +00:00
Nav
0056d56904 Corrected TDF data extraction for EDBG parameters in TDF scripts 2024-03-25 18:56:45 +00:00
Nav
cf99e3e6fa Moved memory segment TDF validation to AVR8 validation class 2024-03-25 18:55:03 +00:00
Nav
57f56e634e Corrected bug in TDF script where TargetRegisterGroup objects were not being constructed correctly 2024-03-22 20:09:04 +00:00
Nav
07019fb358 Generate target descriptor from TDF 2024-03-21 15:04:09 +00:00
Nav
5d63b629e0 Began refactoring target descriptor structs.
This is incomplete - a partial commit of a substantial peice of work
2024-03-21 15:03:06 +00:00
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