summaryrefslogtreecommitdiff
path: root/examples/host/cdc_msc_hid/ses
diff options
context:
space:
mode:
authorhathach <[email protected]>2020-05-04 00:29:52 +0700
committerhathach <[email protected]>2020-05-04 00:29:52 +0700
commit4a3a44834048006b05d82d32e1f69be856554d4d (patch)
tree9b1a53cdfe8c8c47808c1b87ea3afcf3448d5d27 /examples/host/cdc_msc_hid/ses
parent9538ca7d74fbf5644c1e3a9747f0ad0c3e1a28d2 (diff)
clean up things, add makefile for host example
Diffstat (limited to 'examples/host/cdc_msc_hid/ses')
-rw-r--r--examples/host/cdc_msc_hid/ses/lpc18xx/lpc18xx.emProject21
-rw-r--r--examples/host/cdc_msc_hid/ses/lpc43xx/lpc43xx.emProject19
2 files changed, 25 insertions, 15 deletions
diff --git a/examples/host/cdc_msc_hid/ses/lpc18xx/lpc18xx.emProject b/examples/host/cdc_msc_hid/ses/lpc18xx/lpc18xx.emProject
index 2dd7de552..2b68bfa23 100644
--- a/examples/host/cdc_msc_hid/ses/lpc18xx/lpc18xx.emProject
+++ b/examples/host/cdc_msc_hid/ses/lpc18xx/lpc18xx.emProject
@@ -17,8 +17,8 @@
arm_target_debug_interface_type="ADIv5"
arm_target_device_name="LPC1857"
arm_target_interface_type="SWD"
- c_preprocessor_definitions="LPC18xx;__LPC1800_FAMILY;__LPC185x_SUBFAMILY;ARM_MATH_CM3;FLASH_PLACEMENT=1;CORE_M3;BOARD_MCB1800;CFG_TUSB_MCU=OPT_MCU_LPC18XX;CFG_TUSB_MEM_SECTION= __attribute__((section(&quot;.bss2&quot;)))"
- c_user_include_directories="../../src;$(rootDir)/hw;$(rootDir)/src;$(lpcDir)//inc;$(lpcDir)//inc/config_18xx"
+ c_preprocessor_definitions="LPC18xx;__LPC1800_FAMILY;__LPC185x_SUBFAMILY;ARM_MATH_CM3;FLASH_PLACEMENT=1;CORE_M3;BOARD_MCB1800;CFG_TUSB_MCU=OPT_MCU_LPC18XX;CFG_TUSB_MEM_SECTION= __attribute__((section(&quot;.bss2&quot;)));CFG_TUSB_DEBUG=2"
+ c_user_include_directories="../../src;$(rootDir)/hw;$(rootDir)/src;$(lpcDir)//inc;$(lpcDir)//inc/config_18xx;$(rootDir)/lib/SEGGER_RTT/RTT"
debug_register_definition_file="$(ProjectDir)/LPC18xx_Registers.xml"
debug_target_connection="J-Link"
gcc_entry_point="Reset_Handler"
@@ -102,12 +102,6 @@
</folder>
</folder>
<folder
- Name="segger_rtt"
- exclude=""
- filter="*.c;*.h"
- path="../../../../../lib/segger_rtt"
- recurse="No" />
- <folder
Name="src"
exclude=""
filter="*.c;*.h"
@@ -119,6 +113,17 @@
filter="*.c;*.h"
path="../../../../../src"
recurse="Yes" />
+ <folder Name="lib">
+ <folder Name="SEGGER_RTT">
+ <folder Name="RTT">
+ <file file_name="../../../../../lib/SEGGER_RTT/RTT/SEGGER_RTT.c" />
+ <file file_name="../../../../../lib/SEGGER_RTT/RTT/SEGGER_RTT_printf.c" />
+ </folder>
+ <folder Name="Syscalls">
+ <file file_name="../../../../../lib/SEGGER_RTT/Syscalls/SEGGER_RTT_Syscalls_SES.c" />
+ </folder>
+ </folder>
+ </folder>
</project>
<configuration
Name="MCB1800"
diff --git a/examples/host/cdc_msc_hid/ses/lpc43xx/lpc43xx.emProject b/examples/host/cdc_msc_hid/ses/lpc43xx/lpc43xx.emProject
index 3b93c623c..2d99ae6c8 100644
--- a/examples/host/cdc_msc_hid/ses/lpc43xx/lpc43xx.emProject
+++ b/examples/host/cdc_msc_hid/ses/lpc43xx/lpc43xx.emProject
@@ -20,7 +20,7 @@
arm_target_interface_type="SWD"
build_treat_warnings_as_errors="No"
c_preprocessor_definitions="CORE_M4;__LPC4300_FAMILY;__LPC435x_SUBFAMILY;ARM_MATH_CM4;FLASH_PLACEMENT=1;BOARD_EA4357;CFG_TUSB_MCU=OPT_MCU_LPC43XX;CFG_TUSB_MEM_SECTION= __attribute__((section(&quot;.bss2&quot;)))"
- c_user_include_directories="../../src;$(rootDir)/hw;$(rootDir)/src;$(lpcDir)//inc;$(lpcDir)//inc/config_43xx"
+ c_user_include_directories="../../src;$(rootDir)/hw;$(rootDir)/src;$(lpcDir)//inc;$(rootDir)/lib/SEGGER_RTT/RTT;$(lpcDir)//inc/config_43xx"
debug_register_definition_file="LPC43xx_Registers.xml"
debug_target_connection="J-Link"
gcc_enable_all_warnings="Yes"
@@ -122,11 +122,16 @@
<file file_name="LPC43xx_Vectors.s" />
<file file_name="thumb_crt0.s" />
</folder>
- <folder
- Name="segger_rtt"
- exclude=""
- filter="*.c;*.h"
- path="../../../../../lib/segger_rtt"
- recurse="No" />
+ <folder Name="lib">
+ <folder Name="SEGGER_RTT">
+ <folder Name="RTT">
+ <file file_name="../../../../../lib/SEGGER_RTT/RTT/SEGGER_RTT.c" />
+ <file file_name="../../../../../lib/SEGGER_RTT/RTT/SEGGER_RTT_printf.c" />
+ </folder>
+ <folder Name="Syscalls">
+ <file file_name="../../../../../lib/SEGGER_RTT/Syscalls/SEGGER_RTT_Syscalls_SES.c" />
+ </folder>
+ </folder>
+ </folder>
</project>
</solution>