Peter Johanson
b2d64fe598
refactor(boards): Switch proton_c to newer pinmux approach.
...
See: https://github.com/zephyrproject-rtos/zephyr/issues/28999
PR: https://github.com/zmkfirmware/zmk/pull/736
3 years ago
Pete Johanson
d7475f792f
fix(boards): Enable pinmux for bdn9_rev2 by default.
...
See: https://github.com/zephyrproject-rtos/zephyr/issues/28999
PR: https://github.com/zmkfirmware/zmk/pull/736
3 years ago
Nick Winans
edb3ff1bb1
feat(boards): Add nice!nano v2
3 years ago
Nick Winans
efcc49f23d
fix(boards): Set nice!60 nRF subfamily for openocd ( #816 )
4 years ago
Anthony Amanse
719b6aa0ae
fix(boards): Add delay on initializing external power for BlueMicro840
...
This commits adds a delay of 20ms on initializing the external
power control driver. Previously, OLED's i2c driver is failing to
initialize the display. This commit fixes that issue.
Signed-off-by: Anthony Amanse <ghieamanse@gmail.com>
4 years ago
Anthony Amanse
cdbfb35662
fix(boards): Fix Blue LED pin definition in BlueMicro840
...
This commit fixes the pin definition for BlueMicro840. Based on the
schematics, the blue led is at pin 1.10.
Signed-off-by: Anthony Amanse <ghieamanse@gmail.com>
4 years ago
Nick Winans
3f838f0aaf
feat(boards): Add nice!60 board
4 years ago
Lucas Messenger
d8119cd663
fix(boards): Proper BlueMicro840_V1 &pro_micro_a map for A10 ( #733 )
4 years ago
Pete Johanson
969e5568af
fix(boards): Define but don't enable uart0.
...
* Set pro-micro TX/RX pins, but don't enable the UART
by default.
4 years ago
innovaker
f17584ca0e
chore: standardize # style headers
...
Changes made with regex plus some manual tweaks.
Find:
/(?:(?<!#!\/bin\/sh\n)(?:^#\n))*^#.*?[Cc]opyright.*?(\d{4}) *([0-9A-z,_\- ]+).*?\n(?:^#\n)*^#.*?SPDX-License-Identifier:? *(.+) *?\n(?:^#\n)*/gm
Replace:
# Copyright (c) $1 $2
# SPDX-License-Identifier: $3
PR: #564
4 years ago
innovaker
5a72662898
chore: standardize C style headers
...
Changes made with regex plus some manual tweaks.
Find:
/^\/\*.*\n(?:^\*.*\n)*^.*\*.*?[Cc]opyright.*?(\d{4}) *([0-9A-z,_\- ]+).*?\n(?:^.*\*.*\n)*^.*\*.*?SPDX-License-Identifier:? *(.+) *?\n(?:^.*\*.*\n)*.*\*\//gm
Replace:
/*
* Copyright (c) $1 $2
*
* SPDX-License-Identifier: $3
*/
PR: #565
4 years ago
Pete Johanson
39490552f2
feat(boards): Add BDN9 Rev2 board.
...
* Onboard stm32f072.
* 3 possible encoder positions.
* Underglow/per-key not yet support.
4 years ago
innovaker
842aa5a842
refactor: replace filename hyphens with underscores
...
Aligns *.h and *.c to underscore naming convention.
These were kept (with warnings) for backwards compatibility with external boards/shields:
- kscan-mock.h
- matrix-transform.h
They should be removed in the future.
PR: #523
4 years ago
innovaker
00ca0d2f1c
refactor(app): replace `struct device *` with `const struct device *`
...
Replaced with RegExp: /(?<!const )(struct device \*)/g
See: https://docs.zephyrproject.org/latest/releases/release-notes-2.4.html
PR: #467
4 years ago
Joel Spadin
77c16b020e
improvement: upgrade default keymaps
...
Ran all the default keymaps through the keymap upgrader and manually adjusted
alignment.
4 years ago
Nick
91e3a7d75a
boards: Cleanup and standardize features
4 years ago
Nick
82a5736d08
fix(boards): Remap flash to account for bootloader
4 years ago
Nick
74fa113d88
fix(boards): Rename BVD labels
4 years ago
Nick
a008731103
Implement Kconfig and enhance error checks
4 years ago
Nick
adb07926b1
Remove newlib dep
4 years ago
Nick
8efcd80f3a
Add missing ADC and fix formatting
4 years ago
Nick
162c6b77db
clang-format and add missing defconfig values
4 years ago
Nick
3082455aec
Refactor driver to use Sensor API
4 years ago
Mega Mind
4d81b10ba7
Added driver to control the external power output
...
This PR adds support to control the external power output from controllers like nice!nano, nRFMicro etc
I have implemented based on my understanding of Pete suggestion on this feature.
Testing done:
Tested by enabling and disabling the ext_power from application and verified
Verified the application does not crash with boards that does not have ext_power support
Note:
I did not test this in nice!nano since I don't have the boards. Will get help from others once the behavior PR is up
Next Steps:
Create a behavior PR to control enable/disable ext_power
4 years ago
Mega Mind
b8cb5f939a
M60 keymap update and misc changes
...
* Updated M60 keymap
* Make nrfjproj as default runner
* Remove the polling config
4 years ago
Mega Mind
c54decd144
Added Makerdiary M.2 module
4 years ago
Pete Johanson
9be566603e
feat(kscan): Use PORT events for kscan matrix interrupts
...
* Lower power usage compared to regular interrupts on nrf52.
4 years ago
Jason Chestnut
cca8337f05
Add support to GPIO matrix driver for matrix polling, rather than interrupt-based IO.
...
- Add ZMK_KSCAN_MATRIX_POLLING config flag to Kconfig
- Update matrix driver code to use the above flag to conditionally add the handling code for polling operations.
4 years ago
Jason Chestnut
5c4705d465
Add new matrix scan flag and implementation in the gpio matrix driver.
4 years ago
Pete Johanson
90bfe6026d
fix(boards): Flash Planck with `dfu-util`.
4 years ago
Nick
844f2c7674
Voltage divider driver initial implementation
4 years ago
Pete Johanson
191a2d755a
chore: clang-format the codebase.
...
* Use the LLVM style
* Override indent width (8) and column limit (100)
* Fixes #142 .
4 years ago
Pete Johanson
68e72f9275
fix: Switch to single AUTHORS file.* Closes #164
4 years ago
Nick
ceda57ddfd
Fix comment name of keyboard
4 years ago
Nick
e845995c2d
Fix Planck defconfig
4 years ago
Nick
6b433fdefd
Finish DZ60RGB board definition
4 years ago
Mega Mind
bc023baa7d
Incorporate comments - Change config name to nrfmicro specific
4 years ago
Mega Mind
7aea57328c
Add KConfig for board battery charger
4 years ago
Mega Mind
4efce4223a
Use correct macro for board
4 years ago
Pete Johanson
506c3b031e
refactor(boards): Rename to bluemicro840_v1.
4 years ago
Okke Formsma
93b1e0ac44
Add nrfmicro 1.1, 1.1 flipped and 1.3 boards.
4 years ago
Nick
cab34d835f
fix(board): Fix status LED on BlueMicro
4 years ago
Nick
674c230dbb
fix(board): Cleanup nice!nano DT
4 years ago
Pete Johanson
59f85c93cd
fix(boards): Remove dup `uart0` overrides for nano
4 years ago
Pete Johanson
8b4d2b6093
Add DCDC mode config.
4 years ago
Pete Johanson
abe40f8ef5
Various fixes.
4 years ago
Pete Johanson
47b219cca5
Remove duplicate uart0 node.
4 years ago
Derek
6ef2102af9
Update board.cmake
4 years ago
Derek
75f4adb101
Update arduino_pro_micro_pins.dtsi
4 years ago
Derek
dd165c6829
Corrected pins for scl-pin and sda-pin
4 years ago