forked from biologist79/ESPuino
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'biologist/dev'
- Loading branch information
Showing
93 changed files
with
12,865 additions
and
9,346 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
--- | ||
BasedOnStyle: WebKit | ||
AlignArrayOfStructures: Right | ||
AlignConsecutiveBitFields: | ||
Enabled: true | ||
AlignConsecutiveMacros: | ||
Enabled: true | ||
AllowShortEnumsOnASingleLine: false | ||
AllowShortFunctionsOnASingleLine: InlineOnly | ||
BreakBeforeBraces: Attach | ||
Cpp11BracedListStyle: true | ||
FixNamespaceComments: true | ||
IncludeBlocks: Regroup | ||
IncludeCategories: | ||
- Regex: Arduino.h | ||
Priority: -1 | ||
SortPriority: -2 | ||
CaseSensitive: true | ||
- Regex: settings.h | ||
Priority: -1 | ||
SortPriority: -1 | ||
CaseSensitive: true | ||
- Regex: ^" | ||
Priority: 1 | ||
SortPriority: 0 | ||
CaseSensitive: false | ||
- Regex: .* | ||
Priority: 4 | ||
SortPriority: 0 | ||
CaseSensitive: false | ||
IncludeIsMainRegex: (_test)?$ | ||
IndentCaseLabels: true | ||
IndentPPDirectives: BeforeHash | ||
InsertBraces: true | ||
InsertNewlineAtEOF: true | ||
NamespaceIndentation: None | ||
PointerAlignment: Right | ||
SpaceAfterCStyleCast: true | ||
Standard: Auto | ||
TabWidth: 4 | ||
UseTab: Always |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Code re-formatting with clang | ||
d1f82a7c93f160f9197c8b4e14e5a984ac6f9449 | ||
|
||
# Code re-formatting with editorconf | ||
3a562b67e3ca0f98ed128650440323c3b2d5fc78 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[blame] | ||
ignoreRevsFile = .git-blame-ignore-revs |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
name: clang-format-check | ||
run-name: Clang-format Check | ||
on: [workflow_dispatch, push, pull_request] | ||
jobs: | ||
formatting-check: | ||
name: Formatting Check | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Run clang-format style check for C/C++/Protobuf programs. | ||
uses: jidicula/[email protected] | ||
with: | ||
clang-format-version: '16' | ||
check-path: 'src' | ||
fallback-style: 'LLVM' # optional |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
name: build-all | ||
run-name: Build all boards | ||
on: | ||
workflow_dispatch: | ||
push: | ||
pull_request: | ||
paths: | ||
- 'src/*' | ||
- 'html/*' | ||
- 'test/*' | ||
- '**.ini' | ||
- '**.py' | ||
- '**.csv' | ||
|
||
jobs: | ||
test_builds: | ||
name: Run all Tests | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
variant: | ||
- esp32-a1s | ||
- lolin32 | ||
- lolin_d32 | ||
- lolin_d32_pro | ||
- lolin_d32_pro_sdmmc_pe | ||
- nodemcu-32s | ||
- az-delivery-devkit-v4 | ||
- ttgo_t8 | ||
- complete | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Cache pip | ||
uses: actions/cache@v3 | ||
with: | ||
path: ~/.cache/pip | ||
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }} | ||
restore-keys: | | ||
${{ runner.os }}-pip- | ||
- name: Cache PlatformIO | ||
uses: actions/cache@v3 | ||
with: | ||
path: ~/.platformio | ||
key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }} | ||
|
||
- name: Setup Python 3.9 | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.9' | ||
- name: Install PlatformIO Core | ||
run: | | ||
pip install -U setuptools platformio | ||
pio upgrade --dev | ||
pio pkg update --global | ||
- name: Build ${{ matrix.variant }} | ||
run: platformio run -e ${{ matrix.variant }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
{ | ||
"cmake.configureOnOpen": false | ||
} | ||
"cmake.configureOnOpen": false, | ||
"gitlens.advanced.blame.customArguments": [ | ||
"--ignore-revs-file", ".git-blame-ignore-revs" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
cmake_minimum_required(VERSION 3.16.0) | ||
include($ENV{IDF_PATH}/tools/cmake/project.cmake) | ||
project(ESPuino) |
Oops, something went wrong.