Commit Graph

44 Commits

Author SHA1 Message Date
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
Nav
5833aeeb26 Removed unnecessary QDomDocument instance from TDF class 2023-03-05 23:30:42 +00:00
Nav
8fa7e82c56 Moved Paths helper functions to service class 2023-02-20 21:55:55 +00:00
Nav
aa73b431ae Bit field struct and TDF extraction 2022-03-04 15:36:07 +00:00
Nav
53a3c815d7 Removed using namespace directive for class member function definitions in source files 2022-02-05 15:32:08 +00:00
Nav
1ef78dafb1 Single definition of Bloom website domain 2021-11-02 23:26:11 +00:00
Nav
3802cc11f6 Added fallback to "rw" attribute for read/write capabilities for registers defined in AVR8 TDFs 2021-10-31 11:36:28 +00:00
Nav
6edfb7376a Tidied structure of all classes within the entire code base
Also some other small bits of tidying
2021-10-31 11:36:28 +00:00
Nav
df6b94b0de Tidying/consistency of includes 2021-10-02 17:39:33 +01:00
Nav
d79977317d Honouring read/write flags in AVR8 TDFs 2021-08-30 22:32:40 +01:00
Nav
df1f3958c0 Ignoring AVR8 registers that are not in the data address space 2021-08-30 22:31:44 +01:00
Nav
a52d2271b3 Corrected register group extraction from AVR8 TDFs 2021-08-27 23:51:21 +01:00
Nav
d709c8aac9 Retrieving AVR8 target registers and including them in the TargetDescriptor 2021-08-07 17:15:48 +01:00
Nav
ad18ff94fa Extracting interfaces from TDFs 2021-06-26 03:47:23 +01:00
Nav
a550d2c3a1 Some tidying and more TDF corrections 2021-06-11 23:59:17 +01:00
Nav
be1e978bb6 Added proper handling of TDF parsing errors 2021-06-08 00:43:45 +01:00
Nav
a65cc0b5c0 More TDF refactoring
Moved address space, module, property group, variant, pinout and peripheral module extraction to TDF initialisation.
Also some other bits of tidying.
2021-06-06 20:06:43 +01:00
Nav
9b1f250625 Moved AVR8 specific TDF parsing to AVR8 derivation of TDF class.
Also some other small tweaks to TDF function qualifiers
Also improved some comments
2021-06-06 19:23:45 +01:00
Nav
5ba95e6967 Corrected typo in OSCCAL register extraction 2021-06-06 17:08:31 +01:00
Nav
e9929927cb Updated lookup for OSCCAL_ADDR value from TDFs.
Included OSCCAL0, OSCCAL1, FOSCCAL0, SOSCCALA register lookups
2021-06-06 00:43:18 +01:00
Nav
0309f4c604 Refactored EEPROM TDF memory segment lookup and included a fallback
for cases where the eeprom segment is located in the data address space,
as opposed to a dedicated address space for eeprom memory.
2021-06-05 23:52:00 +01:00
Nav
0c1549c1d2 Included check for flash memory segments with name "PROGMEM", for the new AVR8 TDFs 2021-06-05 23:51:49 +01:00
Nav
bff9f7c317 Mopping up some TDF refactoring 2021-06-05 22:37:54 +01:00
Nav
9a31bddd06 Fixed issue with AVR8 'store program memory control register' (SPMCR) loading from TDFs 2021-06-05 22:36:53 +01:00
Nav
91b40133a1 Fixed issue with AVR8 EEPROM address register loading from TDFs 2021-06-05 22:35:24 +01:00
Nav
5f580cc387 Removed unnecessary 'devices' element from TDFs 2021-06-02 23:24:05 +01:00
Nav
571211b337 Renamed part description files to target description files.
Introduced a generic target description file class with an AVR8 derivation.
Moved AVR8 target description files
2021-05-31 01:42:18 +01:00