Skip to content

Instantly share code, notes, and snippets.

@atomgomba
Created September 24, 2022 19:40
Show Gist options
  • Save atomgomba/fba4985355be63ba768c0d7a71348222 to your computer and use it in GitHub Desktop.
Save atomgomba/fba4985355be63ba768c0d7a71348222 to your computer and use it in GitHub Desktop.
VSCode config for QMK development on Linux (Keychron K6 RGB)
{
"configurations": [
{
"name": "Linux",
"includePath": [
"/usr/lib/gcc/avr/5.4.0/include/**",
"/usr/lib/gcc/avr/5.4.0/include-fixed/**",
"/usr/lib/gcc/arm-none-eabi/10.3.1/include/**",
"/usr/lib/gcc/arm-none-eabi/10.3.1/include-fixed/**",
"/usr/lib/avr/include/**",
"${workspaceFolder}/lib/chibios-contrib/os/hal/boards/SN_SN32F240B",
"${workspaceFolder}/keyboards/keychron/k6/rgb",
"${workspaceFolder}/drivers/sn32/**",
"${workspaceFolder}/quantum/**",
"${workspaceFolder}/tmk_core/**",
"${workspaceFolder}/**"
],
"defines": [
"COMBO_ENABLE",
"TAP_DANCE_ENABLE",
"RGB_MATRIX_ENABLE",
"QMK_KEYBOARD_H=<quantum.h>"
],
"compilerPath": "/usr/bin/clang",
"cStandard": "c99",
"cppStandard": "c++17",
"intelliSenseMode": "linux-clang-x64",
"forcedInclude": [
"${workspaceFolder}/tmk_core/common/keycode.h",
"${workspaceFolder}/quantum/quantum.h",
"${workspaceFolder}/keyboards/keychron/k6/rgb/config.h",
"${workspaceFolder}/keyboards/keychron/k6/rgb/config_led.h"
]
}
],
"version": 4
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment