diff --git a/src/main.c b/src/main.c index ac2c049..56f0299 100644 --- a/src/main.c +++ b/src/main.c @@ -61,7 +61,7 @@ #include "tusb.h" #include "usb/tusb_descriptors.h" -#include "usb/msc_flash.h" +#include "usb/msc_uf2.h" #define BOOTLOADER_VERSION_REGISTER NRF_TIMER2->CC[0] diff --git a/src/make_common.mk b/src/make_common.mk index adcfaf0..1550401 100644 --- a/src/make_common.mk +++ b/src/make_common.mk @@ -83,7 +83,7 @@ remduplicates = $(strip $(if $1,$(firstword $1) $(call remduplicates,$(filter-ou C_SOURCE_FILES += $(SRC_PATH)/main.c C_SOURCE_FILES += $(SRC_PATH)/dfu_ble_svc.c C_SOURCE_FILES += $(SRC_PATH)/usb/tusb_descriptors.c -C_SOURCE_FILES += $(SRC_PATH)/usb/msc_flash.c +C_SOURCE_FILES += $(SRC_PATH)/usb/msc_uf2.c # SDK 11 files C_SOURCE_FILES += $(SDK11_PATH)/libraries/bootloader_dfu/bootloader.c diff --git a/src/segger/nrf52840_bootloader.emProject b/src/segger/nrf52840_bootloader.emProject index be4046e..8faa9a0 100644 --- a/src/segger/nrf52840_bootloader.emProject +++ b/src/segger/nrf52840_bootloader.emProject @@ -58,8 +58,6 @@ - - @@ -67,6 +65,8 @@ + + " "\n"; -uint8_t const readme_contents[] = "Adafruit Feather nRF52840"; +const char readme_contents[] = "Adafruit Feather nRF52840"; struct TextFile { const char name[11]; diff --git a/src/usb/msc_flash.h b/src/usb/msc_uf2.h similarity index 99% rename from src/usb/msc_flash.h rename to src/usb/msc_uf2.h index 3cff7ec..07b764d 100644 --- a/src/usb/msc_flash.h +++ b/src/usb/msc_uf2.h @@ -1,6 +1,6 @@ /**************************************************************************/ /*! - @file msc_flash.h + @file msc_uf2.h @author hathach (tinyusb.org) @section LICENSE