From e4e3c18fce2cf478f26eae11e23801c4142103da Mon Sep 17 00:00:00 2001 From: armink Date: Wed, 19 Jun 2019 09:12:11 +0800 Subject: [PATCH] [bsp/stm32/stm32f401-st-nucleo] Add eclipse project. --- bsp/stm32/stm32f401-st-nucleo/.cproject | 157 ++++++++++++++++++ bsp/stm32/stm32f401-st-nucleo/.project | 69 ++++++++ .../.settings/language.settings.xml | 14 ++ .../.settings/org.eclipse.core.runtime.prefs | 3 + .../stm32f401-st-nucleo/makefile.targets | 4 + 5 files changed, 247 insertions(+) create mode 100644 bsp/stm32/stm32f401-st-nucleo/.cproject create mode 100644 bsp/stm32/stm32f401-st-nucleo/.project create mode 100644 bsp/stm32/stm32f401-st-nucleo/.settings/language.settings.xml create mode 100644 bsp/stm32/stm32f401-st-nucleo/.settings/org.eclipse.core.runtime.prefs create mode 100644 bsp/stm32/stm32f401-st-nucleo/makefile.targets diff --git a/bsp/stm32/stm32f401-st-nucleo/.cproject b/bsp/stm32/stm32f401-st-nucleo/.cproject new file mode 100644 index 0000000000..74714061c4 --- /dev/null +++ b/bsp/stm32/stm32f401-st-nucleo/.cproject @@ -0,0 +1,157 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/bsp/stm32/stm32f401-st-nucleo/.project b/bsp/stm32/stm32f401-st-nucleo/.project new file mode 100644 index 0000000000..cc5a06010e --- /dev/null +++ b/bsp/stm32/stm32f401-st-nucleo/.project @@ -0,0 +1,69 @@ + + + stm32f401-st-nucleo + + + + + + 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/stm32f401-st-nucleo/.settings/language.settings.xml b/bsp/stm32/stm32f401-st-nucleo/.settings/language.settings.xml new file mode 100644 index 0000000000..ab44389216 --- /dev/null +++ b/bsp/stm32/stm32f401-st-nucleo/.settings/language.settings.xml @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/bsp/stm32/stm32f401-st-nucleo/.settings/org.eclipse.core.runtime.prefs b/bsp/stm32/stm32f401-st-nucleo/.settings/org.eclipse.core.runtime.prefs new file mode 100644 index 0000000000..b36aae6fb2 --- /dev/null +++ b/bsp/stm32/stm32f401-st-nucleo/.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/stm32f401-st-nucleo/makefile.targets b/bsp/stm32/stm32f401-st-nucleo/makefile.targets new file mode 100644 index 0000000000..a00129bd90 --- /dev/null +++ b/bsp/stm32/stm32f401-st-nucleo/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