Joel Spadin
11ab52582c
refactor(battery): Auto enable battery drivers
...
CONFIG_ZMK_BATTERY_NRF_VDDH and CONFIG_ZMK_BATTERY_VOLTAGE_DIVIDER are
now automatically enabled if a DT node with the matching "compatible"
property is present and enabled, so they no longer need to be manually
set for each board.
3 years ago
Joel Spadin
388e345c28
feat(battery)!: Add chosen node for battery
...
battery.c now uses the zmk,battery chosen node to select a battery
sensor. Using the node labeled "BATTERY" is maintained for backwards
compatibility but is now deprecated. Custom boards should switch to
using the chosen node.
# Conflicts:
# app/boards/arm/bluemicro840/bluemicro840_v1.dts
# app/boards/arm/nice60/nice60.dts
# app/boards/arm/nrfmicro/nrfmicro_13.dts
# Conflicts:
# app/boards/arm/bluemicro840/bluemicro840_v1.dts
3 years ago
Peter Johanson
4eb8f8cd23
refactor(boards): Use Zephyr UF2 generation.
3 years ago
Peter Johanson
bf2fc68070
fix(underglow): Add newly required color-mapping prop.
3 years ago
Peter Johanson
c5ab8a9444
refactor: Move the DT based CDC ACM setup.
3 years ago
Peter Johanson
6287819fcc
refactor: Move to USB_DEVICE_STACK symbol.
...
See: https://docs.zephyrproject.org/latest/releases/release-notes-2.7.html#changes-in-this-release
3 years ago
Midge 't Hoen
e0620f1a2d
Bump init delay to 50ms for nico-nano
3 years ago
Nick Winans
4a03214e06
feat(boards): Add D18-21 to Pro Micro pin mappings
3 years ago
Peter Johanson
0c3f1309c6
refactor(boards): Add metadata for boards.
...
* Standalone and pro-micro format board metadata added.
3 years ago
Nick Winans
cf5c56c4f1
feat(boards): Use the nRF VDDH driver for the nice!nano v2
3 years ago
Nick Winans
edb3ff1bb1
feat(boards): Add nice!nano v2
3 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
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
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
Pete Johanson
9be566603e
feat(kscan): Use PORT events for kscan matrix interrupts
...
* Lower power usage compared to regular interrupts on nrf52.
4 years ago
Nick
844f2c7674
Voltage divider driver initial implementation
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
4acfa8d7ef
Add DCDC setting for nano.
4 years ago
Pete Johanson
78059bbbdb
Fix up some incorrect license headers.
4 years ago
Nick
bb09707bd2
Add base files and configuration for RGB underglow
4 years ago
Pete Johanson
6701b7babc
Working BT settings.
4 years ago
Pete Johanson
33d4341320
Code partition size fix for nice!nano.
4 years ago
Pete Johanson
c45dbe3c8f
boards: nice_nano: Fix i2c usage.
...
* change conflicting pins usage for uart.
* use i2c0 properly instead.
4 years ago
Pete Johanson
6cafa9556c
nice!nano fixes for necessary USB CDC ACM UART console.
4 years ago
Pete Johanson
2ff217d39e
Refactor ProMicro to a/d connector.
4 years ago
Pete Johanson
cd6bdc336a
Enable ZMK USB by default on nano.
4 years ago
Pete Johanson
c6625169e5
Refactor to single <behaviors.dtsi> include.
4 years ago
Pete Johanson
d65629b9a0
Lots more pieces toward HID working again.
4 years ago
Pete Johanson
c23d752917
Some initial work on behavior bindings for keymaps
4 years ago
Pete Johanson
8ee9a37498
Tweak the defconfigs for nice_nano and handwire.
4 years ago
Pete Johanson
a4885db2bf
Use the correct family ID for the AdaFruit bootloader.
4 years ago
Pete Johanson
85e505e06e
Build UF2 image for nice!nano board as well.
4 years ago
Pete Johanson
557996bcd0
Fixes for SPI pins for "P1" pins
...
Co-authored-by: Nick Winans <nick.win999@gmail.com>
4 years ago
Pete Johanson
75b01869f0
Add (untested) pins for SPI.
4 years ago
Pete Johanson
a5ade1f947
Add missing `compatible` entry for the toplevel board.
4 years ago
Pete Johanson
4294b4873e
Initial basic work on nice!nano board support.
4 years ago