diff options
| author | Ha Thach <[email protected]> | 2021-02-11 15:29:55 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-02-11 15:29:55 +0700 |
| commit | 04ab6b4082101ba3d7c066db244b227f2de3fc19 (patch) | |
| tree | f058eab7743745bafd26a78f40fa10aa7026fc6d /examples | |
| parent | d4281291e5d11fd80345811d88437ee2766da48d (diff) | |
| parent | d2f3e70b64f4f40e70599816668de3bcaa59f086 (diff) | |
Merge pull request #648 from hathach/rename-dfu-rt-to-runtime
Rename dfu rt to runtime
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/device/dfu_runtime/CMakeLists.txt (renamed from examples/device/dfu_rt/CMakeLists.txt) | 0 | ||||
| -rw-r--r-- | examples/device/dfu_runtime/Makefile (renamed from examples/device/dfu_rt/Makefile) | 0 | ||||
| -rw-r--r-- | examples/device/dfu_runtime/src/main.c (renamed from examples/device/dfu_rt/src/main.c) | 2 | ||||
| -rw-r--r-- | examples/device/dfu_runtime/src/tusb_config.h (renamed from examples/device/dfu_rt/src/tusb_config.h) | 2 | ||||
| -rw-r--r-- | examples/device/dfu_runtime/src/usb_descriptors.c (renamed from examples/device/dfu_rt/src/usb_descriptors.c) | 0 |
5 files changed, 2 insertions, 2 deletions
diff --git a/examples/device/dfu_rt/CMakeLists.txt b/examples/device/dfu_runtime/CMakeLists.txt index f4bf75c26..f4bf75c26 100644 --- a/examples/device/dfu_rt/CMakeLists.txt +++ b/examples/device/dfu_runtime/CMakeLists.txt diff --git a/examples/device/dfu_rt/Makefile b/examples/device/dfu_runtime/Makefile index 69b633fea..69b633fea 100644 --- a/examples/device/dfu_rt/Makefile +++ b/examples/device/dfu_runtime/Makefile diff --git a/examples/device/dfu_rt/src/main.c b/examples/device/dfu_runtime/src/main.c index 029ff7312..823c71ae5 100644 --- a/examples/device/dfu_rt/src/main.c +++ b/examples/device/dfu_runtime/src/main.c @@ -112,7 +112,7 @@ void tud_resume_cb(void) } // Invoked on DFU_DETACH request to reboot to the bootloader -void tud_dfu_rt_reboot_to_dfu(void) +void tud_dfu_runtime_reboot_to_dfu_cb(void) { blink_interval_ms = BLINK_DFU_MODE; } diff --git a/examples/device/dfu_rt/src/tusb_config.h b/examples/device/dfu_runtime/src/tusb_config.h index abdbe7526..bdae1d2e9 100644 --- a/examples/device/dfu_rt/src/tusb_config.h +++ b/examples/device/dfu_runtime/src/tusb_config.h @@ -78,7 +78,7 @@ //------------- CLASS -------------// -#define CFG_TUD_DFU_RT 1 +#define CFG_TUD_DFU_RUNTIME 1 #ifdef __cplusplus } diff --git a/examples/device/dfu_rt/src/usb_descriptors.c b/examples/device/dfu_runtime/src/usb_descriptors.c index 8b2bd265d..8b2bd265d 100644 --- a/examples/device/dfu_rt/src/usb_descriptors.c +++ b/examples/device/dfu_runtime/src/usb_descriptors.c |
