Browse Source

rename example project

hathach 7 năm trước cách đây
mục cha
commit
42b97d3c25
31 tập tin đã thay đổi với 52 bổ sung97 xóa
  1. 1 1
      examples/device/cdc_msc_hid/ses/cdc_msc_hid.emProject
  2. 0 0
      examples/device/cdc_msc_hid/ses/nrf5x/flash_placement.xml
  3. 0 0
      examples/device/cdc_msc_hid/ses/nrf5x/nRF52840_xxAA_MemoryMap.xml
  4. 0 0
      examples/device/cdc_msc_hid/ses/nrf5x/nRF_Target.js
  5. 0 0
      examples/device/cdc_msc_hid/ses/nrf5x/nrf52840_Registers.xml
  6. 26 26
      examples/device/cdc_msc_hid/ses/nrf5x/nrf5x.emProject
  7. 0 0
      examples/device/cdc_msc_hid/ses/nrf5x/thumb_crt0.s
  8. 0 0
      examples/device/cdc_msc_hid/ses/samd21/ATSAMD21G18A_MemoryMap.xml
  9. 0 0
      examples/device/cdc_msc_hid/ses/samd21/ATSAMD21G18A_Registers.xml
  10. 0 0
      examples/device/cdc_msc_hid/ses/samd21/ATSAMD21G18A_Vectors.s
  11. 0 0
      examples/device/cdc_msc_hid/ses/samd21/SAMD21_Startup.s
  12. 0 0
      examples/device/cdc_msc_hid/ses/samd21/SAMD21_Target.js
  13. 0 0
      examples/device/cdc_msc_hid/ses/samd21/flash_placement.xml
  14. 12 12
      examples/device/cdc_msc_hid/ses/samd21/samd21.emProject
  15. 0 0
      examples/device/cdc_msc_hid/ses/samd21/thumb_crt0.s
  16. 0 0
      examples/device/cdc_msc_hid/ses/samd51/ATSAMD51J19A_MemoryMap.xml
  17. 0 0
      examples/device/cdc_msc_hid/ses/samd51/ATSAMD51J19A_Registers.xml
  18. 0 0
      examples/device/cdc_msc_hid/ses/samd51/ATSAMD51J19A_Vectors.s
  19. 0 0
      examples/device/cdc_msc_hid/ses/samd51/SAMD51_Startup.s
  20. 0 0
      examples/device/cdc_msc_hid/ses/samd51/SAMD51_Target.js
  21. 0 0
      examples/device/cdc_msc_hid/ses/samd51/flash_placement.xml
  22. 13 13
      examples/device/cdc_msc_hid/ses/samd51/samd51.emProject
  23. 0 0
      examples/device/cdc_msc_hid/ses/samd51/thumb_crt0.s
  24. 0 0
      examples/device/cdc_msc_hid/src/main.c
  25. 0 0
      examples/device/cdc_msc_hid/src/msc_app.c
  26. 0 0
      examples/device/cdc_msc_hid/src/msc_app.h
  27. 0 0
      examples/device/cdc_msc_hid/src/msc_flash_qspi.c
  28. 0 0
      examples/device/cdc_msc_hid/src/msc_flash_ram.c
  29. 0 0
      examples/device/cdc_msc_hid/src/tusb_config.h
  30. 0 0
      examples/device/cdc_msc_hid/src/tusb_descriptors.c
  31. 0 45
      examples/device_composite/ses/device_composite.emSession

+ 1 - 1
examples/device_composite/ses/device_composite.emProject → examples/device/cdc_msc_hid/ses/cdc_msc_hid.emProject

@@ -1,5 +1,5 @@
 <!DOCTYPE CrossStudio_Project_File>
-<solution Name="device_composite" target="8" version="2">
+<solution Name="cdc_msc_hid" target="8" version="2">
   <import file_name="nrf5x/nrf5x.emProject" />
   <import file_name="samd21/samd21.emProject" />
   <import file_name="samd51/samd51.emProject" />

+ 0 - 0
examples/device_composite/ses/nrf5x/flash_placement.xml → examples/device/cdc_msc_hid/ses/nrf5x/flash_placement.xml


+ 0 - 0
examples/device_composite/ses/nrf5x/nRF52840_xxAA_MemoryMap.xml → examples/device/cdc_msc_hid/ses/nrf5x/nRF52840_xxAA_MemoryMap.xml


+ 0 - 0
examples/device_composite/ses/nrf5x/nRF_Target.js → examples/device/cdc_msc_hid/ses/nrf5x/nRF_Target.js


+ 0 - 0
examples/device_composite/ses/nrf5x/nrf52840_Registers.xml → examples/device/cdc_msc_hid/ses/nrf5x/nrf52840_Registers.xml


+ 26 - 26
examples/device_composite/ses/nrf5x/nrf5x.emProject → examples/device/cdc_msc_hid/ses/nrf5x/nrf5x.emProject

@@ -27,7 +27,7 @@
       link_use_linker_script_file="No"
       linker_memory_map_file="nRF52840_xxAA_MemoryMap.xml"
       linker_section_placement_file="flash_placement.xml"
-      macros="DeviceFamily=nRF;Target=nRF52840_xxAA;Placement=Flash;rootDir=../../../..;nrfxDir=../../../../hw/mcu/nordic/nrfx"
+      macros="DeviceFamily=nRF;Target=nRF52840_xxAA;Placement=Flash;rootDir=../../../../..;nrfxDir=../../../../../hw/mcu/nordic/nrfx"
       project_directory=""
       project_type="Executable"
       target_reset_script="Reset();"
@@ -37,50 +37,50 @@
       Name="tinyusb"
       exclude=""
       filter="*.c;*.h"
-      path="../../../../src"
+      path="../../../../../src"
       recurse="Yes" />
     <folder Name="hw">
       <folder Name="bsp">
         <folder Name="pca10056">
-          <file file_name="../../../../hw/bsp/pca10056/board_pca10056.c" />
-          <file file_name="../../../../hw/bsp/pca10056/board_pca10056.h" />
+          <file file_name="../../../../../hw/bsp/pca10056/board_pca10056.c" />
+          <file file_name="../../../../../hw/bsp/pca10056/board_pca10056.h" />
         </folder>
-        <file file_name="../../../../hw/bsp/ansi_escape.h" />
-        <file file_name="../../../../hw/bsp/board.h" />
+        <file file_name="../../../../../hw/bsp/ansi_escape.h" />
+        <file file_name="../../../../../hw/bsp/board.h" />
       </folder>
       <folder Name="mcu">
         <folder Name="nordic">
           <folder Name="nrfx">
             <folder Name="drivers">
               <folder Name="include">
-                <file file_name="../../../../hw/mcu/nordic/nrfx/drivers/include/nrfx_power_clock.h" />
-                <file file_name="../../../../hw/mcu/nordic/nrfx/drivers/include/nrfx_power.h" />
-                <file file_name="../../../../hw/mcu/nordic/nrfx/drivers/include/nrfx_qspi.h" />
+                <file file_name="../../../../../hw/mcu/nordic/nrfx/drivers/include/nrfx_power_clock.h" />
+                <file file_name="../../../../../hw/mcu/nordic/nrfx/drivers/include/nrfx_power.h" />
+                <file file_name="../../../../../hw/mcu/nordic/nrfx/drivers/include/nrfx_qspi.h" />
               </folder>
               <folder Name="src">
-                <file file_name="../../../../hw/mcu/nordic/nrfx/drivers/src/nrfx_power.c" />
-                <file file_name="../../../../hw/mcu/nordic/nrfx/drivers/src/nrfx_qspi.c" />
+                <file file_name="../../../../../hw/mcu/nordic/nrfx/drivers/src/nrfx_power.c" />
+                <file file_name="../../../../../hw/mcu/nordic/nrfx/drivers/src/nrfx_qspi.c" />
               </folder>
             </folder>
             <folder Name="hal">
-              <file file_name="../../../../hw/mcu/nordic/nrfx/hal/nrf_power.h" />
-              <file file_name="../../../../hw/mcu/nordic/nrfx/hal/nrf_qspi.h" />
-              <file file_name="../../../../hw/mcu/nordic/nrfx/hal/nrf_usbd.h" />
+              <file file_name="../../../../../hw/mcu/nordic/nrfx/hal/nrf_power.h" />
+              <file file_name="../../../../../hw/mcu/nordic/nrfx/hal/nrf_qspi.h" />
+              <file file_name="../../../../../hw/mcu/nordic/nrfx/hal/nrf_usbd.h" />
             </folder>
             <folder Name="mdk">
-              <file file_name="../../../../hw/mcu/nordic/nrfx/mdk/nrf51_to_nrf52840.h" />
-              <file file_name="../../../../hw/mcu/nordic/nrfx/mdk/nrf52840_bitfields.h" />
-              <file file_name="../../../../hw/mcu/nordic/nrfx/mdk/nrf52840.h" />
-              <file file_name="../../../../hw/mcu/nordic/nrfx/mdk/nrf52840_peripherals.h" />
-              <file file_name="../../../../hw/mcu/nordic/nrfx/mdk/nrf52_to_nrf52840.h" />
-              <file file_name="../../../../hw/mcu/nordic/nrfx/mdk/ses_startup_nrf52840.s" />
-              <file file_name="../../../../hw/mcu/nordic/nrfx/mdk/ses_startup_nrf_common.s" />
-              <file file_name="../../../../hw/mcu/nordic/nrfx/mdk/system_nrf52840.c" />
-              <file file_name="../../../../hw/mcu/nordic/nrfx/mdk/system_nrf52840.h" />
+              <file file_name="../../../../../hw/mcu/nordic/nrfx/mdk/nrf51_to_nrf52840.h" />
+              <file file_name="../../../../../hw/mcu/nordic/nrfx/mdk/nrf52840_bitfields.h" />
+              <file file_name="../../../../../hw/mcu/nordic/nrfx/mdk/nrf52840.h" />
+              <file file_name="../../../../../hw/mcu/nordic/nrfx/mdk/nrf52840_peripherals.h" />
+              <file file_name="../../../../../hw/mcu/nordic/nrfx/mdk/nrf52_to_nrf52840.h" />
+              <file file_name="../../../../../hw/mcu/nordic/nrfx/mdk/ses_startup_nrf52840.s" />
+              <file file_name="../../../../../hw/mcu/nordic/nrfx/mdk/ses_startup_nrf_common.s" />
+              <file file_name="../../../../../hw/mcu/nordic/nrfx/mdk/system_nrf52840.c" />
+              <file file_name="../../../../../hw/mcu/nordic/nrfx/mdk/system_nrf52840.h" />
             </folder>
           </folder>
-          <file file_name="../../../../hw/mcu/nordic/nrfx_config.h" />
-          <file file_name="../../../../hw/mcu/nordic/nrfx_glue.h" />
+          <file file_name="../../../../../hw/mcu/nordic/nrfx_config.h" />
+          <file file_name="../../../../../hw/mcu/nordic/nrfx_glue.h" />
         </folder>
       </folder>
     </folder>
@@ -102,7 +102,7 @@
       Name="segger_rtt"
       exclude=""
       filter="*.c;*.h"
-      path="../../../../lib/segger_rtt"
+      path="../../../../../lib/segger_rtt"
       recurse="No" />
   </project>
   <configuration Name="pca10056" />

+ 0 - 0
examples/device_composite/ses/nrf5x/thumb_crt0.s → examples/device/cdc_msc_hid/ses/nrf5x/thumb_crt0.s


+ 0 - 0
examples/device_composite/ses/samd21/ATSAMD21G18A_MemoryMap.xml → examples/device/cdc_msc_hid/ses/samd21/ATSAMD21G18A_MemoryMap.xml


+ 0 - 0
examples/device_composite/ses/samd21/ATSAMD21G18A_Registers.xml → examples/device/cdc_msc_hid/ses/samd21/ATSAMD21G18A_Registers.xml


+ 0 - 0
examples/device_composite/ses/samd21/ATSAMD21G18A_Vectors.s → examples/device/cdc_msc_hid/ses/samd21/ATSAMD21G18A_Vectors.s


+ 0 - 0
examples/device_composite/ses/samd21/SAMD21_Startup.s → examples/device/cdc_msc_hid/ses/samd21/SAMD21_Startup.s


+ 0 - 0
examples/device_composite/ses/samd21/SAMD21_Target.js → examples/device/cdc_msc_hid/ses/samd21/SAMD21_Target.js


+ 0 - 0
examples/device_composite/ses/samd21/flash_placement.xml → examples/device/cdc_msc_hid/ses/samd21/flash_placement.xml


+ 12 - 12
examples/device_composite/ses/samd21/samd21.emProject → examples/device/cdc_msc_hid/ses/samd21/samd21.emProject

@@ -27,7 +27,7 @@
       linker_memory_map_file="$(ProjectDir)/ATSAMD21G18A_MemoryMap.xml"
       linker_section_placement_file="flash_placement.xml"
       linker_section_placements_segments="FLASH RX 0x00000000 0x00080000;RAM RWX 0x20000000 0x00030000"
-      macros="DeviceFamily=SAMD21;Target=ATSAMD21G18A;Placement=Flash;rootDir=../../../..;asf4Dir=../../../../hw/mcu/microchip/samd/asf4/samd21"
+      macros="DeviceFamily=SAMD21;Target=ATSAMD21G18A;Placement=Flash;rootDir=../../../../..;asf4Dir=../../../../../hw/mcu/microchip/samd/asf4/samd21"
       project_directory=""
       project_type="Executable"
       target_reset_script="Reset();"
@@ -37,15 +37,15 @@
       Name="tinyusb"
       exclude=""
       filter="*.c;*.h"
-      path="../../../../src"
+      path="../../../../../src"
       recurse="Yes" />
     <folder Name="hw">
       <folder Name="bsp">
-        <file file_name="../../../../hw/bsp/ansi_escape.h" />
-        <file file_name="../../../../hw/bsp/board.h" />
+        <file file_name="../../../../../hw/bsp/ansi_escape.h" />
+        <file file_name="../../../../../hw/bsp/board.h" />
         <folder Name="metro_m0_express">
-          <file file_name="../../../../hw/bsp/metro_m0_express/board_metro_m0_express.c" />
-          <file file_name="../../../../hw/bsp/metro_m0_express/board_metro_m0_express.h" />
+          <file file_name="../../../../../hw/bsp/metro_m0_express/board_metro_m0_express.c" />
+          <file file_name="../../../../../hw/bsp/metro_m0_express/board_metro_m0_express.h" />
         </folder>
       </folder>
       <folder Name="mcu">
@@ -54,20 +54,20 @@
             <folder Name="asf4">
               <folder Name="samd21">
                 <folder Name="gcc">
-                  <file file_name="../../../../hw/mcu/microchip/samd/asf4/samd21/gcc/system_samd21.c" />
+                  <file file_name="../../../../../hw/mcu/microchip/samd/asf4/samd21/gcc/system_samd21.c" />
                 </folder>
                 <folder Name="hpl">
                   <folder Name="core">
-                    <file file_name="../../../../hw/mcu/microchip/samd/asf4/samd21/hpl/core/hpl_init.c" />
+                    <file file_name="../../../../../hw/mcu/microchip/samd/asf4/samd21/hpl/core/hpl_init.c" />
                   </folder>
                   <folder Name="gclk">
-                    <file file_name="../../../../hw/mcu/microchip/samd/asf4/samd21/hpl/gclk/hpl_gclk.c" />
+                    <file file_name="../../../../../hw/mcu/microchip/samd/asf4/samd21/hpl/gclk/hpl_gclk.c" />
                   </folder>
                   <folder Name="pm">
-                    <file file_name="../../../../hw/mcu/microchip/samd/asf4/samd21/hpl/pm/hpl_pm.c" />
+                    <file file_name="../../../../../hw/mcu/microchip/samd/asf4/samd21/hpl/pm/hpl_pm.c" />
                   </folder>
                   <folder Name="sysctrl">
-                    <file file_name="../../../../hw/mcu/microchip/samd/asf4/samd21/hpl/sysctrl/hpl_sysctrl.c" />
+                    <file file_name="../../../../../hw/mcu/microchip/samd/asf4/samd21/hpl/sysctrl/hpl_sysctrl.c" />
                   </folder>
                 </folder>
               </folder>
@@ -96,7 +96,7 @@
       Name="segger_rtt"
       exclude=""
       filter="*.c;*.h"
-      path="../../../../lib/segger_rtt"
+      path="../../../../../lib/segger_rtt"
       recurse="No" />
   </project>
   <configuration Name="Metro M0 Express" />

+ 0 - 0
examples/device_composite/ses/samd21/thumb_crt0.s → examples/device/cdc_msc_hid/ses/samd21/thumb_crt0.s


+ 0 - 0
examples/device_composite/ses/samd51/ATSAMD51J19A_MemoryMap.xml → examples/device/cdc_msc_hid/ses/samd51/ATSAMD51J19A_MemoryMap.xml


+ 0 - 0
examples/device_composite/ses/samd51/ATSAMD51J19A_Registers.xml → examples/device/cdc_msc_hid/ses/samd51/ATSAMD51J19A_Registers.xml


+ 0 - 0
examples/device_composite/ses/samd51/ATSAMD51J19A_Vectors.s → examples/device/cdc_msc_hid/ses/samd51/ATSAMD51J19A_Vectors.s


+ 0 - 0
examples/device_composite/ses/samd51/SAMD51_Startup.s → examples/device/cdc_msc_hid/ses/samd51/SAMD51_Startup.s


+ 0 - 0
examples/device_composite/ses/samd51/SAMD51_Target.js → examples/device/cdc_msc_hid/ses/samd51/SAMD51_Target.js


+ 0 - 0
examples/device_composite/ses/samd51/flash_placement.xml → examples/device/cdc_msc_hid/ses/samd51/flash_placement.xml


+ 13 - 13
examples/device_composite/ses/samd51/samd51.emProject → examples/device/cdc_msc_hid/ses/samd51/samd51.emProject

@@ -28,7 +28,7 @@
       linker_memory_map_file="ATSAMD51J19A_MemoryMap.xml"
       linker_section_placement_file="flash_placement.xml"
       linker_section_placements_segments="FLASH RX 0x00000000 0x00080000;RAM RWX 0x20000000 0x00030000"
-      macros="DeviceFamily=SAMD51;Target=ATSAMD51J19A;Placement=Flash;rootDir=../../../..;asf4Dir=../../../../hw/mcu/microchip/samd/asf4/samd51"
+      macros="DeviceFamily=SAMD51;Target=ATSAMD51J19A;Placement=Flash;rootDir=../../../../..;asf4Dir=../../../../../hw/mcu/microchip/samd/asf4/samd51"
       project_directory=""
       project_type="Executable"
       target_reset_script="Reset();"
@@ -38,15 +38,15 @@
       Name="tinyusb"
       exclude=""
       filter="*.c;*.h"
-      path="../../../../src"
+      path="../../../../../src"
       recurse="Yes" />
     <folder Name="hw">
       <folder Name="bsp">
-        <file file_name="../../../../hw/bsp/ansi_escape.h" />
-        <file file_name="../../../../hw/bsp/board.h" />
+        <file file_name="../../../../../hw/bsp/ansi_escape.h" />
+        <file file_name="../../../../../hw/bsp/board.h" />
         <folder Name="metro_m4_express">
-          <file file_name="../../../../hw/bsp/metro_m4_express/board_metro_m4_express.c" />
-          <file file_name="../../../../hw/bsp/metro_m4_express/board_metro_m4_express.h" />
+          <file file_name="../../../../../hw/bsp/metro_m4_express/board_metro_m4_express.c" />
+          <file file_name="../../../../../hw/bsp/metro_m4_express/board_metro_m4_express.h" />
         </folder>
       </folder>
       <folder Name="mcu">
@@ -55,23 +55,23 @@
             <folder Name="asf4">
               <folder Name="samd51">
                 <folder Name="gcc">
-                  <file file_name="../../../../hw/mcu/microchip/samd/asf4/samd51/gcc/system_samd51.c" />
+                  <file file_name="../../../../../hw/mcu/microchip/samd/asf4/samd51/gcc/system_samd51.c" />
                 </folder>
                 <folder Name="hpl">
                   <folder Name="core">
-                    <file file_name="../../../../hw/mcu/microchip/samd/asf4/samd51/hpl/core/hpl_init.c" />
+                    <file file_name="../../../../../hw/mcu/microchip/samd/asf4/samd51/hpl/core/hpl_init.c" />
                   </folder>
                   <folder Name="osc32kctrl">
-                    <file file_name="../../../../hw/mcu/microchip/samd/asf4/samd51/hpl/osc32kctrl/hpl_osc32kctrl.c" />
+                    <file file_name="../../../../../hw/mcu/microchip/samd/asf4/samd51/hpl/osc32kctrl/hpl_osc32kctrl.c" />
                   </folder>
                   <folder Name="oscctrl">
-                    <file file_name="../../../../hw/mcu/microchip/samd/asf4/samd51/hpl/oscctrl/hpl_oscctrl.c" />
+                    <file file_name="../../../../../hw/mcu/microchip/samd/asf4/samd51/hpl/oscctrl/hpl_oscctrl.c" />
                   </folder>
                   <folder Name="mclk">
-                    <file file_name="../../../../hw/mcu/microchip/samd/asf4/samd51/hpl/mclk/hpl_mclk.c" />
+                    <file file_name="../../../../../hw/mcu/microchip/samd/asf4/samd51/hpl/mclk/hpl_mclk.c" />
                   </folder>
                   <folder Name="gclk">
-                    <file file_name="../../../../hw/mcu/microchip/samd/asf4/samd51/hpl/gclk/hpl_gclk.c" />
+                    <file file_name="../../../../../hw/mcu/microchip/samd/asf4/samd51/hpl/gclk/hpl_gclk.c" />
                   </folder>
                 </folder>
               </folder>
@@ -100,7 +100,7 @@
       Name="segger_rtt"
       exclude=""
       filter="*.c;*.h"
-      path="../../../../lib/segger_rtt"
+      path="../../../../../lib/segger_rtt"
       recurse="No" />
   </project>
   <configuration Name="Metro M4 Express" />

+ 0 - 0
examples/device_composite/ses/samd51/thumb_crt0.s → examples/device/cdc_msc_hid/ses/samd51/thumb_crt0.s


+ 0 - 0
examples/device_composite/src/main.c → examples/device/cdc_msc_hid/src/main.c


+ 0 - 0
examples/device_composite/src/msc_app.c → examples/device/cdc_msc_hid/src/msc_app.c


+ 0 - 0
examples/device_composite/src/msc_app.h → examples/device/cdc_msc_hid/src/msc_app.h


+ 0 - 0
examples/device_composite/src/msc_flash_qspi.c → examples/device/cdc_msc_hid/src/msc_flash_qspi.c


+ 0 - 0
examples/device_composite/src/msc_flash_ram.c → examples/device/cdc_msc_hid/src/msc_flash_ram.c


+ 0 - 0
examples/device_composite/src/tusb_config.h → examples/device/cdc_msc_hid/src/tusb_config.h


+ 0 - 0
examples/device_composite/src/tusb_descriptors.c → examples/device/cdc_msc_hid/src/tusb_descriptors.c


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 45
examples/device_composite/ses/device_composite.emSession


Một số tệp đã không được hiển thị bởi vì quá nhiều tập tin thay đổi trong này khác