Target driver passthrough commands
Added `pm` commands to manage the program mode of WCH targets
This commit is contained in:
@@ -335,6 +335,14 @@ namespace Targets::Microchip::Avr8
|
||||
}
|
||||
}
|
||||
|
||||
// Make RAM, FLASH and EEPROM available for inspection the Insight GUI.
|
||||
descriptor.getMemorySegmentDescriptor("data", "internal_ram").inspectionEnabled = true;
|
||||
descriptor.getMemorySegmentDescriptor("prog", "internal_program_memory").inspectionEnabled = true;
|
||||
descriptor.getMemorySegmentDescriptor(
|
||||
descriptor.getFirstAddressSpaceDescriptorContainingMemorySegment("internal_eeprom").key,
|
||||
"internal_eeprom"
|
||||
).inspectionEnabled = true;
|
||||
|
||||
return descriptor;
|
||||
}
|
||||
|
||||
@@ -683,6 +691,11 @@ namespace Targets::Microchip::Avr8
|
||||
return this->activeProgrammingSession.has_value();
|
||||
}
|
||||
|
||||
std::optional<PassthroughResponse> Avr8::invokePassthroughCommand(const PassthroughCommand& command) {
|
||||
// AVR targets do not currently support any passthrough commands
|
||||
return std::nullopt;
|
||||
}
|
||||
|
||||
std::map<TargetPadId, GpioPadDescriptor> Avr8::generateGpioPadDescriptorMapping(
|
||||
const std::vector<TargetPeripheralDescriptor>& portPeripheralDescriptors
|
||||
) {
|
||||
|
||||
Reference in New Issue
Block a user