update uf2 BOARD_ID

This commit is contained in:
hathach 2019-04-24 16:15:59 +07:00
parent 9a0ee51d91
commit 4ec938230d
No known key found for this signature in database
GPG Key ID: 2FA891220FBFD581
12 changed files with 12 additions and 12 deletions

View File

@ -259,7 +259,6 @@ CFLAGS += -DMK_DIS_FIRMWARE='$(MK_DIS_FIRMWARE)'
CFLAGS += -DDFU_APP_DATA_RESERVED=7*4096
CFLAGS += -DUF2_VERSION='"$(GIT_VERSION) $(GIT_SUBMODULE_VERSIONS) $(SD_NAME) $(SD_VERSION)"'
CFLAGS += -DBOARD_$(shell echo $(BOARD) | tr '[:lower:]' '[:upper:]')
ifneq ($(IS_52832),)
CFLAGS += -DNRF52

View File

@ -60,7 +60,7 @@
#define DIS_MANUFACTURER "Electronut Labs"
#define DIS_MODEL "Papyr"
#define BOARD_ID "Electronut Labs Papyr"
#define UF2_BOARD_ID "Electronut Labs Papyr"
#define INDEX_URL "https://docs.electronut.in/papyr"
#define USB_DESC_VID 0x239A

View File

@ -60,5 +60,6 @@
#define PRODUCT_NAME "Adafruit Feather nRF52840 Express"
#define VOLUME_LABEL "FTHR840BOOT"
#define UF2_BOARD_ID "nRF52840-Feather-revD"
#endif // _FEATHER_NRF52840_H

View File

@ -55,7 +55,7 @@
#define PRODUCT_NAME "MDK nRF52840 USB Dongle"
#define VOLUME_LABEL "MDK840DONGL"
#define BOARD_ID "MakerDiary-nRF52840-USB-Dongle"
#define UF2_BOARD_ID "MakerDiary-nRF52840-USB-Dongle"
#define INDEX_URL "https://wiki.makerdiary.com/nrf52840-mdk-usb-dongle/"

View File

@ -60,6 +60,7 @@
#define PRODUCT_NAME "Adafruit Metro nRF52840 Express"
#define VOLUME_LABEL "METR840BOOT"
#define UF2_BOARD_ID "nRF52840-Metro-revA"
#endif /* _METRO_NRF52840_H_ */

View File

@ -62,7 +62,7 @@
#define VOLUME_LABEL "ARGONBOOT "
#define BOARD_ID "Particle-Argon-v1"
#define UF2_BOARD_ID "nRF52840-Argon-v1"
#define INDEX_URL "https://www.particle.io/mesh/"

View File

@ -62,7 +62,7 @@
#define VOLUME_LABEL "BORONBOOT "
#define BOARD_ID "Particle-Boron-v1"
#define UF2_BOARD_ID "nRF52840-Boron-v1"
#define INDEX_URL "https://www.particle.io/mesh/"

View File

@ -62,7 +62,7 @@
#define VOLUME_LABEL "XENONBOOT "
#define BOARD_ID "Particle-Xenon-v1"
#define UF2_BOARD_ID "nRF52840-Xenon-v1"
#define INDEX_URL "https://www.particle.io/mesh/"

View File

@ -54,4 +54,6 @@
#define DIS_MANUFACTURER "Nordic"
#define DIS_MODEL "PCA10056"
#define UF2_BOARD_ID "nRF52840-pca10056-v1"
#endif // PCA10056_H

View File

@ -57,4 +57,6 @@
#define DIS_MANUFACTURER "Nordic"
#define DIS_MODEL "PCA10059"
#define UF2_BOARD_ID "nRF52840-pca10059-v1"
#endif // PCA10059_H

View File

@ -63,8 +63,7 @@ struct TextFile {
const char infoUf2File[] = //
"UF2 Bootloader " UF2_VERSION "\r\n"
"Model: " PRODUCT_NAME "\r\n"
"Board-ID: " BOARD_ID "\r\n"
"Bootloader: " BOOTLOADER_ID "\r\n"
"Board-ID: " UF2_BOARD_ID "\r\n"
"Date: " __DATE__ "\r\n";
const char indexFile[] = //

View File

@ -4,10 +4,6 @@
#define PRODUCT_NAME DIS_MODEL
#endif
#ifndef BOARD_ID
#define BOARD_ID "NRF52-Bluefruit-v0"
#endif
#ifndef INDEX_URL
#define INDEX_URL "https://www.adafruit.com/"
#endif