1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-21 04:23:50 +01:00
RIOT/cpu/native/include/can_params.h
2025-09-25 17:48:55 +02:00

43 lines
608 B
C

/*
* SPDX-FileCopyrightText: 2016 OTA keys S.A.
* SPDX-License-Identifier: LGPL-2.1-only
*/
#pragma once
/**
* @addtogroup drivers_candev_linux
* @{
*/
/**
* @file
* @brief Default linux can config
* @author Vincent Dupont <vincent@otakeys.com>
*/
#include "candev_linux.h"
#include "can/device.h"
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief Default parameters (device names)
*/
static const candev_params_t candev_params[] = {
#if CAN_DLL_NUMOF >= 1
{ .name = "can0", },
#endif
#if CAN_DLL_NUMOF >= 2
{ .name = "can1", },
#endif
};
#ifdef __cplusplus
}
#endif
/** @} */