66
77class OWLExporter : public ExporterBase {
88public:
9- Value targetBoardValue = Value(var(1 ));
9+ Value targetBoardValue = Value(var(2 ));
1010 Value exportTypeValue = SynchronousValue(var(3 ));
1111 Value storeSlotValue = SynchronousValue(var(1 ));
1212
@@ -18,7 +18,7 @@ class OWLExporter : public ExporterBase {
1818 : ExporterBase(editor, exportingView)
1919 {
2020 Array<PropertiesPanelProperty*> properties;
21- properties.add (new PropertiesPanel::ComboComponent (" Target board" , targetBoardValue, { " OWL2" , " OWL3" }));
21+ properties.add (new PropertiesPanel::ComboComponent (" Target board" , targetBoardValue, { " OWL1 " , " OWL2" , " OWL3" }));
2222 properties.add (new PropertiesPanel::ComboComponent (" Export type" , exportTypeValue, { " Source code" , " Binary" , " Load" , " Store" }));
2323 storeSlotProperty = new PropertiesPanel::ComboComponent (" Store slot" , storeSlotValue, { " 1" , " 2" , " 3" , " 4" , " 5" , " 6" , " 7" , " 8" });
2424 properties.add (storeSlotProperty);
@@ -170,11 +170,7 @@ class OWLExporter : public ExporterBase {
170170 + " PATCHFILE=HeavyOWL_" + name + " .hpp" ;
171171#endif
172172
173- if (target == 1 ) {
174- buildScript += " PLATFORM=OWL2" ;
175- } else if (target == 2 ) {
176- buildScript += " PLATFORM=OWL3" ;
177- }
173+ buildScript += " PLATFORM=OWL" + String (target);
178174
179175 if (load) {
180176 // load into flash memory
0 commit comments