Commit Graph

76 Commits

Author SHA1 Message Date
Nav
4dc019e915 Moved RISC-V CSR and GPR address spaces to TDF.
Some other bits of refactoring/tidying
2024-12-27 03:41:39 +00:00
Nav
79b7457c89 GPIO pad state access and manipulation for WCH RISC-V targets 2024-12-21 02:10:31 +00:00
Nav
1d4def228b Tidying 2024-11-29 01:19:58 +00:00
Nav
f6819d35de Tidying 2024-11-17 16:15:13 +00:00
Nav
5c896bb2ca Support for property groups in variant elements, in TDFs 2024-10-12 16:25:11 +01:00
Nav
9cfc171255 Added description member to TargetPeripheralDescriptor 2024-10-08 21:26:03 +01:00
Nav
d906f2f426 Added alternative flag to Signal element in TDFs 2024-10-04 23:45:16 +01:00
Nav
ca498c64c2 Added SDI physical interface 2024-10-03 22:56:13 +01:00
Nav
e522261991 Replaced group attribute with name attribute in Signal TDF element 2024-09-15 15:27:08 +01:00
Nav
4f9bb0ac3e Target variant keys 2024-08-19 19:43:02 +01:00
Nav
c662e946ca Updated application to code to accomodate changes to TDF format (new pad elements and changes to variant elements) 2024-08-16 23:02:35 +01:00
Nav
e4552581bf Made resolving of pin type case-insensitive 2024-08-13 19:55:37 +01:00
Nav
f1c82ecd28 Made key and name attributes optional in register-group-instance TDF elements
Also removed the attribute from all instances of the element, where it wasn't necessary.
2024-08-13 19:54:05 +01:00
Nav
3f88e2022c Refactored descriptor ID generation and added IDs to peripherals, register groups and registers 2024-07-25 19:03:26 +01:00
Nav
6cdbfbe950 Massive refactor to accommodate RISC-V targets
- Refactored entire codebase (excluding the Insight component) to accommodate multiple target architectures (no longer specific to AVR)
- Deleted 'generate SVD' GDB monitor command - I will eventually move this functionality to the Bloom website
- Added unit size property to address spaces
- Many other changes which I couldn't be bothered to describe here
2024-07-23 21:14:22 +01:00
Nav
081d1e0bcd Added executable flag to memory segments in TDFs 2024-04-29 20:25:36 +01:00
Nav
07019fb358 Generate target descriptor from TDF 2024-03-21 15:04:09 +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
11a714d4b6 Used TargetMemoryAddressRange in address space and memory segment descriptors 2024-03-16 16:23:13 +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
cbdb1e27e4 Added access member to TDF MemorySegment struct. Also used target memory alias types 2024-03-15 18:39:49 +00:00
Nav
289d1cd3b4 Moved memory segment types to Target scope 2024-03-14 21:48:55 +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
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
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
7918b7c9f7 Tidying 2024-02-25 16:41:57 +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
bf39260e0e Refactored TDF parsing exceptions 2024-02-13 20:48:06 +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
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
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
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
4dd6050781 Renamed variant 'ordercode' to 'name' 2023-12-13 23:03:04 +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
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
7924478145 Tidying TDF processing in preparation for RISC-V accomodation 2023-12-10 13:04:05 +00:00
Nav
5896306f1a Removed redundant 'Bloom' namespace from entire codebase 2023-08-13 15:47:51 +01:00