diff --git a/tests/driver_xbee/Makefile b/tests/driver_xbee/Makefile
index 884636fc3bb419e6563c297dc5bef7e235d5470e..d7da42f7a258895aae1278200e2fa43a9df686c3 100644
--- a/tests/driver_xbee/Makefile
+++ b/tests/driver_xbee/Makefile
@@ -16,11 +16,14 @@ USEMODULE += shell
 USEMODULE += shell_commands
 
 # set default UART to use in case none was defined
-XBEE_UART ?= "UART_NUMOF-1"
+XBEE_UART ?= "1"
 
 # export UART to params file
 CFLAGS += -DXBEE_UART=$(XBEE_UART)
 
+# No need of big buffer for this test
+CFLAGS += -DGNRC_PKTBUF_SIZE=512
+
 # add current directory to the include path. Putting it in CFLAGS will make
 # it go to the beginning, before the standard includes.
 # That way xbee_params.h get's included and auto configuration can pick it up.