From 9ddcff92a721933bb0cd57b2a46a47daeaeec78d Mon Sep 17 00:00:00 2001 From: hathach Date: Mon, 18 Jun 2018 14:09:04 +0700 Subject: [PATCH] update --- lib/tinyusb | 2 +- src/make_common.mk | 2 +- src/segger/nrf52840_bootloader.emProject | 76 ++++++++++++------------ 3 files changed, 39 insertions(+), 41 deletions(-) diff --git a/lib/tinyusb b/lib/tinyusb index 5692b84..424735d 160000 --- a/lib/tinyusb +++ b/lib/tinyusb @@ -1 +1 @@ -Subproject commit 5692b84ddf3326a3cde48b09f7123cd5ec0e93cc +Subproject commit 424735d44041fc478b572f973d997829b402153d diff --git a/src/make_common.mk b/src/make_common.mk index 1871dbc..1c545ec 100644 --- a/src/make_common.mk +++ b/src/make_common.mk @@ -18,7 +18,7 @@ SDK_PATH = ../../lib/sdk/components SDK11_PATH = ../../lib/sdk11/components SRC_PATH = .. -TUSB_PATH = ../../lib/tinyusb/tinyusb +TUSB_PATH = ../../lib/tinyusb/src SD_NAME = s140 SD_VERSION = 6.0.0 diff --git a/src/segger/nrf52840_bootloader.emProject b/src/segger/nrf52840_bootloader.emProject index 34e2412..c9d4e67 100644 --- a/src/segger/nrf52840_bootloader.emProject +++ b/src/segger/nrf52840_bootloader.emProject @@ -25,7 +25,7 @@ gcc_entry_point="Reset_Handler" linker_memory_map_file="$(ProjectDir)/nRF52840_xxAA_MemoryMap.xml" linker_section_placement_file="$(ProjectDir)/flash_placement.xml" - macros="DeviceHeaderFile=$(PackagesDir)/nRF/CMSIS/Device/Include/nrf.h;DeviceLibraryIdentifier=M4lf;DeviceSystemFile=$(PackagesDir)/nRF/CMSIS/Device/Source/system_nrf52840.c;DeviceVectorsFile=$(PackagesDir)/nRF/Source/ses_nrf52840_Vectors.s;DeviceFamily=nRF;Target=nRF52840_xxAA;Placement=Flash;SdkDir=../../lib/sdk/components;Sdk11Dir=../../lib/sdk11/components;SdDir=../../lib/softdevice/6.0.0;TusbDir=../../lib/tinyusb/tinyusb" + macros="DeviceHeaderFile=$(PackagesDir)/nRF/CMSIS/Device/Include/nrf.h;DeviceLibraryIdentifier=M4lf;DeviceSystemFile=$(PackagesDir)/nRF/CMSIS/Device/Source/system_nrf52840.c;DeviceVectorsFile=$(PackagesDir)/nRF/Source/ses_nrf52840_Vectors.s;DeviceFamily=nRF;Target=nRF52840_xxAA;Placement=Flash;SdkDir=../../lib/sdk/components;Sdk11Dir=../../lib/sdk11/components;SdDir=../../lib/softdevice/6.0.0;TusbDir=../../lib/tinyusb/src" project_directory="" project_type="Executable" target_reset_script="Reset();" @@ -163,65 +163,63 @@ - - - - + + + + - - - - - + + + - - - + + + - - - + + + - - + + - - - - - - - - - + + + + + + + + + - - + + - - - - + + + + - - - - + + + + - - + +