Address review comments

This commit is contained in:
ReFil 2023-11-20 20:37:42 +00:00
parent 1f7b62aead
commit a924216bc1
11 changed files with 30 additions and 29 deletions

View file

@ -1,5 +1,5 @@
# #
# Copyright (c) 2022 The ZMK Contributors # Copyright (c) 2023 The ZMK Contributors
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
# #

View file

@ -1,5 +1,5 @@
# #
# Copyright (c) 2022 The ZMK Contributors # Copyright (c) 2023 The ZMK Contributors
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
# #

View file

@ -1,6 +1,6 @@
/* /*
* *
* Copyright (c) 2021 Polarity Works * Copyright (c) 2023 The ZMK Contributors
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
* *
*/ */
@ -11,16 +11,17 @@
#include <dt-bindings/led/led.h> #include <dt-bindings/led/led.h>
#include <dt-bindings/zmk/matrix_transform.h> #include <dt-bindings/zmk/matrix_transform.h>
#include "adv360pro_pinctrl.dtsi" #include "adv360pro-pinctrl.dtsi"
/ { / {
model = "Adv360"; model = "Adv360 Pro";
compatible = "kinesis,adv360pro"; compatible = "kinesis,adv360pro";
chosen { chosen {
zephyr,code-partition = &code_partition; zephyr,code-partition = &code_partition;
zephyr,sram = &sram0; zephyr,sram = &sram0;
zephyr,flash = &flash0; zephyr,flash = &flash0;
zephyr,console = &cdc_acm_uart;
zmk,kscan = &kscan0; zmk,kscan = &kscan0;
zmk,backlight = &backlight; zmk,backlight = &backlight;
zmk,battery = &vbatt; zmk,battery = &vbatt;
@ -90,6 +91,10 @@
&usbd { &usbd {
status = "okay"; status = "okay";
cdc_acm_uart: cdc_acm_uart {
compatible = "zephyr,cdc-acm-uart";
label = "CDC_ACM_0";
};
}; };
&flash0 { &flash0 {

View file

@ -1,6 +1,6 @@
/* /*
* *
* Copyright (c) 2022 The ZMK Contributors * Copyright (c) 2023 The ZMK Contributors
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
* *
*/ */

View file

@ -1,6 +1,6 @@
/* /*
* *
* Copyright (c) 2022 The ZMK Contributors * Copyright (c) 2023 The ZMK Contributors
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
* *
*/ */

View file

@ -1,5 +1,5 @@
# #
# Copyright (c) 2022 The ZMK Contributors # Copyright (c) 2023 The ZMK Contributors
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
# #

View file

@ -1,6 +1,6 @@
/* /*
* *
* Copyright (c) 2022 The ZMK Contributors * Copyright (c) 2023 The ZMK Contributors
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
* *
*/ */
@ -8,9 +8,6 @@
#include "adv360pro.dtsi" #include "adv360pro.dtsi"
/{ /{
kscan0: kscan { kscan0: kscan {
compatible = "zmk,kscan-gpio-matrix"; compatible = "zmk,kscan-gpio-matrix";

View file

@ -1,6 +1,6 @@
/* /*
* *
* Copyright (c) 2022 The ZMK Contributors * Copyright (c) 2023 The ZMK Contributors
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
* *
*/ */

View file

@ -1,5 +1,5 @@
# #
# Copyright (c) 2022 The ZMK Contributors # Copyright (c) 2023 The ZMK Contributors
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
# #

View file

@ -1,9 +1,8 @@
# #
# Copyright (c) 2022 The ZMK Contributors # Copyright (c) 2023 The ZMK Contributors
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
# #
board_runner_args(nrfjprog "--nrf-family=NRF52" "--softreset") board_runner_args(nrfjprog "--nrf-family=NRF52" "--softreset")
include(${ZEPHYR_BASE}/boards/common/nrfjprog.board.cmake) include(${ZEPHYR_BASE}/boards/common/nrfjprog.board.cmake)
#include(${ZEPHYR_BASE}/boards/common/blackmagicprobe.board.cmake)