mirror of
https://github.com/oltaco/Adafruit_nRF52_Bootloader_OTAFIX.git
synced 2026-10-23 19:33:57 +00:00
refine
This commit is contained in:
1 parent
0d8cdbc42a
commit
33e3e65b78
2 files changed
+4
-4
No files matched your search
@@ -25,15 +25,15 @@
|
||||
#ifndef PCA10056_H
|
||||
#define PCA10056_H
|
||||
|
||||
#define _PINNUM(port, pin) ((port)*32 + (pin))
|
||||
/*------------------------------------------------------------------*/
|
||||
/* LED
|
||||
*------------------------------------------------------------------*/
|
||||
#define LEDS_NUMBER 2
|
||||
#define LED_PRIMARY_PIN _PINNUM(0, 09)
|
||||
#define LED_PRIMARY_PIN _PINNUM(0, 9)
|
||||
#define LED_SECONDARY_PIN _PINNUM(0, 10)
|
||||
#define LED_STATE_ON 0
|
||||
|
||||
#ifndef UF2_VOLUME_LABEL "KEYSTAR-ORION "
|
||||
/*------------------------------------------------------------------*/
|
||||
/* BUTTON
|
||||
*------------------------------------------------------------------*/
|
||||
@@ -56,6 +56,7 @@
|
||||
#define USB_DESC_VID 0x239A
|
||||
#define USB_DESC_UF2_PID 0x0029
|
||||
#define USB_DESC_CDC_ONLY_PID 0x0029
|
||||
#define UF2_VOLUME_LABEL "KSTARORION"
|
||||
|
||||
#define UF2_PRODUCT_NAME "KEYSTAR"
|
||||
#define UF2_BOARD_ID "Orion"
|
||||
|
||||
@@ -1,2 +1 @@
|
||||
MCU_SUB_VARIANT = nrf52840
|
||||
USE_NFCT = yes
|
||||
MCU_SUB_VARIANT = nrf52840
|
||||
Reference in new issue
Block a user