Skip to content

Commit

Permalink
Add overlays for nRF52840 DK and nRF52840 Dongle
Browse files Browse the repository at this point in the history
  • Loading branch information
gpfister committed Nov 15, 2023
1 parent ae7d696 commit ba807ef
Show file tree
Hide file tree
Showing 10 changed files with 26 additions and 220 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,28 +12,9 @@
//

/ {

// Define led aliases
aliases {
ledblinky = &led0;
ledbtstatusr = &led1r;
ledbtstatusg = &led1g;
ledbtstatusb = &led1b;
ledblinky = &led0; // Blinky led
ledbtstatus = &led1; // BT Led (off: disconnected / Blue: connected)
};

leds {
compatible = "gpio-leds";
led0: led_0 { // The blinky led
gpios = < &gpio0 0x6 0x1 >;
};
led1r: led_1r {
gpios = < &gpio0 0x8 0x1 >;// The BT status led
};
led1g: led_1g {
gpios = < &gpio1 0x9 0x1 >;// The BT status led
};
led1b: led_1b {
gpios = < &gpio1 0xc 0x1 >;// The BT status led
};

};
};
};
20 changes: 20 additions & 0 deletions app/nrf52840dongle_nrf52840.overlay
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
//
// gp-nrf-ble-blinky
// Copyright (c) 2023, Greg PFISTER. MIT Licennse
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
//

/ {
// Define led aliases
aliases {
ledblinky = &led0_green; // Blinky led
ledbtstatus = &led1_blue; // BT Led (off: disconnected / Blue: connected)
};
};
18 changes: 0 additions & 18 deletions boards/arm/ns_nrf52840_usb_dongle/Kconfig

This file was deleted.

16 changes: 0 additions & 16 deletions boards/arm/ns_nrf52840_usb_dongle/Kconfig.board

This file was deleted.

22 changes: 0 additions & 22 deletions boards/arm/ns_nrf52840_usb_dongle/Kconfig.defconfig

This file was deleted.

22 changes: 0 additions & 22 deletions boards/arm/ns_nrf52840_usb_dongle/board.cmake

This file was deleted.

70 changes: 0 additions & 70 deletions boards/arm/ns_nrf52840_usb_dongle/ns_nrf52840_usb_dongle.dts

This file was deleted.

23 changes: 0 additions & 23 deletions boards/arm/ns_nrf52840_usb_dongle/ns_nrf52840_usb_dongle.yaml

This file was deleted.

25 changes: 0 additions & 25 deletions boards/arm/ns_nrf52840_usb_dongle/ns_nrf52840_usb_dongle_defconfig

This file was deleted.

3 changes: 2 additions & 1 deletion west.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ manifest:

self:
path: app
west-commands: scripts/west-commands.yml
# west-commands:
# west-commands: scripts/west-commands.yml

remotes:
- name: ncs
Expand Down

0 comments on commit ba807ef

Please sign in to comment.