Skip to content

Commit 15db582

Browse files
committed
Started stack work
1 parent af4e19a commit 15db582

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

src/core.cpp

+17-1
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,25 @@
2323
pinMode(10, OUTPUT);
2424
//Open SD card
2525
SD.begin(4);
26+
// Initialize SWAP
2627
Swap::init();
2728
//Begin parsing the PARSEBASIC main script
28-
Output::write("Launching bootloader");
29+
Output::write("Starting task manager...");
30+
#ifndef CORE_STACKSIZE
31+
#define CORE_STACKSIZE = 10
32+
#endif
33+
Task stack[CORE_STACKSIZE]
34+
// Included for debugging purposes
2935
Parse::start("/boot.pba");
3036
}
37+
void Task::init()
38+
{
39+
40+
}
41+
void Task::step()
42+
{
43+
44+
}
45+
}
46+
}
3147

0 commit comments

Comments
 (0)