mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
b4f29035ce
Native CAN device was not properly ported to periph_can interface. This commit fixes this by renaming all needed structures and files so auto_init_can can initialize the native device. FEATURES_PROVIDED is also updated for native.
43 lines
733 B
C
43 lines
733 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.
|
|
*/
|
|
|
|
/**
|
|
* @ingroup drivers_candev_linux
|
|
* @{
|
|
*
|
|
* @file
|
|
* @brief Default linux can config
|
|
*
|
|
* @author Vincent Dupont <vincent@otakeys.com>
|
|
*/
|
|
|
|
#ifndef CAN_PARAMS_H
|
|
#define CAN_PARAMS_H
|
|
|
|
#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[] = {
|
|
{ .name = "can0", },
|
|
{ .name = "can1", },
|
|
};
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* CAN_PARAMS_H */
|
|
/** @} */
|