aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32
diff options
context:
space:
mode:
Diffstat (limited to 'testhal/STM32')
-rw-r--r--testhal/STM32/multi/PAL/.cproject5
-rw-r--r--testhal/STM32/multi/PAL/Makefile6
-rw-r--r--testhal/STM32/multi/PAL/cfg-stm32f051_discovery/chconf.h2
-rw-r--r--testhal/STM32/multi/PAL/cfg-stm32f051_discovery/halconf.h4
-rw-r--r--testhal/STM32/multi/PAL/cfg-stm32f051_discovery/portab.h4
-rw-r--r--testhal/STM32/multi/PAL/cfg-stm32f303_discovery/halconf.h4
6 files changed, 17 insertions, 8 deletions
diff --git a/testhal/STM32/multi/PAL/.cproject b/testhal/STM32/multi/PAL/.cproject
index 40c36aaab..c58a8fda5 100644
--- a/testhal/STM32/multi/PAL/.cproject
+++ b/testhal/STM32/multi/PAL/.cproject
@@ -154,7 +154,7 @@
<folderInfo id="0.1093754934.532782958.134374917." name="/" resourcePath="">
<toolChain id="org.eclipse.cdt.build.core.prefbase.toolchain.104587822" name="No ToolChain" resourceTypeBasedDiscovery="false" superClass="org.eclipse.cdt.build.core.prefbase.toolchain">
<targetPlatform id="org.eclipse.cdt.build.core.prefbase.toolchain.104587822.156318938" name=""/>
- <builder arguments="-f Makefile-stm32f303_discovery" command="make" id="org.eclipse.cdt.build.core.settings.default.builder.2063151368" keepEnvironmentInBuildfile="false" managedBuildOn="false" name="Gnu Make Builder" parallelBuildOn="true" parallelizationNumber="unlimited" superClass="org.eclipse.cdt.build.core.settings.default.builder"/>
+ <builder arguments="-f Makefile-stm32f051_discovery" command="make" id="org.eclipse.cdt.build.core.settings.default.builder.2063151368" keepEnvironmentInBuildfile="false" managedBuildOn="false" name="Gnu Make Builder" parallelBuildOn="true" parallelizationNumber="unlimited" superClass="org.eclipse.cdt.build.core.settings.default.builder"/>
<tool id="org.eclipse.cdt.build.core.settings.holder.libs.1715906686" name="holder for library settings" superClass="org.eclipse.cdt.build.core.settings.holder.libs"/>
<tool id="org.eclipse.cdt.build.core.settings.holder.516622197" name="Assembly" superClass="org.eclipse.cdt.build.core.settings.holder">
<inputType id="org.eclipse.cdt.build.core.settings.holder.inType.1532859236" languageId="org.eclipse.cdt.core.assembly" languageName="Assembly" sourceContentType="org.eclipse.cdt.core.asmSource" superClass="org.eclipse.cdt.build.core.settings.holder.inType"/>
@@ -186,6 +186,9 @@
<resource resourceType="PROJECT" workspacePath="/STM32-PAL"/>
</configuration>
<configuration configurationName="Build for STM32F303-Discovery"/>
+ <configuration configurationName="Build for STM32F051-Discovery">
+ <resource resourceType="PROJECT" workspacePath="/STM32-PAL"/>
+ </configuration>
<configuration configurationName="Default">
<resource resourceType="PROJECT" workspacePath="/STM32-PAL"/>
</configuration>
diff --git a/testhal/STM32/multi/PAL/Makefile b/testhal/STM32/multi/PAL/Makefile
index cbb7f62a7..5cd8091b8 100644
--- a/testhal/STM32/multi/PAL/Makefile
+++ b/testhal/STM32/multi/PAL/Makefile
@@ -8,6 +8,10 @@ all:
@make --no-print-directory -f Makefile-stm32l476_discovery all
@echo ====================================================================
@echo
+ @echo === Building for STM32F051-Discovery ===============================
+ @make --no-print-directory -f Makefile-stm32f051_discovery all
+ @echo ====================================================================
+ @echo
@echo === Building for STM32F303-Discovery ===============================
@make --no-print-directory -f Makefile-stm32f303_discovery all
@echo ====================================================================
@@ -21,6 +25,8 @@ clean:
@echo
-@make --no-print-directory -f Makefile-stm32l476_discovery clean
@echo
+ -@make --no-print-directory -f Makefile-stm32f051_discovery clean
+ @echo
-@make --no-print-directory -f Makefile-stm32f303_discovery clean
@echo
-@make --no-print-directory -f Makefile-stm32f407_discovery clean
diff --git a/testhal/STM32/multi/PAL/cfg-stm32f051_discovery/chconf.h b/testhal/STM32/multi/PAL/cfg-stm32f051_discovery/chconf.h
index 00eb395ec..c2d6f0496 100644
--- a/testhal/STM32/multi/PAL/cfg-stm32f051_discovery/chconf.h
+++ b/testhal/STM32/multi/PAL/cfg-stm32f051_discovery/chconf.h
@@ -140,7 +140,7 @@
*
* @note The default is @p TRUE.
*/
-#define CH_CFG_USE_TM TRUE
+#define CH_CFG_USE_TM FALSE
/**
* @brief Threads registry APIs.
diff --git a/testhal/STM32/multi/PAL/cfg-stm32f051_discovery/halconf.h b/testhal/STM32/multi/PAL/cfg-stm32f051_discovery/halconf.h
index 63c29ccef..63edfac75 100644
--- a/testhal/STM32/multi/PAL/cfg-stm32f051_discovery/halconf.h
+++ b/testhal/STM32/multi/PAL/cfg-stm32f051_discovery/halconf.h
@@ -146,7 +146,7 @@
* @brief Enables the SERIAL over USB subsystem.
*/
#if !defined(HAL_USE_SERIAL_USB) || defined(__DOXYGEN__)
-#define HAL_USE_SERIAL_USB TRUE
+#define HAL_USE_SERIAL_USB FALSE
#endif
/**
@@ -167,7 +167,7 @@
* @brief Enables the USB subsystem.
*/
#if !defined(HAL_USE_USB) || defined(__DOXYGEN__)
-#define HAL_USE_USB TRUE
+#define HAL_USE_USB FALSE
#endif
/**
diff --git a/testhal/STM32/multi/PAL/cfg-stm32f051_discovery/portab.h b/testhal/STM32/multi/PAL/cfg-stm32f051_discovery/portab.h
index 0fbe3f9d1..39dd2e553 100644
--- a/testhal/STM32/multi/PAL/cfg-stm32f051_discovery/portab.h
+++ b/testhal/STM32/multi/PAL/cfg-stm32f051_discovery/portab.h
@@ -29,8 +29,8 @@
/* Module constants. */
/*===========================================================================*/
-#define PORTAB_LINE_LED1 LINE_LED4_BLUE
-#define PORTAB_LINE_LED2 LINE_LED3_RED
+#define PORTAB_LINE_LED1 LINE_LED3
+#define PORTAB_LINE_LED2 LINE_LED4
#define PORTAB_LEN_OFF PAL_LOW
#define PORTAB_LEN_ON PAL_HIGH
diff --git a/testhal/STM32/multi/PAL/cfg-stm32f303_discovery/halconf.h b/testhal/STM32/multi/PAL/cfg-stm32f303_discovery/halconf.h
index 63c29ccef..63edfac75 100644
--- a/testhal/STM32/multi/PAL/cfg-stm32f303_discovery/halconf.h
+++ b/testhal/STM32/multi/PAL/cfg-stm32f303_discovery/halconf.h
@@ -146,7 +146,7 @@
* @brief Enables the SERIAL over USB subsystem.
*/
#if !defined(HAL_USE_SERIAL_USB) || defined(__DOXYGEN__)
-#define HAL_USE_SERIAL_USB TRUE
+#define HAL_USE_SERIAL_USB FALSE
#endif
/**
@@ -167,7 +167,7 @@
* @brief Enables the USB subsystem.
*/
#if !defined(HAL_USE_USB) || defined(__DOXYGEN__)
-#define HAL_USE_USB TRUE
+#define HAL_USE_USB FALSE
#endif
/**