Skip to content

Commit 58a79b4

Browse files
committed
Demo projec to generate example signals
1 parent a16da36 commit 58a79b4

9 files changed

Lines changed: 2640 additions & 0 deletions

File tree

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "canopen_demo_node/CANopenLinux"]
2+
path = canopen_demo_node/CANopenLinux
3+
url = git@github.com:CANopenNode/CANopenLinux.git

canopen_demo_node/.gitignore

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Ignore the application binary
2+
canopend
3+
4+
# Ignore object files
5+
*.o
6+
7+
# Ignore build directories commonly used in C projects
8+
/build/
9+
/bin/
10+
/obj/
11+
/out/
12+
/dist/
13+
14+
# Ignore executables (Linux)
15+
*.out
16+
*.elf
17+
*.exe
18+
19+
# Ignore dependency files
20+
*.d
21+
22+
# Ignore core dumps
23+
core
24+
core.*
25+
26+
# Ignore CMake build directory
27+
CMakeFiles/
28+
CMakeCache.txt
29+
cmake_install.cmake
30+
Makefile
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"version": "0.2.0",
3+
"configurations": [
4+
{
5+
"name": "Debug canopend",
6+
"type": "cppdbg",
7+
"request": "launch",
8+
"program": "${workspaceFolder}/canopend",
9+
"args": [
10+
"can0",
11+
"-i", "4",
12+
"-c", "local-/tmp/CO_command_socket"
13+
],
14+
"preLaunchTask": "Delete socket and Build",
15+
"stopAtEntry": false,
16+
"cwd": "${workspaceFolder}",
17+
"environment": [],
18+
"externalConsole": true,
19+
"MIMode": "gdb",
20+
"miDebuggerPath": "/usr/bin/gdb"
21+
}
22+
]
23+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"files.associations": {
3+
"compare": "cpp",
4+
"eventfd.h": "c",
5+
"co_error.h": "c"
6+
}
7+
}
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
{
2+
"version": "2.0.0",
3+
"tasks": [
4+
{
5+
"label": "Build",
6+
"type": "shell",
7+
"command": "make",
8+
"options": {
9+
"cwd": "${workspaceFolder}"
10+
},
11+
"group": {
12+
"kind": "build",
13+
"isDefault": true
14+
},
15+
"problemMatcher": []
16+
},
17+
{
18+
"label": "Clean",
19+
"type": "shell",
20+
"command": "make clean",
21+
"options": {
22+
"cwd": "${workspaceFolder}"
23+
},
24+
"problemMatcher": []
25+
},
26+
{
27+
"label": "Deep Clean",
28+
"type": "shell",
29+
"command": "make deepclean",
30+
"options": {
31+
"cwd": "${workspaceFolder}"
32+
},
33+
"problemMatcher": []
34+
},
35+
{
36+
"label": "Delete the socket",
37+
"type": "shell",
38+
"command": "rm -f /tmp/CO_command_socket",
39+
"problemMatcher": []
40+
},
41+
{
42+
"label": "Delete socket and Build",
43+
"dependsOn": ["Delete the socket", "Build"],
44+
"dependsOrder": "sequence",
45+
"runOptions": {
46+
"runOn": "default"
47+
}
48+
}
49+
]
50+
}

0 commit comments

Comments
 (0)