This makes flashing find the right files, and Monitor Idle show all of
the state data.
Signed-off-by: Keith Packard <keithp@keithp.com>
return false;
if (product.startsWith("TeleMetrum-v2"))
return false;
return false;
if (product.startsWith("TeleMetrum-v2"))
return false;
+ if (product.startsWith("EasyMega"))
+ return false;
AltosIdler.idle_ms5607, AltosIdler.idle_mma655x,
AltosIdler.idle_imu, AltosIdler.idle_mag,
AltosIdler.idle_sensor_mega),
AltosIdler.idle_ms5607, AltosIdler.idle_mma655x,
AltosIdler.idle_imu, AltosIdler.idle_mag,
AltosIdler.idle_sensor_mega),
+ new AltosIdler("EasyMega",
+ AltosIdler.idle_ms5607, AltosIdler.idle_mma655x,
+ AltosIdler.idle_imu, AltosIdler.idle_mag,
+ AltosIdler.idle_sensor_mega),
public final static int product_telegps = 0x0025;
public final static int product_easymini = 0x0026;
public final static int product_telemini = 0x0027;
public final static int product_telegps = 0x0025;
public final static int product_easymini = 0x0026;
public final static int product_telemini = 0x0027;
+ public final static int product_easymega = 0x0028;
public final static int product_altusmetrum_min = 0x000a;
public final static int product_altusmetrum_max = 0x002c;
public final static int product_altusmetrum_min = 0x000a;
public final static int product_altusmetrum_max = 0x002c;
new Product("megadongle", product_megadongle),
new Product("telegps", product_telegps),
new Product("easymini", product_easymini),
new Product("megadongle", product_megadongle),
new Product("telegps", product_telegps),
new Product("easymini", product_easymini),
- new Product("telemini", product_telemini)
+ new Product("telemini", product_telemini),
+ new Product("easymega", product_easymega)
};
public static int name_to_product(String name) {
};
public static int name_to_product(String name) {
new AltosHexfileFilter(AltosLib.product_teledongle, "teledongle", "TeleDongle Image"),
new AltosHexfileFilter(AltosLib.product_telemega, "telemega", "TeleMega Image"),
new AltosHexfileFilter(AltosLib.product_easymini, "easymini", "EasyMini Image"),
new AltosHexfileFilter(AltosLib.product_teledongle, "teledongle", "TeleDongle Image"),
new AltosHexfileFilter(AltosLib.product_telemega, "telemega", "TeleMega Image"),
new AltosHexfileFilter(AltosLib.product_easymini, "easymini", "EasyMini Image"),
+ new AltosHexfileFilter(AltosLib.product_easymega, "easymega", "EasyMega Image"),
};
boolean select_source_file() {
};
boolean select_source_file() {
if (want_product == AltosUILib.product_altimeter)
return have_product == AltosUILib.product_telemetrum ||
have_product == AltosUILib.product_telemega ||
if (want_product == AltosUILib.product_altimeter)
return have_product == AltosUILib.product_telemetrum ||
have_product == AltosUILib.product_telemega ||
+ have_product == AltosUILib.product_easymega ||
have_product == AltosUILib.product_telegps ||
have_product == AltosUILib.product_easymini ||
have_product == AltosUILib.product_telemini;
have_product == AltosUILib.product_telegps ||
have_product == AltosUILib.product_easymini ||
have_product == AltosUILib.product_telemini;