1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-25 06:23:53 +01:00

tests/slip: homogenize CFLAGS with slipdev driver

This commit is contained in:
Daniel Lockau 2022-02-14 11:30:17 +01:00
parent ec0df56b67
commit d73ce591b2
2 changed files with 4 additions and 4 deletions

View File

@ -13,8 +13,8 @@ SLIP_UART ?= "UART_NUMOF-1"
SLIP_BAUDRATE ?= 115200
# export slip parameters
CFLAGS += -DSLIP_UART="UART_DEV($(SLIP_UART))"
CFLAGS += -DSLIP_BAUDRATE=$(SLIP_BAUDRATE)
CFLAGS += -DSLIPDEV_PARAM_UART="UART_DEV($(SLIP_UART))"
CFLAGS += -DSLIPDEV_PARAM_BAUDRATE=$(SLIP_BAUDRATE)
# add current directory to the include path. Putting it in CFLAGS will make
# it go to the beginning, before the standard includes.

View File

@ -27,8 +27,8 @@ extern "C" {
static slipdev_params_t slipdev_params[] = {
{
.uart = SLIP_UART,
.baudrate = SLIP_BAUDRATE,
.uart = SLIPDEV_PARAM_UART,
.baudrate = SLIPDEV_PARAM_BAUDRATE,
},
};