diff options
author | Daniel Friesel <derf@finalrewind.org> | 2017-12-04 15:19:25 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2017-12-04 15:19:25 +0100 |
commit | 7b5284023070b841293d0c5a6be0c6c345372cde (patch) | |
tree | 5f2c70451cf61ef6744813cac3a221cef210b213 /src/arch/posix/arch.cc |
Add basic system: LED GPIO on MSP430FR5969 Launchpad and faked GPIO on POSIX
Diffstat (limited to 'src/arch/posix/arch.cc')
-rw-r--r-- | src/arch/posix/arch.cc | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/arch/posix/arch.cc b/src/arch/posix/arch.cc new file mode 100644 index 0000000..efcf90e --- /dev/null +++ b/src/arch/posix/arch.cc @@ -0,0 +1,13 @@ +#include "arch.h" +#include <unistd.h> + +void Arch::setup(void) { } + +void Arch::idle_loop(void) +{ + while (1) { + sleep(1); + } +} + +Arch arch; |