mirror of
https://github.com/oltaco/Adafruit_nRF52_Bootloader_OTAFIX.git
synced 2026-10-23 04:23:21 +00:00
优化bootloader
This commit is contained in:
1 parent
c3bc374eef
commit
498ab10ef7
1 file changed
+8
-8
@@ -29,23 +29,23 @@
|
||||
/* LED
|
||||
*------------------------------------------------------------------*/
|
||||
#define LEDS_NUMBER 2
|
||||
#define LED_PRIMARY_PIN 13
|
||||
#define LED_SECONDARY_PIN 14
|
||||
#define LED_PRIMARY_PIN _PINNUM(0, 09)
|
||||
#define LED_SECONDARY_PIN _PINNUM(0, 10)
|
||||
#define LED_STATE_ON 0
|
||||
|
||||
/*------------------------------------------------------------------*/
|
||||
/* BUTTON
|
||||
*------------------------------------------------------------------*/
|
||||
#define BUTTONS_NUMBER 2
|
||||
#define BUTTON_1 11
|
||||
#define BUTTON_2 12
|
||||
#define BUTTON_1 _PINNUM(0, 1)
|
||||
#define BUTTON_2 _PINNUM(0, 18)
|
||||
#define BUTTON_PULL NRF_GPIO_PIN_PULLUP
|
||||
|
||||
//--------------------------------------------------------------------+
|
||||
// BLE OTA
|
||||
//--------------------------------------------------------------------+
|
||||
#define BLEDIS_MANUFACTURER "Nordic"
|
||||
#define BLEDIS_MODEL "PCA10056"
|
||||
#define BLEDIS_MANUFACTURER "KEYSTAR"
|
||||
#define BLEDIS_MODEL "Orion-OTA"
|
||||
|
||||
//--------------------------------------------------------------------+
|
||||
// USB
|
||||
@@ -56,8 +56,8 @@
|
||||
#define USB_DESC_UF2_PID 0x0029
|
||||
#define USB_DESC_CDC_ONLY_PID 0x0029
|
||||
|
||||
#define UF2_PRODUCT_NAME "Nordic nRF52840 DK"
|
||||
#define UF2_BOARD_ID "nRF52840-pca10056-v1"
|
||||
#define UF2_PRODUCT_NAME "KEYSTAR"
|
||||
#define UF2_BOARD_ID "Orion"
|
||||
#define UF2_INDEX_URL "https://www.nordicsemi.com/Software-and-Tools/Development-Kits/nRF52840-DK"
|
||||
|
||||
#endif // PCA10056_H
|
||||
Reference in new issue
Block a user