summaryrefslogtreecommitdiffstatshomepage
path: root/stm/lib
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-01-21 22:32:51 +0000
committerDamien George <damien.p.george@gmail.com>2014-01-21 22:32:51 +0000
commitd51cfd155c09771a6abb4e7a058522f4677fc7cb (patch)
treeb55776e0c30b9bf12678938347214bb79f7e431d /stm/lib
parenteb380d7261d40ee54fda198143d766f20e599024 (diff)
downloadmicropython-d51cfd155c09771a6abb4e7a058522f4677fc7cb.tar.gz
micropython-d51cfd155c09771a6abb4e7a058522f4677fc7cb.zip
stm: Put HSE_VALUE and other defines in mpconfigport.h.
mpconfigport.h is now included by stm32f4xx.h so that all STM files have access to these defines.
Diffstat (limited to 'stm/lib')
-rw-r--r--stm/lib/stm32f4xx.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/stm/lib/stm32f4xx.h b/stm/lib/stm32f4xx.h
index eca2616915..22b47f6b2e 100644
--- a/stm/lib/stm32f4xx.h
+++ b/stm/lib/stm32f4xx.h
@@ -57,6 +57,9 @@
extern "C" {
#endif /* __cplusplus */
+// dpgeorge: we include mpconfigport.h here because it contains the settings for the STM
+#include "mpconfigport.h"
+
/** @addtogroup Library_configuration_section
* @{
*/