summaryrefslogtreecommitdiff
path: root/daemon/src/daemon.cpp
blob: 9c841f8ab409cc7e864d76878fbb3f688226ebf3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include <rpc/server.h>
#include <rpc/this_server.h>

#include <hwd/internal.h>

#include "Assembly.h"
#include "Gpio.h"


int main(int, char **)
{
	rpc::server server(hwd::internal::port());
	Gpio gpio;
	Assembly assembly {server};
	assembly.add("gpio", gpio);
	server.run();
}