Added extra script for clangd

This commit is contained in:
Christoffer Martinsson 2023-05-27 22:00:50 +02:00
parent 1402a2f056
commit 86c205dcca
2 changed files with 6 additions and 0 deletions

5
firmware/extra_script.py Normal file
View File

@ -0,0 +1,5 @@
import os
Import("env")
# include toolchain paths
env.Replace(COMPILATIONDB_INCLUDE_TOOLCHAIN=True)

View File

@ -14,3 +14,4 @@ board = teensylc
framework = arduino
build_flags = -D USB_HID -D LAYOUT_SWEDISH -w
board_build.f_cpu = 48000000L
extra_scripts = pre:extra_script.py