Added clangd extra script
This commit is contained in:
parent
b88efa604c
commit
a4e0fcd847
5
firmware/extra_script.py
Normal file
5
firmware/extra_script.py
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
import os
|
||||||
|
Import("env")
|
||||||
|
|
||||||
|
# include toolchain paths
|
||||||
|
env.Replace(COMPILATIONDB_INCLUDE_TOOLCHAIN=True)
|
||||||
@ -14,4 +14,5 @@ board = teensylc
|
|||||||
framework = arduino
|
framework = arduino
|
||||||
build_flags = -D USB_KEYBOARDONLY -D LAYOUT_SWEDISH -w
|
build_flags = -D USB_KEYBOARDONLY -D LAYOUT_SWEDISH -w
|
||||||
board_build.f_cpu = 48000000L
|
board_build.f_cpu = 48000000L
|
||||||
upload_protocol = teensy-cli
|
extra_scripts = pre:extra_script.py
|
||||||
|
upload_protocol = teensy-cli
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user