137138139140141142143144145146147148
} if (firmwareFile.endsWith("ihex")) { // IHEX Reading int[] memory = cpu.memory; IHexReader reader = new IHexReader(); reader.readFile(memory, firmwareFile); } else { loadFirmware(firmwareFile); } config.setProperty("firmwareFile", firmwareFile);