Skip to content

Commit

Permalink
refactoring to new ofm-infrared
Browse files Browse the repository at this point in the history
  • Loading branch information
traxanos committed Oct 20, 2024
1 parent dde758d commit 593cdca
Show file tree
Hide file tree
Showing 45 changed files with 4,680 additions and 1,092 deletions.
38 changes: 38 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
#Generated from Visual Studio settings
---
BasedOnStyle: llvm
BreakBeforeBraces: Custom
BraceWrapping:
AfterClass: true
AfterControlStatement: true
AfterCaseLabel: true
AfterEnum: true
AfterFunction: true
AfterNamespace: true
AfterStruct: true
AfterUnion: true
AfterExternBlock: true
BeforeCatch: true
BeforeElse: true
BeforeWhile: true
BeforeLambdaBody: false
SplitEmptyFunction: true
SplitEmptyRecord: true
SplitEmptyNamespace: true
IndentBraces: false
ColumnLimit: 0
IndentWidth: 4
NamespaceIndentation: All
TabWidth: 4
DerivePointerAlignment: true
IndentCaseLabels: true
AllowShortCaseLabelsOnASingleLine: true
AllowShortEnumsOnASingleLine: true
AllowShortFunctionsOnASingleLine: All
AllowShortIfStatementsOnASingleLine: OnlyFirstIf
AllowShortLambdasOnASingleLine: All
ConstructorInitializerIndentWidth: 4
ContinuationIndentWidth: 4
UseTab: Never
IndentPPDirectives: BeforeHash
...
16 changes: 12 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
.pio/*
.vscode/*
lib/*
.DS_Store
.pio
.vscode/.browse.c_cpp.db*
.vscode/c_cpp_properties.json
.vscode/launch.json
.vscode/ipch
**/*.knxprod
**/*.debug.xml
release/*
releases/*
src/*.baggages
compile_commands.json
include/versions.h

*/*-backups/*.zip
10 changes: 10 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
// See http://go.microsoft.com/fwlink/?LinkId=827846
// for the documentation about the extensions.json format
"recommendations": [
"platformio.platformio-ide"
],
"unwantedRecommendations": [
"ms-vscode.cpptools-extension-pack"
]
}
61 changes: 61 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "OpenKNXproducer",
"type": "shell",
"command": "~/bin/OpenKNXproducer.exe",
"args": [
"create",
"--Debug",
"-h",
"include/knxprod.h",
"src/GW-UP1-IR"
],
"problemMatcher": [],
"group": "test"
},
{
"label": "Gen. Dependencies.txt",
"type": "shell",
"command": "lib/OGM-Common/scripts/setup/reusable/Build-Dependencies.ps1",
"args": [
],
"problemMatcher": [],
"group": "test"
},
{
"label": "Develop: GW-UP1-IR",
"type": "shell",
"command": "scripts/OpenKNX-Build.ps1",
"args": [
"develop_RP2040"
],
"group": "build",
"problemMatcher": []
},
{
"label": "Develop: GW-UP1-IR (JLINK)",
"type": "shell",
"command": "scripts/OpenKNX-Build.ps1",
"args": [
"develop_RP2040_JLINK",
"upload"
],
"group": "build",
"problemMatcher": []
},
{
"label": "Build-Release",
"type": "shell",
"command": "scripts/Build-Release.ps1",
"args": [
""
],
"problemMatcher": [],
"group": "test"
}
]
}
Loading

0 comments on commit 593cdca

Please sign in to comment.