diff --git a/.gitmodules b/.gitmodules index 6366408..c350145 100644 --- a/.gitmodules +++ b/.gitmodules @@ -10,3 +10,15 @@ [submodule "tsb/type"] path = tsb/type url = git@git.blackmark.me:avr/type.git +[submodule "stk500v2/type"] + path = stk500v2/type + url = git@git.blackmark.me:avr/type.git +[submodule "stk500v2/io"] + path = stk500v2/io + url = git@git.blackmark.me:avr/io.git +[submodule "stk500v2/uart"] + path = stk500v2/uart + url = git@git.blackmark.me:avr/uart.git +[submodule "stk500v2/flash"] + path = stk500v2/flash + url = git@git.blackmark.me:avr/flash.git diff --git a/stk500v2/flash b/stk500v2/flash new file mode 160000 index 0000000..6edb2e5 --- /dev/null +++ b/stk500v2/flash @@ -0,0 +1 @@ +Subproject commit 6edb2e5a21e0ce58ff2df936caee8b84e240a46b diff --git a/stk500v2/io b/stk500v2/io new file mode 160000 index 0000000..80de36e --- /dev/null +++ b/stk500v2/io @@ -0,0 +1 @@ +Subproject commit 80de36ee7ee3e6b0842d5eaee81d54062cb496b2 diff --git a/stk500v2/main.cpp b/stk500v2/main.cpp index ef7c54e..f0552a4 100644 --- a/stk500v2/main.cpp +++ b/stk500v2/main.cpp @@ -1,6 +1,13 @@ #include "clock.hpp" +#include "uart/uart.hpp" + +using uart_interface = uart::Hardware0, uart::Driven::BLOCKING>; + int main() { + uart::Uart serial; + serial.init(); + return 0; } diff --git a/stk500v2/stk500v2.cppproj b/stk500v2/stk500v2.cppproj index f53cf4b..6c553f9 100644 --- a/stk500v2/stk500v2.cppproj +++ b/stk500v2/stk500v2.cppproj @@ -215,9 +215,42 @@ compile + + compile + + + compile + compile + + compile + + + compile + + + compile + + + compile + + + compile + + + compile + + + compile + + + + + + + \ No newline at end of file diff --git a/stk500v2/type b/stk500v2/type new file mode 160000 index 0000000..ce31ef0 --- /dev/null +++ b/stk500v2/type @@ -0,0 +1 @@ +Subproject commit ce31ef017f738baaca6f0cbf99dac9d59b5e6811 diff --git a/stk500v2/uart b/stk500v2/uart new file mode 160000 index 0000000..ae03c8d --- /dev/null +++ b/stk500v2/uart @@ -0,0 +1 @@ +Subproject commit ae03c8d43e46dfbd396a052f71670727b293ac76