try gitpod...

This commit is contained in:
Mathieu CArbou
2024-08-31 20:49:34 +00:00
parent a9ebd31dd3
commit a8cc43dae1
3 changed files with 83 additions and 72 deletions

2
.gitpod.Dockerfile vendored Normal file
View File

@ -0,0 +1,2 @@
FROM gitpod/workspace-python-3.11
USER gitpod

9
.gitpod.yml Normal file
View File

@ -0,0 +1,9 @@
tasks:
- command: pip install --upgrade pip && pip install -U platformio && platformio run -t clean -e arduino-3
image:
file: .gitpod.Dockerfile
vscode:
extensions:
- shardulm94.trailing-spaces

144
.vscode/settings.json vendored
View File

@ -1,74 +1,74 @@
{ {
"C_Cpp.clang_format_fallbackStyle": "{ BasedOnStyle: LLVM, UseTab: Never, IndentWidth: 2, TabWidth: 2, AllowShortIfStatementsOnASingleLine: false, IndentCaseLabels: true, ColumnLimit: 0, AccessModifierOffset: -2, NamespaceIndentation: All, FixNamespaceComments: false, IndentAccessModifiers: true, PointerAlignment: Left, ReferenceAlignment: Left, ContinuationIndentWidth: 2}", "platformio-ide.toolbar": [
"files.exclude": { {
"**/.lh": true "text": "$(home)",
}, "tooltip": "PlatformIO: Home",
"cSpell.words": [ "commands": "platformio-ide.showHome"
"YASOLR" },
], {
"cmake.configureOnOpen": false, "text": "$(trash)",
"files.associations": { "tooltip": "PlatformIO: Clean",
"*.cps": "javascript", "commands": "platformio-ide.clean"
"*.config": "cpp", },
"compare": "cpp", {
"*.tcc": "cpp", "text": "$(check)",
"deque": "cpp", "tooltip": "PlatformIO: Build",
"vector": "cpp", "commands": "platformio-ide.build"
"array": "cpp", },
"atomic": "cpp", {
"bit": "cpp", "text": "Upload",
"bitset": "cpp", "tooltip": "PlatformIO: Flash firmware (NO build run)",
"cctype": "cpp", "commands": [
"chrono": "cpp", {
"clocale": "cpp", "id": "platformio-ide.runPIOCoreCommand",
"cmath": "cpp", "args": "pio run -t nobuild -t factory_flash -e ${command:platformio-ide.activeEnvironment}"
"concepts": "cpp", }
"condition_variable": "cpp", ]
"cstdarg": "cpp", },
"cstddef": "cpp", {
"cstdint": "cpp", "text": "$(zap)",
"cstdio": "cpp", "tooltip": "PlatformIO: Build and Upload",
"cstdlib": "cpp", "commands": "platformio-ide.upload"
"cstring": "cpp", },
"ctime": "cpp", {
"cwchar": "cpp", "text": "$(flame)",
"cwctype": "cpp", "tooltip": "PlatformIO: Build, Erase and Upload",
"list": "cpp", "commands": [
"map": "cpp", {
"set": "cpp", "id": "platformio-ide.runPIOCoreCommand",
"unordered_map": "cpp", "args": "pio run -t erase_upload -e ${command:platformio-ide.activeEnvironment}"
"exception": "cpp", }
"algorithm": "cpp", ]
"functional": "cpp", },
"iterator": "cpp", {
"memory": "cpp", "text": "$(error)",
"memory_resource": "cpp", "tooltip": "PlatformIO: Erase Flash",
"numeric": "cpp", "commands": [
"optional": "cpp", {
"random": "cpp", "id": "platformio-ide.runPIOCoreCommand",
"ratio": "cpp", "args": "pio run -t nobuild -t erase -e ${command:platformio-ide.activeEnvironment}"
"regex": "cpp", }
"string": "cpp", ]
"string_view": "cpp", },
"system_error": "cpp", {
"tuple": "cpp", "text": "$(arrow-right)",
"type_traits": "cpp", "tooltip": "PlatformIO: Build, Upload and Monitor",
"utility": "cpp", "commands": "platformio-ide.uploadAndMonitor"
"initializer_list": "cpp", },
"iosfwd": "cpp", {
"istream": "cpp", "text": "$(device-desktop)",
"limits": "cpp", "tooltip": "PlatformIO: Serial Monitor",
"mutex": "cpp", "commands": "platformio-ide.serialMonitor"
"new": "cpp", },
"ostream": "cpp", {
"ranges": "cpp", "text": "$(terminal)",
"sstream": "cpp", "tooltip": "PlatformIO: New Terminal",
"stdexcept": "cpp", "commands": "platformio-ide.newTerminal"
"stop_token": "cpp", },
"streambuf": "cpp", {
"thread": "cpp", "text": "$(refresh)",
"cinttypes": "cpp", "tooltip": "PlatformIO: Rebuild IntelliSense Index",
"typeinfo": "cpp", "commands": "platformio-ide.rebuildProjectIndex"
"variant": "cpp" }
} ]
} }