1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-19 11:33:51 +01:00
RIOT/cpu/native/include/can_params.h

46 lines
730 B
C

/*
* Copyright (C) 2016 OTA keys S.A.
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
#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
/** @} */