ninenano

Client implementation of the 9P protocol for constrained devices

git clone https://git.8pit.net/ninenano.git

 1# Name of your application
 2APPLICATION = 9pfs-shell
 3
 4# Address and port of protocol server
 5NINEPFS_HOST ?= ::1
 6NINEPFS_PORT ?= 5640
 7
 8# Define macros for address and port
 9CFLAGS += -DNINEPFS_HOST="\"$(NINEPFS_HOST)\""
10CFLAGS += -DNINEPFS_PORT=$(NINEPFS_PORT)
11
12# Board for which the application should be compiled
13BOARD ?= native
14
15# Disable optional assert(3) checks
16CFLAGS += -DNDEBUG
17
18# Change this to 0 show compiler invocation lines
19QUIET ?= 1
20
21# Path to the RIOT submodule
22RIOTBASE ?= $(CURDIR)/../../vendor/RIOT
23
24# Modules required for using the vfs shell commands
25USEMODULE += vfs
26USEMODULE += shell
27USEMODULE += shell_commands
28
29# Modules required for using gnrc_tcp
30USEMODULE += gnrc_netdev_default
31USEMODULE += auto_init_gnrc_netif
32USEMODULE += gnrc_ipv6_default
33USEMODULE += gnrc_tcp
34
35# Modules required for using 9pfs
36USEMODULE += ninenano_9pfs
37
38# Optional modules for debugging purposes
39USEMODULE += gnrc_icmpv6_echo
40
41export NINEBASE := $(CURDIR)/../..
42include $(NINEBASE)/Makefile.riot