canbus, modbus working, valve has to be implemented in real
This commit is contained in:
10
software/.vscode/extensions.json
vendored
Normal file
10
software/.vscode/extensions.json
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"recommendations": [
|
||||
"ms-vscode.cpptools-extension-pack",
|
||||
"ms-python.python",
|
||||
"ms-vscode.vscode-embedded-tools",
|
||||
"ms-vscode.vscode-serial-monitor",
|
||||
"marus25.cortex-debug",
|
||||
"donjayamanne.python-environment-manager"
|
||||
]
|
||||
}
|
||||
28
software/.vscode/launch.json
vendored
Normal file
28
software/.vscode/launch.json
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"name": "Launch",
|
||||
"device": "STM32F103RB",
|
||||
"cwd": "${workspaceFolder}",
|
||||
"executable": "build/zephyr/zephyr.elf",
|
||||
"request": "launch",
|
||||
"type": "cortex-debug",
|
||||
//"runToEntryPoint": "main",
|
||||
"servertype": "jlink",
|
||||
"gdbPath": "${userHome}/zephyr-sdk-0.17.1/arm-zephyr-eabi/bin/arm-zephyr-eabi-gdb",
|
||||
"preLaunchTask": "West Build"
|
||||
},
|
||||
{
|
||||
"name": "Attach",
|
||||
"device": "nRF52840_xxAA",
|
||||
"cwd": "${workspaceFolder}",
|
||||
"executable": "build/zephyr/zephyr.elf",
|
||||
"request": "attach",
|
||||
"type": "cortex-debug",
|
||||
// "runToEntryPoint": "main",
|
||||
"servertype": "jlink",
|
||||
"gdbPath": "${userHome}/zephyr-sdk-0.17.1/arm-zephyr-eabi/bin/arm-zephyr-eabi-gdb"
|
||||
},
|
||||
]
|
||||
}
|
||||
31
software/.vscode/settings.json
vendored
31
software/.vscode/settings.json
vendored
@@ -1,23 +1,12 @@
|
||||
{
|
||||
"files.associations": {
|
||||
"log.h": "c",
|
||||
"modbus.h": "c",
|
||||
"array": "c",
|
||||
"string": "c",
|
||||
"string_view": "c",
|
||||
"canbus.h": "c",
|
||||
"kernel.h": "c",
|
||||
"settings.h": "c",
|
||||
"can.h": "c",
|
||||
"stdlib.h": "c",
|
||||
"reboot.h": "c"
|
||||
},
|
||||
"C_Cpp.default.compileCommands": [
|
||||
"build/compile_commands.json",
|
||||
"../build/compile_commands.json"
|
||||
],
|
||||
"cmake.sourceDirectory": "/home/edi/zephyrproject/projects/irrigation_system/software/test_canbus",
|
||||
"nrf-connect.applications": [
|
||||
"${workspaceFolder}/test_canbus"
|
||||
],
|
||||
// Hush CMake
|
||||
"cmake.configureOnOpen": false,
|
||||
|
||||
// IntelliSense
|
||||
"C_Cpp.default.compilerPath": "${userHome}/zephyr-sdk-0.17.1/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe",
|
||||
"C_Cpp.default.compileCommands": "${workspaceFolder}/build/compile_commands.json",
|
||||
|
||||
// File Associations
|
||||
"files.associations": {
|
||||
}
|
||||
}
|
||||
96
software/.vscode/tasks.json
vendored
Normal file
96
software/.vscode/tasks.json
vendored
Normal file
@@ -0,0 +1,96 @@
|
||||
{
|
||||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
{
|
||||
"label": "West Build",
|
||||
"type": "shell",
|
||||
"group": {
|
||||
"kind": "build",
|
||||
"isDefault": true
|
||||
},
|
||||
"linux": {
|
||||
"command": "${userHome}/zephyrproject/.venv/bin/west"
|
||||
},
|
||||
"windows": {
|
||||
"command": "${userHome}/zephyrproject/.venv/Scripts/west.exe"
|
||||
},
|
||||
"osx": {
|
||||
"command": "${userHome}/zephyrproject/.venv/bin/west"
|
||||
},
|
||||
"args": [
|
||||
"build",
|
||||
"-p",
|
||||
"auto",
|
||||
"-b",
|
||||
"valve_node"
|
||||
],
|
||||
"problemMatcher": [
|
||||
"$gcc"
|
||||
]
|
||||
},
|
||||
{
|
||||
"label": "West Configurable Build",
|
||||
"type": "shell",
|
||||
"group": {
|
||||
"kind": "build",
|
||||
},
|
||||
"linux": {
|
||||
"command": "${userHome}/zephyrproject/.venv/bin/west"
|
||||
},
|
||||
"windows": {
|
||||
"command": "${userHome}/zephyrproject/.venv/Scripts/west.exe"
|
||||
},
|
||||
"osx": {
|
||||
"command": "${userHome}/zephyrproject/.venv/bin/west"
|
||||
},
|
||||
"args": [
|
||||
"build",
|
||||
"-p",
|
||||
"${input:pristine}",
|
||||
"-b",
|
||||
"${input:board}"
|
||||
],
|
||||
"problemMatcher": [
|
||||
"$gcc"
|
||||
]
|
||||
},
|
||||
{
|
||||
"label": "West Flash",
|
||||
"type": "shell",
|
||||
"linux": {
|
||||
"command": "${userHome}/zephyrproject/.venv/bin/west"
|
||||
},
|
||||
"windows": {
|
||||
"command": "${userHome}/zephyrproject/.venv/Scripts/west.exe"
|
||||
},
|
||||
"osx": {
|
||||
"command": "${userHome}/zephyrproject/.venv/bin/west"
|
||||
},
|
||||
"args": [
|
||||
"flash"
|
||||
],
|
||||
"problemMatcher": [
|
||||
"$gcc"
|
||||
]
|
||||
}
|
||||
],
|
||||
"inputs": [
|
||||
{
|
||||
"id": "board",
|
||||
"type": "promptString",
|
||||
"default": "valve-node",
|
||||
"description": "See https://docs.zephyrproject.org/latest/boards/index.html"
|
||||
},
|
||||
{
|
||||
"id": "pristine",
|
||||
"type": "pickString",
|
||||
"description": "Choose when to run a pristine build",
|
||||
"default": "auto",
|
||||
"options": [
|
||||
"auto",
|
||||
"always",
|
||||
"never"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user