mirror of
https://github.com/hathach/tinyusb.git
synced 2025-03-28 16:20:26 +00:00
refactor examples
This commit is contained in:
parent
3fe7cd1659
commit
08d12fd7c5
@ -20,13 +20,13 @@
|
|||||||
arm_target_interface_type="SWD"
|
arm_target_interface_type="SWD"
|
||||||
build_treat_warnings_as_errors="Yes"
|
build_treat_warnings_as_errors="Yes"
|
||||||
c_preprocessor_definitions="NRF52840_XXAA;__nRF_FAMILY;ARM_MATH_CM4;FLASH_PLACEMENT=1;BOARD_PCA10056"
|
c_preprocessor_definitions="NRF52840_XXAA;__nRF_FAMILY;ARM_MATH_CM4;FLASH_PLACEMENT=1;BOARD_PCA10056"
|
||||||
c_user_include_directories="../src;$(tusbDir)/hw/cmsis/Include;$(tusbDir)/hw;$(tusbDir)/src;$(nrfxDir)/..;$(nrfxDir);$(nrfxDir)/mdk;$(nrfxDir)/hal;$(nrfxDir)/drivers/include"
|
c_user_include_directories="../../src;$(tusbDir)/hw/cmsis/Include;$(tusbDir)/hw;$(tusbDir)/src;$(nrfxDir)/..;$(nrfxDir);$(nrfxDir)/mdk;$(nrfxDir)/hal;$(nrfxDir)/drivers/include"
|
||||||
debug_register_definition_file="$(ProjectDir)/nrf52840_Registers.xml"
|
debug_register_definition_file="$(ProjectDir)/nrf52840_Registers.xml"
|
||||||
debug_target_connection="J-Link"
|
debug_target_connection="J-Link"
|
||||||
gcc_entry_point="Reset_Handler"
|
gcc_entry_point="Reset_Handler"
|
||||||
linker_memory_map_file="$(ProjectDir)/nRF52840_xxAA_MemoryMap.xml"
|
linker_memory_map_file="$(ProjectDir)/nRF52840_xxAA_MemoryMap.xml"
|
||||||
linker_section_placement_file="$(ProjectDir)/flash_placement.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;tusbDir=../../../..;nrfxDir=../../../../hw/mcu/nordic/nrfx"
|
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;tusbDir=../../../../..;nrfxDir=../../../../../hw/mcu/nordic/nrfx"
|
||||||
project_directory=""
|
project_directory=""
|
||||||
project_type="Executable"
|
project_type="Executable"
|
||||||
target_reset_script="Reset();"
|
target_reset_script="Reset();"
|
||||||
@ -44,70 +44,66 @@
|
|||||||
Name="tinyusb"
|
Name="tinyusb"
|
||||||
exclude=""
|
exclude=""
|
||||||
filter="*.c;*.h"
|
filter="*.c;*.h"
|
||||||
path="../../../../src"
|
path="../../../../../src"
|
||||||
recurse="Yes" />
|
recurse="Yes" />
|
||||||
<folder Name="src">
|
<folder Name="src">
|
||||||
<file file_name="../src/main.c" />
|
<file file_name="../../src/main.c" />
|
||||||
<file file_name="../src/tusb_config.h" />
|
<file file_name="../../src/tusb_config.h" />
|
||||||
<file file_name="../src/tusb_descriptors.c" />
|
<file file_name="../../src/tusb_descriptors.c" />
|
||||||
<file file_name="../src/tusb_descriptors.h" />
|
<file file_name="../../src/tusb_descriptors.h" />
|
||||||
<file file_name="../src/msc_app.c" />
|
<file file_name="../../src/msc_app.c" />
|
||||||
<file file_name="../src/msc_app.h" />
|
<file file_name="../../src/msc_app.h" />
|
||||||
<file file_name="../src/msc_flash_ram.c" />
|
<file file_name="../../src/msc_flash_ram.c" />
|
||||||
<file file_name="../src/msc_flash_qspi.c" />
|
<file file_name="../../src/msc_flash_qspi.c" />
|
||||||
<folder Name="segger_rtt">
|
<folder Name="segger_rtt">
|
||||||
<file file_name="../src/segger_rtt/SEGGER_RTT.c" />
|
<file file_name="../../src/segger_rtt/SEGGER_RTT.c" />
|
||||||
<file file_name="../src/segger_rtt/SEGGER_RTT_Conf.h" />
|
<file file_name="../../src/segger_rtt/SEGGER_RTT_Conf.h" />
|
||||||
<file file_name="../src/segger_rtt/SEGGER_RTT.h" />
|
<file file_name="../../src/segger_rtt/SEGGER_RTT.h" />
|
||||||
<file file_name="../src/segger_rtt/SEGGER_RTT_SES.c" />
|
<file file_name="../../src/segger_rtt/SEGGER_RTT_SES.c" />
|
||||||
</folder>
|
</folder>
|
||||||
</folder>
|
</folder>
|
||||||
<folder Name="hw">
|
<folder Name="hw">
|
||||||
<folder Name="bsp">
|
<folder Name="bsp">
|
||||||
<folder Name="pca10056">
|
<folder Name="pca10056">
|
||||||
<file file_name="../../../../hw/bsp/pca10056/board_pca10056.c" />
|
<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.h" />
|
||||||
</folder>
|
</folder>
|
||||||
<file file_name="../../../../hw/bsp/ansi_escape.h" />
|
<file file_name="../../../../../hw/bsp/ansi_escape.h" />
|
||||||
<file file_name="../../../../hw/bsp/board.h" />
|
<file file_name="../../../../../hw/bsp/board.h" />
|
||||||
</folder>
|
</folder>
|
||||||
<folder Name="mcu">
|
<folder Name="mcu">
|
||||||
<folder Name="nordic">
|
<folder Name="nordic">
|
||||||
<folder Name="nrfx">
|
<folder Name="nrfx">
|
||||||
<folder Name="drivers">
|
<folder Name="drivers">
|
||||||
<folder Name="include">
|
<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_clock.h" />
|
||||||
<file file_name="../../../../hw/mcu/nordic/nrfx/drivers/include/nrfx_power.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_qspi.h" />
|
||||||
</folder>
|
</folder>
|
||||||
<folder Name="src">
|
<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_power.c" />
|
||||||
<file file_name="../../../../hw/mcu/nordic/nrfx/drivers/src/nrfx_qspi.c" />
|
<file file_name="../../../../../hw/mcu/nordic/nrfx/drivers/src/nrfx_qspi.c" />
|
||||||
</folder>
|
</folder>
|
||||||
</folder>
|
</folder>
|
||||||
<folder Name="hal">
|
<folder Name="hal">
|
||||||
<file file_name="../../../../hw/mcu/nordic/nrfx/hal/nrf_power.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_qspi.h" />
|
||||||
<file file_name="../../../../hw/mcu/nordic/nrfx/hal/nrf_usbd.h" />
|
<file file_name="../../../../../hw/mcu/nordic/nrfx/hal/nrf_usbd.h" />
|
||||||
</folder>
|
</folder>
|
||||||
<folder Name="mdk">
|
<folder Name="mdk">
|
||||||
<file file_name="../../../../hw/mcu/nordic/nrfx/mdk/nrf51_to_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_bitfields.h" />
|
||||||
<file file_name="../../../../hw/mcu/nordic/nrfx/mdk/nrf52840.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/nrf52840_peripherals.h" />
|
||||||
<file file_name="../../../../hw/mcu/nordic/nrfx/mdk/nrf52_to_nrf52840.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_nrf52840.s" />
|
||||||
<file file_name="../../../../hw/mcu/nordic/nrfx/mdk/ses_startup_nrf_common.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.c" />
|
||||||
<file file_name="../../../../hw/mcu/nordic/nrfx/mdk/system_nrf52840.h" />
|
<file file_name="../../../../../hw/mcu/nordic/nrfx/mdk/system_nrf52840.h" />
|
||||||
</folder>
|
|
||||||
<folder Name="soc">
|
|
||||||
<file file_name="../../../../hw/mcu/nordic/nrfx/soc/nrfx_irqs.h" />
|
|
||||||
<file file_name="../../../../hw/mcu/nordic/nrfx/soc/nrfx_irqs_nrf52840.h" />
|
|
||||||
</folder>
|
</folder>
|
||||||
</folder>
|
</folder>
|
||||||
<file file_name="../../../../hw/mcu/nordic/nrfx_config.h" />
|
<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_glue.h" />
|
||||||
</folder>
|
</folder>
|
||||||
</folder>
|
</folder>
|
||||||
</folder>
|
</folder>
|
Loading…
x
Reference in New Issue
Block a user