From 1b0a2914b02e516bb63bb8b5036f65d16348a7af Mon Sep 17 00:00:00 2001 From: armink Date: Wed, 29 May 2019 13:39:17 +0800 Subject: [PATCH] [bsp][stm32][stm32f103-dofly-M3S] Add for eclipse project support. --- bsp/stm32/stm32f103-dofly-M3S/.cproject | 155 ++++++++++++++++++ bsp/stm32/stm32f103-dofly-M3S/.project | 69 ++++++++ .../.settings/language.settings.xml | 14 ++ .../.settings/org.eclipse.core.runtime.prefs | 3 + .../stm32f103-dofly-M3S/makefile.targets | 4 + 5 files changed, 245 insertions(+) create mode 100644 bsp/stm32/stm32f103-dofly-M3S/.cproject create mode 100644 bsp/stm32/stm32f103-dofly-M3S/.project create mode 100644 bsp/stm32/stm32f103-dofly-M3S/.settings/language.settings.xml create mode 100644 bsp/stm32/stm32f103-dofly-M3S/.settings/org.eclipse.core.runtime.prefs create mode 100644 bsp/stm32/stm32f103-dofly-M3S/makefile.targets diff --git a/bsp/stm32/stm32f103-dofly-M3S/.cproject b/bsp/stm32/stm32f103-dofly-M3S/.cproject new file mode 100644 index 0000000000..87ab6e1e3d --- /dev/null +++ b/bsp/stm32/stm32f103-dofly-M3S/.cproject @@ -0,0 +1,155 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/bsp/stm32/stm32f103-dofly-M3S/.project b/bsp/stm32/stm32f103-dofly-M3S/.project new file mode 100644 index 0000000000..58d408c7e6 --- /dev/null +++ b/bsp/stm32/stm32f103-dofly-M3S/.project @@ -0,0 +1,69 @@ + + + stm32f103-dofly-M3S + + + + + + org.eclipse.cdt.managedbuilder.core.genmakebuilder + clean,full,incremental, + + + + + org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder + full,incremental, + + + + + + org.eclipse.cdt.core.cnature + org.eclipse.cdt.core.rttnature + org.eclipse.cdt.managedbuilder.core.managedBuildNature + org.eclipse.cdt.managedbuilder.core.ScannerConfigNature + + + + rt-thread + 2 + virtual:/virtual + + + rt-thread/bsp + 2 + virtual:/virtual + + + rt-thread/components + 2 + $%7BPARENT-3-PROJECT_LOC%7D/components + + + rt-thread/include + 2 + $%7BPARENT-3-PROJECT_LOC%7D/include + + + rt-thread/libcpu + 2 + $%7BPARENT-3-PROJECT_LOC%7D/libcpu + + + rt-thread/src + 2 + $%7BPARENT-3-PROJECT_LOC%7D/src + + + rt-thread/bsp/stm32 + 2 + virtual:/virtual + + + rt-thread/bsp/stm32/libraries + 2 + $%7BPARENT-1-PROJECT_LOC%7D/libraries + + + diff --git a/bsp/stm32/stm32f103-dofly-M3S/.settings/language.settings.xml b/bsp/stm32/stm32f103-dofly-M3S/.settings/language.settings.xml new file mode 100644 index 0000000000..5d47297634 --- /dev/null +++ b/bsp/stm32/stm32f103-dofly-M3S/.settings/language.settings.xml @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/bsp/stm32/stm32f103-dofly-M3S/.settings/org.eclipse.core.runtime.prefs b/bsp/stm32/stm32f103-dofly-M3S/.settings/org.eclipse.core.runtime.prefs new file mode 100644 index 0000000000..b36aae6fb2 --- /dev/null +++ b/bsp/stm32/stm32f103-dofly-M3S/.settings/org.eclipse.core.runtime.prefs @@ -0,0 +1,3 @@ +content-types/enabled=true +content-types/org.eclipse.cdt.core.asmSource/file-extensions=s +eclipse.preferences.version=1 diff --git a/bsp/stm32/stm32f103-dofly-M3S/makefile.targets b/bsp/stm32/stm32f103-dofly-M3S/makefile.targets new file mode 100644 index 0000000000..a00129bd90 --- /dev/null +++ b/bsp/stm32/stm32f103-dofly-M3S/makefile.targets @@ -0,0 +1,4 @@ +clean2: + -$(RM) $(CC_DEPS)$(C++_DEPS)$(C_UPPER_DEPS)$(CXX_DEPS)$(SECONDARY_FLASH)$(SECONDARY_SIZE)$(ASM_DEPS)$(S_UPPER_DEPS)$(C_DEPS)$(CPP_DEPS) + -$(RM) $(OBJS) *.elf + -@echo ' ' \ No newline at end of file