Tidying
This commit is contained in:
@@ -155,7 +155,7 @@ namespace Bloom::DebugToolDrivers::Protocols::CmsisDap::Edbg::Avr
|
||||
SPM = 0xA0,
|
||||
|
||||
/**
|
||||
* The REGISTER_FILE memory type can be used to read &write to general purpose registers.
|
||||
* The REGISTER_FILE memory type can be used to read & write to general purpose registers.
|
||||
*
|
||||
* Only available in debugging mode and with XMEGA and UPDI config variants. The SRAM memory type can be used
|
||||
* to access general purpose registers when other variants are in use.
|
||||
|
||||
@@ -489,13 +489,16 @@ void EdbgAvr8Interface::configure(const TargetConfig& targetConfig) {
|
||||
|
||||
if (!this->family.has_value()) {
|
||||
if (this->physicalInterface == PhysicalInterface::JTAG) {
|
||||
throw InvalidConfig("Cannot use JTAG physical interface with ambiguous target name - please specify the"
|
||||
" exact name of the target in your configuration file. See https://bloom.oscillate.io/docs/supported-targets");
|
||||
throw InvalidConfig("The JTAG physical interface cannot be used with an ambiguous target name"
|
||||
" - please specify the exact name of the target in your configuration file. "
|
||||
"See https://bloom.oscillate.io/docs/supported-targets"
|
||||
);
|
||||
|
||||
} else if (this->physicalInterface == PhysicalInterface::UPDI) {
|
||||
throw InvalidConfig("Cannot use UPDI physical interface with ambiguous target name - please "
|
||||
"specify the exact name of the target in your configuration file. "
|
||||
"See https://bloom.oscillate.io/docs/supported-targets");
|
||||
throw InvalidConfig("The UPDI physical interface cannot be used with an ambiguous target name"
|
||||
" - please specify the exact name of the target in your configuration file. "
|
||||
"See https://bloom.oscillate.io/docs/supported-targets"
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user