1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/net/gcoap_fileserver/Makefile
MrKevinWeiss 575ab684fe
sys/net/coap: cast in non-config define
If we try to set the compile-time config we need to always remember casting, instead, just cast in the places that are not exposed to users
2024-03-21 14:26:45 +01:00

56 lines
1.4 KiB
Makefile

include ../Makefile.net_common
USEMODULE += auto_init_gnrc_netif
USEMODULE += auto_init_gnrc_rpl
USEMODULE += gnrc_ipv6_router_default
USEMODULE += gnrc_icmpv6_echo
USEMODULE += gnrc_rpl
USEMODULE += shell
USEMODULE += shell_cmds_default
USEMODULE += gcoap_fileserver
USEMODULE += nanocoap_fileserver_put
USEMODULE += nanocoap_vfs
USEMODULE += constfs
USEMODULE += vfs_default
USEMODULE += vfs_auto_format
USEMODULE += hashes
USEMODULE += shell_cmd_md5sum
# This integration test uncovers a bug somwehere in our stack, but there
# are currently no resources to debug it, so blacklist it to keep CI running
TEST_ON_CI_BLACKLIST += all
# automated test only works on native
# TEST_ON_CI_WHITELIST += native native64
# use small blocksize for test to increase chance for errors
CFLAGS += -DCONFIG_NANOCOAP_BLOCKSIZE_DEFAULT=COAP_BLOCKSIZE_16
CFLAGS += -DCONFIG_COAP_ACK_TIMEOUT_MS=100
CFLAGS += -DCONFIG_COAP_MAX_RETRANSMIT=10
ifneq (,$(filter native native64,$(BOARD)))
USEMODULE += socket_zep
USEMODULE += socket_zep_hello
USEMODULE += netdev
TERMFLAGS += -z 127.0.0.1:17754 # Murdock has no IPv6 support
# make sure each instance gets their own fs
CFLAGS += -DCONFIG_NATIVE_ISOLATE_FS=1
else
USEMODULE += netdev_default
endif
.PHONY: host-tools
# Build zep_dispatch
host-tools:
$(Q)env -u CC -u CFLAGS $(MAKE) -C $(RIOTTOOLS)
TEST_DEPS += host-tools
include $(RIOTBASE)/Makefile.include