Commit graph

14 commits

Author SHA1 Message Date
Joel Spadin
fc402026fb improvement(vscode): Improve tasks
Changed the build task to no longer set isDefault: true. This lets you
set your own default build task from a code workspace.

Also replaced "cd app" in each command by setting the working directory
for the task.
2021-08-08 13:21:14 -05:00
Joel Spadin
8df00aeac4 improvement(vscode): recommend ZMK Tools extension
Removed the associations for keymap and overlays since ZMK Tools provides
associations of its own, and overriding keymap files to DeviceTree prevents
ZMK Tools from properly handling them.
2021-08-08 13:21:14 -05:00
Joel Spadin
16a81b32ad improvement(vscode): recommend eslint extension 2021-08-08 13:21:14 -05:00
Joel Spadin
c10fb1ab15 improvement(vscode): Format docs on save
Added a recommendation for the Prettier extension and set CSS, JS, JSX, and
Markdown files to format on save using it.
2021-08-08 13:21:14 -05:00
Joel Spadin
14d5e36b68 improvement(vscode): stop C/C++ changing settings
By default, VS Code's C/C++ extension updates .vscode/settings.json to associate
.h files with C or C++ based on which type of file they're included by. Since
ZMK doesn't use C++, disable this behavior and always treat .h files as C
headers.
2021-08-08 13:21:14 -05:00
Joel Spadin
84cb1fab27 improvement(vscode): auto format C files on save 2021-08-08 13:21:14 -05:00
Joel Spadin
c8289135b7 improvement(vscode): parse GCC diagnostics
Updated the vscode build task to parse warnings/errors from GCC.
2021-08-08 13:21:14 -05:00
Joel Spadin
527e5df985 improvement(vscode): Recommend some extensions 2021-08-08 13:21:14 -05:00
Jay Greco
1a6fe846e4 Update NIBBLE keyboard name as per PR feedback
- Revert accidental VS code settings change
2020-10-27 12:44:59 -07:00
Jay Greco
1522c91d73 Add new kscan_gpio_demux driver
+ zmk,kscan_gpio_demux is now a compatible kscan option
+ kscan_gpio_demux is based heavily off of the implementation of
kscan_gpio_matrix, modified to address cols using an n-to-1
demultiplexer chip instead of discrete IO
+ Added zmk,kscan_gpio_demux.yaml file
* modified CMakeLists to include new source files
2020-10-27 18:58:58 +00:00
Pete Johanson
65a6a91f59 Propertly highlight .keymap files as dts. 2020-08-06 15:04:50 -04:00
Pete Johanson
8e4c883f65 Configure .overlay files to use dts file assocation. 2020-06-15 06:26:38 -04:00
Pete Johanson
500232bb83 Minor build fixes for VSCode, extra ignore. 2020-06-14 23:56:10 -04:00
Pete Johanson
c1905745b3 Refactor build/config/keymaps.
* Move all headers to `include/zmk` directory.
* Update includes to reference them properly.
* Add `keymap.c` file from keymap, if found.
* Toplevel CONFIG_ZMK_BLE aggregate config setting.
2020-05-18 09:11:46 -04:00