Skip to content

Commit 78afd04

Browse files
committed
also add OWL1; build for ALL the OWLs!
1 parent 9346e36 commit 78afd04

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

Source/Heavy/OWLExporter.h

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
class OWLExporter : public ExporterBase {
88
public:
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

Comments
 (0)