forked from Imagelibrary/rtems
cpukit/dev/can: Added CAN support
This commit is contained in:
committed by
Christian Mauderer
parent
89ba2a9838
commit
cd91b37dce
@@ -52,6 +52,11 @@ install:
|
||||
- destination: ${BSP_INCLUDEDIR}/dev/spi
|
||||
source:
|
||||
- cpukit/include/dev/spi/spi.h
|
||||
- destination: ${BSP_INCLUDEDIR}/dev/can
|
||||
source:
|
||||
- cpukit/include/dev/can/can.h
|
||||
- cpukit/include/dev/can/can-msg.h
|
||||
- cpukit/include/dev/can/canqueueimpl.h
|
||||
- destination: ${BSP_INCLUDEDIR}/linux
|
||||
source:
|
||||
- cpukit/include/linux/i2c-dev.h
|
||||
@@ -535,6 +540,7 @@ source:
|
||||
- cpukit/dev/serial/sc16is752-spi.c
|
||||
- cpukit/dev/serial/sc16is752.c
|
||||
- cpukit/dev/spi/spi-bus.c
|
||||
- cpukit/dev/can/can.c
|
||||
- cpukit/dtc/libfdt/fdt.c
|
||||
- cpukit/dtc/libfdt/fdt_addresses.c
|
||||
- cpukit/dtc/libfdt/fdt_empty_tree.c
|
||||
|
||||
20
spec/build/testsuites/libtests/can01.yml
Normal file
20
spec/build/testsuites/libtests/can01.yml
Normal file
@@ -0,0 +1,20 @@
|
||||
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
|
||||
build-type: test-program
|
||||
cflags: []
|
||||
copyrights:
|
||||
- Copyright (c) 2022 Prashanth S (fishesprashanth@gmail.com).
|
||||
cppflags: []
|
||||
cxxflags: []
|
||||
enabled-by: true
|
||||
features: c cprogram
|
||||
includes: []
|
||||
ldflags: []
|
||||
links: []
|
||||
source:
|
||||
- testsuites/libtests/can01/init.c
|
||||
- testsuites/libtests/can01/can-loopback.c
|
||||
stlib: []
|
||||
target: testsuites/libtests/can01.exe
|
||||
type: build
|
||||
use-after: []
|
||||
use-before: []
|
||||
@@ -76,6 +76,8 @@ links:
|
||||
uid: cpuuse
|
||||
- role: build-dependency
|
||||
uid: crypt01
|
||||
- role: build-dependency
|
||||
uid: can01
|
||||
- role: build-dependency
|
||||
uid: debugger01
|
||||
- role: build-dependency
|
||||
|
||||
Reference in New Issue
Block a user